/* Allora Research — site styles. Built on tokens.css (copied from the Allora design system). */

/* ---------------------------------------------------------------- fonts */
@font-face { font-family: 'Giga Sans'; font-style: normal; font-weight: 300; font-display: swap; src: url('/static/fonts/GigaSans-Light.woff2') format('woff2'); }
@font-face { font-family: 'Giga Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url('/static/fonts/GigaSans-Regular.woff2') format('woff2'); }
@font-face { font-family: 'Giga Sans'; font-style: italic; font-weight: 400; font-display: swap; src: url('/static/fonts/GigaSans-Italic.woff2') format('woff2'); }
@font-face { font-family: 'Giga Sans'; font-style: normal; font-weight: 500; font-display: swap; src: url('/static/fonts/GigaSans-Medium.woff2') format('woff2'); }
@font-face { font-family: 'Giga Sans'; font-style: normal; font-weight: 600; font-display: swap; src: url('/static/fonts/GigaSans-SemiBold.woff2') format('woff2'); }
@font-face { font-family: 'Giga Sans'; font-style: italic; font-weight: 600; font-display: swap; src: url('/static/fonts/GigaSans-SemiBoldItalic.woff2') format('woff2'); }
@font-face { font-family: 'Giga Sans'; font-style: normal; font-weight: 700; font-display: swap; src: url('/static/fonts/GigaSans-Bold.woff2') format('woff2'); }
@font-face { font-family: 'Giga Sans'; font-style: italic; font-weight: 700; font-display: swap; src: url('/static/fonts/GigaSans-BoldItalic.woff2') format('woff2'); }
@font-face { font-family: 'Giga Sans'; font-style: normal; font-weight: 800; font-display: swap; src: url('/static/fonts/GigaSans-ExtraBold.woff2') format('woff2'); }

/* ---------------------------------------------------------------- base */
:root {
  color-scheme: light;
  --overlap: clamp(64px, 7vw, 104px);
  --prose: 720px;
  --wide: 1100px;
  /* chart palette (light) */
  --c1: var(--allora-cymaris); --c2: var(--allora-navaris); --c3: var(--allora-noxen); --c4: var(--cymaris-40);
  --h1: var(--allora-claria); --h2: var(--cymaris-40); --h3: var(--allora-cymaris); --h4: var(--allora-navaris); --h5: var(--allora-noxen);
  --grid-line: var(--border);
  --chart-ink: var(--text-muted);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--hdr-h) + 16px); }
body {
  margin: 0; background: var(--surface-page); color: var(--text-body);
  font-family: var(--font-sans); font-size: 16px; line-height: var(--leading-body);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--link); text-decoration: none; transition: color var(--dur-fast) var(--ease-standard); }
a:hover { color: var(--link-hover); }
:focus-visible { outline: 3px solid var(--focus-ring); outline-offset: 2px; border-radius: 4px; }
::selection { background: var(--allora-claria); color: var(--allora-noxen); }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--text-strong); margin: 0; letter-spacing: var(--tracking-heading); line-height: var(--leading-heading); text-wrap: balance; }
em { font-style: italic; }
h1 em, h2 em, .h-section em, .band__h em, .ftr__brand em { color: var(--cymaris-deep); font-weight: inherit; }
.band__h em, .ftr__brand em { color: var(--allora-cymaris); }
.num { font-family: var(--font-numeric); font-variant-numeric: tabular-nums lining-nums; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -60px; z-index: var(--z-modal); background: var(--allora-noxen); color: #fff; padding: 10px 16px; border-radius: var(--radius-pill); }
.skip:focus { top: 12px; color: #fff; }

.wrap { max-width: var(--container-xl); margin: 0 auto; padding: 0 var(--gutter); }
.wrap--wide { max-width: calc(var(--wide) + 2 * var(--gutter)); }
.wrap--prose { max-width: calc(var(--prose) + 2 * var(--gutter)); }

.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: var(--tracking-overline); text-transform: uppercase; color: var(--cymaris-deep); }
.eyebrow--sm { font-size: 12px; letter-spacing: 0.14em; }
.eyebrow--light { color: var(--allora-cymaris); }
.meta { font-size: 12.5px; color: var(--text-muted); font-weight: 500; }
.h-section { font-weight: 700; font-size: clamp(30px, 3.2vw, 44px); line-height: 1.2; letter-spacing: -0.02em; }
.lead { margin: 0; font-size: 17px; line-height: 1.6; max-width: 640px; text-wrap: pretty; }
.empty { color: var(--text-muted); font-size: 14px; margin: 18px 0; }
.sub-h { font-size: 22px; font-weight: 700; margin-bottom: 18px; }
.sub-h--sm { font-size: 16px; margin-bottom: 10px; }

/* ---------------------------------------------------------------- buttons, badges, chips */
.btns { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 22px;
  border-radius: var(--radius-pill); font-weight: 600; font-size: 15px; border: 1.5px solid transparent; cursor: pointer;
  transition: all var(--dur-base) var(--ease-standard); white-space: nowrap; font-family: var(--font-sans);
}
.btn:active { transform: translateY(1px); }
.btn--accent { background: var(--accent); color: #fff; }
.btn--accent:hover { background: var(--accent-hover); color: #fff; box-shadow: var(--shadow-accent); }
.btn--outline { border-color: var(--border-strong); color: var(--text-strong); background: transparent; }
.btn--outline:hover { border-color: var(--accent); color: var(--cymaris-deep); }
.btn--lg { min-height: 50px; padding: 0 28px; font-size: 16px; }
.btn--block { width: 100%; }
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 2px 10px; border-radius: var(--radius-pill); font-size: 11.5px; font-weight: 600; letter-spacing: 0.04em; }
.badge--draft { background: var(--warning-soft); color: color-mix(in srgb, var(--warning) 70%, var(--allora-noxen)); }
.badge--draft::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--warning); }
.chip {
  display: inline-flex; align-items: center; min-height: 34px; padding: 0 14px; border-radius: var(--radius-pill);
  border: 1px solid var(--border-strong); background: var(--surface-card); color: var(--text-body); font: 500 13.5px var(--font-sans);
  cursor: pointer; transition: all var(--dur-fast) var(--ease-standard);
}
.chip:hover { border-color: var(--accent); color: var(--cymaris-deep); }
.chip.is-on { background: var(--allora-noxen); border-color: var(--allora-noxen); color: var(--allora-nivelle); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }

/* ---------------------------------------------------------------- header */
/* Mirrors the allora.capital header: 90px frosted light bar, two-colour logo left, social icons right. */
:root { --hdr-h: 90px; }
.hdr { position: sticky; top: 0; z-index: var(--z-sticky); background: rgba(248,248,248,0.75); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.hdr__in { display: flex; align-items: center; gap: 24px; height: var(--hdr-h); padding: 0 clamp(20px, 7vw, 100px); max-width: 1640px; margin: 0 auto; }
.hdr__brand { display: flex; align-items: center; gap: 14px; flex: none; }
.hdr__brand img { width: 112px; height: auto; }
.hdr__tag { font-size: 11.5px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--cymaris-deep); padding-left: 14px; border-left: 1px solid rgba(10,37,54,0.2); line-height: 18px; }
.hdr__nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.hdr__nav a { padding: 8px 14px; border-radius: var(--radius-pill); font-size: 15px; font-weight: 500; letter-spacing: -0.02em; color: #000; }
.hdr__nav a:hover { color: var(--cymaris-deep); }
.hdr__nav a[aria-current="page"] { color: var(--cymaris-deep); }
.hdr__nav a[aria-current="page"]::after { content: ""; display: block; height: 2px; margin-top: 3px; border-radius: 2px; background: var(--allora-cymaris); }
.hdr__nav .hdr__ext { color: rgba(10,37,54,0.55); font-size: 14px; }
.hdr__right { display: flex; align-items: center; gap: 2px; margin-left: 12px; }
.soc { display: grid; place-items: center; width: 30px; height: 30px; color: #000; border-radius: 50%; transition: color var(--dur-fast), transform var(--dur-fast); }
.soc svg { width: 15px; height: 15px; }
.soc:hover { color: var(--cymaris-deep); transform: translateY(-1px); }
.hdr__right .soc + .soc { margin-left: 10px; }
.hdr__menu { display: none; width: 44px; height: 44px; margin-left: 8px; border: 0; background: transparent; border-radius: var(--radius-md); cursor: pointer; }
.hdr__bars, .hdr__bars::before, .hdr__bars::after { display: block; width: 20px; height: 2px; background: #000; border-radius: 2px; position: relative; margin: 0 auto; transition: transform var(--dur-base) var(--ease-standard); }
.hdr__bars::before, .hdr__bars::after { content: ""; position: absolute; left: 0; }
.hdr__bars::before { top: -6px; } .hdr__bars::after { top: 6px; }
.hdr__menu[aria-expanded="true"] .hdr__bars { background: transparent; }
.hdr__menu[aria-expanded="true"] .hdr__bars::before { transform: translateY(6px) rotate(45deg); }
.hdr__menu[aria-expanded="true"] .hdr__bars::after { transform: translateY(-6px) rotate(-45deg); }
@media (max-width: 1000px) {
  :root { --hdr-h: 72px; }
  .js .hdr__menu { display: block; }
  .hdr__right { margin-left: auto; }
  .js .hdr__nav { display: none; position: absolute; top: var(--hdr-h); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; margin: 0; padding: 8px clamp(20px, 7vw, 100px) 20px; background: rgba(248,248,248,0.97); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 12px 24px rgba(10,37,54,0.08); }
  .js .hdr__nav.is-open { display: flex; }
  .hdr__nav a { padding: 12px 0; border-bottom: 1px solid rgba(10,37,54,0.08); }
  .hdr__nav a[aria-current="page"]::after { display: none; }
  html:not(.js) .hdr__in { flex-wrap: wrap; height: auto; padding-top: 14px; padding-bottom: 10px; }
  html:not(.js) .hdr__nav { flex-wrap: wrap; margin-left: 0; order: 3; width: 100%; }
}
@media (max-width: 420px) { .hdr__tag { display: none; } .hdr__right .soc + .soc { margin-left: 4px; } }

/* ---------------------------------------------------------------- cards */
.card { background: var(--surface-card); border: 1px solid var(--border); border-radius: var(--radius-lg); }
.card--hover { display: block; color: inherit; transition: transform var(--dur-base) var(--ease-standard), box-shadow var(--dur-base) var(--ease-standard), border-color var(--dur-base) var(--ease-standard); }
.card--hover:hover { transform: translateY(-3px); border-color: var(--border-accent); box-shadow: 0 2px 4px rgba(10,37,54,0.06), 0 14px 32px rgba(10,37,54,0.12); color: inherit; }

/* market card */
.mcard { padding: 22px 24px; }
.mcard__top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.mcard__t { font-family: var(--font-sans); font-size: 15.5px; font-weight: 600; letter-spacing: 0; line-height: 1.4; }
.mcard .meta { white-space: nowrap; font-size: 12px; }
.mcard .badge { margin-top: 8px; }
.strip { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 16px; border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; }
.strip__c { padding: 10px 14px; background: var(--allora-claria); min-width: 0; }
.strip__c + .strip__c { border-left: 1px solid var(--border); }
.strip__l { font-size: 10.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-muted); line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.7em; }
.strip__v { font-size: 13.5px; font-weight: 600; color: var(--text-strong); margin-top: 2px; }
.strip__v.is-accent { color: var(--cymaris-deep); }

/* guide card + rendered document cover */
.gcard { display: grid; grid-template-columns: 58px 1fr; gap: 16px; align-items: center; padding: 16px 18px; border-radius: 14px; }
.gcard__b { display: flex; flex-direction: column; gap: 5px; align-items: flex-start; }
.gcard__t { font-size: 15px; font-weight: 600; line-height: 1.35; color: var(--text-strong); text-wrap: pretty; }
.gcard .meta { font-size: 12px; }
.doc { width: 58px; height: 76px; border-radius: 6px; display: flex; flex-direction: column; justify-content: space-between; padding: 8px 8px 7px; box-shadow: 0 2px 6px rgba(10,37,54,0.18); flex: none; }
.doc img { width: 12px; height: auto; opacity: 0.85; }
.doc__t { font-size: 6.5px; font-weight: 700; letter-spacing: 0.04em; line-height: 1.35; text-transform: uppercase; color: rgba(243,250,255,0.92); }
.doc--noxen { background: var(--allora-noxen); }
.doc--gradient { background: linear-gradient(135deg, var(--allora-navaris), var(--allora-cymaris)); }
.doc--claria { background: var(--allora-claria); }
.doc--claria .doc__t { color: var(--allora-noxen); }
.doc--big { width: 132px; height: 172px; border-radius: 10px; padding: 16px 16px 14px; box-shadow: 0 6px 20px rgba(10,37,54,0.22); }
.doc--big img { width: 24px; }
.doc--big .doc__t { font-size: 12.5px; }

/* analysis rows (quiet lane) */
.nrow { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; padding: 18px 4px; border-bottom: 1px solid var(--border); color: inherit; transition: padding var(--dur-fast) var(--ease-standard); }
.nrow:hover { padding-left: 10px; color: inherit; }
.nrow:hover .nrow__t { color: var(--cymaris-deep); }
.nrow .meta { font-size: 12px; }
.nrow__t { font-size: 15px; font-weight: 600; line-height: 1.4; color: var(--text-strong); text-wrap: pretty; transition: color var(--dur-fast); }
.nrow__s { font-size: 13px; line-height: 1.5; color: var(--text-body); }

/* analysis card with photo (indexes) */
.acard { overflow: hidden; display: flex; flex-direction: column; }
.acard__img { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--surface-sunken); }
.acard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-slow) var(--ease-out); }
.acard:hover .acard__img img { transform: scale(1.03); }
.acard__b { display: flex; flex-direction: column; gap: 8px; padding: 20px 22px 22px; align-items: flex-start; }
.acard__t { font-size: 17px; font-weight: 600; line-height: 1.35; color: var(--text-strong); text-wrap: pretty; }

/* ---------------------------------------------------------------- home: desk */
.desk { padding-top: clamp(56px, 8vw, 104px); padding-bottom: 88px; }
.intro { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; max-width: 760px; }
.intro--page { margin-bottom: 40px; }
.feat { display: grid; grid-template-columns: 1.05fr 1fr; margin-top: 56px; border-top: 3px solid var(--accent); overflow: hidden; box-shadow: 0 2px 4px rgba(10,37,54,0.06), 0 16px 40px rgba(10,37,54,0.10); }
.feat__l { display: flex; flex-direction: column; align-items: flex-start; padding: 44px 48px 40px; }
.feat__meta { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.feat__rule { width: 1px; height: 12px; background: var(--border-strong); }
.feat__t { margin-top: 18px; font-size: clamp(24px, 2.2vw, 32px); font-weight: 700; line-height: 1.25; letter-spacing: -0.015em; text-wrap: pretty; }
.feat__t a { color: inherit; }
.feat__t a:hover { color: var(--cymaris-deep); }
.feat__s { margin: 14px 0 0; font-size: 15px; line-height: 1.6; text-wrap: pretty; }
.feat .kpis { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--border); align-self: stretch; }
.feat .btns { margin-top: 30px; }
.panel { position: relative; overflow: hidden; background: linear-gradient(135deg, var(--allora-noxen), var(--allora-navaris)); padding: 40px 44px; display: flex; flex-direction: column; justify-content: flex-end; min-height: 380px; }
.panel__mark { position: absolute; right: -40px; top: -48px; width: 190px; opacity: 0.06; pointer-events: none; }
.panel__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.panel .chart { position: relative; }
.panel--hero { border-radius: var(--radius-lg); margin-top: 32px; min-height: 0; padding: 40px 44px 32px; box-shadow: var(--shadow-lg); }

.lanes { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 28px; margin-top: 64px; align-items: start; }
.lane__h { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--border-strong); }
.lane__h h2 { font-size: 19px; font-weight: 700; letter-spacing: -0.01em; }
.lane__h a { font-size: 13px; font-weight: 600; white-space: nowrap; }
.lane--market .lane__h { border-bottom: 2px solid var(--allora-noxen); }
.lane__list { display: flex; flex-direction: column; gap: 16px; margin-top: 20px; }
.lane__list--tight { gap: 14px; }
.lane__rows { display: flex; flex-direction: column; margin-top: 6px; }
@media (max-width: 1080px) { .feat__l { padding: 36px 32px; } .panel { padding: 32px; } }
@media (max-width: 900px) {
  .feat { grid-template-columns: 1fr; }
  .panel { min-height: 300px; }
  .lanes { grid-template-columns: 1fr; gap: 48px; }
}

/* ---------------------------------------------------------------- KPIs */
.kpis { display: flex; flex-wrap: wrap; gap: 20px 36px; }
.kpi { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.kpi__v { font-size: 26px; font-weight: 600; color: var(--text-strong); line-height: 1.15; }
.kpi.is-change .kpi__v { color: var(--cymaris-deep); }
.kpi__l { font-size: 12.5px; color: var(--text-muted); line-height: 1.4; max-width: 200px; }
.kpis--lg { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 0; background: var(--surface-card); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; margin-top: 36px; }
.kpis--lg .kpi { padding: 24px 28px; border-right: 1px solid var(--border); }
.kpis--lg .kpi:last-child { border-right: 0; }
.kpis--lg .kpi__v { font-size: clamp(26px, 3vw, 36px); }
.kpis--dark .kpi__v { color: #fff; }
.kpis--dark .kpi.is-change .kpi__v { color: var(--allora-cymaris); }
.kpis--dark .kpi__l { color: rgba(243,250,255,0.6); }
@media (max-width: 560px) {
  .kpis--lg { grid-template-columns: 1fr 1fr; }
  .kpis--lg .kpi { padding: 18px 18px; border-bottom: 1px solid var(--border); }
  .kpis--lg .kpi:nth-child(2n) { border-right: 0; }
  .kpis--feat { gap: 18px 24px; }
  .kpis--feat .kpi__v { font-size: 22px; }
}

/* ---------------------------------------------------------------- charts */
.chart { margin: 0; --c1: var(--allora-cymaris); }
.chart__title { font-size: 15px; font-weight: 600; color: var(--text-strong); }
.chart__caption { font-size: 13.5px; color: var(--text-muted); margin: 4px 0 0; }
.chart__source { font-size: 12px; color: var(--text-muted); margin: 14px 0 0; line-height: 1.5; }
.chart__legend { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 10px; font-size: 12.5px; color: var(--text-body); }
.chart__key { display: inline-flex; align-items: center; gap: 7px; }
.chart__key i { width: 14px; height: 4px; border-radius: 2px; display: inline-block; }
.chart__frame { position: relative; margin-top: 20px; }
.chart__frame--axes { display: grid; grid-template-columns: 52px 1fr; grid-template-rows: 220px auto; }
.chart__y { position: relative; grid-row: 1; grid-column: 1; }
.chart__yl { position: absolute; right: 10px; transform: translateY(-50%); font: 500 11px var(--font-numeric); color: var(--chart-ink); white-space: nowrap; }
.chart__plot { position: relative; grid-row: 1; grid-column: 2; }
.chart__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.chart__grid { stroke: var(--grid-line); stroke-width: 1; vector-effect: non-scaling-stroke; }
.chart__line { fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.chart__area { fill: color-mix(in srgb, var(--allora-cymaris) 14%, transparent); stroke: none; }
.chart__dot { position: absolute; width: 9px; height: 9px; border-radius: 50%; transform: translate(-50%, -50%); box-shadow: 0 0 0 3px color-mix(in srgb, var(--allora-cymaris) 25%, transparent); pointer-events: none; }
.chart__hit { position: absolute; width: 28px; height: 28px; transform: translate(-50%, -50%); border-radius: 50%; cursor: default; }
.chart__hit:hover::after, .chart__hit:focus-visible::after { content: ""; position: absolute; inset: 9px; border-radius: 50%; background: var(--surface-card); border: 2px solid var(--c1); }
.chart__gap { position: absolute; top: 0; bottom: 0; width: 1px; border-left: 1px dashed var(--border-strong); }
.chart__x { position: relative; grid-column: 2; height: 26px; margin-top: 6px; }
.chart__frame:not(.chart__frame--axes) .chart__x { margin-top: 8px; }
.chart__xl { position: absolute; top: 0; transform: translateX(-50%); font: 500 11px var(--font-numeric); color: var(--chart-ink); white-space: nowrap; }
.chart__frame--axes .chart__xl.is-first { transform: none; }
.chart__frame--axes .chart__xl.is-last { transform: translateX(-100%); }
@media (max-width: 560px) { .chart__xl.is-minor { display: none; } .chart__frame--axes { grid-template-columns: 44px 1fr; grid-template-rows: 180px auto; } }

.chart__cols { display: flex; align-items: flex-end; gap: clamp(4px, 1.2vw, 10px); height: 200px; border-bottom: 1px solid var(--border-strong); }
.chart__col { flex: 1; height: 100%; display: flex; align-items: flex-end; min-width: 0; }
.chart__colbar { position: relative; width: 100%; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; }
.chart__bar { display: block; width: 100%; max-width: 64px; background: var(--c1); border-radius: 4px 4px 0 0; transition: filter var(--dur-fast); }
.chart__bar.is-last { background: var(--c3); }
.chart__bar.is-suppressed, .chart__stack.is-suppressed { background: repeating-linear-gradient(135deg, transparent 0 5px, var(--border) 5px 6px); border-radius: 4px 4px 0 0; }
.chart__col:hover .chart__bar, .chart__col:focus-visible .chart__bar { filter: brightness(0.92); }
.chart__bv { font: 600 11px var(--font-numeric); color: var(--text-strong); margin-bottom: 4px; white-space: nowrap; }
@media (max-width: 560px) { .chart__bv { display: none; } }
.chart__stack { display: flex; flex-direction: column-reverse; width: 100%; max-width: 64px; border-radius: 4px 4px 0 0; overflow: hidden; }
.chart__seg { display: block; width: 100%; }
.chart__seg:last-child { border-radius: 4px 4px 0 0; }
.chart__seg + .chart__seg { box-shadow: 0 -1px 0 var(--surface-card) inset; }

.chart__hrows { display: flex; flex-direction: column; gap: 10px; }
.chart__hrow { display: grid; grid-template-columns: minmax(80px, 160px) 1fr 72px; align-items: center; gap: 12px; }
.chart__hl { font-size: 13px; color: var(--text-body); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chart__track { height: 12px; background: var(--allora-claria); border-radius: var(--radius-pill); overflow: hidden; }
.chart__hbar { display: block; height: 100%; background: var(--c1); border-radius: var(--radius-pill); }
.chart__hbar.is-top { background: var(--c2); }
.chart__hv { font: 600 12.5px var(--font-numeric); color: var(--text-strong); text-align: right; }
@media (max-width: 480px) { .chart__hrow { grid-template-columns: 96px 1fr 60px; gap: 8px; } }

.chart__heats { display: flex; align-items: flex-end; gap: 5px; height: 96px; }
.chart__heat { flex: 1; border-radius: 3px 3px 0 0; }
.chart__heat.is-suppressed { background: repeating-linear-gradient(135deg, transparent 0 5px, var(--border) 5px 6px); }
.chart__ends { display: flex; justify-content: space-between; margin-top: 8px; font-size: 11.5px; color: var(--text-muted); }

/* charts on the dark panel */
.chart--dark { --grid-line: rgba(243,250,255,0.12); --chart-ink: rgba(243,250,255,0.5); --c2: var(--navaris-40); --c3: #fff; }
.chart--dark .chart__title { font-size: 11.5px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(243,250,255,0.55); }
.chart--dark .chart__caption, .chart--dark .chart__source { color: rgba(243,250,255,0.5); }
.chart--dark .chart__area { fill: rgba(94,168,168,0.18); }
.chart--dark .chart__dot { box-shadow: 0 0 0 4px rgba(94,168,168,0.25); }
.chart--dark .chart__hit:hover::after { background: var(--allora-noxen); }
.chart--dark .chart__legend { color: rgba(243,250,255,0.75); }
.chart--dark .chart__cols { border-color: rgba(243,250,255,0.2); }
.chart--dark .chart__bv { color: rgba(243,250,255,0.85); }
.chart--dark .chart__hl { color: rgba(243,250,255,0.75); }
.chart--dark .chart__hv { color: #fff; }
.chart--dark .chart__track { background: rgba(243,250,255,0.1); }
.chart--dark .chart__ends { color: rgba(243,250,255,0.5); }
.chart--dark .chart__seg + .chart__seg { box-shadow: 0 -1px 0 var(--allora-noxen) inset; }
.panel--hero .chart__frame--axes { grid-template-rows: 280px auto; }
@media (max-width: 560px) { .panel--hero .chart__frame--axes { grid-template-rows: 200px auto; } .panel--hero { padding: 28px 20px 22px; } }

/* tooltip */
.tip { position: fixed; z-index: var(--z-toast); pointer-events: none; background: var(--allora-noxen); color: var(--allora-nivelle); font: 500 12.5px var(--font-numeric); padding: 7px 11px; border-radius: var(--radius-sm); box-shadow: var(--shadow-md); white-space: nowrap; transform: translate(-50%, calc(-100% - 12px)); }

/* data tables */
.datatable { margin: 0; }
.datatable__scroll { overflow-x: auto; margin-top: 14px; border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--surface-card); }
.datatable table, .glance__t { width: 100%; border-collapse: collapse; font-size: 14px; }
.datatable th, .datatable td, .glance__t th, .glance__t td { padding: 11px 16px; text-align: left; border-bottom: 1px solid var(--border); white-space: nowrap; }
.datatable thead th, .glance__t thead th { font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); font-weight: 600; background: var(--allora-claria); }
.datatable tbody th, .glance__t tbody th { font-weight: 600; color: var(--text-strong); white-space: normal; }
.datatable tr:last-child > *, .glance__t tr:last-child > * { border-bottom: 0; }
.datatable .num, .glance__t .num { text-align: right; font-family: var(--font-numeric); font-variant-numeric: tabular-nums; color: var(--text-strong); }
.datatable .n, .glance__t .n { color: var(--text-muted); font-size: 12.5px; width: 1%; }
tr.is-suppressed td:not(.n) { color: var(--text-muted); }
.glance__note { display: block; font-weight: 400; font-size: 12.5px; color: var(--text-muted); }

/* ---------------------------------------------------------------- post */
.article { padding-bottom: 32px; }
.cover { position: relative; margin: 0; height: clamp(280px, 52vh, 560px); background: var(--allora-noxen); overflow: hidden; }
.cover picture, .cover__img { width: 100%; height: 100%; }
.cover__img { object-fit: cover; }
.cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,37,54,0) 55%, rgba(10,37,54,0.35)); pointer-events: none; }
.cover__credit { position: absolute; right: 16px; bottom: 12px; z-index: 1; font-size: 11.5px; color: rgba(255,255,255,0.85); }
.phead { max-width: calc(var(--wide) + 2 * var(--gutter)); padding-top: clamp(40px, 6vw, 80px); }
.phead__txt { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; max-width: 820px; }
.phead__t { font-weight: 700; font-size: clamp(32px, 4.2vw, 52px); line-height: 1.12; letter-spacing: -0.02em; text-wrap: balance; }
.phead__s { margin: 0; font-size: clamp(17px, 1.6vw, 19px); line-height: 1.55; color: var(--text-body); max-width: 700px; text-wrap: pretty; }
.phead--guide { display: grid; grid-template-columns: auto 1fr; gap: 40px; align-items: center; }
@media (max-width: 640px) { .phead--guide { grid-template-columns: 1fr; gap: 24px; } .phead--guide .doc--big { width: 88px; height: 116px; padding: 10px; } .phead--guide .doc--big .doc__t { font-size: 9px; } }
.byline { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; margin-top: 4px; font-size: 14px; }
.byline__n { font-weight: 600; color: var(--text-strong); }
.byline__ph { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }
.byline__sep { width: 3px; height: 3px; border-radius: 50%; background: var(--border-strong); }
.byline .meta { font-size: 13px; }
.stale { margin: 8px 0 0; padding: 12px 16px; border-radius: var(--radius-md); background: var(--warning-soft); color: color-mix(in srgb, var(--warning) 55%, var(--allora-noxen)); font-size: 14px; }

.takeaways { margin-top: 40px; padding: 22px 26px; border-radius: var(--radius-lg); background: var(--allora-claria); }
.takeaways__h { font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--cymaris-deep); }
.takeaways ul { margin: 10px 0 0; padding-left: 20px; }
.takeaways li { margin: 6px 0; color: var(--text-strong); }

/* prose */
.prose { padding-top: 48px; font-size: 17.5px; line-height: 1.72; color: var(--text-body); }
.prose > * + * { margin-top: 1.1em; }
.prose p, .prose ul, .prose ol { margin: 0; }
.prose > * + p, .prose > * + ul, .prose > * + ol { margin-top: 1.1em; }
.prose h2 { font-size: clamp(24px, 2.4vw, 30px); font-weight: 700; margin-top: 2em; letter-spacing: -0.015em; }
.prose h3 { font-size: 20px; font-weight: 700; margin-top: 1.6em; }
.prose h2 + *, .prose h3 + * { margin-top: 0.6em; }
.prose strong { color: var(--text-strong); font-weight: 600; }
.prose a { color: var(--link); text-decoration: underline; text-decoration-color: var(--border-accent); text-underline-offset: 3px; }
.prose a:hover { text-decoration-color: currentColor; }
.prose li + li { margin-top: 0.4em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li::marker { color: var(--accent); }
.prose hr { border: 0; height: 1px; background: var(--border); margin: 2.5em 0; }
.prose code { font-size: 0.88em; background: var(--surface-sunken); padding: 2px 6px; border-radius: 5px; }
.prose > table { width: 100%; border-collapse: collapse; font-size: 15px; display: block; overflow-x: auto; }
.prose > table th, .prose > table td { padding: 10px 14px; border-bottom: 1px solid var(--border); text-align: left; }
.prose > table th { font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); background: var(--allora-claria); }
.prose .fig { font-weight: 600; color: var(--text-strong); font-size: 0.95em; border-bottom: 1px dotted var(--border-accent); }
.prose blockquote:not(.pullquote) { margin-left: 0; padding-left: 20px; border-left: 3px solid var(--accent); color: var(--text-strong); }
.prose .footnotes { font-size: 14px; color: var(--text-muted); margin-top: 3em; }
.prose .footnotes-sep { border: 0; height: 1px; background: var(--border); }
.prose .footnote-ref a { text-decoration: none; }

/* breakouts: charts, tables, wide images */
.prose > .chart, .prose > .datatable, .prose > .media--figure, .prose > .media--pair, .prose > .media--gallery {
  margin-top: 2.2em; margin-bottom: 2.2em; margin-left: min(0px, calc((var(--prose) - var(--wide)) / 2)); margin-right: min(0px, calc((var(--prose) - var(--wide)) / 2));
}
@media (max-width: 1180px) { .prose > .chart, .prose > .datatable, .prose > .media--figure, .prose > .media--pair, .prose > .media--gallery { margin-left: 0; margin-right: 0; } }
.prose > .chart, .appendix .chart { background: var(--surface-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 26px 28px 22px; font-size: 16px; line-height: 1.5; }
@media (max-width: 560px) { .prose > .chart, .appendix .chart { padding: 20px 16px 16px; } }
.prose > .media--wide { width: 100vw; max-width: none; margin: 2.6em calc(50% - 50vw); }
.media { margin: 0; }
.media img { width: 100%; border-radius: var(--radius-lg); }
.media--wide img { border-radius: 0; max-height: 82vh; object-fit: cover; }
.media figcaption { display: flex; justify-content: space-between; gap: 16px; margin-top: 10px; font-size: 13.5px; line-height: 1.5; color: var(--text-muted); }
.media--wide figcaption { padding: 0 var(--gutter); max-width: calc(var(--wide) + 2 * var(--gutter)); margin-left: auto; margin-right: auto; }
.credit { flex: none; font-size: 12px; opacity: 0.85; }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.gallery a, .pair a { display: block; overflow: hidden; border-radius: var(--radius-md); }
.gallery img, .pair img { border-radius: 0; aspect-ratio: 4 / 3; object-fit: cover; transition: transform var(--dur-slow) var(--ease-out); }
.gallery a:hover img, .pair a:hover img { transform: scale(1.03); }
@media (max-width: 640px) { .pair { grid-template-columns: 1fr; } .gallery { grid-template-columns: 1fr 1fr; gap: 8px; } }

.callout { padding: 20px 24px; border-radius: var(--radius-lg); border: 1px solid var(--border); background: var(--surface-card); font-size: 16px; line-height: 1.65; }
.callout--key { background: var(--allora-claria); border-color: transparent; }
.callout--risk { background: var(--danger-soft); border-color: transparent; }
.callout__label { font-size: 11.5px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--cymaris-deep); margin-bottom: 6px; }
.callout--risk .callout__label { color: var(--danger); }
.callout p { margin: 0; } .callout p + p { margin-top: 0.7em; }
.pullquote { margin: 2em 0; padding: 4px 0 4px 28px; border-left: 3px solid var(--accent); }
.pullquote p { margin: 0; font-family: var(--font-display); font-size: clamp(22px, 2.4vw, 28px); line-height: 1.35; font-weight: 600; color: var(--text-strong); letter-spacing: -0.01em; text-wrap: balance; }

/* guide layout */
.guide { display: grid; grid-template-columns: 260px minmax(0, var(--prose)); gap: 64px; max-width: calc(var(--prose) + 324px + 2 * var(--gutter)); }
.guide .prose { padding-top: 48px; }
.guide__side { padding-top: 56px; display: flex; flex-direction: column; gap: 20px; position: sticky; top: calc(var(--hdr-h) + 16px); align-self: start; max-height: calc(100vh - var(--hdr-h) - 32px); overflow-y: auto; }
.toc summary { font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-muted); cursor: pointer; list-style: none; }
.toc summary::-webkit-details-marker { display: none; }
.toc ol { list-style: none; margin: 12px 0 0; padding: 0; border-left: 1px solid var(--border); }
.toc li a { display: block; padding: 6px 0 6px 16px; margin-left: -1px; border-left: 2px solid transparent; font-size: 14px; line-height: 1.4; color: var(--text-body); }
.toc li a:hover { color: var(--cymaris-deep); }
.toc li a.is-active { border-left-color: var(--accent); color: var(--text-strong); font-weight: 600; }
.toc__l3 a { padding-left: 30px !important; font-size: 13px !important; }
.facts { padding: 18px 20px; }
.facts__h { font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--cymaris-deep); margin-bottom: 8px; }
.facts dl { margin: 0; }
.facts__r { padding: 10px 0; border-top: 1px solid var(--border); }
.facts__r:first-child { border-top: 0; }
.facts dt { font-size: 12.5px; color: var(--text-muted); }
.facts dd { margin: 2px 0 0; font-size: 14px; font-weight: 600; color: var(--text-strong); }
@media (max-width: 960px) {
  .guide { grid-template-columns: 1fr; gap: 0; max-width: calc(var(--prose) + 2 * var(--gutter)); }
  .guide__side { position: static; max-height: none; padding-top: 36px; }
  .toc { background: var(--surface-card); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 14px 18px; }
  .toc summary::after { content: " ▾"; }
}

/* registry foot */
.appendix { display: flex; flex-direction: column; gap: 28px; margin-top: 56px; }
.registry-foot { display: flex; flex-direction: column; gap: 48px; margin-top: 64px; }
.method { padding: 32px 36px; border-top: 3px solid var(--accent); }
.method__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px 28px; margin: 0 0 22px; }
.method__grid dt { font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); font-weight: 600; }
.method__grid dd { margin: 3px 0 0; font-size: 14.5px; font-weight: 600; color: var(--text-strong); }
.method__txt { font-size: 15px; line-height: 1.65; max-width: 760px; }
.method__txt p { margin: 0 0 0.6em; }
.method__fine { font-size: 13px; color: var(--text-muted); margin: 8px 0 22px; }
@media (max-width: 720px) { .method { padding: 24px 20px; } .method__grid { grid-template-columns: 1fr 1fr; } }
.hl { list-style: none; padding: 0; margin: 14px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.hl__i { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; font-size: 14px; }
.hl__p { font-size: 20px; font-weight: 600; color: var(--text-strong); }

.pfoot { margin-top: 56px; }
.changelog ul { list-style: none; padding: 0; margin: 0; font-size: 14px; }
.changelog li { padding: 8px 0; border-top: 1px solid var(--border); }
.changelog .meta { margin-right: 10px; }
.disclaimer { font-size: 13px; color: var(--text-muted); margin: 28px 0 0; padding-top: 18px; border-top: 1px solid var(--border); line-height: 1.55; }
.related { padding-top: 40px; padding-bottom: 88px; }
.related .grid3 { margin-top: 24px; }

/* listings */
.listing { padding-top: clamp(48px, 7vw, 96px); padding-bottom: 88px; }
.filters { display: none; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.js .filters { display: flex; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: start; }
.grid2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; align-items: start; }
.grid3 > [hidden], .grid2 > [hidden] { display: none; }
@media (max-width: 1000px) { .grid3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .grid3, .grid2 { grid-template-columns: 1fr; } }
.feedlink { margin-top: 40px; font-size: 13.5px; }

/* methodology glossary */
.glossary { margin: 1em 0 0; }
.glossary > div { padding: 16px 0; border-top: 1px solid var(--border); }
.glossary dt { font-weight: 700; color: var(--text-strong); font-family: var(--font-display); }
.glossary dd { margin: 4px 0 0; font-size: 16px; }

/* 404 */
.nf { padding-top: 120px; padding-bottom: 140px; display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.nf__mark { width: 56px; opacity: 0.9; }

/* ---------------------------------------------------------------- channel band, footer */
/* Channel invitation: a rounded card that overlaps the top of the footer, so the page steps
   light -> card -> footer instead of stacking two full-width dark bands. Its gradient ends in the
   footer's own Navaris, so the lower edge blends in. */
.band { --overlap: clamp(64px, 7vw, 104px); position: relative; z-index: 2; margin-bottom: calc(-1 * var(--overlap)); padding: 0 var(--gutter); }
.band__card { position: relative; overflow: hidden; max-width: calc(var(--container-xl) - 2 * var(--gutter)); margin: 0 auto; border-radius: var(--radius-lg); background: linear-gradient(160deg, var(--allora-noxen) 0%, #1d3a4d 55%, #33566C 100%); box-shadow: 0 2px 4px rgba(10,37,54,0.08), 0 24px 56px rgba(10,37,54,0.22); }
.band__mark { position: absolute; left: -60px; bottom: -90px; width: 300px; opacity: 0.05; pointer-events: none; }
.band__in { position: relative; padding: clamp(36px, 5vw, 60px) clamp(24px, 5vw, 64px); display: flex; align-items: center; justify-content: space-between; gap: 32px 40px; flex-wrap: wrap; }
.band__txt { display: flex; flex-direction: column; gap: 10px; max-width: 620px; }
.band__h { font-size: clamp(22px, 2.4vw, 30px); font-weight: 700; letter-spacing: -0.015em; line-height: 1.25; color: #fff; }
.band p { margin: 0; font-size: 15px; line-height: 1.6; color: rgba(243,250,255,0.75); }
.band + .ftr .ftr__main { padding-top: calc(var(--overlap, 96px) + clamp(56px, 6vw, 88px)); }
/* footer: mirrors the allora.capital site footer (Navaris field, "when it all aligns") */
.ftr { background: #33566C; color: #fff; text-align: center; }
.ftr a { color: #fff; }
.ftr__main { display: flex; flex-direction: column; align-items: center; padding-top: clamp(56px, 6vw, 88px); padding-bottom: 40px; }
.ftr__h { margin: 0; font-family: var(--font-display); font-weight: 600; font-size: clamp(40px, 4.5vw, 64px); line-height: 1; letter-spacing: -0.01em; color: var(--allora-nivelle); }
.ftr__h em { font-style: normal; color: var(--allora-nivelle); padding: 0 3px; background: linear-gradient(var(--allora-cymaris), var(--allora-cymaris)) 0 90% / 100% 28% no-repeat; }
.ftr__note { margin: 14px 0 0; font-family: var(--font-display); font-weight: 600; font-size: 14.4px; letter-spacing: -0.03em; color: #fff; }
.ftr__pill { display: flex; align-items: center; justify-content: space-between; width: min(512px, 100%); margin-top: 40px; padding: 4px 4px 4px 20px; border-radius: var(--radius-pill); background: var(--allora-cymaris); font-weight: 500; font-size: 16px; letter-spacing: -0.02em; transition: background var(--dur-base) var(--ease-standard); }
.ftr__pill:hover { background: var(--accent-hover); color: #fff; }
.ftr__arrow { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: #fff; color: var(--allora-cymaris); transition: transform var(--dur-base) var(--ease-standard); }
.ftr__pill:hover .ftr__arrow { transform: rotate(45deg); }
.ftr__social { display: flex; gap: 20px; margin-top: 32px; }
.ftr__social .soc { color: #fff; transform: none; }
.ftr__social .soc svg { width: 18px; height: 18px; }
.ftr__social .soc { display: grid; place-items: center; width: 53px; height: 53px; border-radius: 50%; background: rgba(0,0,0,0.06); transition: background var(--dur-base) var(--ease-standard); }
.ftr__social .soc:hover { background: rgba(0,0,0,0.16); color: #fff; }
.ftr__partners { display: flex; align-items: center; justify-content: center; gap: 40px; margin-top: 52px; }
.ftr__partners img { height: 28px; width: auto; opacity: 0.92; transition: opacity var(--dur-fast); }
.ftr__partners a:hover img { opacity: 1; }
.ftr__links { display: flex; flex-direction: column; align-items: center; gap: 6px; margin-top: 52px; font-weight: 600; font-size: 15px; }
.ftr__links div { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 22px; }
.ftr__links a { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.ftr__links a:hover { color: var(--allora-claria); }
.ftr__research { margin-top: 14px; font-weight: 500; font-size: 13.5px; }
.ftr__research a { text-decoration: none; color: rgba(243,250,255,0.75); }
.ftr__bottom { display: flex; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; padding-top: 28px; padding-bottom: 14px; font-size: 13.5px; }
.ftr__bottom span:first-child { color: rgba(255,255,255,0.88); }
.ftr__bottom span:last-child { font-weight: 600; }
.ftr__legal { padding-bottom: 28px; font-size: 12px; color: rgba(243,250,255,0.6); text-align: left; }
@media (max-width: 640px) {
  .ftr__social { gap: 14px; }
  .ftr__partners { gap: 28px; }
  .ftr__bottom { flex-direction: column; align-items: center; text-align: center; }
  .ftr__legal { text-align: center; }
}

/* ---------------------------------------------------------------- lightbox */
.lbx { position: fixed; inset: 0; z-index: var(--z-modal); background: rgba(4,20,30,0.94); display: flex; align-items: center; justify-content: center; padding: 56px 16px; }
.lbx[hidden] { display: none; }
.lbx img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 6px; box-shadow: var(--shadow-xl); }
.lbx__cap { position: absolute; left: 0; right: 0; bottom: 16px; text-align: center; color: rgba(243,250,255,0.8); font-size: 14px; padding: 0 64px; }
.lbx button { position: absolute; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(243,250,255,0.12); color: #fff; font-size: 22px; cursor: pointer; display: grid; place-items: center; }
.lbx button:hover { background: rgba(243,250,255,0.22); }
.lbx__x { top: 12px; right: 12px; }
.lbx__p { left: 12px; top: 50%; transform: translateY(-50%); }
.lbx__n { right: 12px; top: 50%; transform: translateY(-50%); }

/* ---------------------------------------------------------------- motion + print */
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } }
@media print {
  .hdr, .band, .ftr, .related, .filters, .btns, .skip, .tip, .guide__side .btn { display: none !important; }
  body { background: #fff; font-size: 11pt; }
  .prose { font-size: 11pt; padding-top: 16pt; }
  .panel { background: #fff !important; border: 1px solid #ccc; box-shadow: none; }
  .chart--dark { --grid-line: #ddd; --chart-ink: #555; --c2: var(--allora-navaris); --c3: var(--allora-noxen); }
  .chart--dark .chart__title, .chart--dark .chart__source, .chart--dark .kpi__v { color: #0A2536 !important; }
  .panel__mark { display: none; }
  .chart, .datatable, .media, .method, .kpis { break-inside: avoid; }
  .prose a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 0.85em; color: #555; }
  .guide { grid-template-columns: 1fr; }
  .guide__side { position: static; }
  .cover { height: auto; max-height: 9cm; }
  .card--hover:hover { transform: none; }
}
.kpis--feat { flex-wrap: nowrap; gap: 32px; }
.kpis--feat .kpi__l { max-width: 150px; }
@media (max-width: 1180px) and (min-width: 901px) { .kpis--feat { flex-wrap: wrap; } }
.panel--photo > picture { position: absolute; inset: 0; }
.panel__photo { width: 100%; height: 100%; object-fit: cover; opacity: 0.2; mix-blend-mode: luminosity; }
.panel--photo::before { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(10,37,54,0.92) 20%, rgba(51,86,109,0.55)); }
.panel--photo > .panel__mark { z-index: 1; }
.datatable thead th.n, .glance__t thead th.n { text-transform: none; font-style: italic; font-size: 12px; }
.phead--narrow { max-width: calc(var(--prose) + 2 * var(--gutter)); }
@media (max-width: 560px) {
  .feat__l { padding: 28px 22px 26px; }
  .feat__rule { display: none; }
  .feat__meta { gap: 8px 12px; }
  .panel { padding: 26px 20px; min-height: 0; }
  .mcard { padding: 18px; }
  .strip { grid-template-columns: 1fr 1fr; }
  .strip__c:first-child { display: none; }
  .strip__c:nth-child(2) { border-left: 0; }
}
.chart__hlabels { display: flex; gap: 5px; margin-top: 10px; }
.chart__hcell { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; font-size: 11.5px; color: var(--text-muted); line-height: 1.3; }
.chart__hcell b { font-size: 13px; font-weight: 600; color: var(--text-strong); }
.chart--dark .chart__hcell { color: rgba(243,250,255,0.55); }
.chart--dark .chart__hcell b { color: #fff; }
