/* Self-hosted fonts (SIL OFL via Fontsource 5.3.0, latin subset).
   Free stand-ins for the Webion pair: Martian Mono at condensed width (73% width
   instance, like PP Supply Sans) for buttons, labels and figures; Geist (like
   Aeonik Pro) for running text. */

@font-face {
  font-family: "Martian Mono";
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url("../fonts/martian-mono-condensed-latin-wght.woff2") format("woff2");
}

@font-face {
  font-family: "Geist";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/geist-latin-wght-normal.woff2") format("woff2");
}

/* Guido Frigieri: tokens, reset, typography, primitives */

:root {
  color-scheme: dark;
  --bg: #08080a;
  --bg-sunken: #050506;
  --bg-raised: #0f0f12;
  --paper: #f1efe9;
  --ink: #ecebe6;
  --ink-2: #a9a8a1;
  --ink-3: #8a8983;
  --line: rgba(236, 235, 230, 0.13);
  --line-strong: rgba(236, 235, 230, 0.32);
  --blood: #e3262b;
  --blood-hot: #ff5a43;
  --blood-deep: #c81e23;
  --gain: #3dff8f;
  --loss: #ff4d3d;

  --font-mono: "Martian Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;
  --font-sans: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: clamp(16px, 4vw, 48px);
  --max: 1240px;
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
  --header-h: 60px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.6 var(--font-sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, canvas, svg { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: #fff; }
:focus-visible { outline: 1px solid var(--blood-hot); outline-offset: 3px; }
::selection { background: var(--blood); color: #fff; }
h1, h2, h3, h4, p, figure, blockquote, ol, ul, dl, dd { margin: 0; }
ol, ul { padding: 0; list-style: none; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link {
  position: fixed; top: -100px; left: 8px; z-index: 100;
  padding: 8px 12px;
  background: var(--ink); color: var(--bg);
  font: 500 13px/1 var(--font-mono);
}
.skip-link:focus { top: 8px; }

/* Titles use the monospace of the reference video, uppercase and light. */
.title, h1, h2, h3 {
  font-family: var(--font-mono);
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.08;
  text-wrap: balance;
}

h2 { font-size: clamp(30px, 4.6vw, 58px); }
h3 { font-size: 15px; font-weight: 400; letter-spacing: 0.06em; }

.label {
  display: block;
  font: 400 11px/1.4 var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-2);
}

.lead { font-size: clamp(18px, 1.5vw, 20px); line-height: 1.55; max-width: 60ch; text-wrap: pretty; }
.muted { color: var(--ink-2); }
.small { font-size: 14px; line-height: 1.55; }
.tnum { font-variant-numeric: tabular-nums; }
.red { color: var(--blood-hot); }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

.section { padding: clamp(72px, 10vw, 128px) 0; border-top: 1px solid var(--line); }

.section__head { display: grid; gap: 20px; margin-bottom: clamp(36px, 5vw, 64px); }
.section__head .label::before { content: attr(data-index) "  "; color: var(--blood-hot); white-space: pre; }

.btn {
  display: inline-flex; align-items: center; gap: 12px;
  min-height: 48px; padding: 0 20px;
  border: 1px solid var(--line-strong);
  background: transparent; color: var(--ink);
  font: 500 13px/1 var(--font-mono);
  letter-spacing: 0.06em; text-transform: uppercase; text-decoration: none;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease);
}
.btn:hover { border-color: var(--ink); color: #fff; }
.btn--primary { background: var(--blood); border-color: var(--blood); color: #fff; }
.btn--primary:hover { background: var(--blood-deep); border-color: var(--blood-deep); }

/* Reveal only once main.js runs, so a failed script never hides content. */
.reveal { transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal-ready .reveal:not(.is-in) { opacity: 0; transform: translateY(16px); }

@media print {
  .reveal { opacity: 1 !important; transform: none !important; }
  .site-header { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .reveal-ready .reveal:not(.is-in) { opacity: 1; transform: none; transition: none; }
}

/* Layout and sections */

/* ---- Header ---- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h);
  border-bottom: 1px solid transparent;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
}
.site-header.is-scrolled { background: rgba(8, 8, 10, 0.9); border-bottom-color: var(--line); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font: 400 13px/1 var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; }
.brand__mark { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid var(--line-strong); font-size: 11px; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { font: 400 12px/1 var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none; color: var(--ink-2); }
.nav a:hover, .nav a[aria-current="true"] { color: var(--ink); }
.nav .nav__cta { padding: 10px 14px; border: 1px solid var(--blood); color: var(--ink); }
.nav .nav__cta:hover { background: var(--blood); color: #fff; }
.nav-toggle { display: none; min-height: 44px; padding: 0 14px; border: 1px solid var(--line-strong); background: transparent; color: var(--ink); font: 400 12px/1 var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; cursor: pointer; }

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; align-items: center; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto; flex-direction: column; align-items: stretch; gap: 0;
    max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
    padding: 8px var(--gutter) 24px; background: rgba(8, 8, 10, 0.98); border-bottom: 1px solid var(--line);
    opacity: 0; visibility: hidden; transition: opacity 0.2s var(--ease), visibility 0s linear 0.2s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transition-delay: 0s; }
  .nav a { padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
  .nav .nav__cta { margin-top: 16px; text-align: center; }
}

/* ---- Specimens ---- */
.specimen { position: relative; margin: 0; }
.specimen__canvas { display: none; width: 100%; height: auto; cursor: crosshair; touch-action: pan-y; touch-action: pan-y pinch-zoom; }
.js .specimen__canvas { display: block; }
.specimen__fallback { width: 100%; height: auto; filter: grayscale(1) contrast(1.2) brightness(0.85); transition: filter 0.6s var(--ease); }
.specimen__fallback:hover { filter: none; }
.js .specimen__fallback { display: none; }
.js .specimen.is-fallback .specimen__fallback { display: block; }
.js .specimen.is-fallback .specimen__canvas, .no-js .specimen--procedural { display: none; }
.specimen__caption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 20px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.specimen--framed { border: 1px solid var(--line); padding: 12px; background: var(--bg-sunken); }

/* ---- Hero ---- */
.hero { position: relative; display: grid; align-items: end; min-height: 100svh; padding: calc(var(--header-h) + 80px) 0 clamp(64px, 9vh, 112px); overflow: hidden; isolation: isolate; }
.hero .specimen--hero { position: absolute; inset: 0; z-index: -1; }
.hero .specimen--hero .specimen__canvas, .hero .specimen--hero .specimen__fallback { width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(to bottom, rgba(8, 8, 10, 0.92) 0, rgba(8, 8, 10, 0.6) 70px, rgba(8, 8, 10, 0) 170px),
    radial-gradient(75% 60% at 20% 80%, rgba(8, 8, 10, 0.95) 0%, rgba(8, 8, 10, 0.75) 45%, rgba(8, 8, 10, 0) 80%);
}
.hero__content { position: relative; pointer-events: none; }
.hero__content a { pointer-events: auto; }
.hero__title { font-size: clamp(56px, 11vw, 168px); font-weight: 300; letter-spacing: -0.02em; line-height: 0.95; margin-bottom: 24px; }
.hero__lead { margin-bottom: 32px; max-width: 46ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hud { position: absolute; inset: calc(var(--header-h) + 20px) var(--gutter) 48px; pointer-events: none; }
.hud p { position: absolute; max-width: 30ch; }
.hud__tl { top: 0; left: 0; }
.hud__tr { top: 0; right: 0; text-align: right; }
.hud__br { bottom: 0; right: 0; text-align: right; }
.hint--touch { display: none; }
@media (hover: none) { .hint--pointer { display: none; } .hint--touch { display: inline; } }
@media (max-width: 700px) {
  .hud__tr, .hud__br { display: none; }
  .hero::after {
    background:
      linear-gradient(to bottom, rgba(8, 8, 10, 0.85) 0, rgba(8, 8, 10, 0) 120px),
      linear-gradient(to top, rgba(8, 8, 10, 0.95) 0, rgba(8, 8, 10, 0.85) 60%, rgba(8, 8, 10, 0) 85%);
  }
}
@media (max-height: 680px) { .hud { display: none; } .hero { padding-top: calc(var(--header-h) + 32px); } }

/* ---- Logos: white silhouettes that turn to full colour on hover ---- */
.logos { padding: 28px 0; border-top: 1px solid var(--line); }
.logos__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: 14px; }
.logo { position: relative; display: grid; place-items: center; height: 92px; padding: 18px 22px; background: var(--bg); transition: background 0.4s var(--ease); text-decoration: none; }
.logo img { max-height: 34px; width: auto; transition: opacity 0.4s var(--ease); }
.logo__mono { filter: brightness(0) invert(1); opacity: 0.6; }
.logo__colour { position: absolute; opacity: 0; }
.logo:hover, .logo:focus-visible { background: var(--paper); }
.logo:hover .logo__mono, .logo:focus-visible .logo__mono { opacity: 0; }
.logo:hover .logo__colour, .logo:focus-visible .logo__colour { opacity: 1; }
.logo__note { position: absolute; bottom: 8px; left: 0; right: 0; text-align: center; font: 400 9px/1 var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); }
.logo:hover .logo__note { color: #555; }

/* ---- Metodo ---- */
.method { display: grid; gap: 40px; }
@media (min-width: 960px) { .method { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: start; } }
.specimen--tree .specimen__canvas { aspect-ratio: 7 / 5; }
.cycle { width: 100%; height: auto; }
.cycle text { font-family: var(--font-mono); text-transform: uppercase; letter-spacing: 0.06em; }
.principles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 0 32px; margin-top: 56px; border-top: 1px solid var(--line); }
.principle { display: grid; gap: 4px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.principle h3 { color: var(--ink); }
.principle h3 span { color: var(--blood-hot); margin-right: 10px; }
.chart { margin-top: 56px; display: grid; gap: 28px; }
@media (min-width: 960px) { .chart { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: center; } }
.chart svg text { font-family: var(--font-mono); }
.chart__facts { display: grid; gap: 22px; }
.fact__value { font: 300 clamp(34px, 4vw, 48px)/1 var(--font-mono); }
.source { margin-top: 6px; }
.source a { text-decoration: none; border-bottom: 1px solid var(--line-strong); }

/* ---- Percorso ---- */
.career { display: grid; gap: 40px; }
@media (min-width: 960px) { .career { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: start; } }
.timeline { border-top: 1px solid var(--line); }
.row { display: grid; grid-template-columns: 112px minmax(0, 1fr) 72px; gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.row__when { font: 400 12px/1.3 var(--font-mono); color: var(--blood-hot); letter-spacing: 0.04em; }
.row__what { font-size: 16px; line-height: 1.35; }
.row__what small { display: block; color: var(--ink-2); font-size: 14px; margin-top: 2px; }
.row__logo img { max-height: 22px; width: auto; margin-left: auto; filter: brightness(0) invert(1); opacity: 0.55; }
@media (max-width: 560px) { .row { grid-template-columns: 1fr; gap: 4px; } .row__logo { display: none; } }
.specimen--patent .specimen__canvas { aspect-ratio: 1287 / 2000; max-height: 640px; margin: 0 auto; width: auto; }
.pubs { margin-top: 28px; display: grid; gap: 10px; }
.pubs li { font-size: 14px; color: var(--ink-2); }
.pubs a { color: var(--ink); }

/* ---- Blog ---- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.card { display: grid; align-content: start; gap: 12px; padding: 0 0 24px; background: var(--bg); text-decoration: none; }
.card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; filter: grayscale(1); transition: filter 0.5s var(--ease); }
.card:hover img { filter: none; }
.card > :not(img) { padding: 0 22px; }
.card h3 { font-size: 18px; line-height: 1.25; color: var(--ink); }
.blog__more { margin-top: 20px; }

/* ---- Investimenti ---- */
.invest { display: grid; gap: 28px; padding: clamp(20px, 3vw, 36px); border: 1px solid var(--line); background: var(--bg-sunken); }
.invest__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 10px 24px; }
.warning { padding: 12px 16px; border: 1px solid rgba(227, 38, 43, 0.55); font-size: 15px; color: var(--ink-2); }
.warning strong { color: var(--ink); }
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); min-height: 104px; }
.kpi { display: grid; gap: 8px; padding: 16px 16px 20px; background: var(--bg-sunken); }
.kpi__value { font: 300 clamp(28px, 3vw, 40px)/1 var(--font-mono); }
.kpi--loss .kpi__value { color: var(--loss); }
.charts { display: grid; gap: 28px; }

.bars { display: grid; gap: 10px; margin-top: 14px; }
.bar { display: grid; grid-template-columns: 52px minmax(0, 1fr) 72px; align-items: center; gap: 12px; font-size: 13px; }
.bar__year, .bar__value { font-family: var(--font-mono); }
.bar__value { text-align: right; }
.bar__track { position: relative; height: 14px; background: linear-gradient(var(--ink-2), var(--ink-2)) 50% 0 / 1px 100% no-repeat; }
.bar__fill { position: absolute; top: 0; bottom: 0; width: var(--w); background: rgba(236, 235, 230, 0.75); transition: background 0.4s var(--ease); }
.bar--gain .bar__fill { left: 50%; }
.bar--loss .bar__fill { right: 50%; }
.bar--partial .bar__fill { background: repeating-linear-gradient(135deg, rgba(236, 235, 230, 0.75) 0 3px, transparent 3px 6px); }
.bars:hover .bar--gain:not(.bar--partial) .bar__fill { background: var(--gain); }
.bars:hover .bar--loss:not(.bar--partial) .bar__fill { background: var(--loss); }
.matrix { display: grid; gap: 4px; margin-top: 14px; }
.matrix__row { display: grid; grid-template-columns: 40px repeat(12, minmax(0, 1fr)); gap: 4px; align-items: center; }
.matrix__month, .matrix__year { font: 400 10px/1 var(--font-mono); color: var(--ink-3); text-align: center; }
.matrix__year { text-align: left; color: var(--ink-2); }
.cell { aspect-ratio: 1; transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease); }
.cell--gain { background: rgba(236, 235, 230, var(--i)); }
.cell--loss { box-shadow: inset 0 0 0 2px rgba(236, 235, 230, var(--i)); }
.cell--empty { outline: 1px dashed rgba(236, 235, 230, 0.12); outline-offset: -1px; }
.matrix:hover .cell--gain { background: rgba(61, 255, 143, var(--i)); }
.matrix:hover .cell--loss { box-shadow: inset 0 0 0 2px rgba(255, 77, 61, var(--i)); background: rgba(255, 77, 61, calc(var(--i) * 0.35)); }
@media (hover: none) {
  .cell--gain { background: rgba(61, 255, 143, var(--i)); }
  .cell--loss { box-shadow: inset 0 0 0 2px rgba(255, 77, 61, var(--i)); }
  .bar--gain:not(.bar--partial) .bar__fill { background: var(--gain); }
  .bar--loss:not(.bar--partial) .bar__fill { background: var(--loss); }
}
details summary { cursor: pointer; width: fit-content; margin-top: 14px; }
.data-table { width: 100%; max-width: 380px; margin-top: 10px; border-collapse: collapse; font-size: 14px; }
.data-table caption { text-align: left; color: var(--ink-2); padding-bottom: 6px; }
.data-table th, .data-table td { padding: 5px 0; border-bottom: 1px solid var(--line); text-align: left; font-weight: 400; }
.data-table td { text-align: right; }
.invest__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.disclaimer { display: grid; gap: 8px; padding: 16px 18px; border-left: 2px solid var(--blood); background: rgba(227, 38, 43, 0.06); font-size: 13px; line-height: 1.55; color: var(--ink-2); }
.startup { display: grid; gap: 10px; margin-top: 8px; padding-top: 24px; border-top: 1px solid var(--line); }
.startup img { height: 22px; width: auto; filter: brightness(0) invert(1); opacity: 0.8; }

/* ---- CTA and footer ---- */
.section--cta { background: radial-gradient(70% 90% at 85% 100%, rgba(227, 38, 43, 0.16), transparent 70%), var(--bg); }
.cta { display: grid; gap: 26px; }
.cta h2 { font-size: clamp(40px, 7vw, 96px); max-width: 16ch; }
.site-footer { padding: 56px 0 44px; border-top: 1px solid var(--line); }
.footer { display: grid; gap: 36px; }
@media (min-width: 900px) { .footer { grid-template-columns: minmax(0, 4fr) minmax(0, 5fr) minmax(0, 3fr); } }
.footer > div { display: grid; align-content: start; gap: 10px; }
.footer__jade { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.footer__jade img { height: 40px; width: auto; }

/* ---- Blog pages ---- */
.post { max-width: 720px; margin: 0 auto; padding: calc(var(--header-h) + 64px) var(--gutter) 96px; }
.post h1 { font-size: clamp(30px, 5vw, 52px); margin: 16px 0 20px; }
.post__cover { margin: 32px 0; border: 1px solid var(--line); }
.post__body { display: grid; gap: 18px; font-size: 18px; line-height: 1.7; }
.post__body h2 { font-size: clamp(20px, 2.4vw, 26px); margin-top: 24px; }
.post__body ul { list-style: square; padding-left: 22px; display: grid; gap: 8px; }
.post__body blockquote { padding-left: 18px; border-left: 2px solid var(--blood); color: var(--ink-2); }
.post__sources { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); display: grid; gap: 6px; font-size: 14px; }

.post__cta { margin-top: 40px; }
.blog-index { padding-top: calc(var(--header-h) + 64px); padding-bottom: 96px; }
.blog-index h1 { font-size: clamp(36px, 6vw, 72px); margin: 16px 0 20px; }
.blog-index__gif { max-width: 480px; }
.logo-white { filter: brightness(0) invert(1); }
.nav--static { display: flex; position: static; opacity: 1; visibility: visible; flex-direction: row; background: none; border: 0; padding: 0; gap: 20px; max-height: none; }
.nav--static a { padding: 0; border: 0; }
.nav--static .nav__cta { margin: 0; padding: 10px 14px; border: 1px solid var(--blood); }

.invest__brand { display: inline-flex; align-items: center; gap: 14px; }
.invest__brand img { height: 18px; width: auto; }
.row__logo img { max-width: 72px; max-height: 22px; }


.post__cover { width: 100%; height: auto; }
.card h2 { font-size: 18px; line-height: 1.25; color: var(--ink); }

/* ===== v3: Funnel Display title, organism hero, interactive cycles ===== */
@font-face { font-family: "Funnel Display"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/funnel-display-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Funnel Display"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/funnel-display-latin-700-normal.woff2") format("woff2"); }

.hero { display: block; min-height: auto; padding: calc(var(--header-h) + 48px) 0 64px; }
.hero::after { display: none; }
.hero__grid { display: grid; gap: 24px; align-items: center; }
@media (min-width: 960px) { .hero__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); min-height: calc(100svh - var(--header-h) - 112px); } }
.hero__content { pointer-events: auto; }
.hero__kicker { margin-bottom: 18px; }
.hero__title {
  font-family: "Funnel Display", "Arial", sans-serif; font-weight: 600; text-transform: none;
  letter-spacing: -0.03em; line-height: 0.92; font-size: clamp(64px, 10vw, 150px); margin-bottom: 32px;
}
.brand span:last-child { font-family: "Funnel Display", Arial, sans-serif; font-weight: 600; letter-spacing: 0; text-transform: none; font-size: 17px; }

.organism { display: grid; gap: 16px; align-items: center; }
@media (min-width: 640px) { .organism { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.organism__canvas { width: 100%; aspect-ratio: 600 / 1000; max-height: 76svh; height: auto; justify-self: center; cursor: crosshair; }
.organism__legend { display: grid; gap: 2px; }
.organism__legend li { display: grid; gap: 2px; padding: 10px 12px; border-left: 2px solid var(--line); cursor: default; transition: border-color 0.3s var(--ease), background 0.3s var(--ease), opacity 0.3s var(--ease); opacity: 0.55; }
.organism__legend li:focus-visible { outline-offset: -1px; }
.organism__legend strong { font: 400 14px/1.2 var(--font-mono); text-transform: uppercase; letter-spacing: 0.04em; }
.organism__legend small { font-size: 13px; color: var(--ink-2); max-height: 0; overflow: hidden; transition: max-height 0.3s var(--ease); }
.organism__legend li.is-active { opacity: 1; background: rgba(236, 235, 230, 0.04); }
.organism__legend li.is-active small { max-height: 40px; }
.sys { font: 400 10px/1.3 var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); }
.organism__legend li.is-active .sys--nervoso { color: rgb(255, 214, 77); }
.organism__legend li.is-active .sys--scheletrico { color: rgb(244, 241, 232); }
.organism__legend li.is-active .sys--circolatorio { color: rgb(255, 59, 48); }
.organism__legend li.is-active .sys--muscolare { color: rgb(255, 138, 101); }
.organism__legend li.is-active .sys--locomotore { color: rgb(76, 198, 255); }
.organism__legend li.is-active .sys--immunitario { color: rgb(57, 224, 196); }
.organism[data-system="nervoso"] li.is-active { border-left-color: rgb(255, 214, 77); }
.organism[data-system="scheletrico"] li.is-active { border-left-color: rgb(244, 241, 232); }
.organism[data-system="circolatorio"] li.is-active { border-left-color: rgb(255, 59, 48); }
.organism[data-system="muscolare"] li.is-active { border-left-color: rgb(255, 138, 101); }
.organism[data-system="locomotore"] li.is-active { border-left-color: rgb(76, 198, 255); }
.organism[data-system="immunitario"] li.is-active { border-left-color: rgb(57, 224, 196); }

/* Cycle: one step lit at a time, or the one under the cursor */
.cycle-wrap { display: grid; gap: 12px; justify-items: center; }
.cycle__step { cursor: pointer; outline: none; }
.cycle__arc { fill: none; stroke: rgba(236, 235, 230, 0.25); stroke-width: 1.5; transition: stroke 0.35s var(--ease), stroke-width 0.35s var(--ease); }
.cycle__hit { fill: transparent; }
.cycle__dot { fill: rgba(236, 235, 230, 0.4); transition: fill 0.35s var(--ease), r 0.35s var(--ease); }
.cycle__step text { fill: var(--ink-3); font-size: 13px; transition: fill 0.35s var(--ease); }
.cycle__step.is-active .cycle__arc { stroke: var(--blood-hot); stroke-width: 2.5; }
.cycle__step.is-active .cycle__dot { fill: var(--blood-hot); r: 9; }
.cycle__step.is-active text { fill: var(--ink); }
.cycle__step:focus-visible .cycle__dot { stroke: var(--ink); stroke-width: 2; }
.cycle__desc { min-height: 1.6em; text-align: center; color: var(--ink); font-size: 16px; }

.principle { padding-left: 14px; border-left: 2px solid transparent; transition: border-color 0.35s var(--ease), background 0.35s var(--ease); cursor: default; outline: none; }
.principle p { transition: color 0.35s var(--ease); }
.principle:not(.is-active) h3 { color: var(--ink-3); }
.principle.is-active { border-left-color: var(--blood-hot); background: rgba(236, 235, 230, 0.03); }
.principle.is-active p { color: var(--ink); }

.row { transition: background 0.3s var(--ease); }
.row:hover { background: rgba(236, 235, 230, 0.04); }
.row:hover .row__logo img { filter: none; opacity: 1; }

.specimen--strip { margin-bottom: 40px; }
.specimen--strip .specimen__canvas { aspect-ratio: 3 / 1; }
@media (min-width: 960px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); }
  .hero__title { white-space: nowrap; font-size: clamp(64px, 6.6vw, 112px); }
  .organism { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); }
  .organism__canvas { max-height: 80svh; }
}
.organism__legend li { opacity: 1; }
.organism__legend li:not(.is-active) strong { color: var(--ink-2); }

/* ===== v4: patent-drawing hero (FIG. 1) ===== */
.patent-fig { margin: 0; justify-self: center; width: 100%; max-width: 560px; }
.fig { width: 100%; height: auto; max-height: 84svh; overflow: visible; }
.fig { --fig-line: rgba(146, 196, 255, 0.55); --fig-on: #9fd2ff; --fig-num: #5aa9ff; }
.fig .halftone { fill: url(#halftone); opacity: 0.07; }
.fig #halftone circle { fill: #5aa9ff; }
.fig .body path, .fig .body ellipse { fill: none; stroke: var(--fig-line); stroke-width: 1.6; }
.fig .draw * { fill: none; stroke: var(--fig-line); stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; opacity: 0.55; transition: stroke 0.35s var(--ease), opacity 0.35s var(--ease), stroke-width 0.35s var(--ease); }
.fig .hit, .fig .hit * { fill: none; stroke: transparent !important; stroke-width: 18 !important; opacity: 1; pointer-events: stroke; }
.fig .part { cursor: pointer; outline: none; }
.fig .lead { fill: none; stroke: var(--fig-line); stroke-width: 1; opacity: 0.35; transition: opacity 0.35s var(--ease), stroke 0.35s var(--ease); }
.fig .num { font: 400 22px/1 var(--font-sans); fill: var(--fig-num); opacity: 0.5; transition: opacity 0.35s var(--ease); }
.fig .cap { font: 400 13px/1 var(--font-mono); text-transform: uppercase; letter-spacing: 0.06em; fill: var(--ink); opacity: 0; transition: opacity 0.35s var(--ease); }
.fig .cap--role { fill: var(--fig-on); font-size: 12px; }
.fig .part.is-active .draw * { stroke: var(--fig-on); opacity: 1; stroke-width: 1.8; }
.fig .part.is-active .lead { stroke: var(--fig-on); opacity: 1; stroke-width: 1.4; }
.fig .part.is-active .num { opacity: 1; }
.fig .part.is-active .cap { opacity: 1; }
.fig .part:focus-visible .num { text-decoration: underline; }
.fig .assembly .lead { opacity: 0.6; }
.fig .assembly .num { opacity: 0.8; }
.fig .arrowhead { fill: var(--fig-line); }
.fig .figlabel { font: 400 15px/1 var(--font-sans); letter-spacing: 0.08em; fill: var(--fig-line); }

/* cycle: dots only */
.cycle__step.is-active .cycle__dot { fill: var(--blood-hot); r: 10; }

/* ===== v5: lab photo specimen in the hero ===== */
.specimen--hero-lab { width: 100%; }
.specimen--hero-lab .specimen__canvas { aspect-ratio: 4 / 3; }
@media (min-width: 960px) { .specimen--hero-lab .specimen__canvas { aspect-ratio: 5 / 4; max-height: 70svh; } }
.hero-lab__caption { display: grid; gap: 6px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); color: var(--ink-2); max-width: 62ch; }
.cycle__reveal { stroke-dasharray: 0 360; }
.cycle__trail { stroke: var(--blood-hot); stroke-width: 2.5; }

/* cycle dots: outline ring + fill that grows on arrival and drains on leave */
.cycle__dot { fill: var(--bg); stroke: rgba(236, 235, 230, 0.45); stroke-width: 1.5; r: 9; transition: stroke 0.45s var(--ease); }
.cycle__step.is-active .cycle__dot { fill: var(--bg); r: 9; stroke: var(--blood-hot); }
.cycle__fill { fill: var(--blood-hot); r: 0; transition: r 0.45s cubic-bezier(.4, 0, .2, 1); pointer-events: none; }
.cycle__step.is-active .cycle__fill { r: 9; }
.cycle__step text { transition: fill 0.45s var(--ease); }


/* ===== v6: Nothing-style dot-matrix type (Doto, OFL) for titles, numbers, labels ===== */
:root { --font-dot: "Doto", "Martian Mono", ui-monospace, monospace; }

h2, h3, .title { font-family: var(--font-dot); font-weight: 900; letter-spacing: 0.04em; }
h2 { font-size: clamp(34px, 5.2vw, 66px); line-height: 1.02; }
.label, .section__head .label::before { font-family: var(--font-dot); font-weight: 700; font-size: 13px; letter-spacing: 0.1em; }
.kpi__value, .fact__value, .row__when, .bar__year, .bar__value, .evo__n, .matrix__year, .matrix__month, .card .label, .post .label {
  font-family: var(--font-dot); font-weight: 900;
}
.row__when { font-size: 14px; }
.kpi__value { font-size: clamp(32px, 3.4vw, 46px); }
.fact__value { font-size: clamp(40px, 4.6vw, 60px); }
.chart svg text { font-family: var(--font-dot); font-weight: 900; font-size: 15px; }
.card h3, .card h2 { font-family: var(--font-dot); font-weight: 900; font-size: 20px; letter-spacing: 0.02em; }
.post h1, .blog-index h1, .doc h1, .lost h1 { font-family: var(--font-dot); font-weight: 900; text-transform: uppercase; }
.post__body h2 { font-size: clamp(22px, 2.6vw, 30px); }

/* Text beside the phylogenetic tree */
.evo { display: grid; gap: 22px; align-content: center; }
.evo__title { font-size: clamp(26px, 2.8vw, 38px); line-height: 1.05; text-transform: uppercase; }
.evo__lead { font-size: 18px; color: var(--ink); max-width: 40ch; }
.evo__steps { display: grid; border-top: 1px solid var(--line); }
.evo__steps li { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 2px 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.evo__n { grid-row: span 2; font-size: 30px; line-height: 1; color: var(--blood-hot); }
.evo__steps strong { font-family: var(--font-dot); font-weight: 900; font-size: 18px; letter-spacing: 0.06em; text-transform: uppercase; }
.evo__steps span:last-child { color: var(--ink-2); font-size: 15px; }


/* ===== v7: round-dot Doto (ROND axis = 100) everywhere dots are used, as in Nothing ===== */
@font-face { font-family: "Doto"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("../fonts/doto-latin-full-normal.woff2") format("woff2-variations"), url("../fonts/doto-latin-full-normal.woff2") format("woff2"); }
h2, h3, .title, .label, .section__head .label::before, .kpi__value, .fact__value, .row__when, .bar__year, .bar__value, .evo__n,
.matrix__year, .matrix__month, .card .label, .post .label, .chart svg text, .card h3, .card h2, .post h1, .blog-index h1, .doc h1, .lost h1,
.evo__steps strong, .hero__title, .btn, .nav a {
  font-variation-settings: "ROND" 100;
}
.hero__title { font-family: var(--font-dot); font-weight: 900; text-transform: uppercase; letter-spacing: 0.02em; line-height: 0.95; }
.btn { font-family: var(--font-dot); font-weight: 900; font-size: 15px; letter-spacing: 0.1em; }
.nav a { font-family: var(--font-dot); font-weight: 800; font-size: 14px; }
.hero__title { white-space: normal; font-size: clamp(54px, 7.4vw, 120px); }

/* ===== v8: square dots again, dot-matrix only where text is large ===== */
h2, h3, .title, .label, .section__head .label::before, .kpi__value, .fact__value, .row__when, .bar__year, .bar__value, .evo__n,
.matrix__year, .matrix__month, .card .label, .post .label, .chart svg text, .card h3, .card h2, .post h1, .blog-index h1, .doc h1, .lost h1,
.evo__steps strong, .hero__title, .btn, .nav a {
  font-variation-settings: "ROND" 0;
}
/* Large display text keeps the dot-matrix look, heavier and more open */
h2, .hero__title, .post h1, .blog-index h1, .doc h1, .lost h1, .evo__title, .kpi__value, .fact__value, .evo__n {
  font-family: var(--font-dot); font-weight: 900; letter-spacing: 0.06em;
}
.hero__title { font-size: clamp(56px, 7.4vw, 124px); }
.kpi__value { font-size: clamp(36px, 3.8vw, 52px); }
.fact__value { font-size: clamp(48px, 5.4vw, 72px); }
/* Small text, numbers and percentages go back to a clean monospace for legibility */
.label, .section__head .label::before, .row__when, .bar__year, .bar__value, .matrix__year, .matrix__month,
.card .label, .post .label, .chart svg text, .btn, .nav a, .evo__steps strong, .card h3, .card h2 {
  font-family: var(--font-mono); font-weight: 500; letter-spacing: 0.06em;
}
.label, .section__head .label::before { font-size: 12px; }
.chart svg text { font-size: 15px; font-weight: 500; }
.bar__value, .bar__year { font-size: 14px; }
.row__when { font-size: 13px; }
.btn { font-size: 13px; }
.nav a { font-size: 12px; font-weight: 400; }
.card h3, .card h2 { font-size: 17px; text-transform: uppercase; }
.evo__steps strong { font-size: 15px; }
.kpi__value { letter-spacing: 0; white-space: nowrap; font-size: clamp(30px, 3vw, 44px); }

/* ===== Gear-shaped G in the hero title (patent cross-section) ===== */
.title-guido { white-space: nowrap; }
.gear-g { display: inline-block; height: 0.86em; width: 0.88em; vertical-align: -0.06em; margin-right: -0.02em; overflow: visible; }
.gear-g__body { fill: none; stroke: var(--blood-hot); stroke-width: 2.6; stroke-linejoin: round; }
.gear-g__hatch { fill: none; stroke: var(--blood-hot); stroke-width: 1.2; opacity: 0.85; }
.gear-g__line { fill: none; stroke: var(--blood-hot); stroke-width: 1.6; }
.gear-g__rotor { transform-origin: 0 0; transition: transform 1.1s cubic-bezier(.3, .7, .2, 1); }
.hero__title:hover .gear-g__rotor { transform: rotate(-24deg); }
@media (prefers-reduced-motion: reduce) { .gear-g__rotor { transition: none; } }
.gear-g { height: 0.78em; width: 0.8em; vertical-align: -0.02em; margin-right: -0.04em; }
.gear-g__body { stroke-width: 3.2; }

/* ===== GUIDO as a train of meshing gears ===== */
.hero__word { display: grid; gap: 0.12em; justify-items: start; }
.hero__small { display: block; line-height: 1; }
.gear-word { display: block; width: min(100%, 620px); height: auto; overflow: visible; margin: 0.06em 0; }
.gw__line { fill: none; stroke: var(--blood-hot); stroke-width: 2.4; stroke-linejoin: round; }
.gw__hatch { fill: none; stroke: var(--blood-hot); stroke-width: 1.1; opacity: 0.75; }

.gw__line { fill: none; stroke: var(--blood-hot); stroke-width: 2.2; }
.gw__hatch { stroke-width: 1.2; opacity: 0.85; }
.gear-word { width: min(100%, 600px); }
.hero__small { font-family: "Funnel Display", Arial, sans-serif; font-weight: 600; text-transform: none; letter-spacing: -0.02em; font-variation-settings: normal; }
.kpi--gain .kpi__value { color: var(--gain); }
.kpi__value { font-size: clamp(26px, 2.4vw, 38px); }
.kpis { grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr)); }
/* gear-word:start (generated by tools/gear-word.py) */
.gw__part { transform-origin: 0 0; animation: 7s cubic-bezier(.55, 0, .25, 1) -2.2s infinite; }
.gw__axis { fill: none; stroke: var(--blood-hot); stroke-width: 1; opacity: 0.6; }
.gw__part--G { animation-name: gw-turn; --gw-to: rotate(-30deg); }
.gw__part--U { animation-name: gw-turn; --gw-to: rotate(30deg); }
.gw__part--I { animation-name: gw-turn; --gw-to: translateY(24.09px); }
.gw__part--D { animation-name: gw-turn; --gw-to: translateY(24.09px); }
.gw__part--O { animation-name: gw-turn; --gw-to: rotate(-30deg); }
@keyframes gw-turn { 0%, 36% { transform: none; } 54%, 68% { transform: var(--gw-to); } 86%, 100% { transform: none; } }
@media (prefers-reduced-motion: reduce) { .gw__part { animation: none; } }
/* gear-word:end */

/* growth over time (eToro vs S&P 500) */
.growth__legend { display: flex; flex-wrap: wrap; gap: 6px 20px; list-style: none; margin: 12px 0 6px; padding: 0; font-family: var(--font-mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--ink-2); }
.growth__key { display: inline-flex; align-items: center; gap: 8px; }
.growth__key::before { content: ""; width: 18px; height: 0; border-top: 2px solid var(--gain); }
.growth__key--index::before { border-top: 2px dashed var(--ink-3); }
.growth__chart { display: block; width: 100%; height: auto; overflow: visible; touch-action: pan-y; cursor: crosshair; }
.growth__chart:focus-visible { outline: 1px solid var(--blood-hot); outline-offset: 4px; }
.growth__grid { stroke: var(--line); stroke-width: 1; }
.growth__grid--zero { stroke: var(--line-strong); }
.growth__tick { font-family: var(--font-mono); font-size: 11px; fill: var(--ink-3); }
.growth__line { fill: none; stroke-width: 2.2; stroke-linejoin: round; stroke-linecap: round; }
.growth__line--portfolio { stroke: var(--gain); }
.growth__line--index { stroke: var(--ink-3); stroke-dasharray: 5 4; stroke-width: 1.6; }
.growth__end { font-family: var(--font-mono); font-size: 12px; }
.growth__end--portfolio { fill: var(--gain); }
.growth__end--index { fill: var(--ink-2); }
.growth__cursor { stroke: var(--line-strong); stroke-width: 1; }
.growth__dot--portfolio { fill: var(--gain); }
.growth__dot--index { fill: var(--ink-2); }
.growth__readout { min-height: 1.6em; margin-top: 8px; color: var(--ink-2); }

/* timeline logos: same light tile for every logo, original colours on row hover */
.row__logo:not(:empty) { display: grid; place-items: center; width: 92px; height: 44px; margin-left: auto; padding: 8px 12px; background: var(--paper); border-radius: 3px; box-sizing: border-box; }
.row__logo:not(:empty) img { max-width: 100%; max-height: 26px; width: auto; height: auto; margin: 0; filter: grayscale(1); opacity: 0.8; transition: filter 0.3s var(--ease), opacity 0.3s var(--ease); }
.row__logo img[src*="unibo-seal"], .row__logo img[src*="epo"] { max-height: 30px; }
.row { grid-template-columns: 112px minmax(0, 1fr) 92px; }
@media (max-width: 560px) { .row { grid-template-columns: 1fr; } }
.row:hover .row__logo img, .row:focus-within .row__logo img { filter: none; opacity: 1; }

/* logo strip: the colour layer keeps exactly the size of the mono logo on hover */
.logo img { grid-area: 1 / 1; max-width: 100%; height: auto; }
.logo__colour { position: static; }

/* header mark: the G gear of the hero */
.brand__mark { border: 0; width: 36px; height: 36px; }
.brand__mark img { display: block; width: 100%; height: 100%; }

/* monthly matrix: yearly performance at the end of each row */
.matrix__row { grid-template-columns: 40px repeat(12, minmax(0, 1fr)) 64px; }
.matrix__total { font: 500 12px/1 var(--font-mono); text-align: right; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.matrix__total--gain { color: var(--gain); }
.matrix__total--loss { color: var(--loss); }
.matrix__row--head .matrix__total { font-size: 10px; font-weight: 400; color: var(--ink-3); }
@media (max-width: 560px) { .matrix__row { grid-template-columns: 30px repeat(12, minmax(0, 1fr)) 50px; } .matrix__total { font-size: 10px; } }

/* KPI values aligned on one baseline even when a label wraps to more lines */
.kpi { display: flex; flex-direction: column; }
.kpi__value { margin-top: auto; }

/* method: aside in the evolution title, and the statement before the chart */
.evo__aside { display: block; margin-top: 10px; font-family: var(--font-sans); font-size: 0.42em; font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--ink-2); font-variation-settings: normal; }
.manifesto { max-width: 900px; margin: 64px 0 40px; }
.manifesto__claim { font-family: var(--font-sans); font-size: clamp(24px, 3vw, 36px); line-height: 1.25; letter-spacing: -0.01em; color: var(--ink); margin: 0 0 18px; }
.manifesto__claim s { color: var(--ink-3); text-decoration-color: var(--blood-hot); text-decoration-thickness: 3px; }
.manifesto__claim em { font-style: normal; color: var(--blood-hot); }
.manifesto__text { font-size: clamp(17px, 1.5vw, 20px); line-height: 1.55; color: var(--ink-2); margin: 0; max-width: 760px; }

/* timeline logos are links to the organisation */
.row__logo a { display: grid; place-items: center; width: 100%; height: 100%; }
.row__logo a:focus-visible { outline: 1px solid var(--blood-hot); outline-offset: 3px; }

/* legal note on logos, trademarks and third-party links */
.footer__note { max-width: 620px; margin-top: 12px; font-size: 12px; line-height: 1.55; color: var(--ink-3); }

/* Explicit column counts so no grid ever leaves one item alone next to an empty grey cell */
.logos__row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.kpis { grid-template-columns: minmax(0, 1fr); }
.cards { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) {
  .logos__row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 760px) { .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1000px) {
  .logos__row { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .kpis { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* Large monitors: scale the whole layout instead of leaving a narrow column in a sea of black */
/* Viewport units are scaled by zoom too, so the hero heights divide by --z to keep fitting the screen */
@media (min-width: 1800px) {
  html { zoom: 1.2; --z: 1.2; }
  .hero { min-height: calc(100svh / var(--z)); padding-bottom: clamp(64px, calc(9vh / var(--z)), 112px); }
  .hero__grid { min-height: calc(100svh / var(--z) - var(--header-h) - 112px); }
  .specimen--hero-lab .specimen__canvas { max-height: calc(70svh / var(--z)); }
}
@media (min-width: 2300px) { html { zoom: 1.45; --z: 1.45; } }

/* AI adoption chart: visible title and source, a reading of the data, facts in ruled blocks */
.manifesto { margin-bottom: 0; }
.chart { margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--line); }
@media (min-width: 960px) { .chart { align-items: start; column-gap: 64px; } }
.chart__figure { margin: 0; }
.chart__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 6px 24px; margin-bottom: 18px; }
.chart__title { margin: 0; max-width: 460px; font-size: 15px; line-height: 1.45; color: var(--ink); }
.chart__head .source { margin: 0; }
.chart__note { margin: 14px 0 0; font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.chart__note strong { font-weight: 500; color: var(--blood-hot); }
.chart__facts { gap: 0; }
.fact { padding: 20px 0; border-top: 1px solid var(--line); }
.fact:first-child { padding-top: 0; border-top: 0; }
.fact .fact__value { margin: 0 0 10px; }
.fact .small { margin: 0 0 8px; }

/* AI chart as HTML bars: labels stay readable at every width; same hatch and outline as the gears */
.hbars { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.hbar { display: grid; grid-template-columns: 96px minmax(0, 1fr) 64px; align-items: center; gap: 14px; }
.hbar__label, .hbar__value { font-family: var(--font-mono); font-size: 14px; color: var(--ink-2); }
.hbar__value { color: var(--ink); font-variant-numeric: tabular-nums; }
.hbar__track { position: relative; height: 22px; }
.hbar__fill { position: absolute; inset: 0 auto 0 0; border: 2px solid rgba(236, 235, 230, 0.6); background: repeating-linear-gradient(45deg, rgba(236, 235, 230, 0.6) 0 1.2px, transparent 1.2px 5px); }
.hbar--avg .hbar__fill { border-color: var(--ink); }
.hbar--focus .hbar__label, .hbar--focus .hbar__value { color: var(--blood-hot); }
.hbar--focus .hbar__fill { border-color: var(--blood-hot); background: repeating-linear-gradient(45deg, rgba(255, 90, 67, 0.85) 0 1.2px, transparent 1.2px 5px); }
@media (max-width: 560px) { .hbar { grid-template-columns: 76px minmax(0, 1fr) 52px; gap: 10px; } .hbar__label, .hbar__value { font-size: 13px; } }
.hbar__fill--356 { width: 89.0%; }
.hbar__fill--308 { width: 77.0%; }
.hbar__fill--304 { width: 76.0%; }
.hbar__fill--301 { width: 75.2%; }
.hbar__fill--276 { width: 69.0%; }
.chart__note { margin-top: 20px; }
