/* Emma Asturaro — sito vetrina, direzione "Tracciato".
   Un solo foglio di stile, nessuna dipendenza. */

@font-face { font-family: "Zodiak"; src: url("assets/fonts/zodiak.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Zodiak"; src: url("assets/fonts/zodiak-italic.woff2") format("woff2"); font-weight: 100 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Switzer"; src: url("assets/fonts/switzer.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
  --blue: #1b2c8c;
  --blue-deep: #0e1640;
  --chart: #f3f6fb;
  --rule: #7fb2e5;
  --yellow: #f4cf3a;
  --sky: #bcd5f4;
  --serif: "Zodiak", Georgia, serif;
  --sans: "Switzer", "Helvetica Neue", Arial, sans-serif;
  --top-h: 4.5rem;
  --cell: 3rem;
  /* margine laterale: fluido, poi il contenuto si ferma a 90rem */
  --pad: max(clamp(1.25rem, 6.6vw, 6rem), calc(50vw - 45rem));
  --ease: cubic-bezier(.16, 1, .3, 1);
  /* valori di base per ciò che sta fuori da una superficie (es. il link "Vai al contenuto") */
  --focus: var(--blue);
  --mark: currentColor;
}

* { box-sizing: border-box; margin: 0; }
html { scroll-padding-top: calc(var(--top-h) + 1.5rem); scrollbar-color: var(--blue) var(--chart); -webkit-text-size-adjust: 100%; }
body { background: var(--chart); color: var(--blue-deep); font-family: var(--sans); font-size: 1.125rem; line-height: 1.6; -webkit-font-smoothing: antialiased; }
::selection { background: var(--yellow); color: var(--blue-deep); }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; letter-spacing: -.02em; text-wrap: balance; }
h2 { font-size: clamp(2.125rem, 4vw, 3.5rem); line-height: 1.05; }
h3 { font-size: 1.5rem; line-height: 1.2; }
p { text-wrap: pretty; }
ul, ol { list-style: none; padding: 0; }
a { color: inherit; text-underline-offset: .22em; text-decoration-thickness: 1px; text-decoration-color: var(--mark); transition: text-decoration-color .2s; }
a:hover { text-decoration-color: currentColor; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 4px; border-radius: 2px; }

/* ---------- Superfici: carta millimetrata in tre toni ---------- */
.light { --line: rgba(127, 178, 229, .22); --soft: #46507a; --mark: var(--blue); --focus: var(--blue); --edge: var(--rule); background-color: var(--chart); color: var(--blue-deep); }
.blue  { --line: rgba(127, 178, 229, .17); --soft: #d5e3f7; --mark: var(--yellow); --focus: var(--yellow); --edge: var(--rule); background-color: var(--blue); color: var(--chart); }
.deep  { --line: rgba(127, 178, 229, .12); --soft: #c4d4ee; --mark: var(--yellow); --focus: var(--yellow); --edge: rgba(127, 178, 229, .45); background-color: var(--blue-deep); color: var(--chart); }
.paper {
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: var(--cell) var(--cell);
  background-position: var(--pad) 0; /* una linea della griglia cade sul margine del testo */
}
.band { padding: clamp(4.5rem, 9vw, 8.5rem) var(--pad); }
.light + .light { padding-top: 0; }

.btn { display: inline-flex; align-items: center; gap: .6rem; background: var(--yellow); color: var(--blue-deep); font-family: var(--sans); font-weight: 600; font-size: 1.0625rem; line-height: 1.2; letter-spacing: 0; padding: 1.05rem 1.75rem; border-radius: 999px; text-decoration: none; white-space: nowrap; transition: transform .25s var(--ease), background-color .2s; }
.btn:hover { transform: translateY(-2px); background: #f8dc63; }
.btn:active { transform: none; }
/* le due sole icone del sito: chiamata e WhatsApp */
.btn svg, .ico svg { width: 1.25rem; height: 1.25rem; fill: currentColor; flex: none; }
.btn-line { background: none; color: inherit; box-shadow: inset 0 0 0 1.5px var(--rule); }
.btn-line:hover { background: rgba(127, 178, 229, .16); }
.ico { display: inline-grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--rule); transition: background-color .2s; }
.ico:hover { background: rgba(127, 178, 229, .16); }
.linkish { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .22em; text-decoration-color: var(--mark); }
.linkish:hover { text-decoration-color: currentColor; }

.skip { position: absolute; left: 1rem; top: -4rem; z-index: 20; background: var(--yellow); color: var(--blue-deep); padding: .6rem 1rem; border-radius: 999px; font-weight: 600; }
.skip:focus { top: .75rem; }

/* ---------- Testata ---------- */
.top { position: sticky; top: 0; z-index: 10; min-height: var(--top-h); display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: .75rem var(--pad); border-bottom: 1px solid rgba(127, 178, 229, .3); }
.brand { font-family: var(--serif); font-size: 1.5rem; line-height: 1.1; letter-spacing: -.01em; text-decoration: none; white-space: nowrap; }
.brand small { display: block; font-family: var(--sans); font-size: .8125rem; letter-spacing: 0; color: var(--sky); margin-top: .15rem; }
.top nav { display: flex; align-items: center; gap: clamp(1rem, 2vw, 2rem); }
.links { display: flex; gap: clamp(1rem, 1.9vw, 2rem); font-size: 1rem; }
.links a, .menu ul a { text-decoration-color: transparent; }
.links a:hover { text-decoration-color: var(--yellow); }
.top .btn { font-size: 1rem; padding: .75rem 1.25rem; font-variant-numeric: lining-nums; }
.reach { display: flex; align-items: center; gap: .6rem; }

.menu { display: none; }
.menu summary { list-style: none; cursor: pointer; font-size: 1rem; padding: .7rem 1.1rem; border: 1px solid var(--rule); border-radius: 999px; }
.menu summary::-webkit-details-marker { display: none; }
.menu-close, .menu[open] .menu-open { display: none; }
.menu[open] .menu-close { display: inline; }
.menu ul { position: absolute; left: 0; right: 0; top: 100%; background: var(--blue-deep); padding: .5rem var(--pad) 1.5rem; border-bottom: 1px solid rgba(127, 178, 229, .3); }
.menu li + li { border-top: 1px solid rgba(127, 178, 229, .25); }
.menu ul a { display: block; padding: 1rem 0; font-family: var(--serif); font-size: 1.375rem; }

/* ---------- Apertura: la curva ---------- */
.hero { min-height: calc(100svh - var(--top-h)); display: grid; grid-template-rows: 1fr auto auto; padding: 0 var(--pad); }
.chart { position: relative; min-height: 11.5rem; margin-top: clamp(2.25rem, 6vh, 4rem); }
.graph { position: absolute; inset: 0; container-type: size; }
.chart svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.chart line { stroke: var(--rule); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.chart .drop { stroke: var(--yellow); stroke-dasharray: 3 7; }
.trace { fill: none; stroke: var(--chart); stroke-width: 4; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.chart span { position: absolute; font-size: .9375rem; line-height: 1.2; color: var(--sky); white-space: nowrap; }
/* le posizioni sono in percentuale del grafico: x/10, y/4 rispetto al viewBox 1000x400 */
.chart .dot { left: 34.4%; top: 17.5%; width: 1.25rem; height: 1.25rem; border-radius: 50%; background: var(--yellow); transform: translate(-50%, -50%); }
/* la punta che traccia la curva: visibile solo quando l'onda è in movimento */
.chart .pen { display: none; left: 0; top: 0; width: .75rem; height: .75rem; border-radius: 50%; background: var(--chart); transform: translate(-50%, -50%); }
.l-y    { left: .75rem; top: 6%; }
.l-x    { right: 0; top: calc(90.5% + .4rem); }
.l-up   { left: 19.5%; top: 54%; transform: translate(calc(-100% - .5rem), -50%); }
.l-peak { left: calc(34.4% + 1.1rem); top: 17.5%; transform: translateY(-135%); }
.l-down { left: calc(56% + .5rem); top: 50%; transform: translateY(-50%); }

.hero-text { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 2rem clamp(2rem, 7vw, 7rem); align-items: end; padding: clamp(1.5rem, 4vh, 3rem) 0 clamp(1.75rem, 5vh, 3.25rem); }
.hero-text .statement { font-family: var(--serif); font-size: clamp(2.5rem, min(6vw, 10.5vh), 5.5rem); line-height: 1.02; letter-spacing: -.02em; color: inherit; max-width: none; text-wrap: balance; }
.hero h1 { font-size: 1.5rem; line-height: 1.2; letter-spacing: -.01em; max-width: 26ch; margin-bottom: .75rem; }
.hero-text p { color: var(--soft); max-width: 38ch; }
.actions, .acts { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; margin-top: 1.75rem; }

.creds { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem clamp(1.5rem, 3vw, 3rem); border-top: 1.5px solid var(--rule); padding: 1.1rem 0 1.6rem; font-size: .9375rem; line-height: 1.4; color: var(--sky); }
.creds strong { display: block; font-weight: 500; color: var(--chart); }

/* ---------- Due colonne: titolo a sinistra, contenuto a destra ---------- */
.two { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 2.5rem clamp(2rem, 7vw, 7rem); align-items: start; }
.head p { color: var(--soft); margin-top: 1.25rem; max-width: 34ch; }
.rows > li { border-top: 1.5px solid var(--edge); padding: 1.5rem 0 1.75rem; background: var(--chart); }
.rows > li:last-child { border-bottom: 1.5px solid var(--edge); }
.rows h3 { margin-bottom: .5rem; }
.rows p { color: var(--soft); max-width: 60ch; }

/* ---------- Metodo ---------- */
.method h2 { max-width: 22ch; }
.cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem clamp(1.5rem, 4vw, 4rem); margin-top: clamp(2.5rem, 5vw, 4.5rem); }
.cols > * { border-top: 1.5px solid var(--edge); padding-top: 1.25rem; }
.cols h3 { margin-bottom: .5rem; }
.cols p { color: var(--soft); max-width: 44ch; }
.light > .cols > * { background: var(--chart); padding-bottom: 1.5rem; }
.where { margin-top: clamp(3rem, 6vw, 5rem); grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* ---------- Primo colloquio ---------- */
.intro { color: var(--soft); margin-top: 1.25rem; max-width: 52ch; }
.steps { counter-reset: s; }
.steps > li { counter-increment: s; border-top-color: var(--blue); }
.steps > li::before { content: counter(s); font-family: var(--serif); font-size: 3.5rem; line-height: 1; color: var(--blue); display: block; margin-bottom: 1rem; font-variant-numeric: lining-nums; }

/* ---------- Percorso: la carriera sullo stesso foglio ---------- */
.story p { color: var(--soft); max-width: 60ch; }
.story p + p { margin-top: 1em; }
.story .lede { color: inherit; font-family: var(--serif); font-size: clamp(1.375rem, 2vw, 1.75rem); line-height: 1.3; letter-spacing: -.01em; max-width: 34ch; }
.career { position: relative; margin-top: clamp(3.5rem, 7vw, 6rem); --label: 46%; }
.years { position: absolute; left: var(--label); right: 0; top: 0; bottom: 0; pointer-events: none; }
.years span { position: absolute; top: 0; bottom: 0; left: calc((var(--y) - 1983) / 38 * 100%); border-left: 1px solid rgba(127, 178, 229, .3); padding-left: .4rem; font-size: .875rem; line-height: 1; color: #a9bfe3; font-variant-numeric: tabular-nums lining-nums; }
.years span:last-child { border-left: 0; border-right: 1px solid rgba(127, 178, 229, .3); padding: 0 .4rem 0 0; transform: translateX(-100%); }
.career ol { padding-top: 2.25rem; }
.career li { display: grid; grid-template-columns: var(--label) 1fr; align-items: center; border-top: 1px solid rgba(127, 178, 229, .3); }
.career li:last-child { border-bottom: 1px solid rgba(127, 178, 229, .3); }
.what { display: grid; grid-template-columns: 7.5rem 1fr; gap: 0 1rem; align-items: baseline; padding: 1.1rem 1.5rem 1.2rem 0; }
.what time { font-family: var(--serif); font-size: 1.375rem; line-height: 1.2; font-variant-numeric: lining-nums; white-space: nowrap; }
.what p { font-size: 1.0625rem; line-height: 1.4; }
.what span { display: block; font-size: .9375rem; color: #a9bfe3; margin-top: .15rem; }
.track { position: relative; height: 100%; min-height: 3rem; }
.track i { position: absolute; top: 50%; left: calc((var(--s) - 1983) / 38 * 100%); transform: translateY(-50%); }
.track .bar { width: calc((var(--e) - var(--s)) / 38 * 100%); height: .625rem; border-radius: 999px; background: var(--chart); }
.track .pt { width: .875rem; height: .875rem; border-radius: 50%; background: var(--yellow); margin-left: -.4375rem; }

/* ---------- Elementi apribili ---------- */
.fold { border-top: 1.5px solid var(--edge); background: var(--chart); }
.fold:last-of-type { border-bottom: 1.5px solid var(--edge); }
.fold summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; padding: 1.35rem 0; font-family: var(--serif); font-size: 1.375rem; line-height: 1.3; letter-spacing: -.01em; }
.fold summary::-webkit-details-marker { display: none; }
.fold summary::after { content: ""; flex: none; width: 1rem; height: 1rem; background: linear-gradient(currentColor, currentColor) center / 100% 1.5px no-repeat, linear-gradient(currentColor, currentColor) center / 1.5px 100% no-repeat; transition: transform .3s var(--ease); }
.fold[open] summary::after { transform: rotate(45deg); }
.fold summary:hover { color: var(--blue); }
.fold-body { padding-bottom: 1.75rem; }
.fold-body p { color: var(--soft); max-width: 62ch; }
.fold-body p + p { margin-top: 1em; }
.deep .fold { background: none; margin-top: clamp(2.5rem, 5vw, 4rem); }
.deep .fold summary:hover { color: var(--yellow); }

.timeline { columns: 2; column-gap: clamp(2rem, 6vw, 6rem); }
.timeline li { display: grid; grid-template-columns: 7.5rem 1fr; gap: 0 1rem; align-items: baseline; padding: .8rem 0; break-inside: avoid; border-top: 1px solid rgba(127, 178, 229, .22); }
.timeline time { font-family: var(--serif); font-size: 1.125rem; font-variant-numeric: lining-nums; white-space: nowrap; }
.timeline p { font-size: 1rem; line-height: 1.4; }
.timeline span { display: block; color: #a9bfe3; font-size: .9375rem; }

/* ---------- Pubblicazioni ---------- */
.refs li { border-top: 1.5px solid var(--edge); padding: 1.35rem 0 1.5rem; background: var(--chart); }
.refs cite { display: block; font-family: var(--serif); font-style: normal; font-size: 1.3125rem; line-height: 1.3; letter-spacing: -.01em; margin-bottom: .4rem; max-width: 48ch; }
.refs span { display: block; color: var(--soft); font-size: 1rem; line-height: 1.5; max-width: 68ch; }
.refs em { font-family: var(--serif); font-style: italic; }
.fold .refs li:first-child { border-top: 0; padding-top: 0; }
.fold .refs cite { font-size: 1.125rem; }
.fold .refs.by-event { margin-top: 1.25rem; }
.fold .by-event li:first-child { border-top: 1.5px solid var(--edge); padding-top: 1.35rem; }
.by-event span + span { margin-top: .35rem; }

/* ---------- Contatti ---------- */
.close { padding-bottom: 2.5rem; }
.close h2 { font-size: clamp(2.5rem, 6vw, 5.5rem); line-height: 1.02; max-width: 13ch; }
.channels { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); align-items: start; gap: 2rem clamp(1.5rem, 4vw, 4rem); margin-top: clamp(3rem, 6vw, 5rem); border-top: 1.5px solid var(--rule); padding-top: 1.75rem; }
.channels dt { color: var(--sky); font-size: 1rem; }
.channels dd { font-family: var(--serif); font-size: clamp(1.5rem, 2.3vw, 2.125rem); line-height: 1.2; letter-spacing: -.01em; margin-top: .25rem; font-variant-numeric: lining-nums; }
.channels .tel { font-size: clamp(2.5rem, 5.6vw, 4.75rem); line-height: 1.05; letter-spacing: -.02em; white-space: nowrap; }
.channels .tel a { text-decoration-thickness: 2px; text-underline-offset: .14em; }
.channels .acts { margin-top: 1.5rem; }
.channels small { display: block; font-family: var(--sans); font-size: 1rem; line-height: 1.5; letter-spacing: 0; color: var(--soft); margin-top: .6rem; max-width: 30ch; }
.legal { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem clamp(1.5rem, 4vw, 4rem); margin-top: clamp(3rem, 7vw, 5rem); border-top: 1px solid rgba(127, 178, 229, .3); padding-top: 1.75rem; font-size: .9375rem; line-height: 1.8; color: var(--sky); }
.legal strong { font-weight: 500; color: var(--chart); }
.close > .legal:first-child { margin-top: 0; border-top: 0; padding-top: 0; }

/* ---------- Pagine di approfondimento ---------- */
.page-head { padding-top: clamp(3.5rem, 7vw, 6rem); padding-bottom: clamp(3.5rem, 7vw, 6rem); }
.page-head h1 { font-size: clamp(2.125rem, 4vw, 3.5rem); line-height: 1.05; max-width: 20ch; }
.page-head .lede { font-family: var(--serif); font-size: clamp(1.375rem, 2vw, 1.75rem); line-height: 1.3; letter-spacing: -.01em; max-width: 40ch; margin-top: 1.5rem; }
.text { border-top: 1.5px solid var(--edge); padding: 1.5rem 0 1.75rem; background: var(--chart); }
.text p, .text li { color: var(--soft); max-width: 62ch; }
.text > * + * { margin-top: 1em; }
.text ul { list-style: disc; padding-left: 1.25rem; }
.text li + li { margin-top: .45em; }
.text strong { font-weight: 500; color: var(--blue-deep); }
.more { margin-top: .75rem; }
.more a { font-weight: 500; }
.light .more a { color: var(--blue); }
.method > .more { margin-top: 2.5rem; }

/* tutte le pagine di approfondimento, in fondo a ogni pagina */
.topics { margin-top: clamp(3rem, 6vw, 5rem); border-top: 1px solid rgba(127, 178, 229, .3); padding-top: 1.5rem; }
.topics ul { columns: 3; column-gap: clamp(1.5rem, 4vw, 4rem); font-size: 1rem; line-height: 1.4; }
.topics li { break-inside: avoid; padding: .35rem 0; }
.topics + .legal { margin-top: 2.5rem; }

/* ---------- Consenso alle statistiche: due scelte di pari peso ---------- */
.consent { --mark: var(--yellow); --focus: var(--yellow); position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 30; max-width: 46rem; margin-inline: auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .9rem 1.5rem; padding: 1.1rem 1.25rem; background: var(--blue-deep); color: var(--chart); border: 1px solid var(--rule); border-radius: .75rem; font-size: 1rem; line-height: 1.45; }
.consent[hidden] { display: none; }
.consent p { flex: 1 1 20rem; }
.consent div { display: flex; gap: .6rem; }
.consent button { font: inherit; font-weight: 600; line-height: 1.2; padding: .7rem 1.25rem; border-radius: 999px; border: 1.5px solid var(--chart); background: none; color: inherit; cursor: pointer; transition: background-color .2s; }
.consent button:hover { background: rgba(127, 178, 229, .2); }

/* ---------- Pagina di testo (privacy) ---------- */
.prose { padding-top: clamp(3rem, 6vw, 5rem); }
.prose h1 { font-size: clamp(2.125rem, 4vw, 3.5rem); line-height: 1.05; }
.prose h2 { font-size: 1.5rem; line-height: 1.2; margin-top: 2.75rem; }
.prose p, .prose li { color: var(--soft); max-width: 68ch; margin-top: .85rem; }
.prose ul { list-style: disc; padding-left: 1.25rem; }
.prose strong { font-weight: 500; color: var(--blue-deep); }
.prose code { font: inherit; }

/* ---------- Adattamenti ---------- */
@media (min-width: 60.01rem) {
  .head { position: sticky; top: calc(var(--top-h) + 2.5rem); }
}
@media (max-width: 72rem) {
  .links { display: none; }
  .menu { display: block; }
}
@media (max-width: 60rem) {
  .hero-text, .two, .cols, .channels, .legal { grid-template-columns: 1fr; }
  .creds { grid-template-columns: 1fr 1fr; }
  .hero-text p { max-width: 52ch; }
  .career li { grid-template-columns: 1fr; position: relative; padding-left: 1.5rem; border: 0; }
  .career li:last-child { border: 0; }
  .career li::before { content: ""; position: absolute; left: -7px; top: 1.45rem; width: 12px; height: 12px; border-radius: 50%; background: var(--chart); }
  .career li:has(.pt)::before { background: var(--yellow); }
  .career ol { padding-top: 0; border-left: 2px solid var(--chart); }
  .light > .cols { gap: 0; }
  .light > .cols > * { padding-bottom: 2.5rem; }
  .years, .track { display: none; }
  .what { padding-right: 0; }
  .timeline, .topics ul { columns: 1; }
}
@media (max-width: 30rem) {
  body { font-size: 1.0625rem; }
  .brand { font-size: 1.25rem; }
  .brand small { font-size: .75rem; }
  .top { gap: .5rem; }
  .top nav { gap: .5rem; }
  .menu summary { font-size: .9375rem; padding: .6rem .85rem; }
  .reach { gap: .5rem; }
  .reach .btn span { display: none; }
  .reach .btn, .reach .ico { width: 2.5rem; height: 2.5rem; padding: 0; justify-content: center; }
  .top > nav > .btn { font-size: .9375rem; padding: .6rem .85rem; }
  .what, .timeline li { grid-template-columns: 1fr; }
  .chart span { font-size: .8125rem; }
}

@media (max-width: 23.5rem) {
  .brand { font-size: 1.125rem; }
  .menu summary { padding: .55rem .7rem; }
}
@media (max-width: 21.5rem) {
  .top .ico { display: none; }
}

/* ---------- Movimento: l'onda viene tracciata di continuo, a velocità costante sull'asse del tempo ---------- */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .chart { --t: 11s; }
  /* la punta si sposta con translate in unità del contenitore: nessun ricalcolo di layout */
  @supports (width: 1cqw) { .chart .pen { display: block; animation: pen var(--t) linear infinite; } }
  .trace-box { animation: trace var(--t) linear infinite; }
  .l-up { animation: at-up var(--t) linear infinite; }
  .l-peak, .chart .drop { animation: at-peak var(--t) linear infinite; }
  .chart .dot { animation: peak var(--t) linear infinite; }
  .l-down { animation: at-down var(--t) linear infinite; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
@keyframes trace {
  0% { clip-path: inset(-1rem 100% -1rem -1rem); opacity: 1; }
  60% { clip-path: inset(-1rem 0% -1rem -1rem); opacity: 1; }
  60.01%, 90% { clip-path: inset(-1rem -1rem -1rem -1rem); opacity: 1; }
  97%, 100% { clip-path: inset(-1rem -1rem -1rem -1rem); opacity: 0; }
}
/* la punta segue la curva: 41 punti campionati sul tracciato (x/10 in cqw, y/4 in cqh) */
@keyframes pen {
  0% { translate: 0cqw 86.5cqh; opacity: 0; }
  1.5% { translate: 2.5cqw 86.08cqh; opacity: 1; }
  3% { translate: 5cqw 85.14cqh; }
  4.5% { translate: 7.5cqw 83.56cqh; }
  6% { translate: 10cqw 81.2cqh; }
  7.5% { translate: 12.5cqw 77.85cqh; }
  9% { translate: 15cqw 73.32cqh; }
  10.5% { translate: 17.5cqw 67.38cqh; }
  12% { translate: 20cqw 59.84cqh; }
  13.5% { translate: 22.5cqw 50.61cqh; }
  15% { translate: 25cqw 39.75cqh; }
  16.5% { translate: 27.5cqw 28.71cqh; }
  18% { translate: 30cqw 21.81cqh; }
  19.5% { translate: 32.5cqw 18.29cqh; }
  21% { translate: 35cqw 17.57cqh; }
  22.5% { translate: 37.5cqw 19.44cqh; }
  24% { translate: 40cqw 24cqh; }
  25.5% { translate: 42.5cqw 30.62cqh; }
  27% { translate: 45cqw 36.99cqh; }
  28.5% { translate: 47.5cqw 42.83cqh; }
  30% { translate: 50cqw 48.07cqh; }
  31.5% { translate: 52.5cqw 52.73cqh; }
  33% { translate: 55cqw 56.85cqh; }
  34.5% { translate: 57.5cqw 60.51cqh; }
  36% { translate: 60cqw 63.74cqh; }
  37.5% { translate: 62.5cqw 66.62cqh; }
  39% { translate: 65cqw 69.18cqh; }
  40.5% { translate: 67.5cqw 71.47cqh; }
  42% { translate: 70cqw 73.51cqh; }
  43.5% { translate: 72.5cqw 75.34cqh; }
  45% { translate: 75cqw 76.98cqh; }
  46.5% { translate: 77.5cqw 78.44cqh; }
  48% { translate: 80cqw 79.74cqh; }
  49.5% { translate: 82.5cqw 80.91cqh; }
  51% { translate: 85cqw 81.94cqh; }
  52.5% { translate: 87.5cqw 82.86cqh; }
  54% { translate: 90cqw 83.68cqh; }
  55.5% { translate: 92.5cqw 84.39cqh; }
  57% { translate: 95cqw 85.01cqh; }
  58.5% { translate: 97.5cqw 85.54cqh; }
  60% { translate: 100cqw 86cqh; }
  90% { translate: 100cqw 86cqh; opacity: 1; }
  97%, 100% { translate: 100cqw 86cqh; opacity: 0; }
}
@keyframes at-up   { 0%, 10% { opacity: 0; } 13%, 90% { opacity: 1; } 97%, 100% { opacity: 0; } }
@keyframes at-peak { 0%, 20.6% { opacity: 0; } 23%, 90% { opacity: 1; } 97%, 100% { opacity: 0; } }
@keyframes at-down { 0%, 33.6% { opacity: 0; } 37%, 90% { opacity: 1; } 97%, 100% { opacity: 0; } }
@keyframes peak    { 0%, 20.6% { opacity: 0; scale: .3; } 22.6% { opacity: 1; scale: 1.3; } 25%, 90% { opacity: 1; scale: 1; } 97%, 100% { opacity: 0; scale: 1; } }

@media print {
  .top, .skip, .chart, .consent { display: none; }
  .blue, .deep { background: none; }
  .blue, .deep, .blue *, .deep * { color: #000 !important; }
  .paper { background-image: none; }
  details > * { display: block; }
}
