/* ============================================
   NONNA FLORY — style.css
   Artigianato contemporaneo con anima italiana
   ============================================ */

/* ---------- 1. CSS VARIABLES ---------- */
:root {
  /* Colori */
  --ivory: #F5F0E7;
  --paper: #FBF8F1;
  --paper-warm: #F0E9DC;
  --ink: #191714;
  --ink-soft: #3a342d;
  --ink-muted: #6f675c;
  --sage: #6E755B;
  --sage-deep: #565b48;
  --terracotta: #B86745;
  --terracotta-soft: #c97e5d;
  --butter: #D8B96A;
  --line: rgba(25, 23, 20, 0.14);
  --line-soft: rgba(25, 23, 20, 0.07);

  /* Tipografia */
  --serif: 'Cormorant Garamond', 'Times New Roman', Georgia, serif;
  --sans: 'DM Sans', system-ui, -apple-system, sans-serif;

  /* Layout */
  --container: 1340px;
  --container-wide: 1480px;
  --gutter: clamp(20px, 5vw, 80px);
  --section-y: clamp(80px, 11vw, 160px);
  --section-y-sm: clamp(60px, 7vw, 100px);

  /* Motion */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- 2. RESET ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--sans);
  background: var(--ivory);
  color: var(--ink);
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; background: none; border: none; cursor: pointer; color: inherit; }
ul { list-style: none; }

::selection { background: var(--terracotta); color: var(--ivory); }

.skip-link {
  position: absolute;
  top: -100px;
  left: 0;
  background: var(--ink);
  color: var(--ivory);
  padding: 12px 20px;
  z-index: 999;
  font-size: 14px;
}
.skip-link:focus { top: 0; }

:focus-visible {
  outline: 2px solid var(--terracotta);
  outline-offset: 3px;
}

/* ---------- 3. TYPOGRAPHY ---------- */
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--ink);
}

em, i { font-style: italic; }

.eyebrow,
.section-eyebrow,
.micro-label {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sage);
}

.micro-label {
  font-size: 10px;
  letter-spacing: 0.25em;
}

.section-title {
  font-size: clamp(2.4rem, 5.5vw, 4.4rem);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.02em;
}

.section-title em {
  color: var(--terracotta);
  font-weight: 400;
}

.section-lead {
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  color: var(--ink-soft);
  line-height: 1.65;
  max-width: 38ch;
}

/* ---------- 4. LAYOUT ---------- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

section {
  padding-top: var(--section-y);
  padding-bottom: var(--section-y);
  position: relative;
}

.section-head {
  margin-bottom: clamp(48px, 6vw, 90px);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.section-head .section-eyebrow {
  margin-bottom: 4px;
}

.section-head-split {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: end;
}

.big-num {
  font-family: var(--serif);
  font-size: clamp(3rem, 5vw, 4.5rem);
  font-weight: 400;
  line-height: 1;
  color: var(--terracotta);
  font-style: italic;
}

/* ---------- 5. HEADER ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: background-color 0.4s var(--ease), box-shadow 0.4s var(--ease), padding 0.4s var(--ease);
  padding: 22px 0;
}

.site-header.is-scrolled {
  background: rgba(245, 240, 231, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--line-soft);
  padding: 14px 0;
}

.header-inner {
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.brand {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-name {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ink);
}

.site-header:not(.is-scrolled) .brand-name { color: var(--ink); }

.brand-tag {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sage);
  margin-top: 2px;
}

.primary-nav ul {
  display: flex;
  gap: 36px;
  align-items: center;
}

.primary-nav a {
  font-size: 14px;
  font-weight: 400;
  color: var(--ink-soft);
  position: relative;
  padding: 6px 0;
  transition: color 0.3s var(--ease);
}

.primary-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--terracotta);
  transition: width 0.3s var(--ease);
}

.primary-nav a:hover {
  color: var(--terracotta);
}
.primary-nav a:hover::after { width: 100%; }

.header-cta {
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--ink);
  border: 1px solid var(--ink);
  padding: 11px 22px;
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease);
}

.header-cta:hover {
  background: var(--ink);
  color: var(--ivory);
}

.menu-toggle {
  display: none;
  width: 36px;
  height: 36px;
  position: relative;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
}

.menu-line {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.4s var(--ease), opacity 0.3s var(--ease);
}

.menu-toggle[aria-expanded="true"] .menu-line:nth-child(1) {
  transform: translateY(3.75px) rotate(45deg);
}
.menu-toggle[aria-expanded="true"] .menu-line:nth-child(2) {
  transform: translateY(-3.75px) rotate(-45deg);
}

/* ---------- MOBILE NAV ---------- */
.mobile-nav {
  position: fixed;
  inset: 0;
  background: var(--ivory);
  z-index: 99;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-20px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}

.mobile-nav.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.mobile-nav-inner {
  height: 100%;
  padding: 120px var(--gutter) 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.mobile-nav ul {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mobile-nav li a {
  display: flex;
  align-items: baseline;
  gap: 18px;
  font-family: var(--serif);
  font-size: clamp(2rem, 7vw, 3rem);
  font-weight: 400;
  color: var(--ink);
  padding: 8px 0;
  border-bottom: 1px solid var(--line-soft);
  transition: color 0.3s var(--ease), padding-left 0.4s var(--ease);
}

.mobile-nav li a:hover {
  color: var(--terracotta);
  padding-left: 10px;
}

.mn-num {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--sage);
  font-weight: 500;
}

.mobile-nav-foot {
  font-size: 14px;
  color: var(--ink-muted);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mobile-nav-foot a {
  color: var(--terracotta);
  font-size: 1.1rem;
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  transition: all 0.35s var(--ease);
  cursor: pointer;
  text-align: center;
}

.btn-primary {
  background: var(--ink);
  color: var(--ivory);
  border: 1px solid var(--ink);
}

.btn-primary:hover {
  background: var(--terracotta);
  border-color: var(--terracotta);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}

.btn-ghost:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--ivory);
}

/* ---------- 6. HERO ---------- */
.hero {
  min-height: 100vh;
  padding: 130px 0 60px;
  display: flex;
  align-items: center;
  position: relative;
}

.hero-grid {
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(30px, 5vw, 80px);
  align-items: center;
  width: 100%;
}

.hero-eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.hero-eyebrow::before {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--sage);
}

.hero-overlay {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-style: italic;
  color: var(--terracotta);
  margin-bottom: 8px;
  font-weight: 400;
}

.hero-title {
  font-family: var(--serif);
  font-size: clamp(3rem, 7.5vw, 6.5rem);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.025em;
  margin-bottom: 32px;
}

.hero-title em {
  color: var(--terracotta);
  font-weight: 400;
}

.hero-lead {
  font-size: clamp(1rem, 1.3vw, 1.1rem);
  color: var(--ink-soft);
  line-height: 1.65;
  max-width: 42ch;
  margin-bottom: 40px;
}

.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-visual {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
}

.hero-image {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--paper-warm), var(--sage));
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-stamp {
  position: absolute;
  bottom: 24px;
  left: -22px;
  background: var(--ivory);
  padding: 14px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.stamp-label {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sage);
}

.stamp-year {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--ink);
}

.scroll-cue {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--ink-muted);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: var(--ink-muted);
  position: relative;
  overflow: hidden;
}

.scroll-line::after {
  content: '';
  position: absolute;
  top: -40px;
  left: 0;
  width: 100%;
  height: 40px;
  background: var(--terracotta);
  animation: scrollDot 2.4s var(--ease) infinite;
}

@keyframes scrollDot {
  0% { top: -40px; }
  100% { top: 40px; }
}

/* ---------- 7. INTRO ---------- */
.intro {
  background: var(--paper);
  padding-top: var(--section-y);
  padding-bottom: var(--section-y);
}

.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: start;
}

.intro-aside {
  position: relative;
  padding-top: 12px;
}

.intro-aside .big-num {
  margin-bottom: 14px;
}

.intro-image-wrap {
  margin-top: 40px;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  margin-left: -20px;
}

.intro-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.intro-text {
  padding-top: 20px;
}

.intro-title {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 36px;
  max-width: 14ch;
}

.intro-title em {
  color: var(--terracotta);
  font-weight: 400;
}

.intro-text p {
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  color: var(--ink-soft);
  line-height: 1.7;
  margin-bottom: 20px;
  max-width: 50ch;
}

.intro-divider {
  width: 60px;
  height: 1px;
  background: var(--terracotta);
  margin: 36px 0;
}

.intro-footnote {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--ink-muted) !important;
  line-height: 1.5;
}

/* ---------- 8. PILLARS (FILOSOFIA) ---------- */
.pillars {
  background: var(--ivory);
}

.pillars .section-head {
  margin-bottom: clamp(60px, 8vw, 120px);
}

.pillar {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
  padding: clamp(50px, 7vw, 90px) 0;
  border-top: 1px solid var(--line);
  position: relative;
}

.pillar:last-child {
  border-bottom: 1px solid var(--line);
}

.pillar-02 {
  grid-template-columns: 1fr 1fr;
}

.pillar-02 .pillar-image {
  order: -1;
}

.pillar-03 {
  grid-template-columns: 1.1fr 1fr;
}

.pillar-meta {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 28px;
}

.pillar-meta .big-num {
  font-size: 2.6rem;
}

.pillar-title {
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 22px;
  max-width: 18ch;
}

.pillar-text p {
  font-size: 1.05rem;
  color: var(--ink-soft);
  line-height: 1.7;
  max-width: 44ch;
}

.pillar-image {
  aspect-ratio: 5 / 4;
  overflow: hidden;
  background: var(--paper-warm);
}

.pillar-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease);
}

.pillar-image:hover img {
  transform: scale(1.03);
}

.pillar-03 .pillar-image {
  aspect-ratio: 4 / 5;
}

/* ---------- 9. SUPPLIERS ---------- */
.suppliers {
  background: var(--paper-warm);
}

.section-head-split .section-title {
  margin-top: 12px;
}

.suppliers-list {
  display: flex;
  flex-direction: column;
}

.supplier {
  display: grid;
  grid-template-columns: 80px 1fr 200px;
  gap: 40px;
  padding: 38px 0;
  border-top: 1px solid var(--line);
  align-items: start;
  transition: padding-left 0.5s var(--ease);
}

.supplier:last-child {
  border-bottom: 1px solid var(--line);
}

.supplier:hover {
  padding-left: 12px;
}

.supplier-num {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-style: italic;
  color: var(--terracotta);
  font-weight: 500;
}

.supplier-cat {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 10px;
}

.supplier-name {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 500;
  line-height: 1.15;
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}

.supplier-body p {
  color: var(--ink-soft);
  line-height: 1.6;
  max-width: 50ch;
}

.supplier-detail {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: right;
}

.detail-label {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sage);
}

.detail-value {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-style: italic;
  color: var(--ink);
}

/* ---------- 10. PASTICCERIA ---------- */
.pasticceria {
  padding: 0;
}

.pasticceria-hero {
  position: relative;
  height: 70vh;
  min-height: 480px;
  overflow: hidden;
  background: var(--sage);
}

.pasticceria-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.75;
}

.pasticceria-hero-text {
  position: absolute;
  bottom: clamp(40px, 6vw, 80px);
  left: var(--gutter);
  max-width: var(--container);
  color: var(--ivory);
}

.pasticceria-hero-text .section-eyebrow {
  color: var(--butter);
  margin-bottom: 18px;
}

.pasticceria-hero-text .section-title {
  color: var(--ivory);
  font-size: clamp(2.8rem, 7vw, 5.5rem);
}

.pasticceria-hero-text .section-title em {
  color: var(--butter);
}

.pasticceria > .container {
  padding-top: var(--section-y);
  padding-bottom: var(--section-y);
}

.pasticceria-intro {
  max-width: 60ch;
  margin-bottom: clamp(50px, 6vw, 80px);
}

.pasticceria-lead {
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  font-style: italic;
  color: var(--ink-soft);
  line-height: 1.5;
  font-weight: 400;
}

.pasticceria-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: clamp(20px, 3vw, 40px);
}

.pastry {
  display: flex;
  flex-direction: column;
}

.pastry-large {
  grid-column: span 4;
}

.pastry-wide {
  grid-column: span 4;
}

.pastry:not(.pastry-large):not(.pastry-wide) {
  grid-column: span 2;
}

.pastry-image {
  overflow: hidden;
  background: var(--paper-warm);
  margin-bottom: 20px;
}

.pastry-large .pastry-image { aspect-ratio: 16 / 11; }
.pastry-wide .pastry-image { aspect-ratio: 16 / 9; }
.pastry:not(.pastry-large):not(.pastry-wide) .pastry-image { aspect-ratio: 4 / 5; }

.pastry-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease);
}

.pastry:hover .pastry-image img {
  transform: scale(1.04);
}

.pastry-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pastry-num {
  font-family: var(--serif);
  font-style: italic;
  color: var(--terracotta);
  font-size: 1rem;
}

.pastry-name {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2vw, 1.8rem);
  font-weight: 500;
  letter-spacing: -0.01em;
}

.pastry-desc {
  font-size: 0.95rem;
  color: var(--ink-muted);
  line-height: 1.55;
  max-width: 38ch;
}

/* ---------- 11. MENU ---------- */
.menu-section {
  background: var(--ink);
  color: var(--ivory);
}

.menu-section .section-eyebrow { color: var(--butter); }
.menu-section .section-title { color: var(--ivory); }
.menu-section .section-lead { color: rgba(245, 240, 231, 0.7); }

.section-head-menu {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: end;
}

.menu-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.filter-btn {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(245, 240, 231, 0.6);
  padding: 9px 18px;
  border: 1px solid rgba(245, 240, 231, 0.18);
  transition: all 0.35s var(--ease);
}

.filter-btn:hover {
  color: var(--ivory);
  border-color: rgba(245, 240, 231, 0.5);
}

.filter-btn.is-active {
  background: var(--butter);
  color: var(--ink);
  border-color: var(--butter);
}

.menu-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 60px;
  margin-top: 20px;
}

.menu-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  padding: 26px 0;
  border-bottom: 1px solid rgba(245, 240, 231, 0.1);
  align-items: baseline;
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}

.menu-item.is-hidden {
  display: none;
}

.menu-item-name {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--ivory);
  letter-spacing: -0.01em;
  display: flex;
  align-items: baseline;
  gap: 14px;
  flex-wrap: wrap;
}

.menu-item-tag {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--butter);
  border: 1px solid rgba(216, 185, 106, 0.4);
  padding: 3px 8px;
}

.menu-item-desc {
  font-size: 0.9rem;
  color: rgba(245, 240, 231, 0.55);
  margin-top: 8px;
  line-height: 1.5;
  font-style: italic;
  font-family: var(--serif);
}

.menu-item-placeholder {
  display: inline-block;
  font-family: var(--sans);
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--terracotta-soft);
  border: 1px dashed rgba(201, 126, 93, 0.5);
  padding: 3px 7px;
  margin-left: 6px;
}

.menu-note {
  margin-top: 50px;
  font-size: 0.9rem;
  color: rgba(245, 240, 231, 0.5);
  font-style: italic;
  font-family: var(--serif);
  font-size: 1.05rem;
  max-width: 60ch;
}

/* ---------- 12. CHI SIAMO ---------- */
.chi-siamo {
  background: var(--ivory);
}

.chi-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr 1fr;
  gap: clamp(30px, 4vw, 60px);
  align-items: start;
}

.chi-portrait {
  position: relative;
  overflow: hidden;
  background: var(--paper-warm);
}

.chi-portrait-alice {
  aspect-ratio: 3 / 4;
  margin-top: 60px;
}

.chi-portrait-davide {
  aspect-ratio: 3 / 4;
  margin-top: 120px;
}

.chi-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.1);
  transition: filter 0.6s var(--ease), transform 1s var(--ease);
}

.chi-portrait:hover img {
  filter: grayscale(0);
  transform: scale(1.02);
}

.chi-caption {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: var(--ivory);
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.chi-name {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--ink);
}

.chi-role {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sage);
}

.chi-text {
  padding-top: 20px;
}

.chi-lead {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-style: italic;
  color: var(--ink);
  line-height: 1.35;
  margin-bottom: 40px;
  font-weight: 400;
}

.chi-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-bottom: 40px;
  padding: 30px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.chi-stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.stat-num {
  font-family: var(--serif);
  font-size: clamp(3rem, 5vw, 4.5rem);
  font-weight: 500;
  color: var(--terracotta);
  line-height: 1;
  font-style: italic;
}

.stat-label {
  font-size: 12px;
  color: var(--ink-muted);
  line-height: 1.4;
  letter-spacing: 0.04em;
}

.chi-text p {
  color: var(--ink-soft);
  line-height: 1.7;
  margin-bottom: 20px;
}

.chi-pull {
  font-family: var(--serif) !important;
  font-style: italic;
  font-size: 1.3rem !important;
  color: var(--ink) !important;
  line-height: 1.45 !important;
  border-left: 2px solid var(--terracotta);
  padding-left: 20px;
  margin-top: 30px !important;
}

.amp {
  color: var(--terracotta);
  font-style: italic;
  font-weight: 400;
  display: inline-block;
  margin: 0 6px;
}

/* ---------- 13. STORIA ---------- */
.storia {
  background: var(--paper);
  position: relative;
  overflow: hidden;
}

.storia-word {
  position: absolute;
  top: 50%;
  right: -4vw;
  transform: translateY(-50%);
  font-family: var(--serif);
  font-size: clamp(14rem, 28vw, 32rem);
  font-weight: 500;
  color: var(--terracotta);
  opacity: 0.06;
  letter-spacing: -0.04em;
  line-height: 0.8;
  pointer-events: none;
  z-index: 0;
  font-style: italic;
}

.storia .container {
  position: relative;
  z-index: 1;
}

.storia-head {
  margin-bottom: clamp(50px, 7vw, 90px);
}

.storia-title {
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.025em;
}

.storia-body {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: start;
}

.storia-text {
  max-width: 56ch;
}

.storia-opening {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 2.5vw, 2.1rem);
  font-style: italic;
  color: var(--ink);
  line-height: 1.35;
  margin-bottom: 32px;
  font-weight: 400;
}

.storia-text p {
  font-size: 1.05rem;
  color: var(--ink-soft);
  line-height: 1.75;
  margin-bottom: 22px;
}

.storia-quote {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 2.5vw, 2.1rem);
  font-style: italic;
  color: var(--terracotta);
  line-height: 1.35;
  margin: 40px 0;
  padding: 24px 0 24px 28px;
  border-left: 2px solid var(--terracotta);
  font-weight: 400;
}

.storia-coda {
  font-size: 1.1rem !important;
  color: var(--ink) !important;
}

.storia-coda strong {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  color: var(--terracotta);
}

.storia-aside {
  display: flex;
  flex-direction: column;
  gap: 50px;
  position: sticky;
  top: 100px;
}

.storia-image {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--paper-warm);
}

.storia-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.15);
}

.storia-timeline {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding-left: 18px;
  border-left: 1px solid var(--line);
  position: relative;
}

.tl-item {
  display: flex;
  align-items: center;
  gap: 16px;
  position: relative;
}

.tl-dot {
  width: 8px;
  height: 8px;
  background: var(--terracotta);
  border-radius: 50%;
  position: absolute;
  left: -22px;
}

.tl-label {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--ink);
}

/* ---------- 14. SOSTENIBILITÀ ---------- */
.sostenibilita {
  background: var(--sage);
  color: var(--ivory);
}

.sos-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
}

.sos-text .section-eyebrow { color: var(--butter); }

.sos-title {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 18px 0 30px;
  color: var(--ivory);
  max-width: 18ch;
}

.sos-title em {
  color: var(--butter);
  font-weight: 400;
}

.sos-text p {
  color: rgba(245, 240, 231, 0.85);
  line-height: 1.7;
  margin-bottom: 30px;
  max-width: 48ch;
}

.sos-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 30px;
  margin-top: 20px;
}

.sos-list li {
  font-size: 0.95rem;
  color: rgba(245, 240, 231, 0.9);
  padding: 8px 0;
  border-bottom: 1px solid rgba(245, 240, 231, 0.15);
  display: flex;
  align-items: center;
  gap: 12px;
}

.sos-list li::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--butter);
  border-radius: 50%;
  flex-shrink: 0;
}

.sos-visual {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--sage-deep);
}

.sos-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sos-stamp {
  position: absolute;
  bottom: 24px;
  right: 24px;
  background: var(--ivory);
  color: var(--ink);
  padding: 14px 20px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.1rem;
}

/* ---------- 15. SOCIAL ---------- */
.social {
  background: var(--ivory);
}

.social-cta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 3vw, 40px);
  margin: clamp(40px, 5vw, 70px) 0;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: clamp(28px, 4vw, 50px);
  border: 1px solid var(--line);
  transition: all 0.5s var(--ease);
  background: var(--paper);
}

.social-link:hover {
  background: var(--ink);
  color: var(--ivory);
  border-color: var(--ink);
}

.social-link:hover .sl-arrow {
  color: var(--butter);
  transform: translateX(8px);
}

.sl-platform {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 500;
  letter-spacing: -0.01em;
}

.sl-arrow {
  font-family: var(--sans);
  font-size: 0.95rem;
  color: var(--terracotta);
  transition: color 0.4s var(--ease), transform 0.4s var(--ease);
  letter-spacing: 0.02em;
}

.social-wall {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.sw-item {
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--paper-warm);
}

.sw-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
  filter: grayscale(0.2);
}

.sw-item:hover img {
  transform: scale(1.06);
  filter: grayscale(0);
}

/* ---------- 16. CONTATTI ---------- */
.contatti {
  background: var(--paper-warm);
}

.cta-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: start;
}

.cta-title {
  font-family: var(--serif);
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.025em;
  margin: 18px 0 36px;
}

.cta-lead {
  font-size: 1.1rem;
  color: var(--ink-soft);
  line-height: 1.7;
  margin-bottom: 24px;
  max-width: 46ch;
}

.cta-signoff {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--ink);
  line-height: 1.5;
  max-width: 44ch;
  padding-left: 20px;
  border-left: 2px solid var(--terracotta);
}

.cta-card {
  background: var(--ivory);
  padding: clamp(30px, 4vw, 50px);
  display: flex;
  flex-direction: column;
  gap: 28px;
  border: 1px solid var(--line);
}

.cta-block {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line-soft);
}

.cta-block:last-of-type {
  border-bottom: none;
}

.cta-label {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sage);
}

.cta-value {
  font-family: var(--serif);
  font-size: 1.3rem;
  color: var(--ink);
  line-height: 1.3;
  transition: color 0.3s var(--ease);
}

a.cta-value:hover {
  color: var(--terracotta);
}

.cta-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 10px;
}

.cta-actions .btn {
  width: 100%;
}

/* ---------- 17. FOOTER ---------- */
.site-footer {
  background: var(--ink);
  color: var(--ivory);
  padding: clamp(60px, 7vw, 90px) 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
  gap: clamp(20px, 3vw, 40px);
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(245, 240, 231, 0.12);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-name {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.footer-tag {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--butter);
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-label {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(245, 240, 231, 0.5);
}

.footer-col p,
.footer-col a {
  font-size: 0.95rem;
  color: rgba(245, 240, 231, 0.85);
  line-height: 1.6;
}

.footer-col a:hover {
  color: var(--butter);
}

.footer-bottom {
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-copy,
.footer-credit {
  font-size: 0.8rem;
  color: rgba(245, 240, 231, 0.5);
}

.footer-legal a {
  font-size: 0.8rem;
  color: rgba(245, 240, 231, 0.6);
  transition: color 0.3s var(--ease);
}

.footer-legal a:hover {
  color: var(--butter);
}

/* ---------- 18. BACK TO TOP ---------- */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 56px;
  height: 56px;
  background: var(--ink);
  color: var(--ivory);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  z-index: 90;
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease), background-color 0.3s var(--ease);
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--terracotta);
}

.btt-line {
  width: 14px;
  height: 1px;
  background: var(--ivory);
  position: relative;
}

.btt-line::after {
  content: '';
  position: absolute;
  top: -4px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 8px;
  height: 1px;
  background: var(--ivory);
}

.btt-label {
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

/* ---------- 19. REVEAL ANIMATIONS ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

[data-reveal].is-revealed {
  opacity: 1;
  transform: translateY(0);
}

[data-reveal-delay="1"] { transition-delay: 0.1s; }
[data-reveal-delay="2"] { transition-delay: 0.2s; }
[data-reveal-delay="3"] { transition-delay: 0.3s; }
[data-reveal-delay="4"] { transition-delay: 0.4s; }

/* ---------- 20. RESPONSIVE ---------- */
@media (max-width: 1100px) {
  .hero-grid { grid-template-columns: 1fr; gap: 50px; }
  .hero-visual { aspect-ratio: 16 / 11; max-height: 60vh; }
  .hero-stamp { left: 20px; }
  
  .intro-grid { grid-template-columns: 1fr; gap: 40px; }
  .intro-image-wrap { margin-left: 0; max-width: 380px; }
  
  .pillar, .pillar-02, .pillar-03 { grid-template-columns: 1fr; gap: 30px; }
  .pillar-02 .pillar-image { order: 0; }
  
  .section-head-split { grid-template-columns: 1fr; gap: 30px; }
  
  .chi-grid { grid-template-columns: 1fr; gap: 30px; }
  .chi-portrait-alice, .chi-portrait-davide { margin-top: 0; max-width: 400px; }
  .chi-portrait-davide { margin-left: auto; }
  
  .storia-body { grid-template-columns: 1fr; gap: 40px; }
  .storia-aside { position: static; flex-direction: row; align-items: flex-start; gap: 30px; flex-wrap: wrap; }
  .storia-image { flex: 1; min-width: 240px; }
  .storia-timeline { flex: 1; min-width: 200px; }
  
  .sos-grid { grid-template-columns: 1fr; }
  
  .cta-grid { grid-template-columns: 1fr; }
  
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .footer-brand { grid-column: 1 / -1; }
  
  .menu-list { grid-template-columns: 1fr; gap: 0; }
  .section-head-menu { grid-template-columns: 1fr; }
  .menu-filters { justify-content: flex-start; }
}

@media (max-width: 860px) {
  .primary-nav, .header-cta { display: none; }
  .menu-toggle { display: flex; }
  
  .pasticceria-grid { grid-template-columns: 1fr 1fr; }
  .pastry-large, .pastry-wide { grid-column: span 2; }
  .pastry:not(.pastry-large):not(.pastry-wide) { grid-column: span 1; }
  
  .social-wall { grid-template-columns: 1fr 1fr; }
  
  .supplier { grid-template-columns: 50px 1fr; gap: 20px; }
  .supplier-detail { grid-column: 1 / -1; flex-direction: row; text-align: left; align-items: center; gap: 14px; }
  
  .chi-stats { grid-template-columns: 1fr; gap: 20px; }
  
  .sos-list { grid-template-columns: 1fr; }
  
  .social-cta { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  :root { --gutter: 22px; }
  
  .hero { padding-top: 110px; }
  .hero-title { font-size: clamp(2.4rem, 11vw, 3.5rem); }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; }
  
  .section-title { font-size: clamp(2rem, 8vw, 2.8rem); }
  
  .pasticceria-grid { grid-template-columns: 1fr; }
  .pastry-large, .pastry-wide, .pastry { grid-column: span 1; }
  
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 12px; }
  
  .back-to-top { bottom: 20px; right: 20px; width: 48px; height: 48px; }
  
  .storia-word { font-size: 11rem; opacity: 0.05; }
  
  .cta-actions { gap: 8px; }
  
  .menu-filters { gap: 6px; }
  .filter-btn { padding: 8px 12px; font-size: 11px; }
}

@media (min-width: 1600px) {
  :root { --container: 1400px; }
  .hero-title { font-size: 7.5rem; }
}

/* ---------- 21. REDUCED MOTION ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  
  [data-reveal] {
    opacity: 1;
    transform: none;
  }
  
  .scroll-line::after { animation: none; opacity: 0.5; }
}

/* ---------- 22. PRINT ---------- */
@media print {
  .site-header, .back-to-top, .scroll-cue, .mobile-nav, .menu-toggle { display: none; }
  body { background: white; color: black; }
}