:root {
  --ink:      #1a1a18;
  --forest:   #2a3d2c;
  --forest2:  #3d5540;
  --sage:     #8a9e8c;
  --parchment:#f0ece3;
  --cream:    #faf8f3;
  --gold:     #b8965a;
  --gold-lt:  #d4b47a;
  --white:    #ffffff;
  --f-display: 'Cormorant', serif;
  --f-body:    'Cormorant Garamond', serif;
  --f-ui:      'Jost', sans-serif;
  --ease-out:  cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in:   cubic-bezier(0.7, 0, 0.84, 0);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }

/* overflow-x on html (not body) — preserves position:fixed on iOS */
html { overflow-x: clip; }

body {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--f-body);
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  cursor: none;
}

/* CURSOR */
.cursor {
  position: fixed; width: 8px; height: 8px;
  background: var(--forest); border-radius: 50%;
  pointer-events: none; z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.3s var(--ease-out), height 0.3s var(--ease-out), background 0.3s;
}
.cursor-ring {
  position: fixed; width: 36px; height: 36px;
  border: 1px solid rgba(42,61,44,0.4); border-radius: 50%;
  pointer-events: none; z-index: 9998;
  transform: translate(-50%, -50%);
  transition: transform 0.15s var(--ease-out), width 0.4s var(--ease-out), height 0.4s var(--ease-out), border-color 0.3s;
}
body.cursor-hover .cursor { width: 0; height: 0; }
body.cursor-hover .cursor-ring { width: 60px; height: 60px; border-color: var(--gold); }

/* Cursore dorato su sfondi scuri */
body.cursor-on-dark .cursor { background: var(--gold); }
body.cursor-on-dark .cursor-ring { border-color: rgba(184,150,90,0.5); }
body.cursor-on-dark.cursor-hover .cursor-ring { border-color: var(--gold); }

/* GRAIN */
body::before {
  content: '';
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none; z-index: 1000; opacity: 0.5;
}

/* NAV */
nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 500; padding: 0 4%; height: 80px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-bg {
  position: absolute; inset: 0;
  background: rgba(250,248,243,0); border-bottom: 1px solid transparent;
  transition: background 0.5s, border-color 0.5s, box-shadow 0.5s;
}
nav.scrolled .nav-bg,
body.nav-light nav .nav-bg {
  background: rgba(250,248,243,0.98);
  border-bottom-color: rgba(42,61,44,0.1);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 16px rgba(42,61,44,0.04);
}
.nav-logo {
  font-family: var(--f-display); font-size: 1.25rem; font-weight: 400;
  letter-spacing: 0.06em; color: var(--cream); text-decoration: none;
  position: relative; z-index: 1; transition: color 0.4s, text-shadow 0.4s;
  text-shadow: 0 2px 6px rgba(0,0,0,0.6), 0 0 20px rgba(0,0,0,0.35);
}
nav.scrolled .nav-logo,
body.nav-light nav .nav-logo { color: var(--forest); text-shadow: none; }
.nav-center {
  display: flex; gap: 2.5rem; list-style: none;
  position: relative; z-index: 1;
}
.nav-center li {
  display: flex; align-items: center;
}
.nav-center a {
  font-family: var(--f-ui); font-size: 0.68rem; font-weight: 200;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--cream); text-decoration: none;
  transition: color 0.3s, text-shadow 0.3s;
  padding: 8px 0; position: relative;
  /* Ombra per leggibilita su sfondi variegati, mantenendo eleganza */
  text-shadow: 0 2px 6px rgba(0,0,0,0.6), 0 0 20px rgba(0,0,0,0.35);
}
.nav-center a::after {
  content: '';
  position: absolute; bottom: -2px; left: 0;
  width: 0; height: 1px;
  background: rgba(184,150,90,0.8);
  transition: width 0.35s cubic-bezier(0.16,1,0.3,1);
}
.nav-center a:hover { color: var(--cream); }
.nav-center a:hover::after { width: 100%; }
.nav-center a.active { color: var(--cream); }
.nav-center a.active::after { width: 100%; }
nav.scrolled .nav-center a,
body.nav-light nav .nav-center a { color: rgba(42,61,44,0.78); text-shadow: none; }
nav.scrolled .nav-center a::after,
body.nav-light nav .nav-center a::after { background: rgba(184,150,90,0.6); }
nav.scrolled .nav-center a:hover,
nav.scrolled .nav-center a.active,
body.nav-light nav .nav-center a:hover,
body.nav-light nav .nav-center a.active { color: var(--forest); }
.nav-right { position: relative; z-index: 1; display: flex; align-items: center; gap: 1.5rem; }
.nav-contact {
  font-family: var(--f-ui); font-size: 0.65rem; font-weight: 200;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--cream); text-decoration: none;
  transition: color 0.3s, text-shadow 0.3s;
  text-shadow: 0 2px 6px rgba(0,0,0,0.6), 0 0 20px rgba(0,0,0,0.35);
}
nav.scrolled .nav-contact,
body.nav-light nav .nav-contact { color: var(--forest); text-shadow: none; }
.nav-btn {
  font-family: var(--f-ui); font-size: 0.62rem; font-weight: 300;
  letter-spacing: 0.16em; text-transform: uppercase;
  padding: 10px 24px; border: 1px solid rgba(250,248,243,0.6);
  color: var(--cream); text-decoration: none; transition: all 0.3s;
}
.nav-btn:hover { background: var(--cream); color: var(--forest); border-color: var(--cream); }
nav.scrolled .nav-btn,
body.nav-light nav .nav-btn { border-color: var(--forest); color: var(--forest); }
nav.scrolled .nav-btn:hover,
body.nav-light nav .nav-btn:hover { background: var(--forest); color: var(--cream); }

/* ─ HOME: HERO ─ */
.hero {
  position: relative; height: 100vh; min-height: 700px;
  overflow: hidden; display: flex; align-items: flex-end; background: var(--forest);
}
.hero-video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: 0; transition: opacity 1.8s var(--ease-out);
}
.hero-video.loaded { opacity: 0.55; }
.hero-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.55; }
.hero-vignette {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(26,26,24,0.85) 0%, rgba(26,26,24,0.1) 50%, rgba(26,26,24,0.3) 100%),
              linear-gradient(to right, rgba(26,26,24,0.4) 0%, transparent 60%);
}
.hero-content {
  position: relative; z-index: 2; padding: 0 6% 7%;
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; width: 100%; align-items: end;
}
.hero-eyebrow {
  font-family: var(--f-ui); font-size: 0.62rem; font-weight: 200;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold-lt);
  margin-bottom: 1.8rem; display: flex; align-items: center; gap: 1rem; overflow: hidden;
}
.hero-eyebrow::before { content: ''; display: block; width: 40px; height: 1px; background: var(--gold); flex-shrink: 0; }
.hero-h1 {
  font-family: var(--f-display); font-size: clamp(3.5rem, 7vw, 7.5rem);
  font-weight: 300; line-height: 0.95; color: var(--cream);
  letter-spacing: -0.02em; overflow: hidden;
}
.hero-h1 em { font-style: italic; color: var(--parchment); }
.hero-line { overflow: hidden; display: block; }
.hero-line span { display: block; transform: translateY(110%); transition: transform 1.2s var(--ease-out); }
.hero-line.revealed span { transform: translateY(0); }
.hero-line:nth-child(2) span { transition-delay: 0.1s; }
.hero-line:nth-child(3) span { transition-delay: 0.2s; }
.hero-line:nth-child(4) span { transition-delay: 0.3s; }
.hero-right { display: flex; flex-direction: column; gap: 2rem; padding-bottom: 0.5rem; }
.hero-tagline {
  font-family: var(--f-body); font-size: 1.05rem; font-weight: 300;
  line-height: 1.75; color: rgba(250,248,243,0.72); font-style: italic; max-width: 380px;
}
.hero-cta-group { display: flex; align-items: center; gap: 2rem; }
.hero-scroll {
  font-family: var(--f-ui); font-size: 0.6rem; font-weight: 200;
  letter-spacing: 0.2em; text-transform: uppercase; color: rgba(250,248,243,0.45);
  display: flex; align-items: center; gap: 0.75rem;
}
.hero-scroll::after {
  content: ''; display: block; width: 1px; height: 40px;
  background: rgba(250,248,243,0.3); animation: pulse-line 2s ease-in-out infinite;
}
@keyframes pulse-line { 0%,100%{opacity:0.3;transform:scaleY(0.6)} 50%{opacity:1;transform:scaleY(1)} }

/* ─ HOME: INTRO ─ */
.intro {
  padding: 12vh 6% 10vh;
  display: grid; grid-template-columns: 200px 1fr; gap: 5rem; align-items: start;
}
.intro-index { padding-top: 0.6rem; }
.intro-number {
  font-family: var(--f-display); font-size: 5rem; font-weight: 300;
  color: rgba(42,61,44,0.08); line-height: 1; font-style: italic;
}
.intro-label {
  font-family: var(--f-ui); font-size: 0.6rem; font-weight: 200;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--sage); margin-top: 0.5rem;
}
.intro-headline {
  font-family: var(--f-display); font-size: clamp(2.2rem, 4vw, 4rem);
  font-weight: 300; line-height: 1.15; color: var(--forest);
  letter-spacing: -0.01em; margin-bottom: 3rem;
}
.intro-headline em { font-style: italic; color: var(--forest2); }
.intro-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.intro-text { font-family: var(--f-body); font-size: 1rem; font-weight: 300; line-height: 1.9; color: rgba(26,26,24,0.65); }
.intro-link {
  display: inline-flex; align-items: center; gap: 0.8rem; margin-top: 2rem;
  font-family: var(--f-ui); font-size: 0.62rem; font-weight: 300;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--forest); text-decoration: none; transition: gap 0.3s;
}
.intro-link::after { content: '→'; font-size: 0.9rem; transition: transform 0.3s; }
.intro-link:hover { gap: 1.2rem; }
.intro-link:hover::after { transform: translateX(4px); }

/* ─ HOME: EDITORIAL ─ */
.editorial { display: grid; grid-template-columns: 1.2fr 0.8fr; min-height: 90vh; }
.ed-left { position: relative; overflow: hidden; background: var(--forest); }
.ed-left img { width: 100%; height: 100%; object-fit: cover; display: block; opacity: 0.8; transition: transform 8s var(--ease-out), opacity 0.5s; }
.ed-left:hover img { transform: scale(1.04); opacity: 0.9; }
.ed-caption {
  position: absolute; bottom: 0; left: 0; right: 0; padding: 6% 8%;
  background: linear-gradient(to top, rgba(26,26,24,0.7) 0%, transparent 100%);
}
.ed-caption-label {
  font-family: var(--f-ui); font-size: 0.6rem; font-weight: 200;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-lt);
  margin-bottom: 0.8rem; display: flex; align-items: center; gap: 0.8rem;
}
.ed-caption-label::before { content: ''; display: block; width: 24px; height: 1px; background: var(--gold); }
.ed-caption-title { font-family: var(--f-display); font-size: 2rem; font-weight: 300; color: var(--cream); line-height: 1.1; font-style: italic; }
.ed-right { background: var(--parchment); display: flex; flex-direction: column; }
.ed-right-top { flex: 1; padding: 12% 10%; display: flex; flex-direction: column; justify-content: center; }
.ed-right-bottom { height: 40%; position: relative; overflow: hidden; background: var(--forest2); }
.ed-right-bottom img { width: 100%; height: 100%; object-fit: cover; opacity: 0.6; display: block; }
.services-label {
  font-family: var(--f-ui); font-size: 0.6rem; font-weight: 200;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--sage);
  margin-bottom: 2.5rem; display: flex; align-items: center; gap: 0.8rem;
}
.services-label::before { content: ''; display: block; width: 24px; height: 1px; background: var(--sage); }
.services-headline {
  font-family: var(--f-display); font-size: clamp(1.8rem, 2.8vw, 3rem);
  font-weight: 300; line-height: 1.1; color: var(--forest);
  letter-spacing: -0.01em; margin-bottom: 2.5rem;
}
.services-list { list-style: none; display: flex; flex-direction: column; gap: 0; }
.services-list li {
  font-family: var(--f-body); font-size: 0.92rem; font-weight: 300;
  color: rgba(26,26,24,0.6); line-height: 1; padding: 0.9rem 0;
  border-bottom: 1px solid rgba(42,61,44,0.08);
  display: flex; justify-content: space-between; align-items: center;
  transition: color 0.3s, padding-left 0.3s; cursor: default;
}
.services-list li:hover { color: var(--forest); padding-left: 0.4rem; }
.services-list li:first-child { border-top: 1px solid rgba(42,61,44,0.08); }
.services-list li span {
  font-family: var(--f-ui); font-size: 0.58rem; letter-spacing: 0.1em;
  color: var(--sage); opacity: 0; transition: opacity 0.3s;
}
.services-list li:hover span { opacity: 1; }

/* ─ WHY US / VALUES ─ */
.why-us, .values {
  background: var(--forest); padding: 12vh 6%;
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 0;
}
.why-pillar, .value-pillar {
  padding: 5% 6%; border-right: 1px solid rgba(250,248,243,0.06); display: flex; flex-direction: column;
}
.why-pillar:last-child, .value-pillar:last-child { border-right: none; }
.pillar-number {
  font-family: var(--f-display); font-size: 6rem; font-weight: 300;
  font-style: italic; color: rgba(250,248,243,0.06); line-height: 1;
  margin-bottom: 2rem; user-select: none;
}
.pillar-title { font-family: var(--f-display); font-size: 1.5rem; font-weight: 400; color: var(--cream); line-height: 1.2; margin-bottom: 1.5rem; }
.pillar-title em { font-style: italic; color: var(--gold-lt); }
.pillar-text { font-family: var(--f-body); font-size: 0.92rem; font-weight: 300; color: rgba(250,248,243,0.55); line-height: 1.9; flex: 1; }

/* ─ SPREAD ─ */
.spread {
  position: relative; height: 85vh; overflow: hidden;
  background: var(--ink); display: flex; align-items: center; justify-content: center;
}
.spread-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.35; }
.spread-content { position: relative; z-index: 2; text-align: center; padding: 0 8%; max-width: 1000px; }
.spread-quote {
  font-family: var(--f-display); font-size: clamp(2.8rem, 6vw, 7rem);
  font-weight: 300; font-style: italic; color: var(--cream);
  line-height: 1.05; letter-spacing: -0.01em; margin-bottom: 3rem;
}
.spread-quote strong { font-style: normal; font-weight: 300; color: var(--gold-lt); }
.spread-link {
  display: inline-flex; align-items: center; gap: 0.8rem;
  font-family: var(--f-ui); font-size: 0.62rem; font-weight: 200;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: rgba(250,248,243,0.55); text-decoration: none;
  transition: color 0.3s, gap 0.3s;
  border-bottom: 1px solid rgba(250,248,243,0.2); padding-bottom: 0.4rem;
}
.spread-link:hover { color: var(--cream); gap: 1.2rem; border-bottom-color: var(--cream); }

/* ─ TRUST ─ */
.trust {
  background: var(--parchment);
  border-top: 1px solid rgba(42,61,44,0.08); border-bottom: 1px solid rgba(42,61,44,0.08);
  padding: 5vh 6%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  text-align: center;
}
.trust-label {
  font-family: var(--f-ui); font-size: 0.58rem; font-weight: 200;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--sage);
}
.trust-items {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3.5rem;
  flex-wrap: wrap;
  width: 100%;
}
.trust-img {
  height: 36px; width: auto; max-width: 130px;
  object-fit: contain;
  filter: saturate(0) brightness(0.3);
  opacity: 0.6;
  transition: opacity 0.3s, filter 0.3s;
}
.trust-img:hover { opacity: 1; filter: saturate(0.6) brightness(0.4); }

/* ─ CTA ─ */
.cta { display: grid; grid-template-columns: 1fr 1fr; min-height: 70vh; }
.cta-text { background: var(--forest); padding: 12% 10%; display: flex; flex-direction: column; justify-content: center; }
.cta-overline {
  font-family: var(--f-ui); font-size: 0.6rem; font-weight: 200;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold);
  margin-bottom: 2.5rem; display: flex; align-items: center; gap: 0.8rem;
}
.cta-overline::before { content: ''; display: block; width: 30px; height: 1px; background: var(--gold); }
.cta-headline { font-family: var(--f-display); font-size: clamp(2.2rem, 3.5vw, 4rem); font-weight: 300; color: var(--cream); line-height: 1.12; letter-spacing: -0.01em; margin-bottom: 3rem; }
.cta-headline em { font-style: italic; color: var(--gold-lt); }
.cta-img { position: relative; overflow: hidden; background: var(--forest2); }
.cta-img img { width: 100%; height: 100%; object-fit: cover; opacity: 0.6; display: block; transition: transform 8s var(--ease-out); }
.cta-img:hover img { transform: scale(1.04); }

/* ─ BUTTONS ─ */
.btn-gold {
  font-family: var(--f-ui); font-size: 0.65rem; font-weight: 300;
  letter-spacing: 0.18em; text-transform: uppercase;
  padding: 15px 36px; background: var(--gold); color: var(--cream);
  text-decoration: none; transition: all 0.35s var(--ease-out);
  position: relative; overflow: hidden; display: inline-block;
}
.btn-gold::after {
  content: ''; position: absolute; inset: 0;
  background: var(--forest); transform: translateX(-101%); transition: transform 0.35s var(--ease-out);
}
.btn-gold:hover::after { transform: translateX(0); }
.btn-gold span { position: relative; z-index: 1; }
.btn-outline-gold {
  display: inline-flex; align-items: center; gap: 0.8rem;
  font-family: var(--f-ui); font-size: 0.62rem; font-weight: 300;
  letter-spacing: 0.18em; text-transform: uppercase;
  padding: 14px 32px; border: 1px solid rgba(184,150,90,0.5);
  color: var(--gold-lt); text-decoration: none;
  transition: all 0.35s var(--ease-out); align-self: flex-start;
}
.btn-outline-gold:hover { background: var(--gold); border-color: var(--gold); color: var(--cream); gap: 1.2rem; }

/* ─ ABOUT: PAGE HERO ─ */
.page-hero {
  position: relative; height: 75vh; min-height: 560px;
  overflow: hidden; display: flex; align-items: flex-end; background: var(--forest);
}
.page-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.5; transform: scale(1.04); transition: transform 8s var(--ease-out); }
.page-hero:hover .page-hero-img { transform: scale(1.0); }
.page-hero-vignette {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(26,26,24,0.88) 0%, rgba(26,26,24,0.1) 55%, rgba(26,26,24,0.35) 100%),
              linear-gradient(to right, rgba(26,26,24,0.45) 0%, transparent 60%);
}
.page-hero-content { position: relative; z-index: 2; padding: 0 6% 7%; width: 100%; }
.page-hero-eyebrow {
  font-family: var(--f-ui); font-size: 0.62rem; font-weight: 200;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold-lt);
  margin-bottom: 1.5rem; display: flex; align-items: center; gap: 1rem;
}
.page-hero-eyebrow::before { content: ''; display: block; width: 40px; height: 1px; background: var(--gold); flex-shrink: 0; }
.page-hero-h1 {
  font-family: var(--f-display); font-size: clamp(3rem, 6.5vw, 7rem);
  font-weight: 300; line-height: 0.95; color: var(--cream);
  letter-spacing: -0.02em; overflow: hidden; max-width: 700px;
}
.page-hero-h1 em { font-style: italic; color: var(--parchment); }

/* BREADCRUMB */
.breadcrumb {
  padding: 3vh 6% 0; display: flex; align-items: center; gap: 0.6rem;
  font-family: var(--f-ui); font-size: 0.58rem; font-weight: 200;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--sage);
}
.breadcrumb a { color: var(--sage); text-decoration: none; transition: color 0.3s; }
.breadcrumb a:hover { color: var(--forest); }
.breadcrumb span { opacity: 0.4; }

/* DIVIDER */
.divider { height: 1px; background: rgba(42,61,44,0.1); margin: 0 6%; }

/* ─ ABOUT: STUDIO INTRO ─ */
.studio-intro { padding: 12vh 6% 10vh; display: grid; grid-template-columns: 200px 1fr; gap: 5rem; align-items: start; }
.studio-index { padding-top: 0.6rem; }
.studio-number { font-family: var(--f-display); font-size: 5rem; font-weight: 300; color: rgba(42,61,44,0.08); line-height: 1; font-style: italic; }
.studio-label { font-family: var(--f-ui); font-size: 0.6rem; font-weight: 200; letter-spacing: 0.2em; text-transform: uppercase; color: var(--sage); margin-top: 0.5rem; }
.studio-headline { font-family: var(--f-display); font-size: clamp(2.2rem, 4vw, 4rem); font-weight: 300; line-height: 1.15; color: var(--forest); letter-spacing: -0.01em; margin-bottom: 3rem; }
.studio-headline em { font-style: italic; color: var(--forest2); }
.studio-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.studio-text { font-family: var(--f-body); font-size: 1rem; font-weight: 300; line-height: 1.9; color: rgba(26,26,24,0.65); }

/* ─ FOUNDER ─ */
.founder { display: grid; grid-template-columns: 1.1fr 0.9fr; min-height: 88vh; }
.founder-img { position: relative; overflow: hidden; background: var(--forest); }
.founder-img img { width: 100%; height: 100%; object-fit: cover; display: block; opacity: 0.85; transition: transform 8s var(--ease-out), opacity 0.5s; object-position: center top; }
.founder-img:hover img { transform: scale(1.04); opacity: 0.92; }
.founder-img-caption { position: absolute; bottom: 0; left: 0; right: 0; padding: 6% 8%; background: linear-gradient(to top, rgba(26,26,24,0.65) 0%, transparent 100%); }
.founder-caption-label { font-family: var(--f-ui); font-size: 0.6rem; font-weight: 200; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-lt); margin-bottom: 0.8rem; display: flex; align-items: center; gap: 0.8rem; }
.founder-caption-label::before { content: ''; display: block; width: 24px; height: 1px; background: var(--gold); }
.founder-caption-title { font-family: var(--f-display); font-size: 1.8rem; font-weight: 300; color: var(--cream); line-height: 1.15; font-style: italic; }
.founder-right { background: var(--parchment); padding: 14% 10%; display: flex; flex-direction: column; justify-content: center; }
.founder-label { font-family: var(--f-ui); font-size: 0.6rem; font-weight: 200; letter-spacing: 0.2em; text-transform: uppercase; color: var(--sage); margin-bottom: 2.5rem; display: flex; align-items: center; gap: 0.8rem; }
.founder-label::before { content: ''; display: block; width: 24px; height: 1px; background: var(--sage); }
.founder-name { font-family: var(--f-display); font-size: clamp(2rem, 3vw, 3.2rem); font-weight: 300; color: var(--forest); line-height: 1.05; letter-spacing: -0.01em; margin-bottom: 0.5rem; }
.founder-title { font-family: var(--f-ui); font-size: 0.62rem; font-weight: 200; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 3rem; }
.founder-bio { font-family: var(--f-body); font-size: 0.97rem; font-weight: 300; line-height: 1.95; color: rgba(26,26,24,0.65); margin-bottom: 1.5rem; }
.founder-details { list-style: none; display: flex; flex-direction: column; gap: 0; margin-top: 2.5rem; }
.founder-details li { font-family: var(--f-body); font-size: 0.88rem; color: rgba(26,26,24,0.55); padding: 0.75rem 0; border-bottom: 1px solid rgba(42,61,44,0.08); display: flex; justify-content: space-between; align-items: center; }
.founder-details li:first-child { border-top: 1px solid rgba(42,61,44,0.08); }
.founder-details li strong { font-family: var(--f-ui); font-size: 0.58rem; font-weight: 200; letter-spacing: 0.14em; text-transform: uppercase; color: var(--sage); }
.founder-details li span { font-family: var(--f-ui); font-size: 0.58rem; font-weight: 200; letter-spacing: 0.14em; text-transform: uppercase; color: var(--sage); }

/* ─ APPROACH ─ */
.approach { padding: 12vh 6% 10vh; display: grid; grid-template-columns: 200px 1fr; gap: 5rem; align-items: start; }
.approach-index { padding-top: 0.6rem; }
.approach-headline { font-family: var(--f-display); font-size: clamp(2.2rem, 4vw, 4rem); font-weight: 300; line-height: 1.15; color: var(--forest); letter-spacing: -0.01em; margin-bottom: 4rem; }
.approach-headline em { font-style: italic; color: var(--forest2); }
.approach-steps { display: flex; flex-direction: column; gap: 0; }
.approach-step { display: grid; grid-template-columns: 80px 1fr; gap: 2.5rem; padding: 3rem 0; border-bottom: 1px solid rgba(42,61,44,0.08); align-items: start; }
.approach-step:first-child { border-top: 1px solid rgba(42,61,44,0.08); }
.step-num { font-family: var(--f-display); font-size: 2.8rem; font-weight: 300; font-style: italic; color: rgba(42,61,44,0.12); line-height: 1; padding-top: 0.3rem; transition: color 0.4s; }
.approach-step:hover .step-num { color: var(--gold); }
.step-title { font-family: var(--f-display); font-size: 1.4rem; font-weight: 400; color: var(--forest); margin-bottom: 0.75rem; line-height: 1.1; }
.step-text { font-family: var(--f-body); font-size: 0.95rem; font-weight: 300; line-height: 1.85; color: rgba(26,26,24,0.6); }

/* ─ SERVICES PREVIEW ─ */
.services-preview { display: grid; grid-template-columns: 0.8fr 1.2fr; min-height: 70vh; }
.sp-text { background: var(--parchment); padding: 12% 10%; display: flex; flex-direction: column; justify-content: center; }
.sp-overline { font-family: var(--f-ui); font-size: 0.6rem; font-weight: 200; letter-spacing: 0.22em; text-transform: uppercase; color: var(--sage); margin-bottom: 2.5rem; display: flex; align-items: center; gap: 0.8rem; }
.sp-overline::before { content: ''; display: block; width: 30px; height: 1px; background: var(--sage); }
.sp-headline { font-family: var(--f-display); font-size: clamp(2rem, 3.2vw, 3.6rem); font-weight: 300; color: var(--forest); line-height: 1.1; letter-spacing: -0.01em; margin-bottom: 2.5rem; }
.sp-headline em { font-style: italic; }
.sp-img { position: relative; overflow: hidden; background: var(--forest2); }
.sp-img img { width: 100%; height: 100%; object-fit: cover; opacity: 0.7; display: block; transition: transform 8s var(--ease-out); }
.sp-img:hover img { transform: scale(1.04); }

/* ─ FOOTER ─ */
footer { background: #131411; color: var(--cream); padding: 8vh 6% 4vh; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 4rem; padding-bottom: 6vh; border-bottom: 1px solid rgba(250,248,243,0.06); }
.footer-logo { font-family: var(--f-display); font-size: 2rem; font-weight: 300; color: var(--cream); text-decoration: none; display: block; margin-bottom: 1.5rem; letter-spacing: 0.02em; }
.footer-desc { font-family: var(--f-body); font-size: 0.88rem; font-weight: 300; font-style: italic; color: rgba(250,248,243,0.35); line-height: 1.8; max-width: 260px; }
.footer-col-head { font-family: var(--f-ui); font-size: 0.58rem; font-weight: 200; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 2rem; }
.footer-nav { list-style: none; display: flex; flex-direction: column; gap: 0; }
.footer-nav a { font-family: var(--f-body); font-size: 0.9rem; font-weight: 300; color: rgba(250,248,243,0.4); text-decoration: none; line-height: 1; padding: 0.55rem 0; display: block; transition: color 0.25s, padding-left 0.25s; border-bottom: 1px solid rgba(250,248,243,0.04); }
.footer-nav a:hover { color: var(--cream); padding-left: 0.3rem; }
.footer-contact-item { font-family: var(--f-body); font-size: 0.9rem; font-weight: 300; color: rgba(250,248,243,0.4); line-height: 1; padding: 0.55rem 0; display: block; border-bottom: 1px solid rgba(250,248,243,0.04); }
.footer-contact-item a { color: inherit; text-decoration: none; transition: color 0.25s; }
.footer-contact-item a:hover { color: var(--cream); }
.footer-bottom { padding-top: 3vh; display: flex; justify-content: space-between; align-items: center; }
.footer-copy { font-family: var(--f-ui); font-size: 0.58rem; font-weight: 200; letter-spacing: 0.12em; color: rgba(250,248,243,0.2); text-transform: uppercase; }
.footer-gold-line { width: 60px; height: 1px; background: linear-gradient(to right, var(--gold), transparent); }

/* ─ SCROLL REVEAL ─ */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease-out), transform 1s var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.1s; }
.reveal.d2 { transition-delay: 0.2s; }
.reveal.d3 { transition-delay: 0.3s; }
.reveal.d4 { transition-delay: 0.4s; }
.reveal.d5 { transition-delay: 0.5s; }

/* old mobile menu removed - handled by #agape-mobile-menu in header.php */
.mobile-menu { display: none !important; }
.mobile-menu-backdrop { display: none !important; }
.nav-hamburger { display: none !important; }

/* ─ RESPONSIVE ─ */
@media (max-width: 960px) {
  .nav-center { display: none; }
  .nav-contact { display: none; }
  .nav-btn { display: inline-block; font-size: 0.55rem; padding: 7px 14px; }

  /* layouts */
  .hero-content { grid-template-columns: 1fr; }
  .hero-right { display: none; }
  .intro { grid-template-columns: 1fr; gap: 2rem; }
  .intro-number { display: none; }
  .intro-columns { grid-template-columns: 1fr; }
  .editorial { grid-template-columns: 1fr; }
  .ed-left { height: 60vw; }
  .why-us, .values { grid-template-columns: 1fr; }
  .why-pillar, .value-pillar { border-right: none; border-bottom: 1px solid rgba(250,248,243,0.06); }
  .cta { grid-template-columns: 1fr; }
  .cta-img { height: 50vw; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .trust { flex-wrap: wrap; }
  .studio-intro { grid-template-columns: 1fr; gap: 2rem; }
  .studio-number { display: none; }
  .studio-columns { grid-template-columns: 1fr; }
  .founder { grid-template-columns: 1fr; }
  .founder-img { height: 70vw; }
  .approach { grid-template-columns: 1fr; gap: 2rem; }
  .services-preview { grid-template-columns: 1fr; }
  .sp-img { height: 50vw; }
}

@media (max-width: 480px) {
  #nav { padding: 0 4%; height: 64px; }
  .nav-logo { font-size: 0.95rem; }
  .nav-btn { font-size: 0.55rem; padding: 7px 12px; }
  body { cursor: auto; }
  .cursor, .cursor-ring { display: none; }
}

/* ─ CORPORATE CLIENTS ─ */
.corporate {
  background: var(--forest);
  padding: 8vh 6%;
  border-top: 1px solid rgba(250,248,243,0.06);
}
.corporate-inner {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}
.corporate-label {
  font-family: var(--f-ui);
  font-size: 0.6rem;
  font-weight: 200;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(250,248,243,0.35);
  margin-bottom: 3rem;
}
.corporate-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3.5rem;
  flex-wrap: wrap;
  row-gap: 2rem;
}
.corp-logo {
  height: 32px;
  width: auto;
  max-width: 160px;
  color: rgba(250,248,243,0.25);
  transition: color 0.4s var(--ease-out);
  flex-shrink: 0;
  overflow: visible;
}
.corp-logo:hover { color: rgba(250,248,243,0.55); }

@media (max-width: 960px) {
  .corporate-logos { gap: 2.5rem; }
  .corp-logo { height: 28px; }
}

/* ── CONTACT PAGE ─────────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  min-height: 80vh;
  gap: 0;
}
.contact-info {
  background: var(--forest);
  padding: 10vh 8% 10vh 6%;
  display: flex;
  flex-direction: column;
}
.contact-info-headline {
  font-family: var(--f-display);
  font-size: clamp(2rem, 3vw, 3.2rem);
  font-weight: 300;
  color: var(--cream);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 1.5rem;
}
.contact-info-text {
  font-family: var(--f-body);
  font-size: 0.95rem;
  font-weight: 300;
  color: rgba(250,248,243,0.85);
  line-height: 1.85;
  margin-bottom: 3rem;
}
.contact-details { display: flex; flex-direction: column; gap: 0; margin-bottom: 3rem; }
.contact-detail-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(250,248,243,0.18);
  text-decoration: none;
  transition: padding-left 0.3s;
}
a.contact-detail-item { outline: none; cursor: pointer; }
a.contact-detail-item:hover { padding-left: 0.3rem; }
.contact-detail-label {
  font-family: var(--f-ui);
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(250,248,243,0.65);
}
.contact-detail-value {
  font-family: var(--f-body);
  font-size: 0.92rem;
  color: #fff;
  font-weight: 400;
}
.contact-wa-inline .contact-detail-value { color: var(--gold-lt); }
.contact-reply-note {
  font-family: var(--f-ui);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  color: rgba(250,248,243,0.45);
  margin-top: auto;
}
.contact-form-wrap {
  background: #f7f4ee;
  padding: 8vh 8%;
}
.contact-steps {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 3rem;
  background: rgba(255,255,255,0.6);
  border: 1px solid rgba(42,61,44,0.1);
  border-radius: 3px;
  padding: 0.9rem 1.2rem;
}
.contact-step {
  display: flex;
  align-items: center;
  gap: 10px;
}
.step-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(42,61,44,0.2);
  transition: background 0.4s;
  flex-shrink: 0;
}
.contact-step.active .step-dot { background: var(--forest); }
.step-label {
  font-family: var(--f-ui);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(42,61,44,0.5);
  transition: color 0.4s;
}
.contact-step.active .step-label { color: var(--forest); }
.contact-step-line {
  flex: 1;
  height: 1px;
  background: rgba(42,61,44,0.18);
  margin: 0 1rem;
}
.contact-field { margin-bottom: 1.6rem; }
.contact-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.contact-label {
  display: block;
  font-family: var(--f-ui);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(42,61,44,0.85);
  margin-bottom: 0.55rem;
}
.contact-input {
  width: 100%;
  background: #fff;
  border: 1px solid rgba(42,61,44,0.18);
  border-radius: 3px;
  padding: 0.85rem 1rem;
  font-family: var(--f-body);
  font-size: 0.92rem;
  font-weight: 300;
  color: var(--ink);
  outline: none;
  transition: border-color 0.3s, box-shadow 0.3s;
  box-sizing: border-box;
  -webkit-appearance: none;
}
.contact-input:focus {
  border-color: var(--forest);
  box-shadow: 0 0 0 3px rgba(42,61,44,0.07);
}
.contact-input::placeholder { color: rgba(42,61,44,0.35); }
.contact-select { cursor: pointer; }
.contact-textarea { resize: vertical; min-height: 100px; line-height: 1.7; }
.contact-budget-group {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  margin-top: 0.5rem;
}
.budget-option {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  padding: 0.65rem 0.9rem;
  border: 1px solid rgba(42,61,44,0.18);
  border-radius: 3px;
  background: #fff;
  transition: border-color 0.3s, background 0.3s;
}
.budget-option:hover { border-color: rgba(42,61,44,0.5); }
.budget-option input[type="radio"] { display: none; }
.budget-option input[type="radio"]:checked + span { color: var(--forest); font-weight: 400; }
.budget-option:has(input:checked) { border-color: var(--forest); background: rgba(42,61,44,0.04); }
.budget-option span {
  font-family: var(--f-ui);
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  color: rgba(42,61,44,0.75);
  transition: color 0.3s;
}
.contact-next-btn, .contact-submit-btn {
  margin-top: 2rem;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--f-ui);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--cream);
  background: var(--forest);
  border: none;
  padding: 1rem 2rem;
  cursor: pointer;
  transition: background 0.3s, gap 0.3s;
}
.contact-next-btn:hover, .contact-submit-btn:hover { background: var(--ink); gap: 1rem; }
.contact-submit-btn:disabled { opacity: 0.6; cursor: not-allowed; }
.contact-back-btn {
  background: transparent;
  border: none;
  font-family: var(--f-ui);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: rgba(42,61,44,0.55);
  cursor: pointer;
  padding: 0;
  transition: color 0.3s;
}
.contact-back-btn:hover { color: var(--forest); }
.contact-form-footer { display: flex; align-items: center; gap: 2rem; margin-top: 0.5rem; }
.contact-error {
  font-family: var(--f-ui);
  font-size: 0.72rem;
  color: #a85555;
  margin-top: 0.5rem;
  letter-spacing: 0.05em;
}

/* FAQ */
.contact-faq { padding: 12vh 6%; background: var(--ink); }
.contact-faq-inner { max-width: 760px; margin: 0 auto; }
.contact-faq-label {
  font-family: var(--f-ui);
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
}
.contact-faq-headline {
  font-family: var(--f-display);
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 300;
  color: var(--cream);
  line-height: 1.15;
  margin-bottom: 4rem;
}
.contact-faq-headline em { font-style: italic; color: var(--gold-lt); }
.faq-list { display: flex; flex-direction: column; }
.faq-item { border-top: 1px solid rgba(250,248,243,0.07); }
.faq-item:last-child { border-bottom: 1px solid rgba(250,248,243,0.12); }
.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 1.4rem 0;
  font-family: var(--f-body);
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--cream);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  transition: color 0.3s;
}
.faq-question:hover { color: var(--gold-lt); }
.faq-question::after {
  content: '+';
  font-size: 1.2rem;
  font-weight: 200;
  color: var(--gold);
  transition: transform 0.3s;
  flex-shrink: 0;
}
.faq-question[aria-expanded="true"]::after { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  font-family: var(--f-body);
  font-size: 0.88rem;
  font-weight: 300;
  color: rgba(250,248,243,0.5);
  line-height: 1.85;
  padding-bottom: 0;
  transition: max-height 0.4s ease, padding-bottom 0.4s;
}
.faq-question[aria-expanded="true"] + .faq-answer { padding-bottom: 1.5rem; }

/* ── FLOATING WHATSAPP ─────────────────────────────────────────── */
#wa-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--forest);
  color: var(--cream);
  text-decoration: none;
  padding: 10px 18px;
  border-radius: 40px;
  font-family: var(--f-ui);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.5s, transform 0.5s, padding 0.3s, background 0.3s;
  pointer-events: none;
  max-width: 52px;
  overflow: hidden;
  white-space: nowrap;
}
#wa-float.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
#wa-float:hover {
  background: var(--ink);
  max-width: 220px;
  padding: 10px 20px;
}
#wa-float svg { flex-shrink: 0; }
#wa-float-label {
  opacity: 0;
  max-width: 0;
  overflow: hidden;
  transition: opacity 0.3s, max-width 0.3s;
}
#wa-float:hover #wa-float-label {
  opacity: 1;
  max-width: 200px;
}
#wa-float-number {
  font-size: 0.65rem;
  opacity: 0.6;
  display: none;
}
#wa-float:hover #wa-float-number { display: inline; }

/* CONTACT page — nascondi floating button */
body.page-contact #wa-float { display: none !important; }

/* ── CONTACT RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
  .contact-info { padding: 8vh 6%; }
  .contact-form-wrap { padding: 6vh 6%; }
  .contact-budget-group { grid-template-columns: repeat(2, 1fr); }
  .contact-field-row { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .contact-budget-group { grid-template-columns: 1fr 1fr; }
  #wa-float { bottom: 20px; right: 20px; padding: 10px 14px; }
}

/* ── CONTACT: studio number piccolo nella sidebar ─────────────────── */
.contact-studio-number {
  font-size: 1rem;
  margin-bottom: 2rem;
  color: rgba(250,248,243,0.2);
  letter-spacing: 0.1em;
}

/* ── THANK YOU: fix btn-outline-gold centrato su mobile ─────────── */
@media (max-width: 600px) {
  .thankyou-actions {
    align-items: center;
  }
  .thankyou-actions .btn-outline-gold {
    align-self: center;
  }
}

/* ── THANK YOU PAGE ──────────────────────────────────────────────── */
.thankyou-hero {
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ink);
  padding: 10vh 6%;
}
.thankyou-content {
  text-align: center;
  max-width: 600px;
}
.thankyou-icon {
  margin-bottom: 2.5rem;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease-out) 0.2s forwards;
}
.thankyou-eyebrow {
  font-family: var(--f-ui);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease-out) 0.3s forwards;
}
.thankyou-headline {
  font-family: var(--f-display);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 300;
  color: var(--cream);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 2rem;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease-out) 0.4s forwards;
}
.thankyou-headline em { font-style: italic; color: var(--gold-lt); }
.thankyou-text {
  font-family: var(--f-body);
  font-size: 1rem;
  font-weight: 300;
  color: rgba(250,248,243,0.6);
  line-height: 1.85;
  margin-bottom: 3rem;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease-out) 0.5s forwards;
}
.thankyou-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  margin-bottom: 3rem;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease-out) 0.6s forwards;
}
.thankyou-secondary-link {
  font-family: var(--f-ui);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(250,248,243,0.45);
  text-decoration: none;
  transition: color 0.3s;
}
.thankyou-secondary-link:hover { color: var(--cream); }
.thankyou-contact {
  opacity: 0;
  animation: fadeUp 0.8s var(--ease-out) 0.7s forwards;
}
.thankyou-contact p {
  font-family: var(--f-ui);
  font-size: 0.75rem;
  color: rgba(250,248,243,0.3);
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}
.thankyou-wa-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--f-ui);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  color: var(--cream);
  text-decoration: none;
  border: 1px solid rgba(250,248,243,0.15);
  padding: 10px 20px;
  border-radius: 40px;
  transition: border-color 0.3s, color 0.3s;
}
.thankyou-wa-btn:hover { border-color: var(--gold); color: var(--gold); }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
@media (max-width: 600px) {
  .thankyou-actions { flex-direction: column; gap: 1.5rem; }
}

/* =========================================================
   BLOG — ARCHIVE (lista post)
   ========================================================= */

/* HERO */
.blog-hero {
  position: relative;
  height: 70vh; min-height: 480px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  background: var(--forest);
}
.blog-hero-bg {
  position: absolute; inset: 0;
  background: url('https://images.unsplash.com/photo-1519225421980-715cb0215aed?w=1600&q=80') center/cover no-repeat;
  opacity: 0.35;
}
.blog-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(26,26,24,0.4) 0%, rgba(26,26,24,0.7) 100%);
}
.blog-hero-content {
  position: relative; z-index: 2;
  text-align: center; color: var(--cream);
  padding: 0 2rem;
}
.blog-hero-ornament {
  display: flex; align-items: center; gap: 0.75rem;
  justify-content: center; margin-bottom: 1rem;
  color: var(--gold-lt);
}
.blog-hero-orn-line {
  display: block; width: 40px; height: 1px;
  background: currentColor; opacity: 0.5;
}
.blog-hero-eyebrow {
  font-family: var(--f-ui); font-size: 0.65rem;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold-lt); margin-bottom: 1rem;
}
.blog-hero-title {
  font-family: var(--f-display); font-size: clamp(2.6rem, 6vw, 4.5rem);
  font-weight: 300; line-height: 1.1; margin-bottom: 1rem;
}
.blog-hero-title em { font-style: italic; color: var(--gold-lt); }
.blog-hero-sub {
  font-family: var(--f-ui); font-size: 0.8rem;
  letter-spacing: 0.08em; opacity: 0.7;
}
.blog-hero-scroll {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  color: var(--cream); font-family: var(--f-ui); font-size: 0.6rem;
  letter-spacing: 0.15em; text-transform: uppercase; opacity: 0.5;
}

/* FILTRI */
.blog-filters {
  border-bottom: 1px solid rgba(42,61,44,0.1);
  background: var(--cream);
  position: sticky; top: 64px; z-index: 40;
}
.blog-filters-inner {
  max-width: 1200px; margin: 0 auto;
  padding: 0 2rem;
  display: flex; gap: 0; overflow-x: auto;
  scrollbar-width: none;
}
.blog-filters-inner::-webkit-scrollbar { display: none; }
.blog-filter-btn {
  font-family: var(--f-ui); font-size: 0.65rem;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--ink); opacity: 0.45;
  padding: 1.1rem 1.5rem;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  white-space: nowrap;
  transition: opacity 0.2s, border-color 0.2s;
}
.blog-filter-btn:hover { opacity: 0.75; }
.blog-filter-btn.active {
  opacity: 1; color: var(--forest);
  border-bottom-color: var(--forest);
}

/* GRIGLIA */
.blog-grid-section { padding: 5rem 2rem 6rem; }
.blog-grid-inner { max-width: 1200px; margin: 0 auto; }

/* Featured */
.blog-featured {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-bottom: 4rem;
  border: 1px solid rgba(42,61,44,0.1);
}
.blog-featured-img-wrap {
  position: relative; overflow: hidden;
  aspect-ratio: 4/3; display: block;
}
.blog-featured-img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.8s var(--ease-out);
}
.blog-featured:hover .blog-featured-img { transform: scale(1.04); }
.blog-featured-img-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(26,26,24,0.15) 0%, transparent 60%);
}
.blog-featured-cat {
  position: absolute; top: 1.5rem; left: 1.5rem;
  font-family: var(--f-ui); font-size: 0.6rem;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--cream);
  background: rgba(42,61,44,0.75);
  padding: 0.3rem 0.75rem;
  backdrop-filter: blur(4px);
}
.blog-featured-body {
  padding: 3.5rem 3rem;
  display: flex; flex-direction: column; justify-content: center;
  background: var(--parchment);
}
.blog-featured-meta {
  font-family: var(--f-ui); font-size: 0.62rem;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink); opacity: 0.45;
  margin-bottom: 1.25rem;
}
.blog-meta-sep { margin: 0 0.5rem; }
.blog-featured-title {
  font-family: var(--f-display); font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 300; line-height: 1.2; margin-bottom: 1rem;
}
.blog-featured-title a {
  color: var(--ink); text-decoration: none;
  transition: color 0.2s;
}
.blog-featured-title a:hover { color: var(--forest); }
.blog-featured-excerpt {
  font-size: 0.95rem; line-height: 1.7;
  color: var(--ink); opacity: 0.65;
  margin-bottom: 2rem;
}
.blog-read-btn {
  display: inline-flex; align-items: center; gap: 0.75rem;
  font-family: var(--f-ui); font-size: 0.65rem;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--forest); text-decoration: none;
  transition: gap 0.3s;
}
.blog-read-btn:hover { gap: 1.1rem; }

/* Griglia secondaria */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.blog-card {
  display: flex; flex-direction: column;
  border: 1px solid rgba(42,61,44,0.08);
  overflow: hidden;
  transition: box-shadow 0.3s;
}
.blog-card:hover { box-shadow: 0 8px 32px rgba(42,61,44,0.1); }
.blog-card--wide {
  grid-column: span 2;
  flex-direction: row;
}
.blog-card-img-wrap {
  position: relative; overflow: hidden;
  aspect-ratio: 3/2; display: block;
}
.blog-card--wide .blog-card-img-wrap {
  aspect-ratio: auto; flex: 1;
}
.blog-card-img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.7s var(--ease-out);
}
.blog-card:hover .blog-card-img { transform: scale(1.05); }
.blog-card-img-overlay {
  position: absolute; inset: 0;
  background: rgba(26,26,24,0.08);
  transition: background 0.3s;
}
.blog-card:hover .blog-card-img-overlay { background: rgba(26,26,24,0.04); }
.blog-card-img-placeholder {
  width: 100%; height: 100%;
  background: var(--parchment);
  display: flex; align-items: center; justify-content: center;
}
.blog-card-body {
  padding: 1.75rem;
  display: flex; flex-direction: column; flex: 1;
  background: var(--cream);
}
.blog-card--wide .blog-card-body { padding: 2.5rem; }
.blog-card-cat {
  font-family: var(--f-ui); font-size: 0.58rem;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold); text-decoration: none;
  margin-bottom: 0.75rem; display: block;
}
.blog-card-title {
  font-family: var(--f-display); font-size: 1.35rem;
  font-weight: 300; line-height: 1.25;
  margin-bottom: 0.75rem;
}
.blog-card-title a { color: var(--ink); text-decoration: none; }
.blog-card-title a:hover { color: var(--forest); }
.blog-card-excerpt {
  font-size: 0.88rem; line-height: 1.65;
  color: var(--ink); opacity: 0.6;
  margin-bottom: 1rem;
}
.blog-card-footer {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: auto; padding-top: 1rem;
  border-top: 1px solid rgba(42,61,44,0.08);
}
.blog-card-date {
  font-family: var(--f-ui); font-size: 0.6rem;
  letter-spacing: 0.1em; color: var(--ink); opacity: 0.4;
}
.blog-card-arrow {
  color: var(--forest); opacity: 0.6;
  transition: opacity 0.2s, transform 0.3s;
}
.blog-card-arrow:hover { opacity: 1; transform: translateX(4px); }

/* Paginazione */
.blog-pagination {
  margin-top: 4rem; text-align: center;
  display: flex; gap: 0.5rem; justify-content: center;
}
.blog-pagination .page-numbers {
  font-family: var(--f-ui); font-size: 0.65rem;
  letter-spacing: 0.12em; padding: 0.6rem 1rem;
  border: 1px solid rgba(42,61,44,0.2);
  color: var(--ink); text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.blog-pagination .page-numbers.current,
.blog-pagination .page-numbers:hover {
  background: var(--forest); color: var(--cream);
  border-color: var(--forest);
}

/* =========================================================
   BLOG — SINGLE POST
   ========================================================= */

/* Hero post */
.post-hero {
  position: relative;
  height: 75vh; min-height: 500px;
  display: flex; align-items: flex-end;
  overflow: hidden;
  background: var(--ink);
}
.post-hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image: var(--post-bg);
  background-size: cover; background-position: center;
  opacity: 0.6;
}
.post-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    to top,
    rgba(26,26,24,0.85) 0%,
    rgba(26,26,24,0.45) 50%,
    rgba(26,26,24,0.55) 100%
  );
}
.post-hero-content {
  position: relative; z-index: 2;
  padding: 4rem 3rem;
  max-width: 900px; color: var(--cream);
}
.post-eyebrow { margin-bottom: 1rem; }
.post-cat-link {
  font-family: var(--f-ui); font-size: 0.6rem;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold-lt); text-decoration: none;
  margin-right: 0.75rem;
}
.post-title {
  font-family: var(--f-display); font-size: clamp(2rem, 5vw, 3.8rem);
  font-weight: 300; line-height: 1.12; margin-bottom: 1.5rem;
}
.post-meta {
  font-family: var(--f-ui); font-size: 0.62rem;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--cream); opacity: 0.5;
}
.post-meta-sep { margin: 0 0.6rem; }
.post-hero-scroll-cue {
  position: absolute; bottom: 2rem; right: 3rem; z-index: 2;
  opacity: 0.4;
}

/* Intro */
.post-intro {
  background: var(--parchment);
  padding: 3rem 2rem;
  border-bottom: 1px solid rgba(42,61,44,0.1);
}
.post-container {
  max-width: 860px; margin: 0 auto;
  padding: 0 1rem;
  position: relative;
}
.post-intro .post-container { display: block; }
.post-intro-text {
  font-family: var(--f-display); font-size: clamp(1.1rem, 2vw, 1.45rem);
  font-weight: 300; line-height: 1.65;
  font-style: italic; color: var(--ink); opacity: 0.8;
  text-align: center;
}

/* Corpo articolo */
.post-body {
  padding: 5rem 2rem;
  background: var(--cream);
}
/* Row flex: solo share + content affiancati */
.post-row {
  display: flex;
  gap: 3rem;
  align-items: flex-start;
}

/* Sidebar share */
.post-share {
  display: flex; flex-direction: column;
  align-items: center; gap: 0.75rem;
  position: sticky; top: 100px;
  align-self: flex-start;
  width: 44px; flex-shrink: 0;
  padding-top: 0.5rem;
}
.post-share-label {
  font-family: var(--f-ui); font-size: 0.55rem;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--ink); opacity: 0.4;
  writing-mode: vertical-rl;
}
.post-share-btn {
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(42,61,44,0.15);
  color: var(--ink); opacity: 0.5;
  text-decoration: none;
  transition: opacity 0.2s, border-color 0.2s;
}
.post-share-btn:hover { opacity: 1; border-color: var(--forest); }
.post-share-divider {
  width: 1px; height: 30px;
  background: rgba(42,61,44,0.15);
  margin-top: 0.25rem;
}

/* Contenuto articolo */
.post-content {
  flex: 1; min-width: 0;
  font-size: 1.05rem; line-height: 1.85;
  color: var(--ink);
}
.post-content h2 {
  font-family: var(--f-display); font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 300; line-height: 1.2;
  margin: 3rem 0 1.25rem;
  color: var(--forest);
}
.post-content h3 {
  font-family: var(--f-display); font-size: 1.3rem;
  font-weight: 400; margin: 2rem 0 0.75rem;
}
.post-content p { margin-bottom: 1.5rem; }
.post-content img {
  max-width: 100% !important;
  width: auto !important;
  height: auto !important;
  margin: 2.5rem auto;
  display: block;
  border-radius: 2px;
  /* override Wix inline styles */
  position: static !important;
  float: none !important;
  transform: none !important;
}
/* Wix residue cleanup */
.post-content [data-id="content-viewer"],
.post-content [data-hook],
.post-content [class*="wix"],
.post-content [class*="wow-"] {
  all: revert;
  width: 100% !important;
  max-width: 100% !important;
  display: block;
}
/* Nascondi icone widget Wix residue (frecce zoom/lightbox/gallery) */
.post-content wow-image,
.post-content wow-iframe,
.post-content wix-image,
.post-content wix-video,
.post-content wix-iframe,
.post-content wix-gallery,
.post-content [class*="zoom"],
.post-content [class*="lightbox"],
.post-content [class*="slick-"],
.post-content [class*="gallery-control"] {
  display: none !important;
}
/* Limiti aggressivi su SVG inline (icone giganti residue) */
.post-content > svg,
.post-content > div > svg,
.post-content figure > svg {
  max-width: 32px !important;
  max-height: 32px !important;
  display: none !important;  /* Sicurezza extra: nascondiamo SVG standalone nel content */
}
.post-content figure {
  margin: 2.5rem 0;
  max-width: 100%;
}
.post-content figure img {
  width: 100% !important;
  max-width: 100% !important;
}
.post-content ul, .post-content ol {
  padding-left: 1.5rem; margin-bottom: 1.5rem;
}
.post-content li { margin-bottom: 0.5rem; }
.post-content a { color: var(--forest); }
.post-content blockquote {
  border-left: 2px solid var(--gold);
  padding: 1rem 1.5rem; margin: 2.5rem 0;
  font-family: var(--f-display); font-size: 1.3rem;
  font-style: italic; color: var(--ink); opacity: 0.8;
}
.post-content figcaption {
  font-family: var(--f-ui); font-size: 0.65rem;
  letter-spacing: 0.08em; text-align: center;
  margin-top: 0.75rem; opacity: 0.45;
}

/* Tags */
.post-tags {
  display: flex; flex-wrap: wrap; gap: 0.5rem;
  margin-top: 3rem; padding-top: 2rem;
  border-top: 1px solid rgba(42,61,44,0.1);
}
.post-tag {
  font-family: var(--f-ui); font-size: 0.6rem;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink); text-decoration: none;
  padding: 0.4rem 0.9rem;
  border: 1px solid rgba(42,61,44,0.2);
  transition: background 0.2s, color 0.2s;
}
.post-tag:hover { background: var(--forest); color: var(--cream); }

/* CTA fine articolo */
.post-cta-block {
  margin-top: 4rem; padding-top: 3rem;
  border-top: 1px solid rgba(42,61,44,0.1);
}
.post-cta-inner {
  background: var(--forest);
  color: var(--cream);
  padding: 4rem 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.post-cta-inner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(184,150,90,0.06) 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: 0.5;
  pointer-events: none;
}
.post-cta-deco {
  display: flex; align-items: center; gap: 0.75rem;
  justify-content: center; margin-bottom: 1.5rem;
  color: var(--gold);
  position: relative; z-index: 1;
}
.post-cta-label {
  font-family: var(--f-ui); font-size: 0.62rem;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 0.75rem;
  position: relative; z-index: 1;
}
.post-cta-headline {
  font-family: var(--f-display); font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 300; line-height: 1.2; margin-bottom: 1rem;
  color: var(--cream);
  position: relative; z-index: 1;
}
.post-cta-headline em {
  font-style: italic;
  color: var(--gold-lt);
  font-weight: 300;
}
.post-cta-sub {
  font-size: 0.95rem; line-height: 1.7;
  color: var(--cream); opacity: 0.75;
  max-width: 480px; margin: 0 auto 2rem;
  position: relative; z-index: 1;
}
.post-cta-btn {
  display: inline-flex; align-items: center;
  font-family: var(--f-ui); font-size: 0.65rem;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--forest); background: var(--cream);
  padding: 1rem 2.5rem; text-decoration: none;
  transition: background 0.3s, color 0.3s;
  position: relative; z-index: 1;
}
.post-cta-btn:hover { background: var(--gold); color: var(--cream); }

/* =========================================================
   ARTICOLI CORRELATI (sostituisce post-nav prev/next)
   ========================================================= */
.post-related {
  background: var(--parchment);
  padding: 6rem 2rem 5rem;
  border-top: 1px solid rgba(42,61,44,0.06);
}
.post-related-inner {
  max-width: 1280px;
  margin: 0 auto;
}
.post-related-header {
  text-align: center;
  margin-bottom: 4rem;
}
.post-related-deco {
  display: flex; align-items: center; justify-content: center;
  gap: 0.75rem; margin-bottom: 1.5rem;
  color: var(--gold);
}
.post-related-eyebrow {
  font-family: var(--f-ui); font-size: 0.62rem;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1rem;
}
.post-related-title {
  font-family: var(--f-display);
  font-size: clamp(1.8rem, 3.2vw, 2.8rem);
  font-weight: 300; line-height: 1.2;
  color: var(--ink);
}
.post-related-title em {
  font-style: italic;
  color: var(--forest);
  font-weight: 300;
}
.post-related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-bottom: 4rem;
}

/* Card relata */
.post-related-card {
  display: flex; flex-direction: column;
  background: var(--cream);
  transition: transform 0.4s cubic-bezier(0.16,1,0.3,1);
}
.post-related-card:hover { transform: translateY(-4px); }

.post-related-card-img-wrap {
  position: relative; display: block;
  aspect-ratio: 4/5;
  overflow: hidden;
  background: rgba(42,61,44,0.05);
}
.post-related-card-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16,1,0.3,1);
}
.post-related-card:hover .post-related-card-img { transform: scale(1.05); }
.post-related-card-img-placeholder {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(42,61,44,0.05), rgba(184,150,90,0.05));
}
.post-related-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(26,26,24,0.15), transparent 50%);
  pointer-events: none;
}

.post-related-card-body {
  padding: 1.75rem 1.5rem 2rem;
  display: flex; flex-direction: column;
  gap: 0.75rem;
  flex: 1;
}
.post-related-card-cat {
  font-family: var(--f-ui); font-size: 0.58rem;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold);
}
.post-related-card-title {
  font-family: var(--f-display);
  font-size: 1.25rem; font-weight: 300;
  line-height: 1.3;
  flex: 1;
}
.post-related-card-title a {
  color: var(--ink); text-decoration: none;
  transition: color 0.2s;
}
.post-related-card-title a:hover { color: var(--forest); }
.post-related-card-date {
  font-family: var(--f-ui); font-size: 0.6rem;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink); opacity: 0.45;
  margin-top: auto;
}

/* Back to journal in fondo alla sezione related */
.post-related-back {
  text-align: center;
  padding-top: 1rem;
  border-top: 1px solid rgba(42,61,44,0.08);
}

/* Back to blog (riusato dentro post-related-back) */
.post-back-link {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--f-ui); font-size: 0.65rem;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink); opacity: 0.55; text-decoration: none;
  transition: opacity 0.2s, gap 0.3s;
  padding: 1.5rem 1rem;
}
.post-back-link:hover { opacity: 1; gap: 1rem; }

/* =========================================================
   RESPONSIVE BLOG
   ========================================================= */
@media (max-width: 900px) {
  .blog-featured { grid-template-columns: 1fr; }
  .blog-featured-img-wrap { aspect-ratio: 16/9; }
  .blog-grid { grid-template-columns: 1fr 1fr; }
  .blog-card--wide { grid-column: span 2; flex-direction: column; }
  .blog-card--wide .blog-card-img-wrap { aspect-ratio: 16/9; }
  .post-body .post-row { flex-direction: column; gap: 1.5rem; }
  .post-share {
    flex-direction: row; flex-wrap: wrap;
    position: static; width: auto;
    padding-top: 0; border-top: 1px solid rgba(42,61,44,0.1);
    padding-top: 1.5rem;
  }
  .post-share-label { writing-mode: horizontal-tb; }
  .post-share-divider { display: none; }
  .post-related-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .post-related-card:nth-child(3) { grid-column: span 2; }
  .post-related-card:nth-child(3) .post-related-card-img-wrap { aspect-ratio: 16/9; }
  .post-related { padding: 4rem 1.5rem 3rem; }
}
@media (max-width: 600px) {
  .blog-grid { grid-template-columns: 1fr; }
  .blog-card--wide { grid-column: span 1; }
  .blog-hero-title { font-size: 2.2rem; }
  .blog-featured-body { padding: 2rem 1.5rem; }
  .post-hero-content { padding: 2.5rem 1.5rem; }
  .post-cta-inner { padding: 2.5rem 1.5rem; }
  .post-related-grid { grid-template-columns: 1fr; gap: 2rem; }
  .post-related-card:nth-child(3) { grid-column: span 1; }
  .post-related-card:nth-child(3) .post-related-card-img-wrap { aspect-ratio: 4/5; }
  .post-related-title { font-size: 1.6rem; }
}
