/* sergiomaramotti.it — stile 2026
   Font: Inter Tight (testi) + JetBrains Mono (etichette e numeri)
   Colori: blu dei titoli e cremisi del nome ripresi dal sito precedente */

:root {
  --bg: #F3F2EE;
  --paper: #FFFFFF;
  --ink: #131316;
  --ink-text: #2E2E33;
  --text: #3B3B42;
  --muted: #74747C;
  --line: rgba(19, 19, 22, .11);

  --blue: #567483;
  --blue-soft: #8E9BFF;
  --crimson: #9F1239;

  --dark: #0E0E11;
  --dark-text: #B9B9C2;
  --dark-line: rgba(255, 255, 255, .12);

  --r: 22px;
  --max: 1240px;
  --pad: clamp(20px, 4vw, 48px);
  --ease: cubic-bezier(.65, 0, .15, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);

  --font: "Inter Tight", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 18px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* grana leggera, dà matericità al fondo */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
::selection { background: var(--blue); color: #fff; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 8px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip {
  position: fixed; left: 16px; top: -60px; z-index: 200;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; text-decoration: none;
  transition: top .2s;
}
.skip:focus { top: 16px; }

/* ---------- barra in alto ---------- */

.topbar {
  position: fixed;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 50;
  width: min(calc(100% - 24px), calc(var(--max) - 24px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 8px 8px 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: background .35s, border-color .35s, box-shadow .35s;
}
.topbar.is-scrolled {
  background: rgba(243, 242, 238, .74);
  -webkit-backdrop-filter: saturate(1.6) blur(16px);
  backdrop-filter: saturate(1.6) blur(16px);
  border-color: var(--line);
  box-shadow: 0 10px 30px -14px rgba(19, 19, 22, .25);
}
.topbar.is-dark {
  background: rgba(14, 14, 17, .72);
  border-color: var(--dark-line);
  color: #fff;
}
.topbar.is-dark .brand, .topbar.is-dark .nav a { color: #fff; }
.topbar.is-dark .nav a:hover, .topbar.is-dark .nav a.is-active { background: rgba(255, 255, 255, .1); }
.topbar.is-dark .btn { background: #fff; color: var(--ink-text); }
.topbar.is-dark .btn:hover { background: var(--blue); color: #fff; }

.brand {
  display: flex; align-items: center;
  font-weight: 700; font-size: 17px; letter-spacing: -.02em;
  color: var(--ink-text); text-decoration: none; white-space: nowrap;
}

.nav { display: flex; gap: 2px; }
.nav a {
  font-size: 15px; font-weight: 500; text-decoration: none; color: var(--text);
  padding: 8px 14px; border-radius: 999px; transition: background .2s, color .2s;
}
.nav a:hover { background: rgba(19, 19, 22, .06); color: var(--ink-text); }
.nav a.is-active { background: rgba(19, 19, 22, .08); color: var(--ink-text); }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px; border-radius: 999px;
  background: var(--ink); color: #fff; text-decoration: none;
  font-size: 15px; font-weight: 600; white-space: nowrap;
  transition: background .25s, color .25s;
}
.btn span { transition: transform .3s var(--ease-out); }
.btn:hover { background: var(--blue); }
.btn:hover span { transform: translateX(3px); }

@media (max-width: 900px) { .nav { display: none; } }

/* ---------- hero ---------- */

.hero {
  position: relative;
  padding: clamp(150px, 22vh, 210px) 0 clamp(8px, 2vh, 24px);
  overflow: hidden;
}
.hero__bg {
  position: absolute; inset: -10%;
  background:
    radial-gradient(42% 38% at 82% 22%, rgba(43, 69, 240, .20), transparent 70%),
    radial-gradient(34% 30% at 12% 86%, rgba(159, 18, 57, .11), transparent 70%),
    radial-gradient(30% 30% at 55% 55%, rgba(142, 155, 255, .10), transparent 70%);
  filter: blur(10px);
  -webkit-mask-image: linear-gradient(to bottom, #000 45%, transparent 78%);
  mask-image: linear-gradient(to bottom, #000 45%, transparent 78%);
  animation: drift 22s ease-in-out infinite alternate;
}
@keyframes drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(-3%, 2%, 0) scale(1.06); }
}
.hero__inner { position: relative; width: 100%; }

.hero__title {
  margin: 0;
  font-size: clamp(3.1rem, 9.6vw, 9rem);
  line-height: .94;
  letter-spacing: -.05em;
  font-weight: 800;
  color: var(--ink-text);
}
.hero__title .l { display: block; overflow: hidden; padding: .02em 0 .1em; margin-bottom: -.1em; }
.hero__title .l > span {
  display: inline-block;
  transform: translateY(110%);
  animation: rise 1.15s var(--ease-out) forwards;
  animation-delay: calc(var(--i) * 120ms + 120ms);
}
@keyframes rise { to { transform: translateY(0); } }

.hero__title .l1 { font-size: .3em; font-weight: 500; letter-spacing: -.02em; color: var(--muted); margin-bottom: .25em; }
.hero__title .l2 { color: var(--crimson); font-size: .6em; letter-spacing: -.04em; }
.hero__title .l3 {
  font-size: .34em; font-weight: 600; letter-spacing: -.03em; line-height: 1.14;
  max-width: 31ch; margin-top: .55em;
}
.hero__title .l3 > span { text-wrap: balance; }
/* bottone "Ad esempio?" */
.badge {
  position: absolute;
  right: var(--pad);
  bottom: 0;
  display: grid; place-items: center;
  text-decoration: none;
  opacity: 0;
  animation: fade .8s ease 1.1s forwards;
}
.badge__core {
  width: 64px; height: 64px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--blue); color: #fff; font-size: 24px;
  transition: transform .5s var(--ease-out), background .3s;
}
.badge:hover .badge__core { transform: scale(1.12) translateY(3px); background: var(--ink); }
@keyframes fade { to { opacity: 1; } }

.hero + .sec { padding-top: clamp(72px, 9vw, 130px); }

/* telefono: il nome riempie la riga, le altre due righe gli fanno da cornice */
@media (max-width: 700px) {
  .hero { padding: 116px 0 4px; }
  .hero__title { font-size: 23vw; }
  .hero__title .l1 { font-size: .27em; margin-bottom: .2em; }
  .hero__title .l2 { font-size: .49em; letter-spacing: -.045em; }
  .hero__title .l3 { font-size: .265em; line-height: 1.18; margin-top: .45em; max-width: calc(100% - 60px); }
  .badge__core { width: 42px; height: 42px; font-size: 18px; }
  .hero + .sec { padding-top: 64px; }
}

/* ---------- sezioni ---------- */

.sec { padding-top: clamp(96px, 13vw, 170px); }

.sec__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  gap: 28px clamp(24px, 5vw, 72px);
}
.sec__head { align-self: start; position: sticky; top: 108px; }
.sec__title {
  margin: 0;
  font-size: clamp(2.3rem, 4.6vw, 3.9rem);
  line-height: 1;
  letter-spacing: -.045em;
  font-weight: 700;
  color: var(--blue);
}

@media (max-width: 900px) {
  .sec__grid { grid-template-columns: minmax(0, 1fr); }
  .sec__head { position: static; }
}

/* comparsa allo scroll */
html.js .rv { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); transition-delay: var(--d, 0ms); }
html.js .rv.is-in { opacity: 1; transform: none; }

/* ---------- 01 ovvero ---------- */

.what { border-top: 1px solid var(--line); }
.what__item {
  padding: clamp(26px, 3.4vw, 40px) 0;
  border-bottom: 1px solid var(--line);
}
.what__text {
  margin: 0;
  font-size: clamp(1.45rem, 2.5vw, 2.15rem);
  line-height: 1.2;
  letter-spacing: -.025em;
  font-weight: 500;
  color: var(--ink-text);
  text-wrap: pretty;
}
.what__text strong { font-weight: 700; color: var(--blue); }

/* ---------- 02 ad esempio: loghi + case history ---------- */

.sec--wide .sec__head { position: static; }
.sec--wide .sec__body { align-self: end; }

.cases__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; }

.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 15px; border-radius: 999px;
  border: 1px solid var(--line); background: rgba(255, 255, 255, .45);
  font-size: 15px; font-weight: 500; color: var(--ink-text);
  cursor: pointer; transition: background .2s, color .2s, border-color .2s;
}
.chip:hover { border-color: rgba(19, 19, 22, .32); background: #fff; }
.chip__n { font-family: var(--mono); font-size: 11px; color: var(--muted); transition: color .2s; }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip[aria-pressed="true"] .chip__n { color: rgba(255, 255, 255, .55); }

.views { display: flex; gap: 2px; padding: 3px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255, 255, 255, .45); }
.views button {
  width: 36px; height: 32px; border: 0; border-radius: 999px;
  display: grid; place-items: center;
  background: transparent; color: var(--muted); cursor: pointer;
  transition: background .2s, color .2s;
}
.views svg { width: 16px; height: 16px; fill: currentColor; }
.views button:hover { color: var(--ink-text); }
.views button[aria-pressed="true"] { background: var(--ink); color: #fff; }

.cases__meta { display: flex; justify-content: flex-end; margin-top: 14px; }
html:not(.js) .views, html:not(.js) .filters { display: none; }

.cases {
  grid-column: 1 / -1;
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.case[hidden] { display: none; }

.case__card {
  position: relative;
  height: 100%;
  border-radius: var(--r);
  background: var(--paper);
  border: 1px solid var(--line);
  overflow: hidden;
  isolation: isolate;
  transition: transform .55s var(--ease-out), box-shadow .55s var(--ease-out), border-color .3s;
}
.case__card:focus-visible { outline-offset: 4px; border-radius: var(--r); }

.case__face {
  position: relative;
  height: 100%;
  min-height: 248px;
  padding: 18px 20px 20px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto 1fr auto;
  grid-template-areas:
    "tag  tag"
    "logo logo"
    "info plus";
  gap: 10px 12px;
}
.case__tag {
  grid-area: tag; justify-self: start;
  font-family: var(--mono); font-size: 11px; letter-spacing: .02em; text-transform: uppercase; color: var(--muted);
  padding: 3px 8px; border: 1px solid var(--line); border-radius: 999px; white-space: nowrap;
}
.case__logo { grid-area: logo; display: grid; place-items: center; min-height: 112px; }
.case__logo img {
  width: min(calc(var(--lw) * 1px), 74%);
  height: auto;
  filter: brightness(0);
  opacity: .84;
  transition: transform .7s var(--ease-out), opacity .3s;
}
.case__info { grid-area: info; align-self: end; min-width: 0; }
.case__name { margin: 0; font-size: 15px; font-weight: 600; letter-spacing: -.01em; color: var(--ink-text); line-height: 1.25; }
.case__text { margin: 4px 0 0; font-size: 15px; line-height: 1.35; color: var(--text); text-wrap: pretty; }
.case__plus {
  grid-area: plus; align-self: end; justify-self: end;
  position: relative; width: 30px; height: 30px; border-radius: 50%;
  border: 1px solid var(--line);
  transition: transform .5s var(--ease-out), background .3s, border-color .3s;
}
.case__plus::before, .case__plus::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  width: 10px; height: 1.5px; background: var(--ink); border-radius: 2px;
  transform: translate(-50%, -50%);
}
.case__plus::after { transform: translate(-50%, -50%) rotate(90deg); }

/* livello blu che si apre a cerchio dal punto in cui entra il mouse (creato da sito.js) */
.case__reveal {
  display: none;
  position: absolute; inset: -1px; z-index: 2;
  padding: 18px 20px 22px;
  background: var(--blue);
  color: #fff;
  grid-template-rows: auto 1fr;
  pointer-events: none;
  clip-path: circle(0px at var(--x, 50%) var(--y, 50%));
  transition: clip-path .75s var(--ease);
}
.rv__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.rv__logo {
  width: min(calc(var(--lw) * .6px), 55%);
  height: auto;
  filter: brightness(0) invert(1);
}
.rv__body { align-self: end; }
.rv__tag { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: .04em; text-transform: uppercase; color: rgba(255, 255, 255, .7); margin-bottom: 10px; }
.rv__text {
  margin: 0;
  font-size: clamp(20px, 1.75vw, 25px);
  line-height: 1.13;
  letter-spacing: -.025em;
  font-weight: 600;
  text-wrap: balance;
}
.rv__name { display: block; margin-top: 12px; font-size: 14px; color: rgba(255, 255, 255, .78); }
.case__reveal > * { opacity: 0; transform: translateY(12px); transition: opacity .35s, transform .5s var(--ease-out); }

/* desktop con mouse, vista griglia: testo nel livello blu */
@media (hover: hover) and (pointer: fine) {
  html.js .cases[data-view="grid"] .case__reveal { display: grid; }
  html.js .cases[data-view="grid"] .case__info { position: relative; }
  html.js .cases[data-view="grid"] .case__text {
    position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
  }
  html.js .cases[data-view="grid"] .case__face { aspect-ratio: 1 / .9; min-height: 0; }

  .cases[data-view="grid"] .case__card:hover,
  .cases[data-view="grid"] .case__card:focus-visible {
    transform: translateY(-4px);
    box-shadow: 0 26px 50px -26px rgba(43, 69, 240, .65);
    border-color: transparent;
  }
  .cases[data-view="grid"] .case__card:hover .case__reveal,
  .cases[data-view="grid"] .case__card:focus-visible .case__reveal {
    clip-path: circle(150% at var(--x, 50%) var(--y, 50%));
  }
  .cases[data-view="grid"] .case__card:hover .case__reveal > *,
  .cases[data-view="grid"] .case__card:focus-visible .case__reveal > * {
    opacity: 1; transform: none; transition-delay: .12s;
  }
  .cases[data-view="grid"] .case__card:hover .case__logo img { transform: scale(.9); }
}

/* vista lista */
.cases[data-view="list"] { grid-template-columns: minmax(0, 1fr); gap: 0; border-top: 1px solid var(--line); }
.cases[data-view="list"] .case__card {
  border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: transparent;
  transition: background .3s;
}
.cases[data-view="list"] .case__face {
  min-height: 0;
  grid-template-columns: 180px minmax(0, 1fr) auto 30px;
  grid-template-rows: auto;
  grid-template-areas: "logo info tag plus";
  align-items: center;
  gap: 0 28px;
  padding: 18px 16px;
  transition: padding .45s var(--ease-out);
}
.cases[data-view="list"] .case__tag, .cases[data-view="list"] .case__plus { align-self: center; }
.cases[data-view="list"] .case__logo { min-height: 64px; justify-items: start; }
.cases[data-view="list"] .case__logo img { width: min(calc(var(--lw) * .78px), 100%); }
.cases[data-view="list"] .case__info { align-self: center; display: grid; grid-template-columns: 10em minmax(0, 1fr); align-items: baseline; gap: 4px 20px; }
.cases[data-view="list"] .case__name { font-size: 15px; }
.cases[data-view="list"] .case__text { margin: 0; font-size: clamp(17px, 1.5vw, 21px); font-weight: 500; letter-spacing: -.015em; color: var(--ink-text); }
@media (hover: hover) {
  .cases[data-view="list"] .case__card:hover { background: var(--paper); }
  .cases[data-view="list"] .case__card:hover .case__face { padding-left: 26px; }
  .cases[data-view="list"] .case__card:hover .case__plus { background: var(--blue); border-color: var(--blue); transform: rotate(90deg); }
  .cases[data-view="list"] .case__card:hover .case__plus::before,
  .cases[data-view="list"] .case__card:hover .case__plus::after { background: #fff; }
}

@media (max-width: 1100px) { .cases { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 900px) {
  .cases { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cases[data-view="list"] .case__face { grid-template-columns: 140px minmax(0, 1fr) 30px; grid-template-areas: "logo info plus"; }
  .cases[data-view="list"] .case__tag { display: none; }
}

/* telefono: righe compatte logo + testo, sempre leggibili */
@media (max-width: 640px) {
  .cases__meta { display: none; }
  .filters { flex-wrap: nowrap; overflow-x: auto; margin: 0 calc(var(--pad) * -1); padding: 2px var(--pad); scrollbar-width: none; }
  .filters::-webkit-scrollbar { display: none; }
  .chip { flex: none; }
  .cases, .cases[data-view="list"] { grid-template-columns: minmax(0, 1fr); gap: 10px; border-top: 0; }
  .cases .case__card, .cases[data-view="list"] .case__card { border: 1px solid var(--line); border-radius: 18px; background: var(--paper); }
  .cases .case__face, .cases[data-view="list"] .case__face {
    min-height: 0; aspect-ratio: auto;
    grid-template-columns: 96px minmax(0, 1fr);
    grid-template-rows: auto auto;
    grid-template-areas: "logo tag" "logo info";
    gap: 6px 18px;
    padding: 16px 18px 16px 14px;
    align-items: center;
  }
  .cases .case__plus { display: none; }
  .cases .case__tag, .cases[data-view="list"] .case__tag { display: inline-block; justify-self: start; align-self: end; }
  .cases .case__logo { min-height: 72px; justify-items: center; }
  .cases .case__logo img, .cases[data-view="list"] .case__logo img { width: min(calc(var(--lw) * .62px), 100%); }
  .cases .case__info, .cases[data-view="list"] .case__info { display: block; align-self: start; }
  .cases .case__text, .cases[data-view="list"] .case__text { font-size: 15.5px; font-weight: 400; color: var(--text); margin-top: 2px; }
  /* anche con il mouse (finestra stretta) niente livello blu: testo sempre visibile */
  html.js .cases[data-view] .case__text { position: static; width: auto; height: auto; margin: 2px 0 0; overflow: visible; clip: auto; white-space: normal; }
  html.js .cases[data-view] .case__face { aspect-ratio: auto; }
  .cases .case__reveal { display: none !important; }
  .cases .case__card:hover { transform: none; box-shadow: none; }
}

/* ---------- 03 chi sono ---------- */

.about__text {
  margin: 0;
  font-size: clamp(1.3rem, 2.15vw, 1.85rem);
  line-height: 1.32;
  letter-spacing: -.02em;
  font-weight: 500;
  color: var(--ink-text);
  text-wrap: pretty;
}
.about__text + .about__text { margin-top: .9em; }

/* ---------- zona scura ---------- */

.dark {
  margin-top: clamp(110px, 14vw, 190px);
  background: var(--dark);
  color: var(--dark-text);
  border-radius: clamp(24px, 3vw, 40px) clamp(24px, 3vw, 40px) 0 0;
  overflow: hidden;
}
.dark .sec__title { color: var(--blue); }
.sec__title s { text-decoration-thickness: .07em; }
.dark ::selection { background: var(--blue); color: var(--dark); }
.dark :focus-visible { outline-color: var(--blue); }

/* 04 contatti */
.sec--contact { padding-top: clamp(72px, 9vw, 120px); }
.contact__line { margin: 0; font-size: clamp(1.1rem, 1.8vw, 1.5rem); line-height: 1.5; color: var(--dark-text); }
.contact__line + .contact__line { margin-top: clamp(14px, 2vw, 22px); }
.contact__line a { color: #fff; font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--dark-line); overflow-wrap: anywhere; transition: border-color .2s, color .2s; }
.contact__line a:hover { color: var(--blue); border-color: var(--blue); }
.copy {
  margin-left: 8px; padding: 4px 12px; border-radius: 999px; vertical-align: .15em;
  border: 1px solid var(--dark-line); background: transparent; color: #fff;
  font-size: 13px; font-weight: 500; line-height: 1.4; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}
.copy:hover { background: #fff; color: var(--ink-text); }
.copy.is-done { background: var(--blue); border-color: var(--blue); color: #fff; }

/* 05 newsletter: link consigliati */
.dark .sec__grid { padding-bottom: 8px; }
.picks__intro { margin: 0 0 22px; font-size: clamp(1.2rem, 2vw, 1.6rem); color: #fff; font-weight: 500; letter-spacing: -.015em; }
.picks { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--dark-line); counter-reset: pick; }
.pick { border-bottom: 1px solid var(--dark-line); }
.pick a {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) auto 28px;
  align-items: baseline;
  gap: 0 18px;
  padding: 20px 6px;
  text-decoration: none;
  color: var(--dark-text);
  transition: padding .45s var(--ease-out), background .3s;
}
.pick__num { font-family: var(--mono); font-size: 12px; color: rgba(255, 255, 255, .4); }
.pick__title { display: block; font-size: clamp(1.05rem, 1.6vw, 1.3rem); font-weight: 600; letter-spacing: -.015em; color: #fff; line-height: 1.3; }
.pick__note { display: block; margin-top: 4px; font-size: 15px; line-height: 1.45; }
.pick__src { font-family: var(--mono); font-size: 12px; color: rgba(255, 255, 255, .5); white-space: nowrap; }
.pick__arrow { font-size: 18px; color: rgba(255, 255, 255, .5); transition: transform .45s var(--ease-out), color .3s; justify-self: end; }
.pick__flag {
  display: inline-block; margin-left: 10px; padding: 2px 8px; border: 1px dashed rgba(255, 255, 255, .35); border-radius: 999px;
  font-family: var(--mono); font-size: 10px; letter-spacing: .05em; text-transform: uppercase; color: rgba(255, 255, 255, .6); vertical-align: middle;
}
.pick a:hover { padding-left: 16px; background: rgba(255, 255, 255, .03); }
.pick a:hover .pick__arrow { transform: translate(3px, -3px); color: var(--blue); }
@media (max-width: 640px) {
  .pick a { grid-template-columns: 30px minmax(0, 1fr) 22px; }
  .pick__src { display: none; }
}

/* footer */
.foot { padding: clamp(72px, 9vw, 120px) 0 28px; }
.foot__row {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px;
  padding-top: 22px; border-top: 1px solid var(--dark-line);
  font-size: 14px; color: rgba(255, 255, 255, .55);
}
.foot a { text-decoration: none; color: rgba(255, 255, 255, .7); transition: color .2s; }
.foot a:hover { color: #fff; }

/* ---------- transizioni dei filtri (browser che le supportano) ---------- */
::view-transition-group(*) { animation-duration: .5s; animation-timing-function: var(--ease); }
::view-transition-old(*), ::view-transition-new(*) { animation-duration: .3s; }

/* ---------- meno movimento per chi lo chiede ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .hero__title .l > span { transform: none; }
  .badge { opacity: 1; }
  html.js .rv { opacity: 1; transform: none; }
}
