/* =========================================================
   Federico Morello · main.css
   Variant B "Terracotta" implementato in vanilla
   Design: claude.ai/design handoff (Variant B Standalone)
   ========================================================= */

:root {
  /* Palette Terracotta (default da Tweaks) */
  --vB-bg: #E8DCC4;
  --vB-bg-deep: #1F1814;
  --vB-ink: #1F1814;
  --vB-cream: #F5EFE0;
  --vB-accent: #C8451F;
  --vB-accent-2: #E89A4F;
  --vB-mute: #6B5D4A;
  --vB-grain: 0.55;

  --font-display: "Instrument Serif", "Iowan Old Style", "Charter", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: "JetBrains Mono", "Menlo", "Consolas", monospace;

  /* Layout boxed: sito boxed a 1320px max */
  --site-max: 1320px;
  --pad-h-base: clamp(24px, 4vw, 56px);
  --pad-h-auto: max(var(--pad-h-base), calc(50% - var(--site-max) / 2));
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  background: var(--vB-bg);
  color: var(--vB-ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--vB-ink); }
a:focus-visible {
  outline: 2px solid var(--vB-accent);
  outline-offset: 3px;
  border-radius: 2px;
}
::selection { background: var(--vB-accent); color: var(--vB-cream); }

.sr-only {
  position: absolute !important;
  width: 1px !important; height: 1px !important;
  padding: 0 !important; margin: -1px !important;
  overflow: hidden !important; clip: rect(0,0,0,0) !important;
  white-space: nowrap !important; border: 0 !important;
}
.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--vB-ink); color: var(--vB-cream);
  padding: .75rem 1rem; z-index: 9999;
  font-family: var(--font-mono); font-weight: 500;
}
.skip-link:focus { left: 1rem; top: 1rem; }

/* ---------- GRAIN OVERLAY ---------- */
body.vB { position: relative; overflow-x: clip; min-height: 100vh; }
body.vB::before {
  content: "";
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/><feColorMatrix values='0 0 0 0 0.12  0 0 0 0 0.10  0 0 0 0 0.08  0 0 0 0.18 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  opacity: var(--vB-grain);
  mix-blend-mode: multiply;
  pointer-events: none;
  z-index: 1;
}
body.vB > * { position: relative; z-index: 2; }

/* ---------- PROVVISORIO BAR ---------- */
.provvisorio-bar {
  background: var(--vB-bg-deep);
  color: var(--vB-cream);
  padding-top: 10px; padding-bottom: 10px;
  display: flex; align-items: center; gap: 12px;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .04em;
}
.provvisorio-bar strong {
  color: var(--vB-accent-2);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-weight: 500;
  font-size: 10px;
}
.provvisorio-bar a {
  color: var(--vB-cream);
  text-decoration: underline;
  text-decoration-color: rgba(245, 239, 224, .35);
  text-underline-offset: 3px;
  transition: color .2s, text-decoration-color .2s;
}
.provvisorio-bar a:hover {
  color: var(--vB-accent-2);
  text-decoration-color: var(--vB-accent-2);
}
.prov-dot {
  width: 7px; height: 7px;
  background: var(--vB-accent-2);
  border-radius: 50%;
  flex-shrink: 0;
  animation: vBpulse 2.4s ease-in-out infinite;
}

/* ---------- WAVE MARQUEE (full bleed sopra hero) ---------- */
.wave-marquee {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 0;
  pointer-events: none;
  overflow: hidden;
  max-height: 50vh;
  position: relative;
  z-index: 1;
}
.wave-marquee svg {
  width: 100%;
  height: auto;
  display: block;
  overflow: hidden;
}
.wave-marquee text {
  font-family: var(--font-display);
  font-style: italic;
  fill: var(--vB-ink);
  opacity: .85;
  letter-spacing: -0.005em;
}
@media (max-width: 900px) {
  .wave-marquee { max-height: 30vh; overflow: hidden; }
  .wave-marquee svg { height: 30vh; max-height: 220px; }
  .wave-marquee text { font-size: 90px !important; }
}
@media (max-width: 480px) {
  .wave-marquee { max-height: 26vh; }
  .wave-marquee svg { height: 26vh; max-height: 170px; }
  .wave-marquee text { font-size: 110px !important; }
}
/* Animazione gestita via SMIL <animate> dentro l'SVG (cross-browser per textPath/startOffset) */
@media (prefers-reduced-motion: reduce) {
  .wave-marquee animate { display: none; }
}

/* Claim sotto l'H1 (sans-serif Inter, sobrio, ben pesato) */
.hero-claim {
  font-family: var(--font-body);
  font-size: clamp(18px, 1.6vw, 24px);
  font-weight: 500;
  text-align: left;
  margin: 32px 0 32px;
  color: var(--vB-ink);
  line-height: 1.4;
  max-width: 56ch;
  letter-spacing: -0.005em;
  opacity: 1;
}
.hero-claim strong {
  font-weight: 700;
  color: var(--vB-ink);
}
/* Blocco bio nell'hero (paragrafo + CTA "Leggi la mia bio") */
.hero-sub-block {
  display: block;
  margin-top: 8px;
}
.hero-sub-text {
  font-family: var(--font-body);
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.55;
  margin: 0 0 16px;
  color: var(--vB-ink);
  opacity: .85;
  max-width: 60ch;
  text-align: left;
  text-wrap: pretty;
  hyphens: none;
  text-decoration: none !important;
}
.hero-sub-text strong { font-weight: 600; }
.nowrap { white-space: nowrap; }
a.hero-sub-cta {
  font-family: var(--font-mono) !important;
  font-size: 11px !important;
  letter-spacing: .14em !important;
  text-transform: uppercase !important;
  color: var(--vB-accent) !important;
  font-weight: 500 !important;
  text-decoration: none !important;
  display: inline-block;
  transition: transform .2s ease, opacity .2s;
}
a.hero-sub-cta:hover { transform: translateX(4px); opacity: .85; }

/* Sezione "Come iniziamo" */
.how-section {
  padding-top: 96px;
  padding-bottom: 96px;
  background: var(--vB-cream);
}
.how-list {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 3vw, 48px);
}
.how-list > li {
  display: flex; flex-direction: column;
  gap: 16px;
  padding-top: 24px;
  border-top: 2px solid var(--vB-ink);
}
.how-list .how-num {
  font-family: var(--font-mono); font-size: 13px;
  letter-spacing: .12em; color: var(--vB-accent);
  font-weight: 500;
}
.how-list h3 {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(28px, 2.6vw, 38px);
  letter-spacing: -0.015em;
  line-height: 1.05;
  margin: 0;
  color: var(--vB-ink);
}
.how-list p {
  font-size: 16px; line-height: 1.6;
  color: var(--vB-ink); opacity: .85;
  margin: 0;
}
@media (max-width: 900px) {
  .how-list { grid-template-columns: 1fr; gap: 32px; }
}

/* Banner provvisorio nel footer */
.footer-prov {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: .04em;
  color: rgba(245, 239, 224, .55);
  margin: 0 0 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(245, 239, 224, .12);
}
.footer-prov a {
  color: var(--vB-cream);
  text-decoration: underline;
  text-decoration-color: rgba(245, 239, 224, .3);
}
.footer-prov a:hover {
  color: var(--vB-accent-2);
  text-decoration-color: var(--vB-accent-2);
}

/* ---------- BOXED LAYOUT (max 1320px) ---------- */
.provvisorio-bar,
.topbar,
.hero,
.topbar,
.hero,
.wave-claim,
.stats-strip,
.what,
.how-section,
.methods-section,
.modes-section,
.press-section,
.bio-section,
.contact-section,
.site-footer {
  padding-left: var(--pad-h-auto);
  padding-right: var(--pad-h-auto);
}

/* ---------- TOPBAR ---------- */
.topbar {
  padding-top: 18px;
  padding-bottom: 18px;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 16px;
  position: sticky !important;
  top: 0 !important;
  z-index: 100 !important;
  background: rgba(232, 220, 196, 0.88);
  backdrop-filter: blur(10px) saturate(140%);
  -webkit-backdrop-filter: blur(10px) saturate(140%);
  border-bottom: 1px solid rgba(31, 24, 20, 0.08);
}
body.vB > header.topbar { position: sticky; top: 0; z-index: 100; }
.topbar-l {
  display: inline-flex; align-items: center; gap: 12px;
  color: var(--vB-ink); text-decoration: none;
  line-height: 1;
}
.topbar-l .logo-mark {
  width: 36px; height: 36px;
  flex-shrink: 0;
}
.topbar-l .logo-name {
  font-family: var(--font-display); font-size: 26px;
  letter-spacing: -0.01em; line-height: 1;
}
@media (max-width: 700px) {
  .topbar-l .logo-name { display: none; }
}
.topbar-r {
  display: flex; gap: 28px; align-items: center;
  font-family: var(--font-mono); font-size: 11px;
  text-transform: uppercase; letter-spacing: .12em;
}
.topbar-r a { color: var(--vB-ink); text-decoration: none; transition: color .2s; }
.topbar-r a:hover { color: var(--vB-accent); }
.topbar .mail-cta {
  background: var(--vB-ink); color: var(--vB-bg);
  padding: 10px 18px; border-radius: 999px;
  transition: background .2s, color .2s;
}
.topbar .mail-cta:hover { background: var(--vB-accent); color: var(--vB-cream); }

/* ---------- HERO ---------- */
.hero {
  padding-top: 0;
  padding-bottom: 96px;
  margin-top: clamp(-180px, -13vw, -90px);
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}
.hero-left { min-width: 0; }
.hero-right {
  display: flex; flex-direction: column;
  gap: 12px;
  padding-top: clamp(180px, 18vw, 340px);
  position: relative;
  z-index: 50 !important;
  isolation: isolate;
}
.wave-marquee { z-index: 0 !important; }
@media (max-width: 900px) {
  .hero { margin-top: 8px; padding-top: 8px; grid-template-columns: 1fr; gap: 32px; }
  .hero-right { padding-top: 0; }
}
.hero-bj-link {
  color: #0F2D5C !important;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  text-decoration-color: rgba(15, 45, 92, .35);
  transition: text-decoration-color .2s, color .2s;
}
.hero-bj-link:hover {
  color: #0F2D5C !important;
  text-decoration-color: #0F2D5C;
}
.hero-tag {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--vB-ink);
  padding: 8px 14px; border: 1px solid var(--vB-ink);
  border-radius: 999px;
  margin-bottom: 40px;
}
.hero-tag .pulse {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--vB-accent);
  animation: vBpulse 2s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes vBpulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .3; }
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(44px, 6.4vw, 108px);
  line-height: .98;
  letter-spacing: -0.025em;
  margin: 0;
  color: var(--vB-ink);
}
.hero-title em {
  font-style: italic;
  color: var(--vB-accent);
}
.hero-title .cross {
  position: relative;
  display: inline-block;
}
.hero-title .cross::after {
  content: "";
  position: absolute;
  left: -2%; right: -2%;
  top: 52%;
  height: 6px;
  background: var(--vB-accent);
  transform: rotate(-2deg);
}

.hero-bottom {
  margin-top: 32px;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 64px;
  align-items: start;
}
.hero-sub {
  font-size: 19px;
  line-height: 1.5;
  max-width: 48ch;
  margin: 0;
  color: var(--vB-ink);
}
.hero-cta-stack {
  display: flex; flex-direction: column; gap: 8px;
  align-items: flex-start;
}
.big-cta {
  display: inline-flex; align-items: center; gap: 16px;
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--vB-ink);
  text-decoration: none;
  padding: 12px 0;
  border-top: 2px solid var(--vB-ink);
  border-bottom: 2px solid var(--vB-ink);
  transition: color .2s, border-color .2s, padding .2s;
}
.big-cta-label {
  display: inline-block;
}
.big-cta-arr {
  display: inline-block;
  font-style: italic;
  color: var(--vB-accent);
  font-size: 1.1em;
  transition: transform .25s ease;
  line-height: 1;
}
.big-cta:hover, .big-cta:focus-visible {
  color: var(--vB-accent);
  border-color: var(--vB-accent);
}
.big-cta:hover .big-cta-arr { transform: translate(8px, -8px); }
.ghost-btn {
  font-family: var(--font-mono); font-size: 12px;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--vB-mute);
  text-decoration: none;
  padding: 14px 0 0;
  transition: color .2s;
  display: inline-flex; align-items: center;
}
.ghost-btn:hover, .ghost-btn:focus-visible { color: var(--vB-accent); }

/* ---------- STATS STRIP ---------- */
.stats-strip {
  background: var(--vB-bg-deep);
  color: var(--vB-cream);
  padding-top: 48px; padding-bottom: 48px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.stats-strip .num {
  font-family: var(--font-display);
  font-size: clamp(48px, 5vw, 76px);
  line-height: 1;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--vB-cream);
  display: block;
}
.stats-strip .num em {
  font-style: italic;
  color: var(--vB-accent-2);
}
.stats-strip .lbl {
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: .1em; text-transform: uppercase;
  color: rgba(245, 239, 224, .6);
  margin-top: 8px; display: block;
}

/* ---------- SECTION HEAD ---------- */
.section-h {
  margin-bottom: 64px;
  max-width: 800px;
}
.section-h .roman { display: none; }
.section-h h2 {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(36px, 5vw, 72px); line-height: 1;
  letter-spacing: -0.02em;
  margin: 0;
}
.section-h h2 em {
  font-style: italic;
  color: var(--vB-accent);
}

/* ---------- WHAT (cosa) - 4 cards staggered ---------- */
.what { padding-top: 96px; padding-bottom: 96px; }
.what-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.what-card {
  background: var(--vB-cream);
  padding: 36px;
  border-radius: 8px;
  display: flex; flex-direction: column; gap: 18px;
  min-height: 280px;
  transition: transform .25s ease;
}
.what-card:hover { transform: translateY(-4px); }
.what-card:nth-child(2) {
  background: var(--vB-bg-deep);
  color: var(--vB-cream);
  margin-top: 48px;
}
.what-card:nth-child(3) { margin-top: 0; }
.what-card:nth-child(4) { margin-top: 48px; }
.what-card h3 {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(32px, 2.8vw, 44px);
  line-height: 1.05;
  margin: 0; letter-spacing: -0.02em;
  color: var(--vB-ink);
}
.what-card:nth-child(2) h3 { color: var(--vB-cream); }
.what-card p {
  font-size: 16px; line-height: 1.6;
  margin: 0;
  opacity: .9;
}
@media (max-width: 700px) {
  .what-grid { grid-template-columns: 1fr; }
  .what-card:nth-child(n) { margin-top: 0; }
}


/* ---------- MODES (interactive) ---------- */
.modes-section {
  padding-top: 96px; padding-bottom: 96px;
  background: var(--vB-bg-deep);
  color: var(--vB-cream);
}
.modes-section .section-h h2 { color: var(--vB-cream); }
.modes-section .section-h .roman { color: var(--vB-accent-2); }
.modes-map {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 64px;
  align-items: start;
}
.modes-list { display: flex; flex-direction: column; }
.mode-item {
  padding: 20px 0;
  border-bottom: 1px solid rgba(245, 239, 224, .15);
  cursor: pointer;
  display: grid;
  grid-template-columns: 40px 1fr 16px;
  gap: 16px; align-items: center;
  transition: padding-left .2s ease;
  background: transparent;
  border-left: none; border-right: none; border-top: none;
  width: 100%;
  color: inherit;
  font: inherit;
  text-align: left;
}
.mode-item:first-child { border-top: 1px solid rgba(245, 239, 224, .15); }
.mode-item.active { padding-left: 16px; }
.mode-item:focus-visible {
  outline: 2px solid var(--vB-accent-2);
  outline-offset: -2px;
}
.mode-item .n {
  font-family: var(--font-mono); font-size: 13px;
  color: rgba(245, 239, 224, .5);
  letter-spacing: .08em;
}
.mode-item.active .n { color: var(--vB-accent-2); }
.mode-item h3 {
  font-family: var(--font-display); font-weight: 400;
  font-size: 22px; margin: 0;
  letter-spacing: -0.005em;
  transition: color .2s;
}
.mode-item.active h3 { color: var(--vB-accent-2); }
.mode-item .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: transparent;
  transition: background .2s;
  justify-self: end;
}
.mode-item.active .dot { background: var(--vB-accent-2); }

.mode-detail {
  background: rgba(245, 239, 224, .04);
  border: 1px solid rgba(245, 239, 224, .15);
  border-radius: 8px;
  padding: 40px;
  min-height: 320px;
  position: sticky; top: 24px;
}
.mode-detail .label {
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--vB-accent-2);
  margin: 0 0 16px;
}
.mode-detail h4 {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(36px, 3.6vw, 52px);
  line-height: 1;
  margin: 0 0 24px;
  letter-spacing: -0.015em;
  color: var(--vB-cream);
}
.mode-detail p {
  font-size: 16px; line-height: 1.65;
  color: rgba(245, 239, 224, .85);
  margin: 0 0 24px;
}
.mode-detail .meta {
  display: flex; gap: 16px; flex-wrap: wrap;
  padding-top: 24px;
  border-top: 1px solid rgba(245, 239, 224, .15);
}
.mode-detail .meta-it {
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: .08em;
  color: rgba(245, 239, 224, .6);
}

/* ---------- PRESS ---------- */
.press-section { padding-top: 96px; padding-bottom: 96px; }
.marquee {
  display: flex; gap: 16px; flex-wrap: wrap;
}
.press-card {
  flex: 1 1 260px;
  background: var(--vB-cream);
  padding: 24px; border-radius: 6px;
  display: flex; flex-direction: column; gap: 6px;
  text-decoration: none; color: inherit;
  transition: transform .2s ease, background .2s;
}
.press-card:hover, .press-card:focus-visible {
  transform: rotate(-1deg) scale(1.02);
}
.press-card .o {
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--vB-accent);
}
.press-card .t {
  font-family: var(--font-display); font-style: italic;
  font-size: 22px; line-height: 1.2;
  color: var(--vB-ink);
}

/* ---------- BIO ---------- */
.bio-section { padding-top: 32px; padding-bottom: 96px; }
.bio-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 64px;
  align-items: start;
}
.bio-portrait {
  margin: 0;
  aspect-ratio: 4/5;
  overflow: visible;
  border-radius: 8px;
  background: transparent;
  position: relative;
  max-width: 320px;
  width: 100%;
}
.bio-portrait::before {
  content: "";
  position: absolute;
  inset: 16px -16px -16px 16px;
  border: 2px solid var(--vB-accent);
  border-radius: 8px;
  pointer-events: none;
  z-index: 0;
}
.bio-portrait picture, .bio-portrait img {
  position: relative;
  z-index: 1;
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}
.bio-portrait img { mix-blend-mode: normal; filter: none; }
.bio-text p {
  font-size: 17px; line-height: 1.65;
  margin: 0 0 16px; max-width: 56ch;
}
.bio-text p strong { font-weight: 600; }
.bio-text p em {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--vB-accent);
  font-size: 1.05em;
}
.creds {
  list-style: none; padding: 0;
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-top: 32px;
}
.cred {
  font-family: var(--font-mono); font-size: 11px;
  padding: 6px 12px;
  background: var(--vB-cream);
  border-radius: 999px;
  color: var(--vB-ink);
  letter-spacing: .03em;
}

/* ---------- CONTACT ---------- */
.contact-section {
  background: var(--vB-accent);
  color: var(--vB-cream);
  padding-top: 120px; padding-bottom: 120px;
}
.contact-section.dark { background: var(--vB-bg-deep); }
.contact-section .ey {
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: .14em; text-transform: uppercase;
  color: rgba(245, 239, 224, .7);
  margin: 0 0 24px;
}
.contact-mail {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(48px, 9vw, 144px);
  line-height: .95;
  letter-spacing: -0.03em;
  color: var(--vB-bg-deep);
  text-decoration: none;
  display: block; word-break: break-word;
  font-style: italic;
  transition: color .2s;
}
.contact-section:not(.dark) .contact-mail:hover { color: var(--vB-cream); }
.contact-section.dark .contact-mail:hover { color: var(--vB-accent); }
.contact-foot {
  margin-top: 80px;
  display: flex; justify-content: space-between;
  flex-wrap: wrap; gap: 24px;
  padding-top: 32px;
  border-top: 1px solid rgba(245, 239, 224, .3);
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: .1em; text-transform: uppercase;
  color: rgba(245, 239, 224, .85);
}
.contact-foot a { color: inherit; text-decoration: underline; }
.contact-foot a:hover { color: var(--vB-accent-2); }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 900px) {
  .hero-title { font-size: clamp(48px, 11vw, 88px); }
  .hero-bottom { grid-template-columns: 1fr; gap: 32px; }
  .stats-strip { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .what-grid { grid-template-columns: 1fr; }
  .what-card:nth-child(2),
  .what-card:nth-child(3) { margin-top: 0; }
  .modes-map { grid-template-columns: 1fr; gap: 32px; }
  .mode-detail { position: static; }
  .bio-grid { grid-template-columns: 1fr; }
  .topbar-r { font-size: 10px; gap: 16px; }
  .topbar-r a:not(.mail-cta) { display: none; }
}

@media (max-width: 600px) {
  .topbar { padding: 20px 24px; }
  .topbar-l { font-size: 22px; }
  .what { padding: 64px 24px; }
  .modes-section { padding: 64px 24px; }
  .press-section { padding: 64px 0; }
  .bio-section { padding: 64px 24px; }
  .contact-section { padding: 80px 24px; }
  .stats-strip { grid-template-columns: 1fr 1fr; padding: 32px 24px; gap: 20px; }
  .stats-strip .num { font-size: 44px; }
  .big-btn { font-size: 22px; padding: 20px 24px; }
  .big-btn .arr { font-size: 26px; }
}

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

/* ---------- STAT STRIP a 3 (narrative) ---------- */
.stats-strip-3 { grid-template-columns: repeat(3, 1fr); gap: 48px; padding-top: 64px; padding-bottom: 64px; }
.stats-strip-3 .num {
  font-size: clamp(34px, 3.4vw, 48px);
  letter-spacing: -0.015em;
  line-height: 1.1;
  margin-bottom: 16px;
}
.stats-strip-3 .num em { color: var(--vB-accent-2); font-style: italic; }
.stats-strip-3 .lbl {
  text-transform: none;
  letter-spacing: 0;
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.45;
  color: rgba(245, 239, 224, .7);
  margin-top: 0;
}
@media (max-width: 900px) { .stats-strip-3 { grid-template-columns: 1fr; gap: 32px; } }

/* ---------- METODOLOGIE ---------- */
.methods-section {
  padding-top: 96px; padding-bottom: 96px;
}
.method-featured {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
  margin-bottom: clamp(64px, 8vw, 96px);
  padding-bottom: clamp(48px, 6vw, 80px);
  border-bottom: 1px solid rgba(107, 93, 74, .35);
}
.method-text { max-width: 56ch; }
.method-eyebrow {
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: 11px;
  color: var(--vB-accent);
  margin: 0 0 16px;
}
.method-text h3 {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(34px, 3.6vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.015em;
  margin: 0 0 24px;
  color: var(--vB-ink);
}
.method-text p {
  font-size: 17px;
  line-height: 1.65;
  margin: 0 0 16px;
  color: var(--vB-ink);
  opacity: .9;
}
.method-text strong { font-weight: 600; }
.method-text .method-claim {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(20px, 1.9vw, 26px);
  line-height: 1.3;
  color: var(--vB-accent);
  margin: -8px 0 24px;
  letter-spacing: -0.005em;
  opacity: 1;
  border-left: 3px solid var(--vB-accent);
  padding-left: 18px;
}
.method-text .method-claim strong {
  font-weight: 400;
}
.method-diagram {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.method-diagram svg {
  width: 100%;
  height: auto;
  max-width: 460px;
  display: block;
}
.method-diagram .q-node {
  transition: transform .25s ease;
  transform-origin: center;
  transform-box: fill-box;
}
.method-diagram .q-node:hover {
  transform: scale(1.06);
}
.method-diagram .q-node circle {
  transition: fill .2s, stroke-width .2s;
}
.method-diagram .q-node:hover circle {
  fill: #FFFBF4;
  stroke-width: 2.5;
}
@media (max-width: 900px) {
  .method-featured { grid-template-columns: 1fr; gap: 48px; }
  .method-diagram { order: -1; }
}

/* Lista "Altri strumenti" — layout 40/60 con numeri grandi rame */
.tools-eyebrow {
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--vB-accent);
  margin: 0 0 32px;
}
.tools-list {
  list-style: none; padding: 0; margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.tools-list > li {
  background: var(--vB-cream);
  border-radius: 8px;
  padding: 28px;
  display: flex; flex-direction: column;
  gap: 8px;
  transition: transform .25s ease;
}
.tools-list > li:hover { transform: translateY(-3px); }
.tools-list .t-num {
  font-family: var(--font-display); font-style: italic;
  font-size: 32px;
  font-weight: 400;
  color: var(--vB-accent);
  line-height: 1;
  letter-spacing: -0.02em;
  display: block;
  margin-bottom: 4px;
}
.tools-list h3 {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(22px, 2vw, 28px);
  letter-spacing: -0.015em;
  line-height: 1.15;
  margin: 0;
  color: var(--vB-ink);
}
.tools-list .t-tagline {
  font-family: var(--font-display); font-style: italic;
  font-size: 16px;
  color: var(--vB-mute);
  margin: 0 0 12px;
}
.tools-list .t-body { display: contents; }
.tools-list .t-body p:not(.t-tagline) {
  font-size: 14px; line-height: 1.55;
  margin: 0 0 12px;
  color: var(--vB-ink);
  opacity: .85;
}
.tools-list .t-tags {
  list-style: none; padding: 0; margin: auto 0 0;
  display: flex; flex-wrap: wrap; gap: 6px;
}
.tools-list .t-tags li {
  font-family: var(--font-mono); font-size: 9px;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--vB-accent);
  border: 1px solid var(--vB-accent);
  border-radius: 999px;
  padding: 4px 9px;
}
@media (max-width: 700px) {
  .tools-list { grid-template-columns: 1fr; }
}

.methods-list {
  list-style: none; padding: 0; margin: 0;
  border-top: 1px solid var(--vB-mute);
}
.methods-list li {
  border-bottom: 1px solid rgba(107, 93, 74, .35);
  padding: 32px 0;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: clamp(24px, 4vw, 64px);
  align-items: baseline;
}
.methods-list h3 {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(22px, 2.2vw, 32px);
  letter-spacing: -0.01em;
  margin: 0;
  line-height: 1.15;
}
.methods-list p {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: var(--vB-ink);
  opacity: .85;
  max-width: 60ch;
}
@media (max-width: 700px) {
  .methods-list li { grid-template-columns: 1fr; gap: 12px; }
}

/* ---------- LOGO STRIP wordmark (Hanno parlato di me / Collaboro con) ---------- */
.logo-eyebrow {
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: 11px;
  color: var(--vB-mute);
  margin: 0 0 28px;
  padding: 0 clamp(24px, 4vw, 56px);
}
.logo-eyebrow-2 { margin-top: 56px; }
.logo-strip {
  list-style: none; padding: 0 clamp(24px, 4vw, 56px); margin: 0 0 48px;
  display: flex; flex-wrap: wrap;
  gap: 28px 36px;
  align-items: center;
}
.logo-strip li { line-height: 1; }
.logo-strip a {
  text-decoration: none;
  color: var(--vB-ink);
  opacity: .55;
  transition: opacity .2s, color .2s;
  display: inline-block;
  white-space: nowrap;
}
.logo-strip a:hover, .logo-strip a:focus-visible {
  opacity: 1;
  color: var(--vB-accent);
}

/* Variazioni tipografiche per ogni wordmark */
.logo-strip a[data-style="serif"] {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(22px, 2.4vw, 32px);
  letter-spacing: -0.005em;
}
.logo-strip a[data-style="serif-it"] {
  font-family: var(--font-display); font-style: italic; font-weight: 400;
  font-size: clamp(22px, 2.4vw, 32px);
  letter-spacing: -0.005em;
}
.logo-strip a[data-style="sans"] {
  font-family: var(--font-body); font-weight: 500;
  font-size: clamp(15px, 1.4vw, 18px);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.logo-strip a[data-style="sans-bold"] {
  font-family: var(--font-body); font-weight: 800;
  font-size: clamp(16px, 1.5vw, 20px);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.logo-strip a[data-style="sans-condensed"] {
  font-family: var(--font-body); font-weight: 600;
  font-size: clamp(15px, 1.4vw, 18px);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-stretch: condensed;
}

/* ---------- BATTUTA CONTATTI ---------- */
.contact-joke {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .08em;
  color: rgba(245, 239, 224, .55);
  margin: 24px 0 0;
}

/* ---------- HAMBURGER MOBILE NAV ---------- */
.nav-burger {
  display: none;
  width: 44px; height: 44px;
  background: transparent; border: none; cursor: pointer;
  flex-direction: column; justify-content: center; align-items: center; gap: 5px;
  padding: 0;
}
.nav-burger span {
  display: block; width: 24px; height: 2px;
  background: var(--vB-ink);
  transition: transform .25s ease, opacity .2s;
}
.nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-burger:focus-visible { outline: 2px solid var(--vB-accent); outline-offset: 4px; border-radius: 4px; }

@media (max-width: 900px) {
  .nav-burger { display: inline-flex; order: 3; }
  .topbar-r {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: flex-start;
    gap: 0; padding: 24px clamp(24px, 4vw, 56px) 32px;
    background: var(--vB-bg);
    border-top: 1px solid rgba(31, 24, 20, .15);
    border-bottom: 1px solid rgba(31, 24, 20, .15);
    z-index: 100;
  }
  .topbar-r.is-open { display: flex; }
  .topbar-r > a {
    width: 100%; padding: 14px 0;
    border-bottom: 1px solid rgba(31, 24, 20, .08);
    font-size: 14px;
  }
  .topbar-r > a:last-child { border-bottom: none; }
  .topbar-social { padding: 16px 0 0; gap: 18px; }
  .topbar-social a { padding: 4px; }
  .topbar { position: relative; }
  body.nav-locked { overflow: hidden; }
}

/* ---------- TOPBAR SOCIAL ---------- */
.topbar-social {
  display: inline-flex; align-items: center; gap: 14px;
  margin-left: 8px;
}
.topbar-social a {
  color: var(--vB-ink);
  display: inline-flex; align-items: center;
  opacity: .75;
  transition: opacity .2s, color .2s;
}
.topbar-social a:hover, .topbar-social a:focus-visible {
  opacity: 1;
  color: var(--vB-accent);
}

/* ---------- FOOTER ---------- */
.site-footer {
  background: var(--vB-bg-deep);
  color: var(--vB-cream);
  padding-top: 64px; padding-bottom: 32px;
  font-family: var(--font-body);
  font-size: 14px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.1fr 1fr;
  gap: clamp(24px, 4vw, 56px);
  margin-bottom: 48px;
}
.footer-col-brand .footer-name {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--vB-cream);
  margin: 0 0 12px;
}
.footer-col-brand .footer-line {
  color: rgba(245, 239, 224, .65);
  line-height: 1.55;
  margin: 0 0 8px;
  max-width: 32ch;
}
.footer-eyebrow {
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: 10px;
  color: var(--vB-accent-2);
  margin: 0 0 16px;
}
.footer-list {
  list-style: none; padding: 0; margin: 0;
  display: grid; gap: 8px;
}
.footer-list a {
  color: rgba(245, 239, 224, .85);
  text-decoration: none;
  transition: color .2s;
}
.footer-list a:hover, .footer-list a:focus-visible {
  color: var(--vB-accent-2);
}
.footer-col .footer-line {
  color: rgba(245, 239, 224, .85);
  margin: 0 0 6px;
}
.footer-col .footer-line strong {
  color: var(--vB-cream);
  font-weight: 600;
}
.footer-bottom {
  border-top: 1px solid rgba(245, 239, 224, .15);
  padding-top: 20px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(245, 239, 224, .5);
}
.footer-bottom p { margin: 0; }
.footer-meta { color: rgba(245, 239, 224, .35); }
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-col-brand { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
  .topbar-social { gap: 12px; margin-left: 0; }
  .topbar-social a { padding: 4px; }
}
