/* Casa Chiappo · foglio di stile unico
   Token e regole: vedi DESIGN.md */

@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-italic.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("../fonts/instrument-sans.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("../fonts/instrument-sans-ext.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --terracotta: #A93F14;
  --terracotta-deep: #8F3410;
  --terracotta-glow: #F2A27E;
  --terracotta-blush: #F2C2A6;
  --quadretto: #2C4A7A;
  --ink: #2A211C;
  --earth: #4A3E36;
  --earth-soft: #5E5048;
  --linen: #F6EFE6;
  --linen-deep: #EFE4D6;
  --cream: #FFFBF6;
  --thread: #DCCDBB;

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --r-sm: 14px;
  --r-md: 20px;
  --r-lg: 28px;

  --gutter: 32px;
  --section: clamp(80px, 10vw, 128px);
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --shadow-lift: 0 18px 40px rgba(42, 33, 28, 0.14);

  color-scheme: light;
  accent-color: var(--terracotta);
  scrollbar-color: var(--earth-soft) var(--linen-deep);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 24px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--linen);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  caret-color: var(--terracotta);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, video { display: block; max-width: 100%; height: auto; }
picture { display: block; }

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

a {
  color: var(--terracotta);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
  transition: color 200ms ease;
}
a:hover { color: var(--terracotta-deep); }

:focus-visible {
  outline: 2px solid var(--quadretto);
  outline-offset: 3px;
  border-radius: 6px;
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  margin: 0;
  text-wrap: balance;
  font-optical-sizing: auto;
}
p { margin: 0; text-wrap: pretty; }

.wrap {
  width: 100%;
  max-width: 1344px;
  margin: 0 auto;
  padding-inline: var(--gutter);
}
@media (max-width: 480px) { :root { --gutter: 16px; } }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 50;
  background: var(--ink); color: var(--cream); padding: 10px 16px; border-radius: 10px;
}
.skip:focus, .skip:hover { top: 12px; color: var(--cream); }

.num { font-variant-numeric: tabular-nums lining-nums; }

/* ---------- Bottoni ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 24px;
  border: 1.5px solid transparent;
  border-radius: 999px;
  font: 600 0.9375rem/1.2 var(--sans);
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms var(--ease-out), background-color 200ms ease, color 200ms ease, border-color 200ms ease;
}
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--terracotta); color: var(--cream); }
.btn-ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-ink { background: var(--ink); color: var(--cream); }
.btn-light { border-color: var(--cream); color: var(--cream); background: transparent; }
@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover { background: var(--terracotta-deep); color: var(--cream); }
  .btn-ghost:hover { background: var(--ink); color: var(--linen); }
  .btn-ink:hover { background: var(--earth); color: var(--cream); }
  .btn-light:hover { background: var(--cream); color: var(--terracotta); }
}
.btn svg { width: 18px; height: 18px; flex: none; }

.link-arrow { font-weight: 600; text-decoration: none; display: inline-flex; gap: 8px; align-items: center; }
.link-arrow::after { content: ""; width: 14px; height: 1.5px; background: currentColor; transition: width 200ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .link-arrow:hover::after { width: 22px; } }

/* ---------- Barra annunci ---------- */
.bar {
  display: block;
  background: var(--ink);
  color: var(--linen);
  text-align: center;
  font-size: 0.875rem;
  line-height: 1.4;
  padding: 11px 16px;
  text-decoration: none;
}
.bar strong { color: var(--cream); font-weight: 600; }
.bar span.bar-cta { color: var(--terracotta-glow); text-decoration: underline; text-underline-offset: 0.2em; white-space: nowrap; }
.bar:hover { color: var(--linen); }

/* ---------- Header ---------- */
.site-header { position: relative; z-index: 20; }
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 16px;
}
.logo img { width: 76px; height: 76px; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav-list { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; }
.nav-list a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 500;
  padding-block: 6px;
  background: linear-gradient(currentColor, currentColor) left bottom / 0 1.5px no-repeat;
  transition: background-size 220ms var(--ease-out);
}
.nav-list a[aria-current="page"] { background-size: 100% 1.5px; }
@media (hover: hover) and (pointer: fine) { .nav-list a:hover { background-size: 100% 1.5px; color: var(--ink); } }

.nav-toggle {
  display: none;
  min-height: 48px;
  min-width: 48px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1.5px solid var(--ink);
  background: transparent;
  color: var(--ink);
  font: 600 0.9375rem var(--sans);
  cursor: pointer;
  align-items: center;
  gap: 8px;
  transition: transform 160ms var(--ease-out);
}
.nav-toggle:active { transform: scale(0.97); }
.nav-toggle svg { width: 18px; height: 18px; }

@media (max-width: 1080px) {
  .nav-toggle { display: inline-flex; }
  .nav > .btn-primary { display: none; }
  .nav-list {
    position: absolute;
    left: var(--gutter);
    right: var(--gutter);
    top: calc(100% - 4px);
    flex-direction: column;
    gap: 0;
    padding: 8px 20px 20px;
    background: var(--cream);
    border-radius: var(--r-md);
    box-shadow: var(--shadow-lift);
    opacity: 0;
    transform: translateY(-6px) scale(0.98);
    transform-origin: top right;
    pointer-events: none;
    visibility: hidden;
    transition: opacity 180ms var(--ease-out), transform 180ms var(--ease-out), visibility 0s linear 180ms;
  }
  .nav-list.is-open {
    opacity: 1; transform: none; pointer-events: auto; visibility: visible;
    transition: opacity 200ms var(--ease-out), transform 200ms var(--ease-out), visibility 0s;
  }
  .nav-list li { border-bottom: 1px solid var(--thread); }
  .nav-list li:last-child { border-bottom: 0; }
  .nav-list a { display: flex; align-items: center; min-height: 52px; font-size: 1.0625rem; background: none; }
  .nav-list a[aria-current="page"] { color: var(--terracotta); }
  .nav-list .nav-cta { display: block; padding-top: 12px; }
  .nav-list .nav-cta a { justify-content: center; color: var(--cream); background: var(--terracotta); min-height: 52px; }
}
@media (min-width: 1081px) { .nav-list .nav-cta { display: none; } }
@media (max-width: 480px) { .logo img { width: 64px; height: 64px; } }

/* ---------- Tipografia di pagina ---------- */
.display {
  font-size: clamp(3rem, 6.6vw, 5rem);
  line-height: 1;
  letter-spacing: -0.025em;
}
.display em, .headline em { color: var(--terracotta); font-style: italic; }
.headline {
  font-size: clamp(2.25rem, 4.4vw, 3.5rem);
  line-height: 1.05;
  letter-spacing: -0.015em;
}
.title { font-size: clamp(1.5rem, 2.4vw, 1.875rem); line-height: 1.15; }
.lead { font-size: clamp(1.125rem, 1.6vw, 1.25rem); color: var(--earth); max-width: 34ch; }
.muted { color: var(--earth-soft); }
.body-copy { color: var(--earth); max-width: 60ch; }
.body-copy p + p { margin-top: 1em; }

.section { padding-block: var(--section); }
.section-tight { padding-block: calc(var(--section) * 0.6); }
.section-head { margin-bottom: 44px; display: grid; gap: 12px; }
.section-head p { color: var(--earth); max-width: 54ch; }

.tone-deep { background: var(--linen-deep); }
.tone-ink { background: var(--ink); color: var(--linen); }
.tone-terracotta { background: var(--terracotta); color: var(--cream); }

/* ---------- Hero home ---------- */
.hero .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  gap: clamp(32px, 6vw, 72px);
  align-items: center;
  padding-top: clamp(16px, 3vw, 40px);
  padding-bottom: var(--section);
}
.hero-copy .lead { margin-top: 28px; max-width: 32ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero-note { margin-top: 24px; font-size: 0.9375rem; color: var(--earth-soft); }
.hero-media { position: relative; }
.hero-frame { border-radius: var(--r-lg); overflow: hidden; background: var(--linen-deep); }
.hero-frame img { width: 100%; height: clamp(420px, 46vw, 660px); object-fit: cover; }
.hero-frame img.settle { animation: settle 1100ms var(--ease-out) both; }
@keyframes settle { from { transform: scale(1.045); filter: saturate(0.85); } to { transform: none; filter: none; } }

.chef-tag {
  position: absolute;
  left: -28px;
  bottom: 40px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 20px 12px 12px;
  background: var(--cream);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-lift);
  color: var(--ink);
  text-decoration: none;
  transition: transform 160ms var(--ease-out);
}
.chef-tag:active { transform: scale(0.98); }
.chef-tag:hover { color: var(--ink); }
.chef-tag img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; object-position: top; }
.chef-tag b { display: block; font: 400 1.125rem/1.2 var(--serif); }
.chef-tag small { display: block; font-size: 0.8125rem; color: var(--earth-soft); }

@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .chef-tag { left: 16px; bottom: 16px; }
}

/* ---------- Fascia frase ---------- */
.quote-band .wrap { max-width: 1120px; text-align: center; }
.quote-band p {
  font: 300 clamp(1.75rem, 3.6vw, 2.75rem)/1.25 var(--serif);
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.quote-band em { color: var(--terracotta-glow); }

/* ---------- Serate ---------- */
.serate-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}
@media (max-width: 960px) { .serate-grid { grid-template-columns: 1fr; } }

.next-card {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  background: var(--cream);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.next-card picture, .next-card img { height: 100%; width: 100%; object-fit: cover; min-height: 300px; }
.next-body { padding: 36px; display: flex; flex-direction: column; gap: 10px; }
.next-day { font: 400 4rem/0.9 var(--serif); }
.next-when { color: var(--earth-soft); font-size: 0.9375rem; }
.next-body h3 { font-size: 1.875rem; line-height: 1.15; margin-top: 10px; }
.next-body p.desc { color: var(--earth); }
.next-meta { margin-top: auto; padding-top: 16px; font-weight: 600; }
.seats { color: var(--quadretto); }
.next-body .btn { margin-top: 8px; }
@media (max-width: 620px) {
  .next-card { grid-template-columns: 1fr; }
  .next-card picture, .next-card img { min-height: 220px; max-height: 260px; }
  .next-body { padding: 28px 24px; }
}

.date-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--thread); }
.date-list li { border-bottom: 1px solid var(--thread); }
.date-row {
  display: flex;
  gap: 20px;
  align-items: center;
  padding: 20px 12px;
  color: var(--ink);
  text-decoration: none;
  transition: background-color 200ms ease;
}
.date-row:hover { color: var(--ink); }
@media (hover: hover) and (pointer: fine) { .date-row:hover { background: var(--linen-deep); } }
.date-row .d { font: 400 2.25rem/1 var(--serif); min-width: 64px; }
.date-row .info { flex: 1; min-width: 0; }
.date-row .info b { display: block; font-weight: 600; }
.date-row .info small { display: block; font-size: 0.875rem; color: var(--earth-soft); }
.date-row .go { font-weight: 600; color: var(--terracotta); white-space: nowrap; }
.date-row.is-full { color: var(--earth-soft); }
.date-row.is-full .go { color: var(--earth-soft); }
.serate-aside { margin: 20px 12px 0; font-size: 0.9375rem; color: var(--earth-soft); }

/* ---------- Come funziona ---------- */
.steps {
  list-style: none; margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
}
.steps li { border-top: 2px solid var(--ink); padding-top: 20px; }
.steps h3 { font-size: 1.5rem; font-weight: 500; margin-bottom: 8px; }
.steps p { color: var(--earth); }

/* ---------- Mosaico formati ---------- */
.mosaic {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: 280px;
  gap: 20px;
}
.tile {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  color: var(--cream);
  text-decoration: none;
  isolation: isolate;
}
.tile:hover { color: var(--cream); }
.tile picture, .tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tile img { transition: transform 600ms var(--ease-out); }
.tile .cap {
  position: absolute; inset: auto 0 0 0;
  padding: 96px 26px 24px;
  background: linear-gradient(to top, rgba(30, 22, 18, 0.84), rgba(30, 22, 18, 0));
}
.tile .cap b { display: block; font: 400 1.625rem/1.1 var(--serif); }
.tile .cap span { display: block; margin-top: 6px; font-size: 0.9375rem; color: #F3E3D6; }
.tile-tall { grid-row: span 2; }
.tile-tall .cap b { font-size: 2.125rem; }
.tile-wide { grid-column: span 2; }
@media (hover: hover) and (pointer: fine) { .tile:hover img { transform: scale(1.03); } }
@media (max-width: 900px) {
  .mosaic { grid-template-columns: 1fr 1fr; grid-auto-rows: 240px; }
  .tile-tall { grid-row: span 2; }
  .tile-wide { grid-column: span 2; }
}
@media (max-width: 560px) {
  .mosaic { grid-template-columns: 1fr; grid-auto-rows: 260px; }
  .tile-tall { grid-row: span 1; }
  .tile-wide { grid-column: span 1; }
}

/* ---------- Due colonne (chef, sezioni) ---------- */
.split {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 72px);
  align-items: center;
}
.split.reverse { grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr); }
.split.reverse > :first-child { order: 2; }
@media (max-width: 900px) {
  .split, .split.reverse { grid-template-columns: 1fr; }
  .split.reverse > :first-child { order: 0; }
}
.portrait { border-radius: var(--r-lg); overflow: hidden; }
.portrait img { width: 100%; height: clamp(420px, 48vw, 640px); object-fit: cover; object-position: center 30%; }
.thumbs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 36px; }
.thumbs img { width: 100%; height: 150px; object-fit: cover; border-radius: var(--r-sm); }
@media (max-width: 480px) { .thumbs img { height: 100px; } }

/* ---------- Recensioni ---------- */
.reviews { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 64px; }
@media (max-width: 860px) { .reviews { grid-template-columns: 1fr; gap: 40px; } }
.reviews figure { margin: 0; }
.review-main blockquote { margin: 0; font: 300 clamp(1.75rem, 3.4vw, 2.875rem)/1.2 var(--serif); letter-spacing: -0.01em; }
.reviews figcaption { margin-top: 20px; color: var(--earth-soft); font-size: 0.9375rem; }
.review-side { display: grid; gap: 32px; align-content: start; }
.review-side figure { border-top: 1px solid var(--thread); padding-top: 20px; }
.review-side blockquote { margin: 0; font-size: 1.125rem; }
.review-side figcaption { margin-top: 10px; }

/* ---------- Chiusura terracotta ---------- */
.closing .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
  max-width: 1168px;
}
@media (max-width: 860px) { .closing .wrap { grid-template-columns: 1fr; } }
.closing h2 { font-size: clamp(2.5rem, 5vw, 4rem); line-height: 1.02; }
.closing p { margin-top: 20px; font-size: 1.1875rem; color: #FFE6D6; max-width: 40ch; }
.closing form { display: grid; gap: 12px; }
.closing label { font-weight: 600; font-size: 0.875rem; }
.closing input { border: 0; }
.closing .form-msg { color: #FFE6D6; }

/* ---------- Campi ---------- */
.field { display: grid; gap: 8px; }
.field label { font-weight: 600; font-size: 0.875rem; }
.field .hint { font-size: 0.8125rem; color: var(--earth-soft); }
input[type="text"], input[type="email"], input[type="tel"], input[type="number"], select, textarea {
  width: 100%;
  min-height: 52px;
  padding: 0 18px;
  border: 1px solid var(--thread);
  border-radius: var(--r-sm);
  background: var(--cream);
  color: var(--ink);
  font: 400 1rem var(--sans);
  transition: border-color 200ms ease;
}
textarea { padding: 14px 18px; min-height: 120px; resize: vertical; line-height: 1.5; }
select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%232A211C' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
  padding-right: 44px;
}
input::placeholder, textarea::placeholder { color: #7A6B60; }
input:hover, select:hover, textarea:hover { border-color: var(--earth-soft); }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--quadretto); outline-offset: 2px; border-color: var(--quadretto); }
input[aria-invalid="true"], select[aria-invalid="true"] { border-color: var(--terracotta); }
.field .error { color: var(--terracotta); font-size: 0.875rem; font-weight: 600; }
.form-msg { font-size: 0.9375rem; min-height: 1.4em; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 620px) { .form-grid { grid-template-columns: 1fr; } }

/* ---------- Testata pagine interne ---------- */
.page-head .wrap { padding-top: clamp(24px, 4vw, 56px); padding-bottom: clamp(48px, 6vw, 80px); }
.page-head h1 { font-size: clamp(2.75rem, 6vw, 4.5rem); line-height: 1.02; letter-spacing: -0.02em; max-width: 18ch; }
.page-head h1 em { color: var(--terracotta); }
.page-head .lead { margin-top: 24px; max-width: 48ch; }
.crumbs { font-size: 0.875rem; color: var(--earth-soft); margin-bottom: 20px; }
.crumbs a { color: var(--earth-soft); }

/* ---------- Galleria ---------- */
.gallery { columns: 3 280px; column-gap: 16px; }
.gallery figure { margin: 0 0 16px; break-inside: avoid; }
.gallery img { width: 100%; border-radius: var(--r-md); }
.gallery figcaption { font-size: 0.875rem; color: var(--earth-soft); margin-top: 8px; }

/* ---------- Video ---------- */
.video-frame {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--ink);
  aspect-ratio: 9 / 16;
  max-height: 720px;
  margin-inline: auto;
}
.video-frame video { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Menu ---------- */
.menu-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--thread); }
.menu-list li {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 20px;
  padding: 28px 0;
  border-bottom: 1px solid var(--thread);
}
.menu-list .course { font: 400 1rem/1.4 var(--serif); color: var(--earth-soft); font-style: italic; }
.menu-list h3 { font-size: 1.5rem; }
.menu-list p { color: var(--earth); margin-top: 6px; max-width: 58ch; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--thread); }
.faq details { border-bottom: 1px solid var(--thread); }
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 22px 4px;
  font: 400 1.375rem/1.25 var(--serif);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  flex: none;
  width: 14px; height: 14px;
  border-right: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  transform: translateY(-3px) rotate(45deg);
  transition: transform 200ms var(--ease-out);
}
.faq details[open] summary::after { transform: translateY(3px) rotate(-135deg); }
.faq .answer { padding: 0 4px 24px; color: var(--earth); max-width: 64ch; }
.faq .answer p + p { margin-top: 0.8em; }

/* ---------- Articoli ---------- */
.prose { max-width: 68ch; color: var(--earth); font-size: 1.125rem; line-height: 1.7; }
.prose h2 { color: var(--ink); font-size: 2rem; line-height: 1.15; margin: 2em 0 0.6em; }
.prose h3 { color: var(--ink); font-size: 1.5rem; margin: 1.6em 0 0.5em; }
.prose p + p, .prose ul, .prose ol { margin-top: 1em; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li + li { margin-top: 0.4em; }
.prose strong { color: var(--ink); }
.prose .note { background: var(--linen-deep); border-radius: var(--r-md); padding: 20px 24px; font-size: 1rem; }
.article-meta { color: var(--earth-soft); font-size: 0.9375rem; margin-top: 20px; }

.posts { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px 32px; }
.post { color: var(--ink); text-decoration: none; display: grid; gap: 14px; }
.post:hover { color: var(--ink); }
.post .ph { border-radius: var(--r-md); overflow: hidden; }
.post img { width: 100%; height: 260px; object-fit: cover; transition: transform 600ms var(--ease-out); }
.post h2, .post h3 { font-size: 1.625rem; line-height: 1.15; }
.post p { color: var(--earth); }
@media (hover: hover) and (pointer: fine) { .post:hover img { transform: scale(1.03); } .post:hover h2, .post:hover h3 { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.15em; } }

/* ---------- Info list (contatti, private) ---------- */
.facts { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--thread); }
.facts li { display: grid; grid-template-columns: minmax(120px, 0.35fr) minmax(0, 1fr); gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--thread); }
.facts dt, .facts .k { color: var(--earth-soft); font-size: 0.9375rem; }
.facts .v { font-weight: 500; }
@media (max-width: 520px) { .facts li { grid-template-columns: 1fr; gap: 4px; } }

/* ---------- Buono regalo ---------- */
.voucher {
  position: relative;
  background: var(--cream);
  border-radius: var(--r-lg);
  padding: clamp(28px, 5vw, 56px);
  display: grid;
  gap: 16px;
  border: 1px dashed var(--earth-soft);
}
.voucher img { width: 88px; height: 88px; }
.voucher .amount { font: 400 clamp(2.5rem, 5vw, 3.5rem)/1 var(--serif); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--thread); }
.site-footer .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr));
  gap: 40px;
  padding-block: 56px 40px;
  font-size: 0.9375rem;
}
.site-footer h2 { font: 600 0.875rem var(--sans); margin-bottom: 14px; color: var(--ink); }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { color: var(--earth); text-decoration: none; }
.site-footer a:hover { color: var(--terracotta); text-decoration: underline; }
.foot-brand { display: grid; gap: 14px; align-content: start; color: var(--earth); }
.foot-brand img { width: 64px; height: 64px; }
.foot-legal { grid-column: 1 / -1; border-top: 1px solid var(--thread); padding-top: 24px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; color: var(--earth-soft); font-size: 0.875rem; }
.foot-legal a { color: var(--earth-soft); }
@media (max-width: 860px) { .site-footer .wrap { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }

/* ---------- Placeholder da compilare ---------- */
.todo { background: rgba(242, 194, 166, 0.45); border-radius: 4px; padding: 0 3px; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.tone-ink .todo, .tone-terracotta .todo, .bar .todo { background: rgba(255, 255, 255, 0.16); }

@media (prefers-reduced-motion: reduce) {
  .hero-frame img.settle { animation: none; }
  .tile img, .post img, .btn, .chef-tag, .nav-list, .nav-toggle, .date-row { transition: none; }
}
