/* ============================================================
   fabioranfi.it — onepage v2
   4 temi: radiofonico · genx · minimal · genz
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }

/* ============================================================
   TEMA 1 — RADIOFONICO (default)
   Buio come uno studio di registrazione alle 3 di notte.
   Rosso ON AIR. Cuffie, segnale, VU meter.
   ============================================================ */
:root,
[data-theme="radiofonico"] {
  --bg:         #0c0d10;
  --bg2:        #13151b;
  --bg3:        #1a1d26;
  --text:       #e8eaee;
  --muted:      #7a8499;
  --accent:     #e5484d;
  --accent2:    #f5a524;
  --line:       #232733;
  --radius:     8px;
  --font-disp:  'Barlow Condensed', sans-serif;
  --font-body:  'Archivo', sans-serif;
  --font-mono:  'IBM Plex Mono', monospace;
  --disp-wt:    900;
  --disp-tx:    uppercase;
  --disp-ls:    0.01em;
  --hero-img:   url('../images/fabio-studio.jpg');
  --shadow:     0 4px 24px rgba(0,0,0,.5);
}

/* ============================================================
   TEMA 2 — GEN X
   Carta ingiallita, fanzine fotocopiata, Nirvana sul poster.
   ============================================================ */
[data-theme="genx"] {
  --bg:         #cfc9ba;
  --bg2:        #c4bfb0;
  --bg3:        #e2ddd2;
  --text:       #221e18;
  --muted:      #6b6050;
  --accent:     #b8391a;
  --accent2:    #4a5e52;
  --line:       #a09580;
  --radius:     2px;
  --font-disp:  'Special Elite', serif;
  --font-body:  'Archivo', sans-serif;
  --font-mono:  'Courier New', monospace;
  --disp-wt:    400;
  --disp-tx:    none;
  --disp-ls:    0;
  --hero-img:   url('../images/fabio-studio.jpg');
  --shadow:     3px 3px 0 rgba(34,30,24,.2);
}

/* ============================================================
   TEMA 3 — MINIMAL
   Bianco. Solo testo. Solo forma. Il silenzio visivo.
   ============================================================ */
[data-theme="minimal"] {
  --bg:         #ffffff;
  --bg2:        #ffffff;
  --bg3:        #f7f7f7;
  --text:       #111111;
  --muted:      #777777;
  --accent:     #111111;
  --accent2:    #555555;
  --line:       #e0e0e0;
  --radius:     0px;
  --font-disp:  'Archivo', sans-serif;
  --font-body:  'Archivo', sans-serif;
  --font-mono:  'IBM Plex Mono', monospace;
  --disp-wt:    700;
  --disp-tx:    none;
  --disp-ls:    -0.03em;
  --hero-img:   none;
  --shadow:     none;
}

/* ============================================================
   TEMA 4 — GEN Z
   Lavanda, lime acido, bordi neri a matita, chaos ordinato.
   ============================================================ */
[data-theme="genz"] {
  --bg:         #ede9fe;
  --bg2:        #e3ddfb;
  --bg3:        #ffffff;
  --text:       #0f0a1e;
  --muted:      #4d3f6e;
  --accent:     #6d28d9;
  --accent2:    #b8f000;
  --line:       #0f0a1e;
  --radius:     16px;
  --font-disp:  'Barlow Condensed', sans-serif;
  --font-body:  'Archivo', sans-serif;
  --font-mono:  'IBM Plex Mono', monospace;
  --disp-wt:    900;
  --disp-tx:    uppercase;
  --disp-ls:    0.01em;
  --hero-img:   url('../images/fabio-studio.jpg');
  --shadow:     5px 5px 0 var(--line);
}

/* ============================================================
   TRANSIZIONE TEMA
   ============================================================ */
body, .site-header, .hero, .section, .card, .post-item a,
.stat, .contact-card, .diretta-info, .theme-panel {
  transition: background-color .3s ease, color .3s ease, border-color .3s ease;
}

/* ============================================================
   FONT
   ============================================================ */
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.65;
}

h1, h2, h3 {
  font-family: var(--font-disp);
  font-weight: var(--disp-wt);
  text-transform: var(--disp-tx);
  letter-spacing: var(--disp-ls);
  line-height: 1.05;
  margin: 0 0 .5em;
}

/* ============================================================
   SCHERMATA SELETTORE TEMA (prima schermata)
   ============================================================ */
.theme-selector {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  overflow: hidden;
  background: #000;
}

.theme-selector.hidden {
  pointer-events: none;
  opacity: 0;
  transition: opacity .5s ease;
}

.ts-col {
  position: relative;
  flex: 1;
  overflow: hidden;
  cursor: pointer;
  transform: skewX(-3deg);
  margin: 0 -8px;
  transition: flex .35s cubic-bezier(.23,1,.32,1);
}
.ts-col:hover { flex: 1.7; }
.ts-col:first-child { margin-left: -40px; }
.ts-col:last-child  { margin-right: -40px; }

.ts-col-inner {
  position: absolute;
  inset: -5% -10%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 3rem 2.5rem;
  transform: skewX(3deg);
}

/* foto di sfondo su ogni colonna */
.ts-col::before {
  content: '';
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform .4s ease;
  z-index: 0;
}
.ts-col:hover::before { transform: scale(1.05); }

/* overlay scuro sopra la foto */
.ts-col::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  transition: background .3s ease;
}

/* testi sopra overlay */
.ts-col-inner { z-index: 2; }

/* COLONNA 1 — RADIOFONICO */
.ts-1::before {
  background-image: url('../images/fabio-studio.jpg');
  filter: saturate(1.1);
}
.ts-1::after { background: linear-gradient(180deg, rgba(229,72,77,.15) 0%, rgba(0,0,0,.75) 100%); }
.ts-1:hover::after { background: linear-gradient(180deg, rgba(229,72,77,.25) 0%, rgba(0,0,0,.6) 100%); }

/* COLONNA 2 — GEN X */
.ts-2::before {
  background-image: url('../images/fabio-studio.jpg');
  filter: sepia(.7) contrast(1.1);
}
.ts-2::after { background: linear-gradient(180deg, rgba(184,57,26,.1) 0%, rgba(34,20,10,.82) 100%); }
.ts-2:hover::after { background: linear-gradient(180deg, rgba(184,57,26,.2) 0%, rgba(34,20,10,.65) 100%); }

/* COLONNA 3 — MINIMAL */
.ts-3::before {
  background-image: url('../images/fabio-studio.jpg');
  filter: grayscale(1) contrast(1.05);
}
.ts-3::after { background: linear-gradient(180deg, rgba(255,255,255,.1) 0%, rgba(0,0,0,.7) 100%); }
.ts-3:hover::after { background: linear-gradient(180deg, rgba(255,255,255,.05) 0%, rgba(0,0,0,.55) 100%); }

/* COLONNA 4 — GEN Z */
.ts-4::before {
  background-image: url('../images/fabio-studio.jpg');
  filter: saturate(1.4) hue-rotate(20deg);
}
.ts-4::after { background: linear-gradient(180deg, rgba(109,40,217,.35) 0%, rgba(15,10,30,.8) 100%); }
.ts-4:hover::after { background: linear-gradient(180deg, rgba(109,40,217,.5) 0%, rgba(15,10,30,.65) 100%); }

.ts-tag {
  font-size: .72rem;
  font-family: 'IBM Plex Mono', monospace;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255,255,255,.6);
  margin-bottom: .4rem;
}
.ts-1 .ts-tag { color: #e5484d; }
.ts-2 .ts-tag { color: #f5a524; }
.ts-3 .ts-tag { color: rgba(255,255,255,.5); }
.ts-4 .ts-tag { color: #b8f000; }

.ts-name {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 900;
  line-height: 1;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: .01em;
  font-family: 'Barlow Condensed', sans-serif;
  margin: 0 0 .5rem;
}
.ts-2 .ts-name { font-family: 'Special Elite', serif; text-transform: none; font-size: clamp(1.6rem,3vw,2.8rem); }
.ts-3 .ts-name { font-family: 'Archivo', sans-serif; font-weight: 500; letter-spacing: -.03em; text-transform: none; }

.ts-desc {
  font-size: .8rem;
  color: rgba(255,255,255,.65);
  font-family: 'IBM Plex Mono', monospace;
  line-height: 1.4;
  max-width: 180px;
  margin-bottom: 1rem;
}

.ts-btn {
  display: inline-block;
  padding: .4rem 1rem;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,.4);
  border-radius: 4px;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .2s ease, transform .2s ease;
}
.ts-col:hover .ts-btn { opacity: 1; transform: translateY(0); }

/* etichetta in cima "scegli il tuo tema" */
.ts-header {
  position: absolute;
  top: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  font-size: .7rem;
  font-family: 'IBM Plex Mono', monospace;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255,255,255,.35);
  pointer-events: none;
  white-space: nowrap;
}

/* blinker ON AIR colonna 1 */
.ts-1 .ts-tag::before {
  content: '● ';
  animation: blink-r 1.5s step-end infinite;
}
@keyframes blink-r { 0%,100%{opacity:1} 50%{opacity:.1} }

/* ============================================================
   SITE HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: .6rem 1.8rem;
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.brand { display: flex; align-items: center; }
.brand-logo { height: 42px; width: auto; }

.main-nav {
  display: flex;
  gap: 1.4rem;
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.main-nav a { color: var(--muted); transition: color .15s; }
.main-nav a:hover { color: var(--accent); }

/* selettore tema nell'header — pill con 4 preset */
.theme-switcher {
  display: flex;
  gap: .3rem;
  padding: .25rem;
  background: var(--bg2);
  border: 1px solid var(--line);
  border-radius: 999px;
}
.theme-switcher button {
  font-family: var(--font-mono);
  font-size: .7rem;
  font-weight: 600;
  padding: .3rem .65rem;
  border-radius: 999px;
  color: var(--muted);
  transition: all .2s;
  letter-spacing: .05em;
}
.theme-switcher button:hover { color: var(--text); }
.theme-switcher button[aria-pressed="true"] {
  background: var(--accent);
  color: #fff;
}
[data-theme="minimal"] .theme-switcher button[aria-pressed="true"] { color: #fff; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: var(--hero-img);
  background-size: cover;
  background-position: center top;
  z-index: 0;
}

/* overlay: scuro in basso per leggibilità testo */
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(12,13,16,.2) 0%,
    rgba(12,13,16,.1) 30%,
    rgba(12,13,16,.75) 70%,
    rgba(12,13,16,.97) 100%
  );
}

[data-theme="genx"] .hero-bg::after {
  background: linear-gradient(to bottom,
    rgba(207,201,186,.1) 0%,
    rgba(207,201,186,.6) 60%,
    rgba(207,201,186,.97) 100%);
}
[data-theme="minimal"] .hero-bg { display: none; }
[data-theme="genz"] .hero-bg::after {
  background: linear-gradient(to bottom,
    rgba(109,40,217,.15) 0%,
    rgba(237,233,254,.0) 30%,
    rgba(237,233,254,.85) 70%,
    rgba(237,233,254,1) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
  padding: 6rem 1.8rem 4rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3rem;
  align-items: end;
}

[data-theme="minimal"] .hero-content {
  min-height: 60vh;
  align-items: center;
  grid-template-columns: 1fr;
}

.hero-text { max-width: 680px; }

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-family: var(--font-mono);
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--accent);
  margin: 0 0 1.2rem;
}
.onair-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse-dot 1.6s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes pulse-dot { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.25;transform:scale(.7)} }
[data-theme="minimal"] .onair-dot { animation: none; }
[data-theme="genx"] .onair-dot { border-radius: 0; animation: none; }

.hero-title {
  font-size: clamp(3.5rem, 9vw, 7rem);
  margin: 0 0 .4em;
  color: var(--text);
}
[data-theme="radiofonico"] .hero-title,
[data-theme="genz"] .hero-title { color: #fff; }
[data-theme="minimal"] .hero-title { color: var(--text); }

.hero-sub {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 540px;
  margin: 0 0 2rem;
  line-height: 1.6;
}
[data-theme="radiofonico"] .hero-sub,
[data-theme="genz"] .hero-sub { color: rgba(255,255,255,.65); }

.hero-cta { display: flex; flex-wrap: wrap; gap: .8rem; }

/* FOTO nel hero — colonna destra */
.hero-photo {
  width: 220px;
  flex-shrink: 0;
  align-self: flex-end;
}
.hero-photo img {
  width: 100%;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,.6));
}
[data-theme="minimal"] .hero-photo { display: none; }
[data-theme="genx"] .hero-photo img { filter: sepia(.3) drop-shadow(4px 4px 0 rgba(34,30,24,.3)); }

/* EQ animato sotto il titolo — solo tema radiofonico */
.eq-bar {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 36px;
  margin-top: 2.5rem;
}
.eq-bar span {
  width: 7px;
  border-radius: 2px 2px 0 0;
  background: var(--accent);
  animation: eq-anim 1s ease-in-out infinite alternate;
}
.eq-bar span:nth-child(odd) { background: var(--accent2); }
.eq-bar span:nth-child(1){animation-delay:.00s;height:35%}
.eq-bar span:nth-child(2){animation-delay:.15s;height:75%}
.eq-bar span:nth-child(3){animation-delay:.05s;height:50%}
.eq-bar span:nth-child(4){animation-delay:.35s;height:95%}
.eq-bar span:nth-child(5){animation-delay:.20s;height:60%}
.eq-bar span:nth-child(6){animation-delay:.45s;height:80%}
.eq-bar span:nth-child(7){animation-delay:.10s;height:40%}
.eq-bar span:nth-child(8){animation-delay:.30s;height:90%}
.eq-bar span:nth-child(9){animation-delay:.25s;height:55%}
.eq-bar span:nth-child(10){animation-delay:.40s;height:70%}
.eq-bar span:nth-child(11){animation-delay:.08s;height:30%}
.eq-bar span:nth-child(12){animation-delay:.38s;height:85%}
@keyframes eq-anim { from{transform:scaleY(.2)} to{transform:scaleY(1)} }

[data-theme="genx"] .eq-bar,
[data-theme="minimal"] .eq-bar,
[data-theme="genz"] .eq-bar { display: none; }

/* ============================================================
   BOTTONI
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1.6rem;
  font-family: var(--font-disp);
  font-weight: 700;
  font-size: 1.05rem;
  text-transform: var(--disp-tx);
  letter-spacing: .03em;
  border-radius: var(--radius);
  border: 2px solid var(--accent);
  transition: transform .15s, background .2s, box-shadow .15s;
  cursor: pointer;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-ghost   { background: transparent; color: var(--accent); }
.btn:hover   { transform: translateY(-2px); box-shadow: var(--shadow); }
[data-theme="genz"] .btn:hover { transform: translate(-2px,-2px); box-shadow: 6px 6px 0 var(--line); }
[data-theme="minimal"] .btn { border-radius: 999px; }

/* ============================================================
   SEZIONI
   ============================================================ */
.section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 5rem 1.8rem;
  border-top: 1px solid var(--line);
}

.section-label {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .15em;
  color: var(--accent);
  margin-bottom: .5rem;
}
[data-theme="genz"] .section-label {
  background: var(--accent2);
  color: var(--text);
  padding: .15rem .7rem;
  border-radius: 999px;
  border: 2px solid var(--line);
}

.section-head h2 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: .3em;
}
.section-sub {
  color: var(--muted);
  max-width: 560px;
  margin: 0;
  font-size: 1rem;
}

/* ============================================================
   SEZIONE DIRETTA
   ============================================================ */
.diretta-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

.diretta-text p { margin-top: 0; color: var(--muted); }

.diretta-info {
  background: var(--bg2);
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}
.diretta-info ul {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  flex-direction: column;
  gap: .7rem;
}
.diretta-info li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  font-size: .95rem;
  padding-bottom: .7rem;
  border-bottom: 1px dashed var(--line);
}
.diretta-info li:last-child { border-bottom: 0; padding-bottom: 0; }
.di-k {
  font-family: var(--font-mono);
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--accent);
  flex-shrink: 0;
}
.di-v { text-align: right; }

/* ============================================================
   CARD PROGETTI
   ============================================================ */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.2rem;
  margin-top: 2rem;
}

.card {
  background: var(--bg2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem;
  box-shadow: var(--shadow);
  transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-5px); box-shadow: 0 12px 36px rgba(0,0,0,.25); }
[data-theme="genz"] .card:hover { transform: translate(-3px,-3px); box-shadow: 7px 7px 0 var(--line); }
[data-theme="genx"] .card { border-style: dashed; border-width: 1.5px; }
[data-theme="genx"] .card:nth-child(odd) { transform: rotate(-.4deg); }
[data-theme="genx"] .card:nth-child(even) { transform: rotate(.3deg); }
[data-theme="genx"] .card:hover { transform: rotate(0) translateY(-4px); }
[data-theme="minimal"] .card { background: transparent; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; padding-left: 0; box-shadow: none; }
[data-theme="minimal"] .card:hover { transform: none; box-shadow: none; }

.card-num {
  font-family: var(--font-mono);
  font-size: .68rem;
  color: var(--accent);
  letter-spacing: .1em;
  margin-bottom: .6rem;
}
.card h3 {
  font-size: 1.5rem;
  color: var(--text);
  margin-bottom: .4rem;
}
.card p { color: var(--muted); font-size: .95rem; margin: 0; }

/* ============================================================
   SUBSTACK: foto + lista articoli
   ============================================================ */
.substack-wrap {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
  margin-top: 2rem;
  align-items: start;
}

.substack-brand img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
[data-theme="genz"] .substack-brand img { border: 2.5px solid var(--line); }
[data-theme="minimal"] .substack-brand { display: none; }

/* ============================================================
   LISTE ARTICOLI (Substack + Longform)
   ============================================================ */
.post-list { list-style: none; margin: 0; padding: 0; }

.post-item a {
  display: block;
  padding: 1rem 1.2rem 1rem 1rem;
  margin-bottom: .7rem;
  background: var(--bg2);
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform .15s, border-color .15s;
}
.post-item a:hover { transform: translateX(5px); }
[data-theme="genz"] .post-item a { border-width: 2px; border-style: solid; }
[data-theme="genz"] .post-item a:hover { transform: translate(-2px,-2px); box-shadow: 5px 5px 0 var(--line); }
[data-theme="minimal"] .post-item a {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-left: 0;
  border-radius: 0;
  padding-left: 0;
  box-shadow: none;
}
[data-theme="minimal"] .post-item a:hover { transform: none; opacity: .6; }

.post-date {
  display: block;
  font-family: var(--font-mono);
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--muted);
  margin-bottom: .25rem;
}
.post-title {
  display: block;
  font-family: var(--font-disp);
  font-weight: var(--disp-wt);
  font-size: 1.3rem;
  line-height: 1.15;
  text-transform: var(--disp-tx);
  color: var(--text);
}
.post-excerpt {
  display: block;
  font-size: .88rem;
  color: var(--muted);
  margin-top: .3rem;
  line-height: 1.4;
}
.section-more { margin-top: 1.2rem; }
.section-more a { color: var(--accent); font-weight: 600; font-size: .9rem; }
.empty-state { color: var(--muted); }

/* ============================================================
   NUMERI
   ============================================================ */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.2rem;
  margin-top: 2rem;
}

.stat {
  background: var(--bg2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem;
  box-shadow: var(--shadow);
  text-align: center;
}
[data-theme="minimal"] .stat { background: transparent; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; text-align: left; box-shadow: none; }
[data-theme="genz"] .stat { border-width: 2.5px; }
[data-theme="genx"] .stat { border-style: dashed; }

.stat-n {
  display: block;
  font-family: var(--font-disp);
  font-weight: var(--disp-wt);
  font-size: 3.2rem;
  line-height: 1;
  color: var(--accent);
  text-transform: var(--disp-tx);
}
.stat-l {
  display: block;
  font-family: var(--font-mono);
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--muted);
  margin-top: .5rem;
}

.big-quote {
  margin: 3.5rem 0 0;
  font-family: var(--font-disp);
  font-weight: var(--disp-wt);
  text-transform: var(--disp-tx);
  font-size: clamp(1.8rem, 4.5vw, 3rem);
  line-height: 1.1;
  text-align: center;
  color: var(--text);
  padding: 0;
  border: 0;
}
[data-theme="minimal"] .big-quote { font-style: italic; font-weight: 400; text-transform: none; letter-spacing: -.02em; }

/* ============================================================
   CONTATTI
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.contact-card {
  display: block;
  background: var(--bg2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.2rem 1.3rem;
  box-shadow: var(--shadow);
  transition: transform .15s;
}
.contact-card:hover { transform: translateY(-3px); }
[data-theme="genz"] .contact-card { border-width: 2.5px; }
[data-theme="genz"] .contact-card:hover { transform: translate(-2px,-2px); box-shadow: 5px 5px 0 var(--line); }
[data-theme="minimal"] .contact-card { background: transparent; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; box-shadow: none; }
[data-theme="minimal"] .contact-card:hover { transform: none; opacity: .6; }

.ck {
  display: block;
  font-family: var(--font-mono);
  font-size: .68rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--accent);
  margin-bottom: .2rem;
}
.cv { font-weight: 500; word-break: break-all; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 2.5rem 1.8rem 3rem;
  text-align: center;
  color: var(--muted);
  font-size: .9rem;
}
.site-footer .quote { margin: 0 0 .8rem; font-style: italic; }
.footer-meta { font-family: var(--font-mono); font-size: .72rem; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 860px) {
  .main-nav { display: none; }
  .site-header { gap: .8rem; }
  .theme-switcher { margin-left: auto; }
  .hero-content { grid-template-columns: 1fr; }
  .hero-photo { display: none; }
  .diretta-wrap { grid-template-columns: 1fr; }
  .substack-wrap { grid-template-columns: 1fr; }
  .substack-brand { display: none; }
  .ts-col { transform: skewX(0); }
  .ts-col-inner { transform: skewX(0); padding: 2rem 1.5rem; }
}

@media (max-width: 560px) {
  .ts-desc { display: none; }
  .ts-name { font-size: 1.8rem; }
}

/* ============================================================
   ACCESSIBILITÀ
   ============================================================ */
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

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