/* =========================================================
   RBE Theme — Main Stylesheet
   ========================================================= */

/* ─── GOOGLE FONTS ─── */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;1,400&family=Spectral:ital,wght@0,300;0,400;1,300&family=IBM+Plex+Sans:wght@300;400&family=IBM+Plex+Mono:wght@300;400&display=swap');

/* ─── VARIABLES ─── */
:root {
  --black: #0c0c0b;
  --surface: #131312;
  --surface2: #1a1a18;
  --border: #252523;
  --border-light: #1e1e1c;
  --text-strong: #d4cfc8;
  --text: #a8a39c;
  --muted: #504d48;
  --muted2: #3a3835;

  /* Light surface (featured, interlocutore vibes) */
  --light-bg: #f0ebe3;
  --light-surface: #e8e2d9;
  --light-border: #ddd8d0;
  --light-text: #1a1a18;
  --light-muted: #8a8278;
  --light-body: #6b655e;

  /* AI / Interlocutore accent */
  --ai-accent: #4a9eff;
  --ai-dim: rgba(74, 158, 255, 0.08);
  --ai-border: rgba(74, 158, 255, 0.2);
}

/* ─── RESET ─── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  background: var(--black);
  color: var(--text);
  font-family: 'IBM Plex Sans', sans-serif;
  font-weight: 300;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  width: 100%;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

/* ─── TYPOGRAPHY HELPERS ─── */
.f-serif   { font-family: 'Playfair Display', serif; }
.f-italic  { font-family: 'Spectral', serif; font-style: italic; font-weight: 300; }
.f-mono    { font-family: 'IBM Plex Mono', monospace; }
.f-sans    { font-family: 'IBM Plex Sans', sans-serif; }

/* =========================================================
   NAV — single row
   ========================================================= */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  background: rgba(12,12,11,0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  height: 56px;
  display: flex;
  align-items: stretch;
}

.nav-logo {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  color: var(--text-strong);
  padding: 0 32px 0 40px;
  display: flex;
  align-items: center;
  border-right: 1px solid var(--border-light);
  flex-shrink: 0;
  text-decoration: none;
}

.nav-sections {
  display: flex;
  flex: 1;
}

.nav-section {
  padding: 0 32px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  transition: background 0.2s;
  border-right: 1px solid var(--border-light);
  position: relative;
  text-decoration: none;
  color: inherit;
  flex-shrink: 0;
}

.nav-section:hover { background: var(--surface); }

.nav-section.active::after {
  content: '';
  position: absolute;
  bottom: 0; left: 32px; right: 32px;
  height: 1px;
  background: var(--text-strong);
}

.nav-section.interlocutore-nav.active::after {
  background: var(--ai-accent);
  opacity: 0.6;
}

.ns-label {
  font-family: 'Playfair Display', serif;
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--text-strong);
}

.ns-sep {
  width: 1px;
  height: 14px;
  background: var(--border);
  flex-shrink: 0;
}

.ns-desc {
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.nav-misc {
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.2s;
  padding: 0 40px 0 32px;
  display: flex;
  align-items: center;
  flex-shrink: 0;
  margin-left: auto;
  text-decoration: none;
}
.nav-misc:hover { color: var(--text); }

/* ── legacy two-col class — keep for compat ── */
.nav-top { display: none; }
.nav-sections--three { display: flex; }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  min-height: 88vh;
  max-height: 780px;
  display: grid;
  grid-template-rows: 1fr auto;
  padding: 0 56px 64px;
  padding-top: 96px;
  position: relative;
  overflow: hidden;
  background: var(--black);
}

/* Photo: separate element with mix-blend-mode so it dissolves into the dark bg */
.hero-photo {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  mix-blend-mode: luminosity;
  opacity: 0.55;
  display: block;
}

@media (min-width: 1024px) {
  .hero-photo img { object-position: 60% 15%; }
}

/* Gradient on top of blended photo — fades harder at bottom */
.hero-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(12,12,11,0.15) 0%,
    rgba(12,12,11,0.1)  35%,
    rgba(12,12,11,0.6)  70%,
    rgba(12,12,11,0.97) 100%
  );
}

.hero-main,
.hero-footer { position: relative; z-index: 1; }

.hero::before {
  content: '';
  position: absolute;
  z-index: 1;
  left: 56px;
  top: 140px;
  bottom: 120px;
  width: 1px;
  background: linear-gradient(to bottom, var(--border), transparent);
  opacity: 0.5;
}

.hero-main {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: 72px;
  padding-top: 60px;
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.8rem, 7vw, 6.5rem);
  font-weight: 400;
  line-height: 1.0;
  color: var(--text-strong);
  letter-spacing: -0.02em;
  padding-left: 32px;
  opacity: 0;
  animation: fadeUp 1s 0.3s ease forwards;
}

.hero-sub {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.1rem, 2.5vw, 1.8rem);
  font-weight: 400;
  font-style: italic;
  color: var(--muted);
  padding-left: 34px;
  margin-top: 20px;
  opacity: 0;
  animation: fadeUp 1s 0.55s ease forwards;
}

.hero-payoff2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.3rem, 2.8vw, 2.2rem);
  font-weight: 400;
  color: var(--text-strong);
  padding-left: 34px;
  margin-top: 16px;
  line-height: 1.25;
  opacity: 0;
  animation: fadeUp 1s 0.75s ease forwards;
}

.hero-footer {
  border-top: 1px solid var(--border);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  opacity: 0;
  animation: fadeUp 1s 0.8s ease forwards;
}

.hero-scroll-hint {
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 16px;
}

.hint-line {
  display: block;
  width: 32px;
  height: 1px;
  background: var(--muted);
}

/* =========================================================
   TWO SECTIONS INTRO (homepage)
   ========================================================= */
.sections-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--border);
}

.si-panel {
  padding: 80px 56px;
  cursor: pointer;
  transition: background 0.25s;
  text-decoration: none;
  color: inherit;
  display: block;
}

.si-panel:hover { background: var(--surface2); }

.si-panel.interlocutore {
  background: var(--surface);
  border-left: 1px solid var(--border);
}

.si-panel.interlocutore:hover { background: var(--surface2); }

.si-tag {
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.si-tag-dot {
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--muted2);
  flex-shrink: 0;
}

.ai-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border: 1px solid var(--ai-border);
  background: var(--ai-dim);
  font-size: 0.58rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ai-accent);
  margin-bottom: 28px;
  font-family: 'IBM Plex Mono', monospace;
}

.ai-badge-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--ai-accent);
  animation: pulse 2.5s infinite;
}

.si-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 400;
  color: var(--text-strong);
  line-height: 1.15;
  margin-bottom: 24px;
}

.si-title em { font-style: italic; color: var(--text); display: block; }

.si-body {
  font-family: 'Spectral', serif;
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.95;
  font-style: italic;
  font-weight: 300;
  max-width: 420px;
  margin-bottom: 36px;
}

.si-cta {
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  transition: gap 0.25s;
}

.si-cta:hover { gap: 18px; }
.si-cta::after { content: '→'; font-size: 0.85rem; }

/* =========================================================
   FEATURED (homepage)
   ========================================================= */
.featured {
  padding: 80px 56px;
  background: var(--light-bg);
  border-top: 1px solid var(--light-border);
  border-bottom: 1px solid var(--light-border);
}

.featured-label {
  font-size: 0.62rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--light-muted);
  margin-bottom: 40px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.featured-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--light-border);
  max-width: 80px;
}

.featured-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--light-border);
  border: 1px solid var(--light-border);
}

.featured-card {
  background: var(--light-bg);
  padding: 48px 44px;
  display: flex;
  flex-direction: column;
  transition: background 0.2s;
}

.featured-card:hover { background: var(--light-surface); }

.fc-section {
  font-size: 0.6rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--light-muted);
  margin-bottom: 20px;
}

/* AI badge inside featured card */
.fc-ai-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border: 1px solid rgba(74,158,255,0.3);
  background: rgba(74,158,255,0.06);
  font-size: 0.55rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #3a8ee6;
  margin-bottom: 20px;
  font-family: 'IBM Plex Mono', monospace;
  width: fit-content;
}

.fc-ai-dot {
  width: 4px; height: 4px;
  border-radius: 50%;
  background: #3a8ee6;
  animation: pulse 2.5s infinite;
}

.fc-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.3rem, 2.2vw, 1.75rem);
  font-weight: 400;
  color: var(--light-text);
  line-height: 1.25;
  margin-bottom: 18px;
  transition: color 0.2s;
}

.featured-card:hover .fc-title { color: #000; }

.fc-excerpt {
  font-family: 'Spectral', serif;
  font-size: 0.88rem;
  font-style: italic;
  color: var(--light-body);
  line-height: 1.9;
  font-weight: 300;
  flex: 1;
  margin-bottom: 32px;
}

.fc-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--light-border);
}

.fc-date {
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  color: var(--light-muted);
}

.fc-read {
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--light-text);
  transition: letter-spacing 0.2s;
}

.featured-card:hover .fc-read { letter-spacing: 0.25em; }

/* =========================================================
   JOURNEY / GUIDE (homepage + archive Il Colle)
   ========================================================= */
.journey {
  padding: 100px 56px;
  background: var(--surface);
  border-top: 1px solid var(--border);
}

.block-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 80px;
  margin-bottom: 72px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
}

.block-label {
  font-size: 0.62rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 24px;
}

.block-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 400;
  color: var(--text-strong);
  line-height: 1.18;
}

.block-title em { font-style: italic; color: var(--text); }

.block-desc {
  padding-top: 44px;
  font-family: 'Spectral', serif;
  font-size: 0.92rem;
  font-style: italic;
  color: var(--muted);
  line-height: 1.95;
  font-weight: 300;
}

.steps { display: grid; }

.step {
  display: grid;
  grid-template-columns: 72px 1fr 48px;
  padding: 36px 0;
  border-bottom: 1px solid var(--border-light);
  cursor: pointer;
  position: relative;
  text-decoration: none;
  color: inherit;
  transition: background 0.2s;
}

.step:hover { background: var(--surface2); }
.step > * { position: relative; z-index: 1; }

.step-n {
  font-family: 'Playfair Display', serif;
  font-size: 0.75rem;
  color: var(--muted);
  padding-top: 3px;
  letter-spacing: 0.05em;
}

.step-category {
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}

.step-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--text-strong);
  line-height: 1.35;
  display: block;
  margin-bottom: 10px;
  transition: color 0.2s;
}

.step:hover .step-title { color: white; }

.step-excerpt {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.8;
  max-width: 600px;
}

.step-arrow {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  color: var(--muted);
  font-size: 0.85rem;
  transition: color 0.2s, transform 0.2s;
}

.step:hover .step-arrow { color: var(--text); transform: translateX(4px); }

/* =========================================================
   ARCHIVE — IL COLLE
   ========================================================= */

/* Photo banner — 22vh, same blend technique as hero */
.archive-photo-banner {
  position: relative;
  height: 22vh;
  min-height: 140px;
  max-height: 340px;
  overflow: hidden;
  background: var(--black);
  margin-top: 56px; /* nav height */
}

.archive-photo-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  mix-blend-mode: luminosity;
  opacity: 0.45;
  display: block;
}

.archive-photo-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(12,12,11,0.2) 0%,
    rgba(12,12,11,0.7) 80%,
    rgba(12,12,11,1)   100%
  );
}

/* No photo: just a thin top margin */
.archive-header {
  padding: 56px 56px 64px;
  border-bottom: 1px solid var(--border);
}

/* When preceded by photo banner, reduce top padding */
.archive-photo-banner + .archive-header {
  padding-top: 40px;
  margin-top: 0;
}

.archive-eyebrow {
  font-size: 0.62rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 24px;
}

.archive-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 400;
  color: var(--text-strong);
  line-height: 1.05;
  letter-spacing: -0.02em;
  max-width: 700px;
}

.archive-title em { font-style: italic; color: var(--text); }

.archive-desc {
  font-family: 'Spectral', serif;
  font-size: 0.95rem;
  font-style: italic;
  color: var(--muted);
  line-height: 1.9;
  max-width: 480px;
  margin-top: 28px;
  font-weight: 300;
}

.archive-list {
  padding: 0 56px 100px;
  background: var(--black);
}

.archive-post {
  display: grid;
  grid-template-columns: 120px 1fr 48px;
  gap: 0 40px;
  padding: 40px 0;
  border-bottom: 1px solid var(--border-light);
  text-decoration: none;
  color: inherit;
  transition: background 0.2s;
  position: relative;
}

.archive-post:hover { background: var(--surface); }
.archive-post:hover .ap-title { color: white; }
.archive-post:hover .ap-arrow { color: var(--text); transform: translateX(4px); }

.ap-date {
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  color: var(--muted);
  padding-top: 4px;
  line-height: 1.4;
}

.ap-num {
  font-family: 'Playfair Display', serif;
  font-size: 0.65rem;
  color: var(--muted2);
  margin-top: 6px;
  font-style: italic;
}

.ap-cat {
  font-size: 0.58rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}

.ap-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--text-strong);
  line-height: 1.3;
  margin-bottom: 10px;
  transition: color 0.2s;
}

.ap-excerpt {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.8;
  max-width: 580px;
}

.ap-arrow {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  color: var(--muted);
  font-size: 0.85rem;
  transition: color 0.2s, transform 0.2s;
  padding-top: 4px;
}

/* =========================================================
   ARCHIVE — L'INTERLOCUTORE
   ========================================================= */

/* Photo banner variant — same as Colle but grid overlay on top */
.int-archive-photo-banner {
  position: relative;
  height: 22vh;
  min-height: 140px;
  max-height: 260px;
  overflow: hidden;
  background: var(--surface);
  margin-top: 56px;
}

.int-archive-photo-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  mix-blend-mode: luminosity;
  opacity: 0.35;
  display: block;
}

/* Grid overlay for AI vibes on photo */
.int-archive-photo-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image:
    linear-gradient(var(--border-light) 1px, transparent 1px),
    linear-gradient(90deg, var(--border-light) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0.3;
  pointer-events: none;
}

.int-archive-photo-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    to bottom,
    rgba(12,12,11,0.1) 0%,
    rgba(12,12,11,0.7) 80%,
    rgba(12,12,11,1)   100%
  );
}

.interlocutore-archive-header {
  padding: 40px 56px 64px;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
  position: relative;
  overflow: hidden;
}

/* Grid background (no photo state) */
.interlocutore-archive-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border-light) 1px, transparent 1px),
    linear-gradient(90deg, var(--border-light) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: 0.4;
  pointer-events: none;
}

/* Hide grid bg when preceded by photo banner */
.int-archive-photo-banner + .interlocutore-archive-header::before {
  opacity: 0.2;
}

.interlocutore-archive-header > * { position: relative; z-index: 1; }

.int-archive-list {
  padding: 0 56px 100px;
  background: var(--black);
  display: grid;
  gap: 0;
}

.int-post {
  display: grid;
  grid-template-columns: 120px 1fr 180px;
  gap: 0 40px;
  padding: 40px 0;
  border-bottom: 1px solid var(--border-light);
  text-decoration: none;
  color: inherit;
  transition: background 0.2s;
}

.int-post:hover { background: var(--surface); }
.int-post:hover .ap-title { color: white; }

.int-ai-tag {
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  padding-top: 2px;
}

.int-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border: 1px solid var(--ai-border);
  background: var(--ai-dim);
  font-size: 0.55rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ai-accent);
  font-family: 'IBM Plex Mono', monospace;
  white-space: nowrap;
}

.int-badge-dot {
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--ai-accent);
  animation: pulse 2.5s infinite;
}

/* =========================================================
   SINGLE POST
   ========================================================= */
.post-header {
  padding: 140px 56px 72px;
  max-width: 860px;
  border-bottom: 1px solid var(--border);
}

.post-header-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
}

.post-section-tag {
  font-size: 0.6rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
}

.post-series-num {
  font-family: 'Playfair Display', serif;
  font-size: 0.65rem;
  font-style: italic;
  color: var(--muted);
}

.post-meta-sep {
  width: 1px;
  height: 12px;
  background: var(--border);
}

.post-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 400;
  color: var(--text-strong);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 28px;
}

.post-date {
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  color: var(--muted);
}

/* Interlocutore post header — AI grid overlay */
.post-header.is-interlocutore {
  background: var(--surface);
  position: relative;
  overflow: hidden;
}

.post-header.is-interlocutore::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border-light) 1px, transparent 1px),
    linear-gradient(90deg, var(--border-light) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: 0.35;
  pointer-events: none;
}

.post-header.is-interlocutore > * { position: relative; z-index: 1; }

/* AI session info block */
.ai-session-info {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 0;
  border: 1px solid var(--ai-border);
  background: var(--ai-dim);
  width: fit-content;
  margin-top: 32px;
  font-family: 'IBM Plex Mono', monospace;
}

.asi-item {
  padding: 12px 20px;
  border-right: 1px solid var(--ai-border);
}

.asi-item:last-child { border-right: none; }

.asi-label {
  font-size: 0.55rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ai-accent);
  opacity: 0.7;
  margin-bottom: 4px;
}

.asi-value {
  font-size: 0.72rem;
  color: var(--ai-accent);
}

/* Post body */
.post-body {
  padding: 72px 56px 100px;
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 0 80px;
  align-items: start;
}

.post-content {
  max-width: 680px;
}

.post-content p {
  font-family: 'Spectral', serif;
  font-size: 1.05rem;
  color: var(--text);
  line-height: 1.95;
  font-weight: 300;
  margin-bottom: 1.6em;
}

.post-content h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--text-strong);
  margin: 2.5em 0 0.8em;
  line-height: 1.2;
}

.post-content h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 400;
  font-style: italic;
  color: var(--text);
  margin: 2em 0 0.6em;
}

.post-content blockquote {
  border-left: 2px solid var(--border);
  padding: 4px 0 4px 28px;
  margin: 2em 0;
  font-family: 'Spectral', serif;
  font-style: italic;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.9;
}

.post-content strong {
  color: var(--text-strong);
  font-weight: 400;
}

/* Dialogue style for Interlocutore posts */
.post-content .dialogue-q {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.82rem;
  color: var(--ai-accent);
  background: var(--ai-dim);
  border-left: 2px solid var(--ai-border);
  padding: 16px 20px;
  margin: 1.8em 0 0.6em;
  line-height: 1.7;
}

.post-content .dialogue-q::before {
  content: '> ';
  opacity: 0.5;
}

.post-content .dialogue-a {
  padding-left: 20px;
  border-left: 2px solid var(--border);
  margin-bottom: 1.8em;
}

/* Post sidebar */
.post-sidebar {
  position: sticky;
  top: 120px;
  padding-top: 4px;
}

.sidebar-block {
  border: 1px solid var(--border);
  padding: 28px;
  margin-bottom: 24px;
}

.sidebar-label {
  font-size: 0.58rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}

.sidebar-series {
  display: grid;
  gap: 12px;
}

.series-item {
  display: flex;
  gap: 14px;
  align-items: baseline;
  font-size: 0.8rem;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
  line-height: 1.4;
}

.series-item:hover { color: var(--text); }
.series-item.current { color: var(--text-strong); }

.series-item-num {
  font-family: 'Playfair Display', serif;
  font-size: 0.65rem;
  font-style: italic;
  flex-shrink: 0;
  color: var(--muted2);
}

.series-item.current .series-item-num { color: var(--text); }

/* Post nav prev/next */
.post-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--border);
  margin: 0 56px;
}

.post-nav-item {
  padding: 40px 0;
  text-decoration: none;
  color: inherit;
  transition: background 0.2s;
}

.post-nav-item:hover { background: var(--surface); }
.post-nav-item + .post-nav-item { border-left: 1px solid var(--border); padding-left: 40px; }

.pn-label {
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.pn-title {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-strong);
  line-height: 1.3;
  transition: color 0.2s;
}

.post-nav-item:hover .pn-title { color: white; }

/* =========================================================
   CHI SONO
   ========================================================= */
.cs-wrap { padding-top: 56px; /* nav height */ }

/* ── Foto strip 25vh — usata in chi sono e home ── */
.rbe-photo-strip {
  width: 100%;
  height: 25vh;
  min-height: 180px;
  max-height: 420px;
  overflow: hidden;
  display: block;
  position: relative;
  background: var(--black);
}

.rbe-photo-strip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  display: block;
}

/* No blend — foto ritratto, si vede il colore */
.rbe-photo-strip::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(12,12,11,0.1) 0%,
    rgba(12,12,11,0.5) 85%,
    rgba(12,12,11,0.85) 100%
  );
}

.cs-header {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 0;
  border-bottom: 1px solid var(--border);
  min-height: 70vh;
  align-items: start;
}

.cs-header-left {
  padding: 80px 56px 80px 56px;
  border-right: 1px solid var(--border);
  position: sticky;
  top: 56px;
}

.cs-eyebrow {
  font-size: .6rem;
  letter-spacing: .35em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 28px;
}

.cs-name {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 400;
  color: var(--text-strong);
  line-height: 1.0;
  letter-spacing: -.02em;
  margin-bottom: 32px;
}

.cs-name em { font-style: italic; color: var(--text); display: block; }

.cs-year {
  font-family: 'IBM Plex Mono', monospace;
  font-size: .65rem;
  letter-spacing: .18em;
  color: var(--muted);
}

/* Foto sotto il nome nella colonna sinistra */
.cs-header-photo {
  margin-top: 32px;
  width: 100%;
  height: 25vh;
  min-height: 160px;
  max-height: 380px;
  overflow: hidden;
}

.cs-header-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
}

/* Foto intermedia + pulsante */
.cs-mid-photo-wrap {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.cs-mid-photo-wrap .rbe-photo-strip::after {
  display: none;
}

.cs-mid-btn-wrap {
  padding: 32px 56px;
  background: var(--surface);
  display: flex;
  justify-content: center;
}

.cs-mid-btn {
  display: inline-block;
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-strong);
  text-decoration: none;
  border: 1px solid var(--border);
  padding: 14px 32px;
  transition: background 0.2s, color 0.2s;
}

.cs-mid-btn:hover {
  background: var(--text-strong);
  color: var(--black);
}

.cs-header-right {
  padding: 80px 72px 80px 64px;
}

.cs-bio {
  font-family: 'Spectral', serif;
  font-size: 1rem;
  font-weight: 300;
  color: var(--text);
  line-height: 2;
  margin-bottom: 1.8em;
}

/* ── Interessi ── */
.cs-interests {
  padding: 72px 56px;
  border-bottom: 1px solid var(--border);
}

.cs-interests-label {
  font-size: .6rem;
  letter-spacing: .35em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 40px;
}

.cs-interests-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

.cs-int-item {
  background: var(--black);
  padding: 40px 36px;
  transition: background .2s;
}

.cs-int-item:hover { background: var(--surface); }

.cs-int-num {
  font-family: 'Playfair Display', serif;
  font-size: .75rem;
  font-style: italic;
  color: var(--muted2);
  margin-bottom: 16px;
}

.cs-int-label {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--text-strong);
  margin-bottom: 14px;
  line-height: 1.2;
}

.cs-int-desc {
  font-family: 'Spectral', serif;
  font-size: .82rem;
  font-style: italic;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.85;
}

/* ── Sito + Chiusura ── */
.cs-sito {
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}

.cs-sito-inner {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 0;
}

.cs-sito-left {
  padding: 72px 56px;
  border-right: 1px solid var(--border);
}

.cs-sito-label {
  font-size: .6rem;
  letter-spacing: .35em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 36px;
}

.cs-sito-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

.cs-sito-card {
  background: var(--black);
  padding: 36px 32px;
  display: block;
  text-decoration: none;
  color: inherit;
  transition: background .2s;
}

.cs-sito-card:hover { background: var(--surface2); }
.cs-sito-card:hover .cs-sito-card-title { color: #fff; }

.cs-sito-card--ai {
  position: relative;
  overflow: hidden;
}

.cs-sito-card--ai::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--border-light) 1px, transparent 1px),
    linear-gradient(90deg, var(--border-light) 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: .25;
  pointer-events: none;
}

.cs-ai-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--ai-accent);
  animation: pulse 2.5s infinite;
  margin-bottom: 16px;
  position: relative;
}

.cs-sito-card-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--text-strong);
  margin-bottom: 12px;
  transition: color .2s;
  position: relative;
}

.cs-sito-card-desc {
  font-family: 'Spectral', serif;
  font-size: .8rem;
  font-style: italic;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.85;
  margin-bottom: 20px;
  position: relative;
}

.cs-sito-cta {
  font-size: .6rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--text);
  position: relative;
}

.cs-cta-ai { color: var(--ai-accent); }

.cs-sito-right {
  padding: 72px 48px;
}

.cs-chiusura {
  font-family: 'Spectral', serif;
  font-size: .95rem;
  font-style: italic;
  font-weight: 300;
  color: var(--text);
  line-height: 1.95;
  margin-bottom: 40px;
}

.cs-contacts {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.cs-contact-link {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-decoration: none;
  transition: color .2s;
  color: var(--text);
}

.cs-contact-link:hover { color: var(--text-strong); }

.cs-contact-label {
  font-size: .55rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--muted);
  font-family: 'IBM Plex Mono', monospace;
}

/* Responsive Chi sono */
@media (max-width: 900px) {
  .cs-header { grid-template-columns: 1fr; }
  .cs-header-left { position: static; border-right: none; border-bottom: 1px solid var(--border); padding: 60px 24px 40px; }
  .cs-header-right { padding: 40px 24px; }
  .cs-interests { padding: 48px 24px; }
  .cs-interests-grid { grid-template-columns: 1fr; }
  .cs-sito-inner { grid-template-columns: 1fr; }
  .cs-sito-left { border-right: none; border-bottom: 1px solid var(--border); padding: 48px 24px; }
  .cs-sito-right { padding: 40px 24px; }
  .cs-sito-cols { grid-template-columns: 1fr; }
}

/* =========================================================
   NEWSLETTER OPT-IN
   ========================================================= */

:root {
  --nl-bg:     #f5f0e8;
  --nl-border: #e0d9ce;
  --nl-text:   #1a1a18;
  --nl-muted:  #8a8278;
  --nl-red:    #b91c1c;
  --nl-red-h:  #991b1b;
}

/* ── FULL SECTION (homepage, archives, chi sono) ── */
.nl-section {
  background: var(--nl-bg);
  border-top: 1px solid var(--nl-border);
  border-bottom: 1px solid var(--nl-border);
  padding: 72px 56px;
}

/* Compatta -35% per home e archive header */
.nl-section--compact {
  padding: 28px 56px;
}
.nl-section--compact .nl-section-inner {
  max-width: 860px;
}
.nl-section--compact .nl-chisono-link {
  margin-top: 12px;
  padding-top: 12px;
}

.nl-section-inner {
  max-width: 860px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 64px;
  align-items: center;
}

.nl-section-eyebrow {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--nl-muted);
  margin-bottom: 16px;
}

.nl-section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 400;
  color: var(--nl-text);
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
}

.nl-section-sub {
  font-family: 'Spectral', serif;
  font-size: 1rem;
  font-style: italic;
  font-weight: 300;
  color: var(--nl-muted);
  line-height: 1.8;
}

.nl-section-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.nl-section-input {
  background: #fff;
  border: 1px solid var(--nl-border);
  padding: 16px 18px;
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 0.95rem;
  color: var(--nl-text);
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
  box-sizing: border-box;
}

.nl-section-input::placeholder { color: #bbb; }
.nl-section-input:focus { border-color: var(--nl-text); }

.nl-section-btn {
  width: 100%;
  background: var(--nl-red);
  color: #fff;
  border: none;
  padding: 17px;
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s;
}

.nl-section-btn:hover { background: var(--nl-red-h); }

.nl-section-fine {
  font-size: 0.62rem;
  letter-spacing: 0.06em;
  color: var(--nl-muted);
  text-align: center;
  opacity: 0.7;
}

.nl-chisono-link {
  display: block;
  text-align: center;
  font-family: 'Spectral', serif;
  font-size: 0.85rem;
  font-style: italic;
  color: var(--nl-muted);
  text-decoration: none;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--nl-border);
  transition: color 0.2s;
  width: 100%;
}

.nl-chisono-link strong {
  font-style: normal;
  font-weight: 600;
  color: var(--nl-text);
}

.nl-chisono-link:hover { color: var(--nl-text); }

.nl-chisono-link--inline {
  display: inline-block;
  margin-top: 10px;
  padding-top: 0;
  border-top: none;
  font-size: 0.75rem;
  text-align: left;
}

.nl-thanks-full {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-style: italic;
  color: var(--nl-muted);
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
}

/* ── INLINE (dentro articoli) ── */
.nl-inline {
  background: var(--nl-bg);
  border-top: 3px solid var(--nl-red);
  padding: 40px 48px;
  margin: 48px 0;
}

.nl-inline-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
}

.nl-inline-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--nl-text);
  margin-bottom: 6px;
}

.nl-inline-sub {
  font-family: 'Spectral', serif;
  font-size: 0.85rem;
  font-style: italic;
  color: var(--nl-muted);
}

.nl-inline-form {
  display: flex;
  gap: 0;
  flex-shrink: 0;
}

.nl-inline-input {
  background: #fff;
  border: 1px solid var(--nl-border);
  border-right: none;
  padding: 12px 16px;
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 0.82rem;
  color: var(--nl-text);
  outline: none;
  width: 220px;
}

.nl-inline-input::placeholder { color: #bbb; }

.nl-inline-btn {
  background: var(--nl-red);
  color: #fff;
  border: none;
  padding: 12px 20px;
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
  flex-shrink: 0;
}

.nl-inline-btn:hover { background: var(--nl-red-h); }

.nl-inline-thanks {
  font-family: 'Spectral', serif;
  font-size: 0.95rem;
  font-style: italic;
  color: var(--nl-muted);
  text-align: center;
}

/* ── FOOTER compact ── */
.nl-footer-wrap {
  border-top: 1px solid var(--border);
  padding-top: 16px;
  margin-top: 16px;
}

.nl-footer-label {
  font-size: 0.55rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}

.nl-footer-row {
  display: flex;
  border: 1px solid var(--border);
}

.nl-footer-input {
  flex: 1;
  background: transparent;
  border: none;
  padding: 8px 10px;
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 0.65rem;
  color: var(--text);
  outline: none;
  min-width: 0;
}

.nl-footer-input::placeholder { color: var(--muted); }

.nl-footer-btn {
  background: var(--nl-red);
  border: none;
  padding: 8px 14px;
  color: #fff;
  cursor: pointer;
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: background 0.2s;
  flex-shrink: 0;
}

.nl-footer-btn:hover { background: var(--nl-red-h); }

.nl-footer-thanks {
  font-size: 0.62rem;
  color: var(--muted);
  letter-spacing: 0.06em;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .nl-section { padding: 48px 24px; }
  .nl-section-inner { grid-template-columns: 1fr; gap: 32px; }
  .nl-inline { padding: 28px 24px; }
  .nl-inline-inner { grid-template-columns: 1fr; gap: 20px; }
  .nl-inline-input { width: 100%; }
  .nl-inline-form { flex-direction: column; }
  .nl-inline-btn { width: 100%; }
}


/* =========================================================
   CHI SONO — PULSANTE FISSO
   ========================================================= */
.cs-fixed-btn {
  position: fixed;
  bottom: 28px;
  left: 28px;
  z-index: 999;
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-strong);
  text-decoration: none;
  border: 1px solid var(--border);
  padding: 10px 16px;
  background: var(--black);
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.cs-fixed-btn:hover {
  color: #fff;
  border-color: #fff;
  background: var(--surface);
}

@media (max-width: 768px) {
  .cs-fixed-btn { bottom: 20px; left: 16px; font-size: 0.55rem; padding: 8px 12px; }
}

/* Chi sono — form dopo bio */
.cs-bio-nl { border-top: 1px solid var(--border); }

.nl-section--chisono-bio {
  background: var(--nl-bg);
  border-top: none;
  border-bottom: none;
}

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
  padding: 56px 56px 48px;
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.footer-mark {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  color: var(--text-strong);
  margin-bottom: 8px;
}

.footer-tagline {
  font-family: 'Playfair Display', serif;
  font-size: 0.82rem;
  font-style: italic;
  color: var(--muted);
}

.footer-center {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.2s;
  width: fit-content;
}

.footer-links a:hover { color: var(--text); }

.footer-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.footer-contact {
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  color: var(--muted);
  transition: color 0.2s;
  text-decoration: none;
}

.footer-contact:hover { color: var(--text); }

.footer-copy {
  font-size: 0.58rem;
  letter-spacing: 0.15em;
  color: var(--muted);
  opacity: 0.4;
  margin-top: 8px;
}

/* =========================================================
   PAGE HERO (non-homepage)
   ========================================================= */
.page-hero {
  padding: 140px 56px 72px;
  border-bottom: 1px solid var(--border);
}

/* =========================================================
   HOME EXPLAINER
   ========================================================= */
.home-explainer {
  padding: 0 0 0;
  border-top: 1px solid var(--border);
}

.he-intro {
  padding: 80px 56px 64px;
  border-bottom: 1px solid var(--border);
  max-width: 760px;
}

.he-eyebrow {
  font-size: .6rem;
  letter-spacing: .35em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 20px;
}

.he-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 400;
  color: var(--text-strong);
  line-height: 1.1;
  margin-bottom: 20px;
}

.he-desc {
  font-family: 'Spectral', serif;
  font-size: .95rem;
  font-style: italic;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.9;
  max-width: 520px;
}

.he-panels {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.he-panel {
  padding: 64px 56px;
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 0 32px;
  align-items: start;
  text-decoration: none;
  color: inherit;
  border-right: 1px solid var(--border);
  transition: background .2s;
}

.he-panel:last-child { border-right: none; }
.he-panel:hover { background: var(--surface); }

.he-interlocutore {
  background: var(--surface);
  position: relative;
  overflow: hidden;
}

.he-interlocutore::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border-light) 1px, transparent 1px),
    linear-gradient(90deg, var(--border-light) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: .25;
  pointer-events: none;
}

.he-interlocutore > * { position: relative; z-index: 1; }
.he-interlocutore:hover { background: var(--surface2); }

.he-panel-num {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-style: italic;
  color: var(--muted2);
  padding-top: 4px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.he-ai-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--ai-accent);
  animation: pulse 2.5s infinite;
  display: block;
  margin-top: 12px;
}

.he-panel-label {
  font-size: .6rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}

.he-panel-label.ai-label { color: var(--ai-accent); font-family: 'IBM Plex Mono', monospace; }

.he-panel-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 400;
  color: var(--text-strong);
  line-height: 1.1;
  margin-bottom: 18px;
}

.he-panel-desc {
  font-family: 'Spectral', serif;
  font-size: .88rem;
  font-style: italic;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.9;
  margin-bottom: 28px;
}

.he-panel-cta {
  font-size: .65rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--text);
  transition: letter-spacing .2s;
  display: inline-block;
}

.he-panel:hover .he-panel-cta { letter-spacing: .3em; }
.he-cta-ai { color: var(--ai-accent); }

/* =========================================================
   BLOOMBERG IN EVIDENZA
   ========================================================= */
.bloomberg {
  background: var(--light-bg);
  border-top: 3px solid var(--light-text);
  padding: 0 0 80px;
}

.bloomberg-header {
  padding: 24px 56px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-bottom: 1px solid var(--light-border);
  margin-bottom: 0;
}

.bloomberg-label {
  font-size: .65rem;
  letter-spacing: .35em;
  text-transform: uppercase;
  color: var(--light-text);
  font-weight: 400;
}

.bloomberg-date {
  font-size: .6rem;
  letter-spacing: .12em;
  color: var(--light-muted);
}

/* ── LIVE indicator ── */
.bloomberg-live-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.bloomberg-live-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #e63946;
  box-shadow: 0 0 6px #e63946, 0 0 12px #e6394666;
  animation: bb-pulse 1.4s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes bb-pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 6px #e63946, 0 0 12px #e6394666; }
  50%       { opacity: 0.35; box-shadow: 0 0 2px #e63946; }
}

.bloomberg-live-text {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.52rem;
  letter-spacing: 0.22em;
  color: #e63946;
  text-transform: uppercase;
  font-weight: 400;
}

.bloomberg-live-date {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.55rem;
  letter-spacing: 0.1em;
  color: var(--light-muted);
  padding-left: 8px;
  border-left: 1px solid var(--light-border);
}

/* Main hero + side grid */
.bloomberg-main {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 0;
  border-bottom: 1px solid var(--light-border);
}

/* Hero card */
.bb-hero {
  padding: 48px 56px;
  display: block;
  text-decoration: none;
  color: inherit;
  border-right: 1px solid var(--light-border);
  transition: background .2s;
}

.bb-hero:hover { background: var(--light-surface); }

.bb-section-tag {
  font-size: .58rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--light-muted);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.bb-tag-ai { color: #2a78d0; }

.bb-ai-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: #2a78d0;
  animation: pulse 2.5s infinite;
  flex-shrink: 0;
  display: inline-block;
}

.bb-hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 400;
  color: var(--light-text);
  line-height: 1.15;
  margin-bottom: 20px;
  transition: color .2s;
}

.bb-hero:hover .bb-hero-title { color: #000; }

.bb-hero-excerpt {
  font-family: 'Spectral', serif;
  font-size: .92rem;
  font-style: italic;
  font-weight: 300;
  color: var(--light-body);
  line-height: 1.9;
  max-width: 560px;
  margin-bottom: 24px;
}

.bb-meta { display: flex; align-items: center; gap: 12px; }

.bb-date {
  font-size: .6rem;
  letter-spacing: .12em;
  color: var(--light-muted);
}

/* Side cards */
.bb-side {
  display: flex;
  flex-direction: column;
}

.bb-side-card {
  padding: 32px 28px;
  display: block;
  text-decoration: none;
  color: inherit;
  border-bottom: 1px solid var(--light-border);
  flex: 1;
  transition: background .2s;
}

.bb-side-card:last-child { border-bottom: none; }
.bb-side-card:hover { background: var(--light-surface); }

.bb-side-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--light-text);
  line-height: 1.3;
  margin-bottom: 12px;
  transition: color .2s;
}

.bb-side-card:hover .bb-side-title { color: #000; }

.bb-side-excerpt {
  font-family: 'Spectral', serif;
  font-size: .82rem;
  font-style: italic;
  font-weight: 300;
  color: var(--light-body);
  line-height: 1.85;
  margin-bottom: 14px;
}

/* Ticker row */
.bloomberg-ticker {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-bottom: 1px solid var(--light-border);
}

.bb-tick {
  padding: 24px 28px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  text-decoration: none;
  color: inherit;
  border-right: 1px solid var(--light-border);
  transition: background .2s;
}

.bb-tick:last-child { border-right: none; }
.bb-tick:hover { background: var(--light-surface); }
.bb-tick:hover .bb-tick-title { color: #000; }

.bb-tick-num {
  font-family: 'Playfair Display', serif;
  font-size: .7rem;
  font-style: italic;
  color: var(--light-muted);
  flex-shrink: 0;
  padding-top: 2px;
}

.bb-tick-title {
  font-family: 'Playfair Display', serif;
  font-size: .88rem;
  font-weight: 400;
  color: var(--light-text);
  line-height: 1.35;
  margin-bottom: 6px;
  transition: color .2s;
}

.bb-tick-date {
  font-size: .58rem;
  letter-spacing: .1em;
  color: var(--light-muted);
}

/* L'Interlocutore strip */
.bloomberg-int-strip {
  padding: 32px 56px;
  border-top: 2px solid rgba(74,158,255,.2);
  background: var(--light-bg);
}

.bis-label {
  font-size: .6rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: #2a78d0;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'IBM Plex Mono', monospace;
}

.bis-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--light-border);
  border: 1px solid var(--light-border);
}

.bis-card {
  background: var(--light-bg);
  padding: 24px 28px;
  text-decoration: none;
  display: block;
  transition: background .2s;
}

.bis-card:hover { background: var(--light-surface); }
.bis-card:hover .bis-title { color: #000; }

.bis-title {
  font-family: 'Playfair Display', serif;
  font-size: .95rem;
  font-weight: 400;
  color: var(--light-text);
  line-height: 1.35;
  margin-bottom: 8px;
  transition: color .2s;
}

.bis-date {
  font-size: .58rem;
  letter-spacing: .1em;
  color: #2a78d0;
  font-family: 'IBM Plex Mono', monospace;
}

/* =========================================================
   HOME SPLIT
   ========================================================= */
.home-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.hs-panel { padding: 80px 56px; display: flex; flex-direction: column; }

.hs-panel.hs-interlocutore {
  background: var(--surface);
  border-left: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.hs-panel.hs-interlocutore::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border-light) 1px, transparent 1px),
    linear-gradient(90deg, var(--border-light) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0.3;
  pointer-events: none;
}

.hs-panel.hs-interlocutore > * { position: relative; z-index: 1; }

.hs-header {
  margin-bottom: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
}

.hs-eyebrow {
  font-size: 0.6rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}

.ai-eyebrow { font-family: 'IBM Plex Mono', monospace; color: var(--ai-accent); opacity: 0.8; }

.hs-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 400;
  color: var(--text-strong);
  line-height: 1.1;
  margin-bottom: 16px;
}

.hs-desc {
  font-family: 'Spectral', serif;
  font-size: 0.88rem;
  font-style: italic;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.9;
  margin-bottom: 24px;
  max-width: 380px;
}

.hs-cta {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text);
  transition: letter-spacing 0.2s;
  display: inline-block;
}

.hs-cta:hover { letter-spacing: 0.3em; }
.hs-cta-ai { color: var(--ai-accent); }

.hs-posts { display: grid; }

.hs-post {
  display: grid;
  grid-template-columns: 40px 1fr 32px;
  gap: 0 20px;
  padding: 22px 0;
  border-bottom: 1px solid var(--border-light);
  text-decoration: none;
  color: inherit;
  align-items: center;
  transition: background 0.2s;
}

.hs-post:last-child { border-bottom: none; }
.hs-post:hover { background: var(--surface2); }
.hs-post:hover .hs-post-title { color: white; }
.hs-post:hover .hs-post-arrow { transform: translateX(4px); color: var(--text); }

.hs-post-num {
  font-family: 'Playfair Display', serif;
  font-size: 0.72rem;
  font-style: italic;
  color: var(--muted);
  text-align: center;
}

.hs-ai-indicator { display: flex; justify-content: center; align-items: center; }

.hs-ai-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--ai-accent);
  animation: pulse 2.5s infinite;
  display: block;
}

.hs-post-title {
  font-family: 'Playfair Display', serif;
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--text-strong);
  line-height: 1.35;
  transition: color 0.2s;
}

.hs-post-date { font-size: 0.6rem; letter-spacing: 0.12em; color: var(--muted); margin-top: 4px; }
.hs-post-arrow { font-size: 0.8rem; color: var(--muted); transition: transform 0.2s, color 0.2s; text-align: right; }
.hs-empty { font-family: 'Spectral', serif; font-style: italic; font-size: 0.82rem; color: var(--muted); padding: 24px 0; }

/* =========================================================
   RELATED POSTS
   ========================================================= */
.related-posts {
  padding: 72px 56px 100px;
  border-top: 1px solid var(--border);
  background: var(--surface);
}

.related-ai { background: var(--black); }

.related-label {
  font-size: 0.62rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 40px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.related-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
  max-width: 60px;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

.related-card {
  background: var(--black);
  padding: 36px 32px;
  text-decoration: none;
  display: block;
  transition: background 0.2s;
}

.related-card:hover { background: var(--surface2); }
.related-card:hover .related-card-title { color: white; }
.related-card-ai { background: var(--surface); }
.related-card-ai:hover { background: var(--surface2); }

.related-card-section {
  font-size: 0.58rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}

.related-card-title {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-strong);
  line-height: 1.35;
  margin-bottom: 12px;
  transition: color 0.2s;
}

.related-card-date { font-size: 0.6rem; letter-spacing: 0.12em; color: var(--muted); }

/* =========================================================
   INTERLOCUTORE — DISCLAIMER & DOMANDA
   ========================================================= */

.int-disclaimer {
  border: 1px solid var(--ai-border);
  background: var(--ai-dim);
  padding: 32px 36px;
  margin-bottom: 48px;
  position: relative;
}

.int-disclaimer-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.int-disclaimer-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--ai-accent);
  animation: pulse 2.5s infinite;
  flex-shrink: 0;
}

.int-disclaimer-tag {
  font-family: 'IBM Plex Mono', monospace;
  font-size: .58rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--ai-accent);
  opacity: .8;
}

.int-disclaimer-title {
  font-family: 'Playfair Display', serif;
  font-size: .82rem;
  font-weight: 400;
  font-style: italic;
  color: var(--text-strong);
  margin-bottom: 10px;
}

.int-disclaimer-body {
  font-size: .72rem;
  color: var(--muted);
  line-height: 1.85;
  font-family: 'IBM Plex Sans', sans-serif;
  font-weight: 300;
}

.int-disclaimer-body strong { color: var(--text); font-weight: 400; }

/* ── Domanda di Roberto ── */
.int-question-wrap {
  margin-bottom: 40px;
}

.int-question-label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
  font-family: 'IBM Plex Mono', monospace;
}

.int-ql-line {
  width: 24px; height: 1px;
  background: var(--muted);
  flex-shrink: 0;
}

.int-ql-text {
  font-size: .58rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--muted);
}

.int-ql-text strong {
  color: var(--text-strong);
  font-weight: 400;
}

.int-question-box {
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 24px 28px;
  position: relative;
}

.int-question-box p {
  font-family: 'Spectral', serif;
  font-style: italic;
  font-weight: 300;
  font-size: .95rem;
  color: var(--text);
  line-height: 1.85;
  margin: 0;
}

/* =========================================================
   ANIMATIONS
   ========================================================= */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 960px) {
  .post-body { grid-template-columns: 1fr; }
  .post-sidebar { display: none; }
  .about-header { grid-template-columns: 1fr; gap: 40px; }
  .about-values { grid-template-columns: 1fr; }
  .int-post { grid-template-columns: 100px 1fr; }
  .int-ai-tag { display: none; }
}

@media (max-width: 768px) {
  .nav-top, .nav-section,
  .hero, .sections-intro .si-panel,
  .featured, .journey,
  .archive-header, .archive-list,
  .interlocutore-archive-header, .int-archive-list,
  .post-header, .post-body, .post-nav,
  .about-header, .about-values, .about-quote,
  .site-footer { padding-left: 24px; padding-right: 24px; }

  .nav-section.active::after { left: 24px; right: 24px; }
  .ns-desc { display: none; }
  .hero::before { left: 24px; }
  .sections-intro { grid-template-columns: 1fr; }
  .si-panel.interlocutore { border-left: none; border-top: 1px solid var(--border); }
  .featured-grid { grid-template-columns: 1fr; }
  .nav-sections--three { grid-template-columns: 1fr; }
  .he-panels { grid-template-columns: 1fr; }
  .he-panel { grid-template-columns: 32px 1fr; padding: 40px 24px; border-right: none; border-bottom: 1px solid var(--border); }
  .he-intro { padding: 56px 24px 40px; }
  .bloomberg-main { grid-template-columns: 1fr; }
  .bb-hero { padding: 36px 24px; border-right: none; }
  .bb-side { border-top: 1px solid var(--light-border); }
  .bloomberg-ticker { grid-template-columns: 1fr 1fr; }
  .bloomberg-int-strip { padding: 28px 24px; }
  .bis-grid { grid-template-columns: 1fr; }
  .bloomberg-header { padding: 20px 24px; }
  .home-split { grid-template-columns: 1fr; }
  .hs-panel { padding: 56px 24px; }
  .hs-panel.hs-interlocutore { border-left: none; border-top: 1px solid var(--border); }
  .related-posts { padding: 56px 24px 72px; }
  .related-grid { grid-template-columns: 1fr; }
  .block-header { grid-template-columns: 1fr; }
  .block-desc { padding-top: 20px; }
  .step { grid-template-columns: 48px 1fr 32px; }
  .archive-post { grid-template-columns: 90px 1fr 32px; }
  .post-nav { grid-template-columns: 1fr; }
  .post-nav-item + .post-nav-item { border-left: none; border-top: 1px solid var(--border); padding-left: 0; }
  .site-footer { grid-template-columns: 1fr; gap: 32px; }
  .footer-right { align-items: flex-start; }
  .ai-session-info { grid-template-columns: 1fr 1fr; }
}
