/* =========================================================
   Alessandro Varini · Smart Designers
   Layout: una sola colonna nera e silenziosa, il simbolo AV
   è l'unico elemento "forte"; tutto il resto resta quieto.

   COLORI DEL MARCHIO: per provare un'altra palette basta
   cambiare le variabili --va-* e --accent qui sotto.
   ========================================================= */
/* Caratteri ospitati sul sito (nessuna richiesta a Google: più privacy e sicurezza) */
@font-face {
  font-family: "Michroma"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/michroma-latin-ext-400-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: "Michroma"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/michroma-latin-400-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

:root {
  color-scheme: dark;

  /* fondo e testi */
  --bg: #0B0D10;              /* nero grafite del logo */
  --surface: #12151A;
  --line: #1F242C;
  --fg: #ECEEF2;
  --muted: #8B919C;
  --dim: #3A404A;             /* parole del manifesto non ancora "accese" */

  /* simbolo AV (versione Nastro, grafite e oro champagne, scelta da Karim 11/10/2026) */
  --va-left-top: #ECEEF2;   --va-left-bottom: #A9ABAE;
  --va-right-top: #DEBD80;  --va-right-bottom: #9C804C;
  --va-shared-top: #E7D9BE; --va-shared-bottom: #B4A68B;
  --accent: #DEBD80;
  --accent-glow: rgba(222, 189, 128, .16);

  /* caratteri */
  --font-mark: "Michroma", "Eurostile", "Microgramma", "Arial Black", sans-serif;
  --font: "Instrument Sans", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;

  --ease: cubic-bezier(.22, 1, .36, 1);
  --gutter: clamp(16px, 5vw, 64px);
  --max: 1160px;
  --nav-h: 56px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
.svg-defs { position: absolute; }
.s-left-top { stop-color: var(--va-left-top); }     .s-left-bottom { stop-color: var(--va-left-bottom); }
.s-right-top { stop-color: var(--va-right-top); }   .s-right-bottom { stop-color: var(--va-right-bottom); }
.s-shared-top { stop-color: var(--va-shared-top); } .s-shared-bottom { stop-color: var(--va-shared-bottom); }
a { color: inherit; text-decoration: none; }
::selection { background: var(--accent); color: var(--bg); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

main > section { padding-inline: var(--gutter); }

/* ---------- tipografia ---------- */
.eyebrow {
  margin: 0 0 18px;
  font-family: var(--font-mark);
  font-size: 11px;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--accent);
}
.h2 {
  margin: 0;
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 600;
  letter-spacing: -.025em;
  line-height: 1.08;
  text-wrap: balance;
}
.section-head { max-width: var(--max); margin: 0 auto clamp(40px, 6vw, 72px); }

/* ---------- pulsanti ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 46px; padding: 0 24px;
  border-radius: 999px;
  font: 500 15px/1 var(--font);
  cursor: pointer;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
}
.btn:active { transform: scale(.97); }
.btn--solid { background: var(--fg); color: var(--bg); border: 1px solid var(--fg); }
.btn--solid:hover { background: var(--accent); border-color: var(--accent); color: var(--fg); }
.btn--ghost { background: transparent; color: var(--fg); border: 1px solid var(--dim); }
.btn--ghost:hover { border-color: var(--fg); }
.btn--small { min-height: 38px; padding: 0 18px; font-size: 14px; }

.link-arrow {
  display: inline-flex; gap: 8px; align-items: center;
  color: var(--accent); font-weight: 500;
}
.link-arrow span { transition: transform .3s var(--ease); }
.link-arrow:hover span, a:hover > .link-arrow span { transform: translateX(4px); }

/* ---------- navbar ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  padding-top: env(safe-area-inset-top, 0px);
  background: rgba(11, 13, 16, .72);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  backdrop-filter: saturate(160%) blur(18px);
  border-bottom: 1px solid transparent;
  transition: border-color .4s var(--ease);
}
.nav.is-scrolled { border-bottom-color: var(--line); }
.nav__inner {
  max-width: var(--max); margin: 0 auto; height: var(--nav-h);
  padding-inline: var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.nav__brand { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; letter-spacing: .01em; }
.nav__mark { width: 30px; height: auto; opacity: 0; transform: translateY(6px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.nav.show-mark .nav__mark { opacity: 1; transform: none; }
.nav__links { display: flex; align-items: center; gap: 28px; font-size: 14px; }
.nav__links a { color: var(--muted); transition: color .25s; }
.nav__links a:hover { color: var(--fg); }
.nav__links .nav__cta { color: var(--fg); border: 1px solid var(--dim); padding: 7px 14px; border-radius: 999px; }
.nav__links .nav__cta:hover { border-color: var(--fg); }
.nav__toggle { display: none; }

/* ---------- apertura ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  padding-block: calc(var(--nav-h) + 24px) 96px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  isolation: isolate;
  overflow-x: clip;
}
.hero__mark {
  width: min(440px, 72vw); height: auto;
  overflow: visible;
  will-change: transform;
}
/* entrata del simbolo: le due gambe esterne salgono, poi il nastro comune si posa sopra */
.hero__mark .va-l, .hero__mark .va-r, .hero__mark .va-s {
  transform-box: fill-box; transform-origin: 50% 100%;
}
.js .hero__mark .va-l { animation: rise 1.1s var(--ease) .15s both; }
.js .hero__mark .va-r { animation: rise 1.1s var(--ease) .3s both; }
.js .hero__mark .va-s { animation: fold 1.2s var(--ease) .75s both; }
@keyframes rise { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: none; } }
@keyframes fold { from { opacity: 0; transform: translateY(-30px) scaleY(.6); } to { opacity: 1; transform: none; } }

.hero__payoff {
  margin: clamp(26px, 4vw, 40px) 0 0;
  font-family: var(--font-mark);
  font-size: clamp(13px, 1.9vw, 20px);
  letter-spacing: .5em; margin-right: -.5em;
  display: flex; flex-wrap: wrap; justify-content: center;
}
.hero__payoff .sp { width: .8em; }
.js .hero__payoff span { animation: letter .9s var(--ease) both; }
@keyframes letter { from { opacity: 0; filter: blur(6px); } to { opacity: 1; filter: none; } }

.hero__title {
  margin: clamp(28px, 4vw, 44px) 0 0;
  max-width: 22ch;
  font-size: clamp(30px, 4.6vw, 54px);
  font-weight: 600; letter-spacing: -.03em; line-height: 1.08;
  text-wrap: balance;
}
.hero__actions { margin-top: 36px; display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.hero__actions.reveal { transition-delay: .15s; }

/* livelli separati: scorrimento, mouse, fluttuazione. Ognuno muove solo
   transform/opacity, così la scheda grafica li sposta senza ridisegnare il logo */
.hero__stage, .hero__tilt, .hero__float { will-change: transform; }
.hero__stage { position: relative; width: min(440px, 72vw); }
.hero__mark { width: 100%; display: block; }
.hero__tilt { transition: transform .9s cubic-bezier(.22,1,.36,1); }
.hero__float { position: relative; animation: float 6s ease-in-out 1.6s infinite; }
@keyframes float { 0%, 100% { transform: translate3d(0,0,0); } 50% { transform: translate3d(0,-14px,0); } }

/* riflesso di luce: una striscia chiara che scorre dentro la sagoma AV */
.hero__sheen {
  position: absolute; inset: 0; overflow: hidden; pointer-events: none;
  -webkit-mask: url(../images/av-mask.svg) center / 100% 100% no-repeat;
          mask: url(../images/av-mask.svg) center / 100% 100% no-repeat;
}
.hero__sheen span {
  position: absolute; top: 0; bottom: 0; left: 0; width: 30%;
  background: linear-gradient(100deg, transparent, rgba(255, 246, 226, .5) 50%, transparent);
  transform: translate3d(-110%,0,0); will-change: transform;
  animation: sheen 7s cubic-bezier(.45,0,.2,1) 2.4s infinite;
}
@keyframes sheen { 0% { transform: translate3d(-110%,0,0); } 26%, 100% { transform: translate3d(360%,0,0); } }

/* riflesso a specchio sotto il logo: si allontana quando il logo sale */
.hero__reflect {
  margin-top: -11%; aspect-ratio: 318 / 80; overflow: hidden;
  opacity: .2; pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent 85%);
          mask-image: linear-gradient(to bottom, #000, transparent 85%);
}
.hero__reflect svg { width: 100%; display: block; transform: scaleY(-1); animation: float-mirror 6s ease-in-out 1.6s infinite; will-change: transform; }
@keyframes float-mirror { 0%, 100% { transform: translate3d(0,0,0) scaleY(-1); } 50% { transform: translate3d(0,14px,0) scaleY(-1); } }
.js .hero__reflect { animation: letter 1.4s var(--ease) 1.4s backwards; }

/* "SMART DESIGNERS" tra due fili d'oro che si allungano */
.hero__payoff-row { display: flex; align-items: center; justify-content: center; gap: clamp(14px, 3vw, 28px); margin-top: clamp(4px, 1vw, 12px); }
.hero__payoff-row .hero__payoff { margin: 0; }
.hero__line { width: clamp(28px, 8vw, 110px); height: 1px; background: linear-gradient(90deg, transparent, var(--accent)); transform-origin: right; }
.hero__line--r { transform-origin: left; background: linear-gradient(90deg, var(--accent), transparent); }
.js .hero__line { animation: draw 1.2s var(--ease) 1.9s backwards; }
@keyframes draw { from { transform: scaleX(0); opacity: 0; } to { transform: scaleX(1); opacity: 1; } }

.hero__sub { margin: 22px 0 0; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted, #8A8F98); }
.hero__sub i { font-style: normal; color: var(--accent); padding: 0 .6em; }
.js .hero__sub { animation: letter 1.2s var(--ease) 2.3s backwards; }
@media (max-width: 520px) { .hero__sub { font-size: 8px; letter-spacing: .1em; white-space: nowrap; } .hero__sub i { padding: 0 .35em; } .hero__line { width: 18px; } }

/* scorrimento morbido (Lenis) */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: clip; }

/* ---------- intro ---------- */
.intro {
  min-height: 70svh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 96px var(--gutter) 40px;
}
.intro .hero__title { margin: 0; }

/* ---------- manifesto ---------- */
.manifesto {
  max-width: var(--max); margin: 0 auto;
  padding-block: clamp(80px, 14vw, 180px);
  box-sizing: content-box;
}
.manifesto__text {
  margin: 0; max-width: 24ch;
  font-size: clamp(30px, 5.2vw, 64px);
  font-weight: 600; letter-spacing: -.03em; line-height: 1.12;
  text-wrap: balance;
}
.manifesto__text .w { color: var(--dim); transition: color .35s var(--ease); }
.manifesto__text .w.on { color: var(--fg); }
.manifesto__text .w.blue { color: var(--accent); }

/* ---------- lavori ---------- */
.work { padding-block: clamp(40px, 8vw, 100px); }
.case {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(28px, 5vw, 72px);
  align-items: center;
}
.case__media {
  position: relative; overflow: hidden;
  aspect-ratio: 4 / 5; max-width: 100%;
  border-radius: 24px;
  background: #000;
  display: flex; align-items: center; justify-content: center;
}
.case__light {
  position: absolute; inset: 0;
  background: radial-gradient(60% 50% at 25% 10%, rgba(255, 240, 220, .14), transparent 70%);
  pointer-events: none;
}
.case__bag { width: 62%; height: auto; transform-origin: 50% 0; animation: sway 6s ease-in-out infinite; }
@keyframes sway { 0%, 100% { transform: rotate(-1.2deg); } 50% { transform: rotate(1.2deg); } }
.case__body { min-width: 0; }
.case__meta { margin: 0 0 10px; color: var(--muted); font-size: 14px; font-variant-numeric: tabular-nums; }
.case__title { margin: 0; font-size: clamp(40px, 6vw, 72px); font-weight: 600; letter-spacing: -.035em; line-height: 1; }
.case__lead { margin: 20px 0 24px; color: var(--muted); max-width: 46ch; }
.tags { list-style: none; margin: 0 0 28px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { font-size: 13px; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; color: var(--fg); }

.work__grid {
  max-width: var(--max); margin: clamp(20px, 3vw, 32px) auto 0;
  display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(20px, 3vw, 32px);
}
.tile { margin: 0; border-radius: 24px; overflow: hidden; background: var(--surface); position: relative; min-height: 320px; }
.tile img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16 / 10; }
.tile figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 40px 24px 20px;
  font-size: 14px; color: var(--fg);
  background: linear-gradient(to top, rgba(0,0,0,.75), transparent);
}
.tile--next {
  display: flex; flex-direction: column; justify-content: flex-end; gap: 10px;
  padding: 32px;
  border: 1px solid var(--line);
  background: radial-gradient(80% 60% at 100% 0%, var(--accent-glow), transparent 70%), var(--surface);
  transition: border-color .4s var(--ease);
}
.tile--next:hover { border-color: var(--dim); }
.tile__mark { position: absolute; top: 28px; right: 28px; width: 72px; opacity: .9; }
.tile__kicker { font-family: var(--font-mark); font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); }
.tile__title { font-size: clamp(28px, 3.4vw, 40px); font-weight: 600; letter-spacing: -.03em; line-height: 1.05; }

/* ---------- servizi ---------- */
.services { padding-block: clamp(80px, 12vw, 160px); }
.services__list {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}
.service { padding: 32px 28px 8px 0; min-width: 0; }
.service + .service { padding-left: 28px; border-left: 1px solid var(--line); }
.service h3 { margin: 0 0 12px; font-size: 22px; font-weight: 600; letter-spacing: -.015em; }
.service p { margin: 0; color: var(--muted); }

/* ---------- metodo ---------- */
.method { padding-block: 0 clamp(80px, 12vw, 160px); }
.steps {
  list-style: none; margin: 0 auto; padding: 0;
  max-width: var(--max);
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.step { padding: 28px 24px 30px; background: var(--surface); border-radius: 20px; min-width: 0; }
.step__n { font-family: var(--font-mark); font-size: 12px; letter-spacing: .2em; color: var(--accent); font-variant-numeric: tabular-nums; }
.step h3 { margin: 28px 0 8px; font-size: 20px; font-weight: 600; }
.step p { margin: 0; color: var(--muted); font-size: 15px; }

/* ---------- chi sono ---------- */
.about {
  max-width: var(--max); margin: 0 auto;
  padding-block: clamp(40px, 8vw, 100px) clamp(80px, 12vw, 160px);
  box-sizing: content-box;
  display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(32px, 6vw, 96px); align-items: center;
}
.about__mark {
  aspect-ratio: 1; max-width: 100%;
  border-radius: 28px;
  background: radial-gradient(70% 70% at 30% 20%, rgba(222, 189, 128, .12), transparent 70%), var(--surface);
  display: flex; align-items: center; justify-content: center;
}
.about__mark svg { width: 64%; height: auto; overflow: visible; }
.about__body { min-width: 0; }
.about__body p:not(.eyebrow) { color: var(--muted); max-width: 52ch; }
.about__body .h2 + p { margin-top: 24px; }

/* ---------- contatti ---------- */
.contact {
  position: relative; isolation: isolate;
  padding-block: clamp(100px, 14vw, 180px);
  text-align: center;
  border-top: 1px solid var(--line);
  overflow: hidden;
}
.contact__glow {
  position: absolute; z-index: -1; left: 50%; bottom: -40%;
  width: min(1000px, 140vw); aspect-ratio: 1; transform: translateX(-50%);
  background: radial-gradient(closest-side, var(--accent-glow), transparent 70%);
  pointer-events: none;
}
.contact__title {
  margin: 0 auto; max-width: 16ch;
  font-size: clamp(38px, 7vw, 88px); font-weight: 600; letter-spacing: -.04em; line-height: 1.02;
  text-wrap: balance;
}
.contact__lead { margin: 22px auto 0; color: var(--muted); max-width: 44ch; }
.contact__mail { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 14px 18px; align-items: center; justify-content: center; }
.contact__address {
  font-size: clamp(20px, 3vw, 30px); font-weight: 500; letter-spacing: -.01em;
  border-bottom: 1px solid var(--dim); padding-bottom: 2px;
  overflow-wrap: anywhere; user-select: all;
  transition: border-color .3s;
}
.contact__address:hover { border-color: var(--accent); }
.contact__social { margin: 28px 0 0; font-size: 15px; }
.contact__social a { color: var(--muted); }
.contact__social a:hover { color: var(--fg); }

/* ---------- piè di pagina ---------- */
.footer { border-top: 1px solid var(--line); padding-inline: var(--gutter); }
.footer__inner {
  max-width: var(--max); margin: 0 auto; padding-block: 28px calc(28px + env(safe-area-inset-bottom, 0px));
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px;
  font-size: 13px; color: var(--muted);
}
.footer__inner p { margin: 0; }
.footer__mark { width: 28px; height: auto; }
.footer__muted { margin-left: auto !important; color: var(--dim); }

/* ---------- comparsa allo scroll ----------
   Gli elementi sono visibili di default; solo con JS attivo partono
   leggermente abbassati e salgono quando entrano nello schermo. */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- schermi piccoli ---------- */
@media (max-width: 900px) {
  .case, .work__grid, .about { grid-template-columns: 1fr; }
  .services__list { grid-template-columns: 1fr; }
  .service, .service + .service { padding: 28px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .steps { grid-template-columns: 1fr 1fr; }
  .about__mark { max-width: 420px; }
}
@media (max-width: 720px) {
  .nav__toggle {
    display: inline-flex; align-items: center;
    background: none; border: 1px solid var(--dim); color: var(--fg);
    font: 500 14px/1 var(--font); padding: 8px 14px; border-radius: 999px; cursor: pointer;
  }
  .nav__links {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px var(--gutter) 20px;
    background: rgba(11, 13, 16, .96);
    border-bottom: 1px solid var(--line);
    display: none;
  }
  .nav.open .nav__links { display: flex; }
  .nav__links a { padding: 14px 0; font-size: 17px; border-bottom: 1px solid var(--line); }
  .nav__links .nav__cta { border: 0; border-radius: 0; padding: 14px 0; }
  .br-wide { display: none; }
  .steps { grid-template-columns: 1fr; }
  .footer__muted { margin-left: 0 !important; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* =========================================================
   Michroma ovunque (scelto da Karim 11/10/2026) (il carattere di "SMART DESIGNERS").
   Michroma è molto largo e ha un solo peso: dimensioni ridotte,
   niente grassetto finto, spaziatura neutra, righe più ariose.
   ========================================================= */
:root { --font: "Michroma", "Eurostile", "Microgramma", "Arial Black", sans-serif; }
body { font-size: 14px; line-height: 1.85; }
h1, h2, h3, .h2, .hero__title, .manifesto__text, .case__title, .tile__title, .contact__title,
.service h3, .step h3, .btn, .nav__brand, .contact__address, .link-arrow {
  font-weight: 400; letter-spacing: 0;
}
.h2 { font-size: clamp(22px, 3.4vw, 38px); line-height: 1.25; }
.hero__title { font-size: clamp(20px, 3.1vw, 36px); line-height: 1.3; max-width: 26ch; }
.manifesto__text { font-size: clamp(20px, 3.4vw, 42px); line-height: 1.35; max-width: 28ch; }
.service h3 { font-size: 16px; }
.step h3 { font-size: 15px; }
.service p, .step p, .about__body p:not(.eyebrow), .contact__lead { font-size: 13px; }
.contact__title { font-size: clamp(26px, 4.8vw, 60px); line-height: 1.15; max-width: 18ch; }
.contact__address { font-size: clamp(14px, 2vw, 20px); }
.btn { font-size: 12px; letter-spacing: .04em; }
.nav__brand, .nav__links { font-size: 11px; }
.nav__brand { letter-spacing: .08em; }
.footer__inner { font-size: 11px; }
@media (max-width: 720px) { .nav__links a { font-size: 13px; } }

/* pagina 404 */
.notfound { min-height: 100svh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 24px; text-align: center; padding-inline: var(--gutter); }

/* selettore della lingua */
.lang { position: relative; margin-left: auto; margin-right: 18px; font-size: 11px; letter-spacing: .08em; }
.lang summary { list-style: none; cursor: pointer; color: var(--muted); padding: 6px 4px; transition: color .25s; }
.lang summary::-webkit-details-marker { display: none; }
.lang summary:hover, .lang[open] summary { color: var(--fg); }
.lang summary::after { content: ""; display: inline-block; width: 5px; height: 5px; margin-left: 7px; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: translateY(-2px) rotate(45deg); }
.lang__menu {
  position: absolute; right: -10px; top: calc(100% + 10px); min-width: 140px;
  display: flex; flex-direction: column; padding: 8px;
  background: rgba(16, 18, 22, .97); border: 1px solid var(--line); border-radius: 14px;
  box-shadow: 0 20px 40px rgba(0,0,0,.45);
}
.lang__menu a { padding: 9px 12px; border-radius: 8px; color: var(--muted); display: flex; justify-content: space-between; gap: 14px; }
.lang__menu a:hover { color: var(--fg); background: rgba(255,255,255,.05); }
.lang__menu a[aria-current="page"] { color: var(--accent); }
.lang__menu a span { opacity: .55; }
@media (min-width: 721px) { .nav__links { margin-left: auto; order: 1; } .lang { order: 2; margin: 0 0 0 26px; } }

/* russo e cinese: Michroma non ha questi alfabeti, si usa un carattere di sistema pulito */
html[lang="ru"], html[lang="zh-Hans"] { --font: "Michroma", -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", Arial, sans-serif; }
html[lang="zh-Hans"] body { letter-spacing: .02em; }
html[lang="zh-Hans"] .manifesto__text, html[lang="zh-Hans"] .contact__title, html[lang="zh-Hans"] .h2, html[lang="zh-Hans"] .hero__title { line-height: 1.5; }
