:root {
  --bg: #FFFBF4;
  --bg-alt: #F8EFE0;
  --paper: #FFFDF9;
  --dark: #2B1810;
  --accent: #C2410C;
  --brown: #92400E;
  --yolk: #FCD34D;
  --gold: #D4AF6A;
  --text: #2B1810;
  --muted: #6B4F3F;
  --border: #EADBC4;
  --field-border: #CDB89A;
  --error: #B42318;

  --f-head: "DM Serif Display", Georgia, "Times New Roman", serif;
  --f-body: "Lora", Georgia, serif;
  --f-ui: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --f-script: "Caveat", "Segoe Script", cursive;

  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 24px;
  --s-6: 32px;
  --s-7: 48px;
  --s-8: 64px;
  --s-9: 96px;
  --s-10: 128px;

  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 18px;
  --r-xl: 24px;

  --sh-sm: 0 1px 2px rgba(146, 64, 14, .08), 0 2px 8px rgba(146, 64, 14, .06);
  --sh-md: 0 4px 12px rgba(146, 64, 14, .10), 0 12px 28px rgba(146, 64, 14, .08);
  --sh-lg: 0 12px 28px rgba(146, 64, 14, .14), 0 28px 60px rgba(194, 65, 12, .14);

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --t-fast: 150ms;
  --t: 250ms;
  --t-slow: 400ms;

  --container: 1240px;
  --gutter: 16px;
  --section: 68px;
  --measure: 66ch;
}

@media (min-width: 768px) {
  :root { --gutter: 28px; }
}

@media (min-width: 1024px) {
  :root { --section: 104px; }
}

*, *::before, *::after { box-sizing: border-box; }

[hidden] { display: none !important; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

@media (min-width: 768px) { body { font-size: 17px; } }
@media (min-width: 1024px) { body { font-size: 19px; } }

svg { display: block; max-width: 100%; height: auto; }

h1, h2, h3, h4 { margin: 0 0 var(--s-4); }

h1, h2, h3 {
  font-family: var(--f-head);
  font-weight: 400;
  line-height: 1.12;
  color: inherit;
  text-wrap: balance;
}

h1 { font-size: 38px; }
h2 { font-size: 28px; }
h3 { font-size: 20px; line-height: 1.25; }

@media (min-width: 768px) {
  h1 { font-size: 48px; }
  h2 { font-size: 34px; }
  h3 { font-size: 23px; }
}

@media (min-width: 1024px) {
  h1 { font-size: 60px; }
  h2 { font-size: 42px; }
  h3 { font-size: 26px; }
}

p { margin: 0 0 var(--s-4); }

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color var(--t-fast) var(--ease);
}

a:hover { color: var(--brown); }

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

address { font-style: normal; }

.wrap {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip {
  position: absolute;
  left: var(--s-4);
  top: -80px;
  z-index: 50;
  padding: var(--s-3) var(--s-4);
  background: var(--dark);
  color: var(--bg);
  font-family: var(--f-ui);
  font-size: 15px;
  border-radius: var(--r-sm);
}

.skip:focus { top: var(--s-4); color: var(--yolk); }

/* Testata */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 251, 244, .95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-3) var(--s-4);
  min-height: 72px;
  padding-block: var(--s-2);
}

.brand {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  min-width: 0;
  color: var(--text);
  text-decoration: none;
}

.brand:hover { color: var(--text); }

.brand-mark { width: 36px; height: 36px; flex: none; }

.brand-name {
  display: block;
  font-family: var(--f-head);
  font-size: 23px;
  line-height: 1;
}

.brand-tag {
  display: block;
  margin-top: 5px;
  font-family: var(--f-ui);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}

@media (min-width: 640px) {
  .brand-mark { width: 42px; height: 42px; }
  .brand-name { font-size: 27px; }
  .brand-tag { letter-spacing: .18em; }
}

.nav-toggle {
  display: none;
  align-items: center;
  flex: none;
  gap: 10px;
  padding: 9px 14px;
  background: transparent;
  border: 1px solid var(--field-border);
  border-radius: 999px;
  color: var(--text);
  font-family: var(--f-ui);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background var(--t) var(--ease), border-color var(--t) var(--ease);
}

.nav-toggle:hover { background: var(--bg-alt); border-color: var(--brown); }

.nav-bars,
.nav-bars::before,
.nav-bars::after {
  display: block;
  width: 16px;
  height: 1.5px;
  background: currentColor;
  border-radius: 2px;
  transition: transform var(--t) var(--ease), opacity var(--t-fast) var(--ease);
}

.nav-bars { position: relative; }
.nav-bars::before, .nav-bars::after { content: ""; position: absolute; left: 0; }
.nav-bars::before { top: -5px; }
.nav-bars::after { top: 5px; }

.nav-toggle[aria-expanded="true"] .nav-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-bars::before { transform: translateY(5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-bars::after { transform: translateY(-5px) rotate(-45deg); }

.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-1) var(--s-5);
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav a {
  position: relative;
  display: inline-block;
  padding: 6px 0;
  color: var(--text);
  font-family: var(--f-ui);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t) var(--ease);
}

.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after { transform: scaleX(1); }

.site-nav a[aria-current="page"] { color: var(--accent); }

.js .nav-toggle { display: inline-flex; }
.js .header-inner { flex-wrap: nowrap; }

.js .site-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  padding: var(--s-2) var(--gutter) var(--s-6);
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--sh-md);
}

.js .site-nav.is-open { display: block; }
.js .site-nav ul { flex-direction: column; gap: 0; }
.js .site-nav li { border-bottom: 1px solid var(--border); }

.js .site-nav a {
  display: block;
  padding: 14px 0;
  font-family: var(--f-head);
  font-size: 25px;
  font-weight: 400;
}

.js .site-nav a::after { bottom: 10px; right: auto; width: 48px; }

@media (min-width: 768px) {
  .js .nav-toggle { display: none; }

  .js .site-nav {
    display: block;
    position: static;
    padding: 0;
    background: none;
    border: 0;
    box-shadow: none;
  }

  .js .site-nav ul { flex-direction: row; gap: var(--s-6); }
  .js .site-nav li { border: 0; }

  .js .site-nav a {
    display: inline-block;
    padding: 6px 0;
    font-family: var(--f-ui);
    font-size: 15px;
    font-weight: 500;
  }

  .js .site-nav a::after { bottom: 2px; right: 0; width: auto; }
}

/* Elementi tipografici */
.kicker {
  margin: 0 0 var(--s-3);
  font-family: var(--f-ui);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent);
}

.lede {
  font-size: 1.12em;
  color: var(--muted);
  max-width: var(--measure);
}

.prose { max-width: var(--measure); }

.cap {
  float: left;
  margin: 9px 10px 0 0;
  font-family: var(--f-head);
  font-size: 3.5em;
  line-height: .8;
  color: var(--accent);
  transform-origin: 0 100%;
  transition: transform var(--t-slow) var(--ease);
}

p:hover > .cap,
.recipe-card:hover .cap { transform: scale(1.06); }

.caption {
  margin-top: var(--s-3);
  font-family: var(--f-ui);
  font-size: 13px;
  font-style: italic;
  line-height: 1.5;
  color: var(--muted);
}

.updated {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}

.pullquote {
  margin: var(--s-6) 0;
  padding-left: var(--s-5);
  border-left: 3px solid var(--yolk);
  font-family: var(--f-head);
  font-size: 25px;
  line-height: 1.3;
  color: var(--brown);
}

.pullquote p { margin: 0; }

@media (min-width: 1024px) { .pullquote { font-size: 30px; } }

/* Bottoni */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  background: var(--accent);
  border: 1px solid var(--accent);
  border-radius: var(--r-sm);
  box-shadow: var(--sh-sm);
  color: #FFFFFF;
  font-family: var(--f-head);
  font-size: 19px;
  line-height: 1.1;
  text-decoration: none;
  cursor: pointer;
  transition: background var(--t) var(--ease), border-color var(--t) var(--ease), box-shadow var(--t) var(--ease), transform var(--t) var(--ease), color var(--t) var(--ease);
}

.btn:hover {
  background: var(--brown);
  border-color: var(--brown);
  box-shadow: var(--sh-md);
  color: #FFFFFF;
  transform: translateY(-1px);
}

.btn-ghost { background: transparent; border-color: var(--text); color: var(--text); }
.btn-ghost:hover { background: var(--text); border-color: var(--text); color: var(--bg); }

.btn-yolk { background: var(--yolk); border-color: var(--yolk); color: var(--dark); }
.btn-yolk:hover { background: #FDE68A; border-color: #FDE68A; color: var(--dark); }

/* Sezioni */
.section { padding-block: var(--section); }
.section-alt { background: var(--bg-alt); }

.section-dark { background: var(--dark); color: #F3E6D2; }
.section-dark .kicker { color: var(--yolk); }
.section-dark a:not(.btn) { color: var(--yolk); }

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--s-4) var(--s-7);
  margin-bottom: var(--s-7);
}

.section-head h2 { margin: 0; max-width: 18ch; }
.section-head p { margin: 0; max-width: 46ch; color: var(--muted); }

.split { display: grid; gap: var(--s-8); }

@media (min-width: 1024px) {
  .split { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); align-items: start; }
}

/* Illustrazioni */
.art { width: 100%; }

.js .art {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity var(--t-slow) var(--ease), transform var(--t-slow) var(--ease);
}

.js .art.is-visible { opacity: 1; transform: none; }

.icon { width: 64px; height: 64px; flex: none; }

/* Copertina */
.cover { padding-block: var(--s-6) var(--s-8); border-bottom: 1px solid var(--border); }

.issue {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--s-1) var(--s-4);
  margin: 0 0 var(--s-7);
  padding: 10px 0;
  border-top: 2px solid var(--text);
  border-bottom: 1px solid var(--text);
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}

.cover-grid { display: grid; gap: var(--s-7); align-items: center; }

.cover-text { text-align: center; }
.cover-text h1 { max-width: 15ch; margin-inline: auto; line-height: 1.05; }

.cover-lede {
  max-width: 54ch;
  margin: var(--s-5) auto var(--s-6);
  color: var(--muted);
  font-size: 1.08em;
}

.cover-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s-3); }

.cover-figure { margin: 0 auto; max-width: 300px; }
.cover-figure .art { border-radius: var(--r-xl); box-shadow: var(--sh-md); border: 1px solid var(--gold); }

.contents {
  display: grid;
  gap: var(--s-4);
  margin: var(--s-8) 0 0;
  padding: var(--s-5) 0 0;
  border-top: 1px solid var(--border);
  list-style: none;
}

.contents a {
  display: block;
  color: var(--text);
  font-family: var(--f-head);
  font-size: 20px;
  line-height: 1.3;
  text-decoration: none;
}

.contents a:hover { color: var(--accent); }

.contents span {
  display: block;
  margin-bottom: 4px;
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: .1em;
  color: var(--accent);
}

@media (min-width: 768px) {
  .contents { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-6); }
}

@media (min-width: 1024px) {
  .cover-grid { grid-template-columns: minmax(0, 1fr) 300px; gap: var(--s-8); }
}

@media (min-width: 1280px) {
  .cover-text h1 { font-size: 68px; }
}

/* Ricetta in evidenza */
.featured-grid { display: grid; gap: var(--s-7); align-items: center; }

.featured-art {
  overflow: hidden;
  border: 1px solid rgba(252, 211, 77, .4);
  border-radius: var(--r-xl);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .35);
}

.featured-grid h2 { color: #FFFBF4; }

@media (min-width: 1024px) {
  .featured-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: var(--s-9); }
}

.facts {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3) var(--s-6);
  margin: var(--s-5) 0;
  padding: var(--s-4) 0;
  border-block: 1px solid color-mix(in srgb, currentColor 22%, transparent);
  font-family: var(--f-ui);
}

.facts dt {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  opacity: .8;
}

.facts dd { margin: 0; font-family: var(--f-head); font-size: 22px; line-height: 1.3; }

/* Categorie */
.cat-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-4); }

.cat {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  padding: var(--s-5);
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  color: var(--text);
  text-decoration: none;
  transition: box-shadow var(--t) var(--ease), transform var(--t) var(--ease), border-color var(--t) var(--ease);
}

.cat:hover { color: var(--text); border-color: var(--gold); box-shadow: var(--sh-md); transform: translateY(-2px); }
.cat:first-child { grid-column: span 2; background: var(--bg-alt); }

.cat-name { display: block; font-family: var(--f-head); font-size: 22px; line-height: 1.2; }
.cat-count { display: block; margin-top: 4px; font-family: var(--f-ui); font-size: 13px; line-height: 1.45; color: var(--muted); }

@media (min-width: 640px) {
  .cat:first-child { flex-direction: row; align-items: center; gap: var(--s-5); }
  .cat:first-child .icon { width: 112px; height: 112px; }
  .cat:first-child .cat-name { font-size: 30px; }
}

@media (min-width: 768px) {
  .cat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-5); }
}

/* Le più lette */
.read-list { margin: var(--s-6) 0 0; padding: 0; list-style: none; counter-reset: lette; }

.read-list li {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  column-gap: var(--s-4);
  padding: var(--s-5) 0;
  border-bottom: 1px solid var(--border);
  counter-increment: lette;
}

.read-list li::before {
  content: counter(lette, decimal-leading-zero);
  grid-row: span 2;
  font-family: var(--f-head);
  font-size: 34px;
  line-height: 1;
  color: var(--accent);
}

.read-list a { font-family: var(--f-head); font-size: 23px; line-height: 1.25; color: var(--text); text-decoration: none; }
.read-list a:hover { color: var(--accent); }
.read-list p { margin: 6px 0 0; font-size: .92em; color: var(--muted); }

.note-card {
  padding: var(--s-5);
  background: var(--paper);
  border: 1px solid var(--gold);
  border-radius: var(--r-xl);
  box-shadow: var(--sh-sm);
  transition: box-shadow var(--t) var(--ease);
}

.note-card:hover { box-shadow: var(--sh-lg); }
.note-card .art { margin-bottom: var(--s-5); border-radius: var(--r-md); }

@media (min-width: 1024px) {
  .note-card { position: sticky; top: 110px; padding: var(--s-6); }
}

/* Storia */
.story-grid { display: grid; gap: var(--s-7); }
.story-figure { margin: 0; }
.story-figure .art { border-radius: var(--r-xl); border: 1px solid var(--border); }

@media (min-width: 1024px) {
  .story-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s-9); align-items: start; }
  .story-figure { margin-top: var(--s-9); }
}

/* Lettere dei lettori */
.comments { columns: 1; column-gap: var(--s-5); margin-top: var(--s-6); }

.comment {
  break-inside: avoid;
  margin: 0 0 var(--s-5);
  padding: var(--s-5);
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  transition: box-shadow var(--t) var(--ease);
}

.comment:hover { box-shadow: var(--sh-md); }
.comment p { margin: 0; font-size: .95em; }

.comment-head {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  margin-bottom: var(--s-3);
  font-family: var(--f-ui);
  font-size: 14px;
  line-height: 1.4;
}

.comment-head strong { display: block; font-weight: 600; }
.comment-head span { color: var(--muted); font-size: 13px; }

.avatar {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: none;
  border-radius: 50%;
  background: var(--yolk);
  color: var(--dark);
  font-family: var(--f-head);
  font-size: 19px;
}

@media (min-width: 768px) { .comments { columns: 2; } }
@media (min-width: 1280px) { .comments { columns: 3; } }

/* Testate di pagina */
.page-head { padding-block: var(--s-6) var(--s-8); }

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 var(--s-6);
  padding: 0;
  list-style: none;
  font-family: var(--f-ui);
  font-size: 13px;
  color: var(--muted);
}

.breadcrumb li + li::before { content: "/"; margin-right: 6px; color: var(--field-border); }
.breadcrumb a { color: var(--muted); }

.page-head-grid { display: grid; gap: var(--s-5); }

@media (min-width: 1024px) {
  .page-head-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: var(--s-8); align-items: end; }
  .page-head-grid h1 { margin: 0; }
}

/* Catalogo ricette */
.catalog { padding-bottom: var(--section); }

.filters {
  display: grid;
  gap: var(--s-4);
  margin: var(--s-5) 0 var(--s-4);
  padding: var(--s-5);
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-sm);
}

@media (min-width: 768px) {
  .filters { grid-template-columns: repeat(3, minmax(0, 1fr)) auto; align-items: end; }
}

.field { display: flex; flex-direction: column; gap: 6px; }

.field label {
  font-family: var(--f-ui);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .03em;
}

select, input, textarea {
  width: 100%;
  padding: 12px 14px;
  background: var(--bg);
  border: 1px solid var(--field-border);
  border-radius: var(--r-sm);
  color: var(--text);
  font-family: var(--f-ui);
  font-size: 16px;
  line-height: 1.4;
  transition: border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
}

select:focus, input:focus, textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(194, 65, 12, .2);
}

textarea { min-height: 180px; resize: vertical; }

.filter-count { margin: 0 0 var(--s-6); font-family: var(--f-ui); font-size: 14px; color: var(--muted); }

.recipe-grid { display: grid; gap: var(--s-6); align-items: start; }

@media (min-width: 1024px) {
  .recipe-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.recipe-card {
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--gold);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-sm);
  transition: box-shadow var(--t) var(--ease);
}

.recipe-card:hover { box-shadow: var(--sh-lg); }
.recipe-card > .art { border-bottom: 1px solid var(--border); }
.recipe-card:has(details[open]) { grid-column: 1 / -1; }

@media (min-width: 1024px) {
  .recipe-card:has(details[open]) { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); align-items: start; }
  .recipe-card:has(details[open]) > .art { border-bottom: 0; border-right: 1px solid var(--border); }
}

.recipe-body { padding: var(--s-5); }

@media (min-width: 768px) { .recipe-body { padding: var(--s-6); } }

.tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 var(--s-4); padding: 0; list-style: none; }

.tag {
  padding: 2px 10px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--brown);
  font-family: var(--f-ui);
  font-size: 12px;
  font-weight: 500;
}

.recipe-body h3 { margin-bottom: var(--s-2); }

.origin { margin-bottom: var(--s-4); font-family: var(--f-ui); font-size: 13px; color: var(--muted); }

.recipe-body .facts { margin: var(--s-4) 0; padding: var(--s-3) 0; }
.recipe-body .facts dd { font-size: 19px; }

.recipe-more summary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  color: var(--accent);
  font-family: var(--f-head);
  font-size: 19px;
  list-style: none;
  cursor: pointer;
}

.recipe-more summary::-webkit-details-marker { display: none; }

.recipe-more summary::after {
  content: "+";
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-family: var(--f-ui);
  font-size: 17px;
  line-height: 1;
  transition: transform var(--t) var(--ease);
}

.recipe-more summary:hover { color: var(--brown); }
.recipe-more[open] summary::after { transform: rotate(45deg); }

.recipe-full {
  display: grid;
  gap: var(--s-6);
  margin-top: var(--s-3);
  padding-top: var(--s-5);
  border-top: 1px dashed var(--field-border);
}

@media (min-width: 768px) {
  .recipe-full { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); }
}

.recipe-full h4 {
  margin-bottom: var(--s-3);
  font-family: var(--f-ui);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--brown);
}

.ingredients { margin: 0; padding: 0; list-style: none; }

.ingredients li {
  position: relative;
  padding: 7px 0 7px 22px;
  border-bottom: 1px dotted var(--field-border);
  font-size: .93em;
  line-height: 1.55;
}

.ingredients li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 14px;
  width: 9px;
  height: 11px;
  background: var(--yolk);
  border: 1px solid var(--brown);
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
}

.steps { margin: 0; padding: 0; list-style: none; counter-reset: passo; }

.steps li {
  position: relative;
  margin-bottom: var(--s-4);
  padding-left: 44px;
  counter-increment: passo;
  font-size: .95em;
}

.steps li::before {
  content: counter(passo);
  position: absolute;
  left: 0;
  top: 2px;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  background: var(--dark);
  border-radius: 50%;
  color: var(--yolk);
  font-family: var(--f-head);
  font-size: 16px;
  line-height: 1;
}

.tip {
  grid-column: 1 / -1;
  margin: 0;
  padding: var(--s-4) var(--s-5);
  background: var(--bg-alt);
  border-left: 3px solid var(--yolk);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  font-style: italic;
}

.tip strong {
  display: block;
  margin-bottom: 4px;
  font-family: var(--f-ui);
  font-size: 12px;
  font-style: normal;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brown);
}

.cta { display: grid; gap: var(--s-5); align-items: center; }
.cta h2 { color: #FFFBF4; margin-bottom: var(--s-3); }
.cta p { margin: 0; max-width: 56ch; }

@media (min-width: 1024px) {
  .cta { grid-template-columns: minmax(0, 1fr) auto; gap: var(--s-8); }
}

/* Tecniche */
.yolk-scale {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--s-5) var(--s-4);
  margin: var(--s-7) 0 0;
  padding: var(--s-5);
  background: var(--paper);
  border: 1px solid var(--gold);
  border-radius: var(--r-xl);
  list-style: none;
}

.yolk-scale li { font-family: var(--f-ui); font-size: 13px; line-height: 1.45; text-align: center; color: var(--muted); }
.yolk-scale svg { width: 100%; max-width: 110px; margin: 0 auto var(--s-2); }
.yolk-scale strong { display: block; font-family: var(--f-head); font-size: 24px; font-weight: 400; color: var(--text); }

@media (min-width: 768px) {
  .yolk-scale { grid-template-columns: repeat(6, minmax(0, 1fr)); padding: var(--s-6); }
}

.tech { display: grid; gap: var(--s-6); padding-block: var(--s-8); border-top: 1px solid var(--border); }
.tech:first-of-type { border-top: 0; }

.tech-art { overflow: hidden; border: 1px solid var(--border); border-radius: var(--r-xl); box-shadow: var(--sh-sm); }

.tech h3 { font-family: var(--f-head); font-size: 23px; margin-top: var(--s-5); }

@media (min-width: 1024px) {
  .tech { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: var(--s-8); align-items: start; }
  .tech:nth-of-type(even) { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); }
  .tech:nth-of-type(even) .tech-art { order: 2; }
  .tech-art { position: sticky; top: 110px; }
}

.table-wrap {
  overflow-x: auto;
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-sm);
}

.time-table { width: 100%; min-width: 600px; border-collapse: collapse; font-family: var(--f-ui); font-size: 15px; line-height: 1.5; }

.time-table caption {
  padding: var(--s-5) var(--s-5) var(--s-3);
  font-family: var(--f-head);
  font-size: 23px;
  text-align: left;
}

.time-table th, .time-table td { padding: 12px var(--s-5); border-top: 1px solid var(--border); text-align: left; vertical-align: top; }
.time-table thead th { background: var(--bg-alt); color: var(--brown); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.time-table tbody th { font-weight: 600; }

.faq { max-width: 880px; margin-top: var(--s-6); }
.faq details { border-bottom: 1px solid var(--field-border); }

.faq summary {
  position: relative;
  padding: var(--s-5) 44px var(--s-5) 0;
  font-family: var(--f-head);
  font-size: 21px;
  line-height: 1.3;
  list-style: none;
  cursor: pointer;
  transition: color var(--t-fast) var(--ease);
}

.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--accent); }

.faq summary::after {
  content: "+";
  position: absolute;
  right: 6px;
  top: 50%;
  translate: 0 -50%;
  color: var(--accent);
  font-family: var(--f-ui);
  font-size: 26px;
  transition: rotate var(--t) var(--ease);
}

.faq details[open] summary::after { rotate: 45deg; }
.faq details p { margin: 0 0 var(--s-5); max-width: var(--measure); }

@media (min-width: 1024px) { .faq summary { font-size: 24px; } }

/* Contatti */
.letter {
  max-width: 760px;
  margin: 0 auto;
  padding: var(--s-6) var(--s-5);
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  box-shadow: var(--sh-md);
  rotate: -.4deg;
}

.letter h1 { margin-bottom: var(--s-5); }
.letter-sign { margin: var(--s-5) 0 0; font-family: var(--f-script); font-size: 34px; line-height: 1.1; color: var(--brown); }

@media (min-width: 768px) { .letter { padding: var(--s-8); } }

.contact-grid { display: grid; gap: var(--s-7); }

@media (min-width: 1024px) {
  .contact-grid { grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); gap: var(--s-8); align-items: start; }
}

.contact-card { padding: var(--s-6); background: var(--dark); border-radius: var(--r-xl); color: #F3E6D2; box-shadow: var(--sh-lg); }
.contact-card h2 { color: #FFFBF4; }
.contact-card a { color: var(--yolk); }
.contact-card .art { margin-top: var(--s-6); border-radius: var(--r-md); }

.contact-list { display: grid; gap: var(--s-4); margin: 0; }
.contact-list dt { font-family: var(--f-ui); font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--yolk); }
.contact-list dd { margin: 0; line-height: 1.6; }

.form {
  display: grid;
  gap: var(--s-5);
  padding: var(--s-6) var(--s-5);
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  box-shadow: var(--sh-sm);
}

@media (min-width: 768px) { .form { padding: var(--s-8); } }

.form h2 { margin-bottom: 0; }
.form-row { display: grid; gap: var(--s-5); }

@media (min-width: 640px) { .form-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.hint { font-family: var(--f-ui); font-size: 13px; line-height: 1.5; color: var(--muted); margin: 0; }

.check { display: flex; align-items: flex-start; gap: var(--s-3); font-size: 15px; line-height: 1.6; cursor: pointer; }
.check input { width: 22px; height: 22px; margin: 3px 0 0; padding: 0; flex: none; accent-color: var(--accent); }

[aria-invalid="true"] { border-color: var(--error); }

.field-error { margin: 0; font-family: var(--f-ui); font-size: 13px; font-weight: 500; color: var(--error); }

.form-status {
  margin: 0;
  padding: var(--s-4);
  background: #EEF4E5;
  border: 1px solid #C5D9AE;
  border-radius: var(--r-md);
  color: #2F4A1C;
  font-family: var(--f-ui);
  font-size: 15px;
}

.map { overflow: hidden; border: 1px solid var(--border); border-radius: var(--r-xl); box-shadow: var(--sh-sm); }
.map iframe { display: block; width: 100%; height: 380px; border: 0; }

.privacy { max-width: var(--measure); font-size: .92em; color: var(--muted); }
.privacy h2 { color: var(--text); font-size: 26px; }

/* Piè di pagina */
.site-footer { padding-block: var(--s-8) var(--s-6); background: var(--dark); color: #E9DCC7; font-size: 15px; line-height: 1.7; }

.footer-grid { display: grid; gap: var(--s-6); }

@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: var(--s-7); } }

.site-footer h2 {
  margin-bottom: var(--s-4);
  font-family: var(--f-ui);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--yolk);
}

.site-footer ul { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.site-footer a { color: #FFFBF4; text-decoration: none; }
.site-footer a:hover { color: var(--yolk); text-decoration: underline; }

.footer-brand { margin-bottom: var(--s-3); font-family: var(--f-head); font-size: 32px; line-height: 1.1; color: #FFFBF4; }

.signature {
  margin: var(--s-8) 0 var(--s-5);
  font-family: var(--f-script);
  font-size: 32px;
  line-height: 1.2;
  text-align: center;
  color: var(--yolk);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--s-2) var(--s-5);
  padding-top: var(--s-5);
  border-top: 1px solid rgba(233, 220, 199, .2);
  font-family: var(--f-ui);
  font-size: 13px;
  color: #CDBBA3;
}

.footer-bottom p { margin: 0; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
  .js .art { opacity: 1; transform: none; }
}
