/* ============================================================
   The Games Market · La storia del grading
   Stylesheet di brand. Token da brand-tokens.json v1.2
   ============================================================ */

/* ---------- Font ---------- */
@font-face{font-family:"Heading Now";src:url("/grading-history/fonts/Heading-Now-48-Heavy.woff2") format("woff2");font-weight:900;font-style:normal;font-display:swap}
@font-face{font-family:"Heading Now";src:url("/grading-history/fonts/Heading-Now-47-Extrabold.woff2") format("woff2");font-weight:800;font-style:normal;font-display:swap}
@font-face{font-family:"Heading Now";src:url("/grading-history/fonts/Heading-Now-46-Bold.woff2") format("woff2");font-weight:700;font-style:normal;font-display:swap}
@font-face{font-family:"Heading Now";src:url("/grading-history/fonts/Heading-Now-45-Medium.woff2") format("woff2");font-weight:500;font-style:normal;font-display:swap}
@font-face{font-family:"Heading Now";src:url("/grading-history/fonts/Heading-Now-44-Regular.woff2") format("woff2");font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:"Jost";src:url("/grading-history/fonts/Jost-Regular.ttf") format("truetype");font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:"Jost";src:url("/grading-history/fonts/Jost-Medium.ttf") format("truetype");font-weight:500;font-style:normal;font-display:swap}
@font-face{font-family:"Jost";src:url("/grading-history/fonts/Jost-Bold.ttf") format("truetype");font-weight:700;font-style:normal;font-display:swap}
@font-face{font-family:"Upheaval";src:url("/grading-history/fonts/UpheavalTT.ttf") format("truetype");font-weight:400;font-style:normal;font-display:swap}

/* ---------- Token ---------- */
.grading-history{
  --viola:#A100FF; --viola-bril:#9C00FC; --viola-prof:#4A047B;
  --lime:#48F236; --lime-soft:#9CE994;
  --notte:#130528; --sup1:#1A0E2E; --sup2:#230540; --sup3:#2A1545;
  --magenta:#C847FF; --peri:#9589FF; --giallo:#FFC22D;
  --nero:#0C000C; --bianco:#FFFFFF; --offwhite:#FCFCFC;
  --grigio:#626974; --linee:#EAEAEA; --zebra:#FAF7FE;
  --disp:"Heading Now",Arial,"Helvetica Neue",sans-serif;
  --read:"Jost",system-ui,sans-serif;
  --pixel:"Upheaval",monospace;
  --maxw:1180px; --rd:14px;
  --gh-sticky-offset:6.5rem;
  --gh-gutter:28px;
  scroll-behavior:smooth;-webkit-text-size-adjust:100%;
  font-family:var(--read);color:var(--nero);background:var(--bianco);line-height:1.55;font-size:18px;
  box-sizing:border-box;
  width:100%;
  max-width:100%;
  overflow-x:clip;
}
.grading-history .wrap,
.grading-history .cols2 > *,
.grading-history .intro-grid > *,
.grading-history .chartgrid > *{min-width:0}
.grading-history *,.grading-history *::before,.grading-history *::after{box-sizing:border-box}
.grading-history section[id]{scroll-margin-top:var(--gh-sticky-offset)}
.grading-history .subhead{font-family:var(--disp);font-size:1.5rem;font-weight:800;text-transform:none;letter-spacing:.006em;margin:.3em 0 .55em;line-height:1.1}
.grading-history a:focus-visible, .grading-history .btn:focus-visible, .grading-history .lang:focus-visible, .grading-history .nav a:focus-visible{outline:3px solid var(--viola);outline-offset:3px;border-radius:4px}
.grading-history .nav a:focus-visible, .grading-history .hero a:focus-visible, .grading-history .divider a:focus-visible, .grading-history .finale a:focus-visible, .grading-history footer a:focus-visible{outline-color:var(--lime)}
.grading-history img{max-width:100%;display:block}
.grading-history a{color:var(--viola-prof);text-decoration:none}

/* ---------- Tipografia ---------- */
.grading-history h1, .grading-history h2, .grading-history h3, .grading-history h4, .grading-history .disp{font-family:var(--disp);line-height:1.04;letter-spacing:.012em}
.grading-history .eyebrow{font-family:var(--disp);font-weight:800;text-transform:uppercase;letter-spacing:.16em;font-size:.74rem;color:var(--viola-prof);display:inline-flex;align-items:center;gap:11px}
.grading-history .eyebrow::before{content:"";width:30px;height:2px;background:var(--viola);flex:none}
.grading-history .kicker{font-family:var(--pixel);font-size:.78rem;letter-spacing:.04em;color:var(--magenta)}
.grading-history .lead{font-size:1.28rem;line-height:1.5;color:#2a2230}
.grading-history .muted{color:var(--grigio)}
.grading-history .vio{color:var(--viola);font-weight:700}
.grading-history strong{font-weight:700}
.grading-history p{margin:0 0 1.1em}
.grading-history .reading p{max-width:64ch}
.grading-history .cols2 > div:first-child{max-width:68ch}
/* capolettera editoriale: solo sul primo paragrafo dei capitoli */
.grading-history .drop::first-letter{float:left;font-family:var(--disp);font-weight:900;font-size:5em;line-height:.7;margin:.04em .12em 0 0;color:var(--viola)}
/* didascalie da museo (tavole numerate) */
.grading-history .cap-plate{font-family:var(--pixel);font-size:.64rem;color:var(--viola);letter-spacing:.06em;display:block;margin-bottom:5px}
.grading-history figcaption .ttl{font-style:italic}
.grading-history .cap-cred{display:block;margin-top:7px;font-size:.66rem;color:var(--grigio)}
.grading-history .cap-cred::before{content:"";display:block;width:26px;height:1px;background:var(--linee);margin:0 0 6px}

/* ---------- Layout ---------- */
.grading-history section{position:relative}
.grading-history .wrap{max-width:var(--maxw);margin:0 auto;padding:0 var(--gh-gutter)}
.grading-history .reading{background:var(--bianco);padding:62px 0}
.grading-history .reading.alt{background:var(--offwhite)}
.grading-history .sec-head{max-width:760px;margin-bottom:30px}
.grading-history .sec-head h2{font-size:clamp(2rem,4.4vw,3.1rem);font-weight:900;text-transform:uppercase;margin:.18em 0 .35em}
.grading-history .sec-head h2 em{font-style:normal;color:var(--viola)}

/* ---------- Hero ---------- */
.grading-history .hero{display:block;color:#fff;position:relative;overflow:hidden;border-bottom:1px solid rgba(255,255,255,.06);
  background:
    radial-gradient(circle at 24% 48%, rgba(161,0,255,.34), transparent 58%),
    linear-gradient(rgba(161,0,255,.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(161,0,255,.12) 1px, transparent 1px),
    var(--notte);
  background-size:auto, 44px 44px, 44px 44px, auto}
.grading-history .hero .bg{position:absolute;inset:0;background:url("/grading-history/img/hero-cover.webp") right center/cover no-repeat}
.grading-history .hero .bg::after{content:"";position:absolute;inset:0;background:
  linear-gradient(90deg, rgba(19,5,40,.60) 0%, rgba(19,5,40,.28) 42%, rgba(19,5,40,0) 60%),
  linear-gradient(180deg, rgba(19,5,40,.12) 0%, rgba(19,5,40,.28) 55%, rgba(19,5,40,.66) 100%)}
.grading-history .hero .wrap{position:relative;z-index:2;width:100%;max-width:var(--maxw);margin-inline:auto;padding-top:84px;padding-bottom:74px}
.grading-history .hero > *{grid-row:unset;grid-column:unset}
.grading-history .hero .kicker{display:inline-block;margin-bottom:22px;color:var(--lime)}
.grading-history .hero h1{font-size:clamp(2.7rem,7.2vw,5.6rem);font-weight:900;text-transform:uppercase;letter-spacing:.01em;max-width:14ch;text-shadow:0 4px 40px rgba(160,0,255,.45)}
.grading-history .hero h1 em{font-style:normal;color:var(--lime)}
.grading-history .hero .sub{font-size:clamp(1.1rem,2.3vw,1.45rem);max-width:60ch;margin-top:26px;color:#e8def7;text-shadow:0 2px 18px rgba(19,5,40,.7)}
.grading-history .hero .meta{margin-top:40px;display:flex;flex-wrap:wrap;gap:14px 30px;font-size:.92rem;color:#bfb0db;font-family:var(--disp);font-weight:600;letter-spacing:.04em;text-transform:uppercase}
.grading-history .hero .meta b{color:var(--magenta)}
.grading-history .scrollcue{margin-top:34px;font-size:.78rem;letter-spacing:.2em;text-transform:uppercase;color:#9c8fc0;font-family:var(--disp);font-weight:700;display:flex;align-items:center;gap:10px}
.grading-history .scrollcue .dot{width:8px;height:8px;border-radius:50%;background:var(--lime);box-shadow:0 0 12px var(--lime);animation:pulse 1.6s infinite}
@keyframes pulse{0%,100%{opacity:.4}50%{opacity:1}}

/* ---------- Pilastri ---------- */
.grading-history .pillars{display:grid;grid-template-columns:1fr;gap:16px;margin-top:14px;clear:both}
.grading-history .pillar{border:1px solid var(--linee);border-radius:var(--rd);padding:22px 18px;background:#fff;transition:.25s}
.grading-history .pillar:hover{border-color:var(--viola);box-shadow:0 14px 34px rgba(160,0,255,.1);transform:translateY(-3px)}
.grading-history .pillar .n{font-family:var(--pixel);color:var(--viola);font-size:.82rem}
.grading-history .pillar h4{font-size:1.06rem;font-weight:800;margin:.5em 0 .35em;text-transform:uppercase;letter-spacing:.01em}
.grading-history .pillar p{font-size:.92rem;color:var(--grigio);margin:0;line-height:1.42}

/* ---------- Timeline ---------- */
.grading-history .tl{position:relative;max-width:880px;margin:0 auto;padding-left:34px}
.grading-history .tl::before{content:"";position:absolute;left:7px;top:6px;bottom:6px;width:2px;background:linear-gradient(180deg,var(--viola),var(--magenta),var(--peri))}
.grading-history .tl-item{position:relative;padding:0 0 22px 18px}
.grading-history .tl-item::before{content:"";position:absolute;left:-34px;top:4px;width:16px;height:16px;border-radius:50%;background:#fff;border:3px solid var(--viola);box-shadow:0 0 0 4px rgba(160,0,255,.12)}
.grading-history .tl-item.key::before{background:var(--viola);border-color:var(--magenta)}
.grading-history .tl-yr{font-family:var(--disp);font-weight:900;color:var(--viola);font-size:1.18rem;letter-spacing:.02em}
.grading-history .tl-item.key .tl-yr{color:var(--magenta)}
.grading-history .tl-tt{font-family:var(--disp);font-weight:700;font-size:1.04rem;margin:.1em 0 .12em}
.grading-history .tl-tx{font-size:.95rem;color:var(--grigio);margin:0;max-width:60ch}

/* ---------- Apertura capitolo (tipografica, fondo chiaro) ---------- */
.grading-history .chapter{background:var(--bianco);padding:clamp(58px,8vw,86px) 0 22px}
.grading-history .chapter + .reading{padding-top:32px}
.grading-history .chapter-num{display:inline-block;font-family:var(--disp);font-weight:900;font-size:3rem;line-height:.9;color:var(--viola);letter-spacing:.01em}
.grading-history .chapter .cap-meta{font-family:var(--pixel);color:var(--magenta);font-size:.82rem;letter-spacing:.05em;display:block;margin:12px 0 4px}
.grading-history .chapter h2{font-size:clamp(2.6rem,7vw,5rem);font-weight:900;text-transform:uppercase;line-height:.96;letter-spacing:.012em;margin:.04em 0 .24em}
.grading-history .chapter h2 em{font-style:normal;color:var(--viola)}
.grading-history .chapter .dsub{font-size:1.16rem;line-height:1.5;color:var(--grigio);max-width:54ch;margin:0}
.grading-history .chapter .chapter-open:has(.chapter-fig){display:grid;grid-template-columns:1fr;gap:20px;align-items:center}
.grading-history .chapter-fig{margin:18px 0 4px;justify-self:stretch;width:100%;max-width:none;border:1px solid var(--linee);border-radius:14px;overflow:hidden;background:#fff;box-shadow:0 14px 36px rgba(74,4,123,.1)}
.grading-history .chapter-fig img{width:100%;height:auto;display:block}
.grading-history .chapter-fig figcaption{font-size:.72rem;color:var(--grigio);padding:9px 13px;border-top:1px solid var(--linee);line-height:1.35}

/* ---------- Ritratto storico (persona) ---------- */
.grading-history .fig-person{float:none;display:block;width:100%;max-width:100%;margin:18px 0 22px}
.grading-history .fig-person img{width:100%;max-width:280px;height:auto;object-fit:cover;object-position:top;border-radius:12px;border:1px solid var(--linee);display:block;margin:0 auto}
.grading-history .fig-person figcaption{font-size:.8rem;color:var(--grigio);margin-top:7px;line-height:1.34}
.grading-history .fig-person figcaption b{color:var(--nero);font-weight:700;display:block;font-size:.76rem;margin-bottom:1px}
.grading-history .fig-person figcaption a{color:var(--grigio);text-decoration:underline}

/* ---------- Figura carta/pezzo piccola (in colonna testo) ---------- */
.grading-history .fig-card{float:none;display:block;width:100%;max-width:100%;margin:18px 0 22px}
.grading-history .fig-card img{width:100%;height:auto;border-radius:10px;border:1px solid var(--linee);display:block}
.grading-history .fig-card figcaption{font-size:.8rem;color:var(--grigio);margin-top:7px;line-height:1.34}
.grading-history .fig-card figcaption b{color:var(--nero);font-weight:700;display:block;font-size:.76rem;margin-bottom:1px}
.grading-history .fig-card figcaption a{color:var(--grigio);text-decoration:underline}
.grading-history .fig-coin{float:none;width:100%;max-width:100%;margin:16px 0 20px}
.grading-history .cols2 > div::after{content:"";display:block;clear:both}

/* ---------- Opera d'arte contestuale (dipinto) ---------- */
.grading-history .intro-grid{display:grid;grid-template-columns:1fr;gap:22px;align-items:start;margin-bottom:36px}
.grading-history .intro-text h2{font-size:clamp(2rem,4.4vw,3.1rem);font-weight:900;text-transform:uppercase;margin:.18em 0 .35em}
.grading-history .intro-text h2 em{font-style:normal;color:var(--viola)}
.grading-history .intro-text .lead{margin-bottom:.6em}
.grading-history .intro-text .muted{margin-top:16px}
.grading-history .artwork{width:100%;margin:2px 0 0}
.grading-history .artwork img{width:100%;height:auto;border-radius:10px;border:1px solid var(--linee);box-shadow:0 16px 40px rgba(74,4,123,.14);display:block}
.grading-history .artwork figcaption{margin-top:12px}
.grading-history .artwork .art-t{font-family:var(--disp);font-weight:800;font-size:.95rem;display:block;margin-bottom:7px;line-height:1.25}
.grading-history .artwork figcaption p{font-size:.9rem;color:#3a3340;margin:0 0 9px;line-height:1.5}
.grading-history .artwork figcaption p b{color:var(--viola-prof)}
.grading-history .artwork .art-src{font-size:.71rem;color:var(--grigio)}

/* ---------- Pull quote ---------- */
.grading-history .pq{border-left:4px solid var(--viola);padding:6px 0 6px 26px;margin:42px 0;font-family:var(--disp);font-weight:700;font-size:clamp(1.5rem,3.2vw,2.1rem);line-height:1.2;color:var(--nero)}
.grading-history .pq em{font-style:normal;color:var(--viola)}
.grading-history .pq .src{display:block;font-family:var(--read);font-weight:500;font-size:.86rem;color:var(--grigio);margin-top:12px}

/* ---------- Callout Mr Boy ---------- */
.grading-history .callout{display:flex;gap:20px;align-items:center;background:var(--zebra);border:1px solid #ece2fb;border-radius:var(--rd);padding:20px 24px;margin:34px 0}
.grading-history .callout img{width:84px;height:84px;flex:none}
.grading-history .callout .ct{font-size:.98rem;color:#3a2f47}
.grading-history .callout .ct b{color:var(--viola-prof)}
.grading-history .callout .lbl{font-family:var(--pixel);font-size:.72rem;color:var(--magenta);display:block;margin-bottom:4px}
@media(max-width:859px){.grading-history .callout{flex-direction:column;text-align:center;padding:18px 16px}}

/* ---------- Two-col ---------- */
.grading-history .cols2{display:grid;grid-template-columns:1fr;gap:30px;align-items:start}
.grading-history .cols2 > aside{align-self:auto}

/* ---------- Card fatto ---------- */
.grading-history .factcard{background:#fff;border:1px solid var(--linee);border-radius:var(--rd);padding:24px;position:static;top:auto}
.grading-history .factcard h4{font-family:var(--disp);font-weight:800;text-transform:uppercase;font-size:.82rem;letter-spacing:.1em;color:var(--viola);margin-bottom:14px}
.grading-history .factrow{display:flex;justify-content:space-between;gap:14px;padding:10px 0;border-bottom:1px solid var(--linee);font-size:.92rem}
.grading-history .factrow:last-child{border-bottom:0}
.grading-history .factrow .k{color:var(--grigio)}
.grading-history .factrow .v{font-weight:700;text-align:right;font-variant-numeric:tabular-nums}

/* ---------- Grafici ---------- */
.grading-history .chart{background:#fff;border:1px solid var(--linee);border-radius:var(--rd);padding:18px 14px 14px;max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
.grading-history .chart svg{display:block;min-width:300px;max-width:100%;height:auto}
.grading-history .chart h3{font-family:var(--disp);font-weight:800;font-size:1.18rem;text-transform:uppercase;letter-spacing:.01em;margin-bottom:4px}
.grading-history .chart .csub{font-size:.92rem;color:var(--grigio);margin-bottom:20px;max-width:62ch}
.grading-history .chart .hero-num{font-family:var(--disp);font-weight:900;color:var(--viola);font-size:clamp(2.2rem,5vw,3.2rem);line-height:1}
.grading-history .chart .src{font-size:.76rem;color:var(--grigio);margin-top:16px;border-top:1px solid var(--linee);padding-top:10px;display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap}
.grading-history .chart .src b{color:#4a4a52;font-weight:600}
.grading-history .chart.solo{max-width:920px;margin:36px auto 0}
.grading-history .chartgrid{display:grid;grid-template-columns:1fr;gap:26px}
.grading-history svg .axis{stroke:var(--linee);stroke-width:1}
.grading-history svg .gl{stroke:#f0ecf6;stroke-width:1}
.grading-history svg .lbl{font-family:"Jost",sans-serif;font-size:12px;fill:var(--grigio)}
.grading-history svg .val{font-family:"Heading Now",sans-serif;font-weight:800;fill:var(--nero)}
.grading-history svg .valv{fill:var(--viola)}

/* ---------- Tabella ---------- */
.grading-history .tbl{width:100%;border-collapse:collapse;margin:8px 0 4px;font-size:.95rem}
.grading-history .tbl thead th{font-family:var(--disp);font-weight:700;text-transform:uppercase;letter-spacing:.06em;font-size:.74rem;color:var(--grigio);text-align:left;padding:10px 12px;border-bottom:2px solid var(--linee)}
.grading-history .tbl tbody td{padding:11px 12px;border-bottom:1px solid var(--linee);vertical-align:top}
.grading-history .tbl td.num{text-align:right;font-variant-numeric:tabular-nums;font-weight:700}
.grading-history .tbl td.num.v{color:var(--viola)}
.grading-history .tbl tbody tr:hover{background:var(--zebra)}

/* ---------- Box controversia ---------- */
.grading-history .notebox{border:1px solid #e4d8f6;border-left:4px solid var(--giallo);background:#fffdf5;border-radius:var(--rd);padding:22px 26px;margin:30px 0}
.grading-history .notebox h4{font-family:var(--disp);font-weight:800;text-transform:uppercase;font-size:.92rem;letter-spacing:.04em;margin-bottom:8px}
.grading-history .notebox p{font-size:.96rem;color:#3a3340;margin-bottom:.7em}

/* ---------- Stat band ---------- */
.grading-history .stats{display:grid;grid-template-columns:repeat(2,1fr);gap:24px 18px;margin-top:10px}
.grading-history .stat{padding:0;border-left:0}
.grading-history .stat .big{font-family:var(--disp);font-weight:900;color:var(--viola);font-size:clamp(1.9rem,4vw,2.7rem);line-height:1}
.grading-history .stat .cap{font-size:.86rem;color:var(--grigio);margin-top:10px;line-height:1.4}

/* ---------- Finale TGMGrading ---------- */
.grading-history .finale{background:var(--notte);color:#fff;position:relative;overflow:hidden}
.grading-history .finale .bg{position:absolute;inset:0;background:url("/grading-history/img/finale-teche.webp") center/cover no-repeat;opacity:.55;mix-blend-mode:luminosity}
.grading-history .finale .bg::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(19,5,40,.78) 0%,rgba(19,5,40,.7) 45%,rgba(19,5,40,.9) 100%)}
.grading-history .finale .wrap{position:relative;z-index:2;padding:72px var(--gh-gutter)}
.grading-history .finale h2{font-size:clamp(2.2rem,5vw,3.6rem);font-weight:900;text-transform:uppercase;text-shadow:0 4px 30px rgba(160,0,255,.4)}
.grading-history .finale h2 em{font-style:normal;color:var(--lime)}
.grading-history .finale .lead{color:#e8def7}
.grading-history .fpills{display:grid;grid-template-columns:1fr;gap:14px;margin:38px 0}
.grading-history .fpill{background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.12);border-radius:var(--rd);padding:18px}
.grading-history .fpill .n{font-family:var(--pixel);color:var(--lime);font-size:.78rem}
.grading-history .fpill h4{font-size:.98rem;font-weight:800;text-transform:uppercase;margin:.45em 0 .3em;color:#fff}
.grading-history .fpill p{font-size:.86rem;color:#c7b8e2;margin:0;line-height:1.4}
.grading-history .cta{display:flex;flex-wrap:wrap;gap:14px;align-items:center;margin-top:14px}
.grading-history .btn{font-family:var(--read);font-weight:700;border-radius:10px;padding:14px 26px;font-size:1rem;cursor:pointer;display:inline-flex;align-items:center;gap:9px;transition:.2s;border:2px solid transparent}
.grading-history .btn.primary{background:var(--lime);color:var(--notte)}
.grading-history .btn.primary:hover{filter:brightness(1.08);transform:translateY(-2px)}
.grading-history .btn:active{transform:translateY(0)}
.grading-history .btn.ghost{border-color:#fff;color:#fff}
.grading-history .btn.ghost:hover{background:#fff;color:var(--notte)}
.grading-history .finale .iso{display:flex;align-items:center;gap:16px;margin-top:40px;padding-top:26px;border-top:1px solid rgba(255,255,255,.12)}
.grading-history .finale .iso img{width:150px;height:auto;background:#fff;border-radius:8px;padding:9px}
.grading-history .finale .iso p{font-size:.82rem;color:#bfb0db;margin:0;max-width:48ch}
.grading-history .finale-pay{margin-top:36px;padding-top:24px;border-top:1px solid rgba(255,255,255,.14);font-family:var(--disp);font-weight:800;text-transform:uppercase;font-size:1.15rem;letter-spacing:.02em}
.grading-history .finale-pay em{font-style:normal;color:var(--lime)}
.grading-history .mrboy-finale{position:absolute;right:4%;bottom:0;width:230px;z-index:2;filter:drop-shadow(0 0 30px rgba(72,242,54,.3))}
@media(max-width:1024px){.grading-history .mrboy-finale{display:none}}

/* ---------- Fonti ---------- */
.grading-history .sources{background:var(--offwhite);padding:80px 0}
.grading-history .sources h2{font-size:2rem;font-weight:900;text-transform:uppercase;margin-bottom:10px}
.grading-history .srcgrid{display:grid;grid-template-columns:1fr;gap:34px;margin-top:30px}
.grading-history .srccol h4{font-family:var(--disp);font-weight:800;text-transform:uppercase;font-size:.86rem;letter-spacing:.06em;color:var(--viola);margin-bottom:12px;padding-bottom:8px;border-bottom:1px solid var(--linee)}
.grading-history .srccol ul{list-style:none}
.grading-history .srccol li{font-size:.86rem;color:#3a3340;padding:6px 0;line-height:1.4}
.grading-history .srccol li a{word-break:break-word}
.grading-history .srcnote{font-size:.82rem;color:var(--grigio);margin-top:24px;max-width:72ch}

/* ---------- Footer ---------- */
.grading-history footer{background:var(--notte);color:#fff;padding:56px 0 40px;border-top:1px solid rgba(255,255,255,.08)}
.grading-history footer .wrap{display:flex;flex-wrap:wrap;gap:30px;align-items:center;justify-content:space-between}
.grading-history footer .lhs{display:flex;align-items:center;gap:16px}
.grading-history footer .lhs img{height:46px}
.grading-history footer .pay{font-family:var(--disp);font-weight:800;text-transform:uppercase;font-size:1.05rem;letter-spacing:.02em}
.grading-history footer .pay em{font-style:normal;color:var(--lime)}
.grading-history footer .small{font-size:.8rem;color:#9c8fc0;max-width:42ch}
.grading-history footer a{color:#cdbfe6}

/* ---------- Reveal (animazione solo desktop) ---------- */
.grading-history .reveal{opacity:1;transform:none}
.grading-history .reveal.in{opacity:1;transform:none}
@media(prefers-reduced-motion:reduce){
  .grading-history{scroll-behavior:auto}
  .grading-history .reveal,.grading-history .reveal.in{opacity:1;transform:none}
  .grading-history .scrollcue .dot{animation:none}
}

/* ---------- Tablet / mobile (max 859px) ---------- */
@media(max-width:859px){
  .grading-history{
    --gh-gutter:16px;
    --gh-sticky-offset:5.5rem;
    font-size:16px;
  }
  .grading-history .reading{padding:40px 0}
  .grading-history .sources{padding:48px 0}
  .grading-history .chapter{padding:40px 0 16px}
  .grading-history .hero .wrap{padding-top:56px;padding-bottom:48px}
  .grading-history .hero h1{max-width:none;font-size:clamp(2rem,10vw,3rem)}
  .grading-history .hero .meta{gap:10px 16px;font-size:.78rem}
  .grading-history .lead{font-size:1.1rem}
  .grading-history .pq{padding-left:18px;margin:28px 0;font-size:clamp(1.25rem,5vw,1.6rem)}
  .grading-history .drop::first-letter{float:none;font-size:inherit;line-height:inherit;margin:0}
  .grading-history .chapter-num{font-size:2.2rem}
  .grading-history .chapter h2,.grading-history .sec-head h2,.grading-history h1,.grading-history h2,.grading-history .subhead,.grading-history .pq{overflow-wrap:anywhere;word-break:break-word}
  .grading-history .chart .src{flex-direction:column;align-items:flex-start}
  .grading-history .factrow{flex-wrap:wrap;gap:6px}
  .grading-history .factrow .v{text-align:left;width:100%}
  .grading-history .finale .wrap{padding:48px var(--gh-gutter)}
  .grading-history .finale .iso{flex-direction:column;align-items:flex-start}
  .grading-history .tbl{display:block;width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
  .grading-history .eyebrow{letter-spacing:.1em;font-size:.7rem}
  .grading-history .eyebrow::before{width:20px}
  .grading-history .tl{padding-left:28px}
}

@media(max-width:479px){
  .grading-history .stats{grid-template-columns:1fr}
}

@media(min-width:521px) and (max-width:859px){
  .grading-history .pillars{grid-template-columns:repeat(2,1fr)}
  .grading-history .fpills{grid-template-columns:repeat(2,1fr)}
}

@media(max-width:760px){
  .grading-history .hero .bg{background-image:url("/grading-history/img/hero.webp");background-position:center}
  .grading-history .hero .bg::after{background:linear-gradient(180deg, rgba(19,5,40,.5) 0%, rgba(19,5,40,.4) 42%, rgba(19,5,40,.86) 100%)}
}

/* ---------- Desktop (min 860px) ---------- */
@media(min-width:860px){
  .grading-history .pillars{grid-template-columns:repeat(5,1fr)}
  .grading-history .intro-grid{grid-template-columns:minmax(0,1fr) minmax(0,360px);gap:52px}
  .grading-history .cols2{grid-template-columns:1.1fr .9fr;gap:46px}
  .grading-history .cols2 > aside{align-self:start;position:sticky;top:var(--gh-sticky-offset)}
  .grading-history .factcard{position:static;top:auto}
  .grading-history .chartgrid{grid-template-columns:1fr 1fr}
  .grading-history .chart{padding:28px 28px 20px}
  .grading-history .stats{display:grid;grid-template-columns:repeat(4,1fr);gap:0}
  .grading-history .stat{padding:6px 26px;border-left:2px solid var(--linee)}
  .grading-history .stats > .stat:first-child{border-left:0;padding-left:0}
  .grading-history .fpills{grid-template-columns:repeat(5,1fr)}
  .grading-history .srcgrid{grid-template-columns:repeat(2,1fr)}
  .grading-history .fig-person{float:right;width:152px;margin:4px 0 14px 24px}
  .grading-history .fig-person img{width:152px;height:152px;margin:0}
  .grading-history .fig-card{float:right;width:148px;margin:4px 0 14px 24px}
  .grading-history .fig-coin{max-width:520px;margin:20px 0 24px}
  .grading-history .chapter .chapter-open:has(.chapter-fig){grid-template-columns:1.3fr .7fr;gap:44px}
  .grading-history .chapter-fig{margin:0;justify-self:end;max-width:320px}
  .grading-history .drop::first-letter{float:left;font-size:5em;line-height:.7;margin:.04em .12em 0 0}
  .grading-history .reveal{opacity:0;transform:translateY(22px);transition:opacity .7s ease,transform .7s ease}
  .grading-history .reveal.in{opacity:1;transform:none}
  .grading-history .cols2 > aside.reveal{transform:none}
}

/* Offset sticky / anchor: sotto la topbar fissa del sito (55px mobile, 145px desktop) + respiro */
@media(min-width:1280px){
  .grading-history{--gh-sticky-offset:12.5rem}
}
