/* FlowGlutenFree — foglio di stile del sito
   Identità presa dal libro "Il metodo senza glutine": ardesia scura, oro in corsivo,
   nastri rossi, verde basilico. Caratteri ospitati sul sito (nessuna chiamata a Google). */

@font-face { font-family: "Bebas Neue"; src: url("../fonts/bebas-neue-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Yellowtail"; src: url("../fonts/yellowtail-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("../fonts/figtree-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("../fonts/figtree-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("../fonts/figtree-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("../fonts/figtree-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("../fonts/figtree-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("../fonts/figtree-800.woff2") format("woff2"); font-weight: 800; font-display: swap; }

:root {
  --slate: #1c1d1a;
  --slate-2: #262823;
  --slate-3: #33352f;
  --paper: #f4f5ef;
  --paper-2: #e9ebe2;
  --card: #ffffff;
  --ink: #1b1c19;
  --muted: #5b5f56;
  --line: #dcdfd3;
  --gold: #a87b17;          /* oro leggibile su chiaro */
  --gold-lt: #e3b649;       /* oro su ardesia */
  --tomato: #d8363b;
  --tomato-dk: #b82a2f;
  --basil: #2e6b45;
  --basil-lt: #7fc49a;
  --on-dark: #f3f1ea;
  --on-dark-muted: #b9b8ae;

  --f-display: "Bebas Neue", "Oswald", "Arial Narrow", Impact, sans-serif;
  --f-script: "Yellowtail", "Brush Script MT", cursive;
  --f-body: "Figtree", "Segoe UI", system-ui, -apple-system, sans-serif;

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 18px;
  --radius-lg: 28px;
  --shadow: 0 1px 2px rgba(20, 22, 18, .06), 0 10px 30px rgba(20, 22, 18, .08);
  --shadow-lg: 0 30px 60px -20px rgba(0, 0, 0, .55);
  --noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .05 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--f-body); font-size: 1.0625rem; line-height: 1.65; overflow-x: hidden; }
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; text-wrap: balance; }
:focus-visible { outline: 3px solid var(--gold-lt); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 10px; z-index: 100; }
.skip:focus { top: 12px; }

.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.section { padding-block: clamp(64px, 9vw, 120px); }
.section--tight { padding-block: clamp(44px, 6vw, 72px); }
.dark { background: var(--slate) var(--noise); color: var(--on-dark); }
.dark .muted { color: var(--on-dark-muted); }
.muted { color: var(--muted); }
.paper2 { background: var(--paper-2); }

/* ---------- tipografia ---------- */
.display { font-family: var(--f-display); font-weight: 400; line-height: .9; letter-spacing: .01em; text-transform: uppercase; }
.script { font-family: var(--f-script); font-weight: 400; text-transform: none; letter-spacing: 0; color: var(--gold); line-height: 1; }
.dark .script { color: var(--gold-lt); }
.h1 { font-size: clamp(4rem, 11vw, 8.4rem); }
.h2 { font-size: clamp(2.7rem, 6vw, 4.6rem); }
.h3 { font-size: clamp(1.7rem, 3vw, 2.2rem); }
.h2 .script, .h1 .script { display: block; font-size: .62em; margin-bottom: -.02em; transform: rotate(-3deg); transform-origin: left; }
.lead { font-size: clamp(1.12rem, 1.6vw, 1.3rem); line-height: 1.55; max-width: 38ch; }
.eyebrow { font-family: var(--f-body); font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--basil); }
.dark .eyebrow { color: var(--basil-lt); }
.prose { max-width: 68ch; }
.prose h2 { font-family: var(--f-display); font-weight: 400; font-size: clamp(2rem, 4vw, 2.8rem); line-height: .95; margin: 1.6em 0 .45em; text-transform: uppercase; }
.prose h3 { font-size: 1.15rem; margin: 1.4em 0 .4em; }
.prose ul, .prose ol { padding-left: 1.2em; margin: 0 0 1.1em; }
.prose li { margin-bottom: .35em; }
.prose a:not(.btn) { color: var(--basil); font-weight: 600; text-underline-offset: 3px; }
.prose .sources { list-style: none; padding: 0; display: grid; gap: 10px; }
.prose .sources li { background: var(--card); border-radius: 12px; padding: 12px 16px; box-shadow: var(--shadow); margin: 0; }

/* ---------- nastro (come sulla copertina) ---------- */
.ribbon { display: inline-flex; align-items: center; gap: .5em; background: var(--tomato); color: #fff; font-family: var(--f-display); font-size: clamp(1.05rem, 1.7vw, 1.35rem); letter-spacing: .04em; line-height: 1; padding: .5em 1.6em .42em 1em; clip-path: polygon(0 0, 100% 0, calc(100% - .7em) 50%, 100% 100%, 0 100%); transform: rotate(-2.5deg); box-shadow: 0 8px 18px -10px rgba(0,0,0,.6); }
.ribbon--gold { background: var(--gold-lt); color: var(--slate); }
.ribbon--basil { background: var(--basil); }

/* ---------- pulsanti ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; min-height: 52px; padding: 0 1.5em; border-radius: 999px; font: 700 1rem/1 var(--f-body); text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease, color .2s ease; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--tomato); color: #fff; box-shadow: 0 12px 24px -12px rgba(216, 54, 59, .8); }
.btn--primary:hover { background: var(--tomato-dk); }
.btn--ghost { border-color: currentColor; color: inherit; background: transparent; }
.btn--ghost:hover { background: rgba(255,255,255,.08); }
.btn--dark { background: var(--slate); color: #fff; }
.btn--sm { min-height: 42px; padding: 0 1.1em; font-size: .92rem; }
.btn svg { width: 1.15em; height: 1.15em; flex: none; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- testata ---------- */
.site-head { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background-color .3s ease, box-shadow .3s ease, color .3s ease; color: #fff; }
.site-head.is-solid, .site-head--solid { background: rgba(28, 29, 26, .94); backdrop-filter: saturate(140%) blur(10px); box-shadow: 0 1px 0 rgba(255,255,255,.06); }
.head-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.brand img { width: 46px; height: 46px; border-radius: 50%; background: #fff; object-fit: contain; }
.brand-mark { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--gold-lt); color: var(--slate); font-family: var(--f-display); font-size: 1.35rem; letter-spacing: .02em; }
.brand-name { font-family: var(--f-display); font-size: 1.7rem; letter-spacing: .03em; line-height: 1; }
.brand-name em { font-family: var(--f-script); font-style: normal; color: var(--gold-lt); font-size: .9em; letter-spacing: 0; margin-left: .05em; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { text-decoration: none; font-weight: 600; font-size: .96rem; padding: 8px 12px; border-radius: 999px; opacity: .92; }
.nav a:hover, .nav a[aria-current="page"] { opacity: 1; background: rgba(255,255,255,.12); }
.nav .lang { font-size: .8rem; letter-spacing: .08em; border: 1px solid rgba(255,255,255,.35); }
.head-cta { flex: none; }
.menu-btn { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35); background: transparent; color: inherit; cursor: pointer; place-items: center; }
.menu-btn span, .menu-btn span::before, .menu-btn span::after { display: block; width: 20px; height: 2px; background: currentColor; border-radius: 2px; position: relative; transition: transform .25s ease, opacity .2s; }
.menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; }
.menu-btn span::before { top: -6px; } .menu-btn span::after { top: 6px; }
.menu-open .menu-btn span { background: transparent; }
.menu-open .menu-btn span::before { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-btn span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1080px) {
  .menu-btn { display: grid; }
  .head-cta { display: none; }
  .nav { position: fixed; inset: 76px 0 auto 0; flex-direction: column; align-items: stretch; gap: 2px; padding: 12px var(--gutter) 24px; background: var(--slate); box-shadow: 0 20px 40px rgba(0,0,0,.4); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s ease, transform .2s ease, visibility .2s; max-height: calc(100svh - 76px); overflow-y: auto; }
  .nav a { font-size: 1.15rem; padding: 14px 12px; border-radius: 12px; }
  .nav .lang { align-self: flex-start; margin-top: 6px; }
  .nav .nav-cta { display: flex; margin-top: 10px; }
  .menu-open .nav { opacity: 1; transform: none; visibility: visible; }
  .menu-open .site-head { background: var(--slate); }
}
@media (min-width: 1081px) { .nav .nav-cta { display: none; } }

/* ---------- hero home ---------- */
.hero { position: relative; min-height: min(100svh, 960px); display: grid; align-items: center; background: var(--slate) var(--noise); color: var(--on-dark); overflow: hidden; padding: 110px 0 64px; }
.hero::before { content: ""; position: absolute; inset: auto -10% -35% auto; width: 60vw; height: 60vw; background: radial-gradient(closest-side, rgba(227,182,73,.16), transparent 70%); pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.hero-copy .ribbon { margin-bottom: 22px; }
.hero h1 { margin-bottom: 22px; }
.hero h1 .script { font-size: .58em; margin-top: -.05em; margin-left: .06em; }
.hero .lead { color: #e4e2d9; margin-bottom: 30px; }
.hero-note { margin-top: 22px; font-size: .92rem; color: var(--on-dark-muted); display: flex; align-items: center; gap: 10px; }
.hero-note img { width: 30px; height: auto; border-radius: 3px; box-shadow: 0 4px 10px rgba(0,0,0,.4); }
.hero-media { position: relative; justify-self: center; width: min(100%, 420px); }
.hero-frame { position: relative; aspect-ratio: 9 / 13.5; border-radius: var(--radius-lg); overflow: hidden; background: var(--slate-3) center / cover no-repeat; box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255,255,255,.07); transform: rotate(1.5deg); }
.hero-frame video, .hero-frame > img { width: 100%; height: 100%; object-fit: cover; }
.hero-frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,.45)); pointer-events: none; }
.hero-tag { position: absolute; top: 22px; left: -18px; z-index: 2; }
.hero-book { position: absolute; z-index: 3; left: -26%; bottom: -6%; width: 46%; transform: rotate(-8deg); filter: drop-shadow(0 24px 30px rgba(0,0,0,.6)); transition: transform .4s ease; }
.hero-book:hover { transform: rotate(-4deg) translateY(-6px); }
.hero-book img { border-radius: 3px 8px 8px 3px; }
.hero-scroll { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; color: var(--on-dark-muted); text-decoration: none; }

@media (max-width: 860px) {
  .hero { min-height: 100svh; padding: 0; align-items: end; }
  .hero-grid { grid-template-columns: 1fr; position: static; }
  .hero-media { position: absolute; inset: 0; width: 100%; }
  .hero-frame { aspect-ratio: auto; height: 100%; border-radius: 0; transform: none; box-shadow: none; }
  .hero-frame::after { background: linear-gradient(180deg, rgba(20,21,18,.25) 0%, rgba(20,21,18,.15) 35%, rgba(20,21,18,.88) 72%, var(--slate) 100%); }
  .hero-tag, .hero-book { display: none; }
  .hero-copy { position: relative; z-index: 2; padding: 0 0 56px; }
  .hero .lead { max-width: 30ch; }
  .hero-scroll { display: none; }
}

/* ---------- striscia numeri ---------- */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.fact { padding: 26px 22px; display: grid; gap: 4px; align-content: start; }
.fact + .fact { border-left: 1px solid var(--line); }
.fact b { font-family: var(--f-display); font-weight: 400; font-size: clamp(2.6rem, 5vw, 3.6rem); line-height: .9; color: var(--tomato); font-variant-numeric: tabular-nums; }
.fact span { font-weight: 600; line-height: 1.35; max-width: 22ch; }
@media (max-width: 760px) { .facts { grid-template-columns: 1fr 1fr; } .fact:nth-child(3) { border-left: 0; } .fact:nth-child(n+3) { border-top: 1px solid var(--line); } }

/* ---------- libro ---------- */
.book { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(36px, 6vw, 90px); align-items: center; }
.book-stage { position: relative; display: grid; place-items: center; padding: 30px 0; perspective: 1400px; }
.book-stage::before { content: ""; position: absolute; width: 78%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, rgba(227,182,73,.25), transparent 72%); }
.book-3d { position: relative; width: min(340px, 78%); transform: rotateY(-18deg) rotateX(4deg); transform-style: preserve-3d; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.book-3d:hover { transform: rotateY(-6deg) rotateX(2deg); }
.book-3d img { width: 100%; border-radius: 2px 6px 6px 2px; box-shadow: 30px 30px 60px -20px rgba(0,0,0,.75), inset 0 0 0 1px rgba(255,255,255,.05); }
.book-3d::before { content: ""; position: absolute; top: 1%; bottom: 1%; left: 0; width: 26px; transform: translateX(-24px) rotateY(-90deg); transform-origin: right; background: linear-gradient(90deg, #111, #2a2a2a); }
.book-3d::after { content: ""; position: absolute; inset: 0; border-radius: 2px 6px 6px 2px; background: linear-gradient(90deg, rgba(255,255,255,.18) 0, rgba(255,255,255,0) 4%, rgba(0,0,0,.25) 5.5%, rgba(255,255,255,0) 8%); pointer-events: none; }
.book-toggle { display: inline-flex; margin-top: 26px; padding: 4px; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); position: relative; z-index: 1; }
.book-toggle button { border: 0; background: transparent; color: var(--on-dark); font: 700 .9rem/1 var(--f-body); letter-spacing: .06em; padding: 10px 18px; border-radius: 999px; cursor: pointer; }
.book-toggle button[aria-pressed="true"] { background: var(--gold-lt); color: var(--slate); }
.book-copy .ribbon { margin-bottom: 18px; }
.book-copy h2 { margin-bottom: 18px; }
.book-sub { font-size: 1.05rem; color: var(--on-dark-muted); margin-bottom: 22px; max-width: 52ch; }
.checks { list-style: none; padding: 0; margin: 0 0 30px; display: grid; gap: 12px; }
.checks li { display: grid; grid-template-columns: 30px 1fr; gap: 12px; align-items: start; font-weight: 500; }
.checks li::before { content: ""; width: 30px; height: 30px; border-radius: 50%; background: var(--basil) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 16px no-repeat; }
.checks b { color: var(--gold-lt); font-weight: 700; }
.quote { margin: 30px 0 0; padding: 20px 0 0 22px; border-left: 3px solid var(--gold-lt); font-size: 1.08rem; font-style: italic; color: #e7e5dc; max-width: 52ch; }
.quote cite { display: block; margin-top: 8px; font-style: normal; font-size: .88rem; color: var(--on-dark-muted); }
@media (max-width: 900px) { .book { grid-template-columns: 1fr; } .book-stage { order: -1; } }

/* ---------- schede generiche ---------- */
.head-block { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 18px 40px; margin-bottom: clamp(30px, 4vw, 52px); }
.head-block p { max-width: 52ch; margin: 0; }
.grid { display: grid; gap: clamp(16px, 2vw, 26px); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 960px) { .grid-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.pillar { background: var(--card); border-radius: var(--radius); padding: 30px 28px 28px; box-shadow: var(--shadow); display: grid; gap: 10px; align-content: start; }
.pillar-ico { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: var(--paper-2); color: var(--tomato); margin-bottom: 6px; }
.pillar-ico svg { width: 28px; height: 28px; }
.pillar h3 { font-family: var(--f-display); font-weight: 400; font-size: 2rem; line-height: .95; text-transform: uppercase; }
.pillar p { margin: 0; color: var(--muted); }
.pillar a { margin-top: 6px; font-weight: 700; color: var(--basil); text-decoration: none; }
.pillar a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- ricette ---------- */
.recipe-card { position: relative; display: grid; grid-template-rows: auto 1fr; background: var(--card); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); text-decoration: none; transition: transform .25s ease, box-shadow .25s ease; }
.recipe-card:hover { transform: translateY(-4px); box-shadow: 0 2px 4px rgba(20,22,18,.06), 0 22px 40px rgba(20,22,18,.14); }
.recipe-media { aspect-ratio: 4 / 3; background: var(--slate) var(--noise); position: relative; overflow: hidden; display: grid; place-items: center; }
.recipe-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.recipe-card:hover .recipe-media img { transform: scale(1.04); }
.recipe-media .glyph { font-family: var(--f-display); font-size: clamp(3.4rem, 6vw, 4.6rem); color: rgba(255,255,255,.92); line-height: .85; text-align: center; padding: 0 16px; text-transform: uppercase; }
.recipe-media .glyph small { display: block; font-family: var(--f-script); font-size: .42em; color: var(--gold-lt); text-transform: none; margin-top: 8px; }
.recipe-media--tomato { background-color: #7c2a22; }
.recipe-media--basil { background-color: #24452f; }
.recipe-media--gold { background-color: #6a4f14; }
.recipe-media--slate { background-color: var(--slate-2); }
.recipe-media--plum { background-color: #4b2a3a; }
.recipe-tag { position: absolute; top: 14px; left: 14px; z-index: 1; background: rgba(255,255,255,.94); color: var(--ink); font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 6px 10px; border-radius: 999px; }
.recipe-body { padding: 20px 22px 22px; display: grid; gap: 8px; align-content: start; }
.recipe-body h3 { font-family: var(--f-display); font-weight: 400; font-size: 1.9rem; line-height: .95; text-transform: uppercase; }
.recipe-body p { margin: 0; color: var(--muted); font-size: .98rem; }
.meta-row { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: .86rem; font-weight: 600; color: var(--basil); }
.gf-pill { display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--basil); }
.gf-pill::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.filters button { border: 1px solid var(--line); background: var(--card); color: var(--ink); font: 600 .95rem/1 var(--f-body); padding: 11px 16px; border-radius: 999px; cursor: pointer; }
.filters button[aria-pressed="true"] { background: var(--slate); color: #fff; border-color: var(--slate); }

/* ---------- blog, due corsie ---------- */
.lanes { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(18px, 3vw, 36px); }
.lane { border-radius: var(--radius-lg); padding: clamp(22px, 3vw, 34px); display: grid; gap: 16px; align-content: start; }
.lane--kitchen { background: #fbeceb; }
.lane--science { background: #e5f0e8; }
.lane-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.lane-head h3 { font-family: var(--f-display); font-weight: 400; font-size: 2.3rem; line-height: .9; text-transform: uppercase; }
.lane-head h3 .script { font-size: .7em; margin-right: .1em; }
.lane--kitchen .lane-head h3 .script { color: var(--tomato); }
.lane--science .lane-head h3 .script { color: var(--basil); }
.lane-share { font-size: .78rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; padding: 6px 10px; border-radius: 999px; background: rgba(255,255,255,.7); }
.post { display: grid; grid-template-columns: 96px 1fr; gap: 16px; align-items: start; background: rgba(255,255,255,.75); border-radius: 14px; padding: 12px; text-decoration: none; transition: background-color .2s ease; }
.post:hover { background: #fff; }
.post-img { width: 96px; height: 80px; border-radius: 10px; object-fit: cover; background: var(--paper-2); }
.post-ph { width: 96px; height: 80px; border-radius: 10px; display: grid; place-items: center; font-family: var(--f-display); font-size: 1.5rem; color: #fff; }
.lane--kitchen .post-ph { background: var(--tomato); }
.post-ph svg { width: 34px; height: 34px; }
.post-ph--basil { background: var(--basil) !important; } .post-ph--tomato { background: #7c2a22 !important; } .post-ph--gold { background: #6a4f14 !important; } .post-ph--plum { background: #4b2a3a !important; } .post-ph--slate { background: var(--slate-2) !important; }
.lane--science .post-ph { background: var(--basil); }
.post h4 { font-size: 1.02rem; line-height: 1.3; margin-bottom: 4px; }
.post time, .post small { font-size: .82rem; color: var(--muted); }
.post p { margin: 4px 0 0; font-size: .92rem; color: var(--muted); line-height: 1.45; }
.lane-empty { background: rgba(255,255,255,.6); border: 1px dashed rgba(0,0,0,.15); border-radius: 14px; padding: 18px; font-size: .96rem; }
.lane-empty b { display: block; margin-bottom: 4px; }
.topics { list-style: none; padding: 0; margin: 12px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.topics li { background: #fff; border-radius: 999px; padding: 7px 12px; font-size: .86rem; font-weight: 600; color: var(--basil); }
@media (max-width: 820px) { .lanes { grid-template-columns: 1fr; } }

/* ---------- storia ---------- */
.story { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 90px); align-items: center; }
.story-media { position: relative; }
.story-media img { border-radius: var(--radius-lg); width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; box-shadow: var(--shadow); }
.story-media .stamp { position: absolute; right: -14px; bottom: -18px; width: 132px; height: 132px; border-radius: 50%; background: var(--gold-lt); color: var(--slate); display: grid; place-items: center; text-align: center; font-family: var(--f-display); font-size: 1.25rem; line-height: .95; padding: 18px; transform: rotate(8deg); box-shadow: 0 16px 30px -12px rgba(0,0,0,.45); }
.story-media .stamp b { display: block; font-size: 2.6rem; font-weight: 400; }
@media (max-width: 860px) { .story { grid-template-columns: 1fr; } .story-media .stamp { right: 8px; } }

/* ---------- banda guida ---------- */
.guide-band { display: grid; grid-template-columns: 1.3fr 1fr; gap: 30px 60px; align-items: center; background: var(--basil); color: #fff; border-radius: var(--radius-lg); padding: clamp(30px, 5vw, 60px); position: relative; overflow: hidden; }
.guide-band::after { content: "20"; position: absolute; right: 8px; bottom: -64px; font-family: var(--f-display); font-size: 17rem; line-height: 1; color: rgba(255,255,255,.05); pointer-events: none; }
.guide-band > * { position: relative; z-index: 1; }
.guide-band h2 { margin-bottom: 14px; }
.guide-band .script { color: #ffe08a; }
.guide-band ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; position: relative; z-index: 1; }
.guide-band li { background: rgba(255,255,255,.1); border-radius: 12px; padding: 12px 14px; font-weight: 600; }
.guide-band .btn { background: #fff; color: var(--basil); }
@media (max-width: 860px) { .guide-band { grid-template-columns: 1fr; } }

/* ---------- testata pagine interne ---------- */
.page-hero { background: var(--slate) var(--noise); color: var(--on-dark); padding: 150px 0 70px; position: relative; overflow: hidden; }
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero h1 { margin: 14px 0 18px; }
.page-hero .lead { color: #e4e2d9; max-width: 56ch; }
.page-hero-food { position: absolute; right: -60px; top: 50%; transform: translateY(-50%) rotate(-6deg); width: min(42vw, 520px); opacity: .9; border-radius: 50%; overflow: hidden; aspect-ratio: 1; box-shadow: var(--shadow-lg); }
.page-hero-food img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 860px) { .page-hero { padding: 120px 0 52px; } .page-hero-food { width: 220px; right: -70px; top: 92px; transform: rotate(-6deg); opacity: .35; } }
.crumbs { font-size: .86rem; color: var(--on-dark-muted); }
.crumbs a { color: inherit; }

/* ---------- pagina ricetta ---------- */
.recipe-layout { display: grid; grid-template-columns: 340px 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.ingredients { position: sticky; top: 100px; background: var(--card); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.ingredients h2, .steps-title { font-family: var(--f-display); font-weight: 400; font-size: 2.1rem; line-height: .95; text-transform: uppercase; margin-bottom: 14px; }
.ingredients ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.ingredients li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: .98rem; }
.ingredients li:last-child { border-bottom: 0; }
.ingredients li::before { content: ""; width: 16px; height: 16px; margin-top: 4px; border: 2px solid var(--line); border-radius: 5px; }
.ingredients li.gf::before { border-color: var(--basil); background: var(--basil); }
.ingredients .qty { font-weight: 700; font-variant-numeric: tabular-nums; }
.ingredients .gfnote { display: block; font-size: .82rem; color: var(--basil); font-weight: 600; }
.legend { margin-top: 14px; font-size: .84rem; color: var(--muted); display: flex; gap: 8px; align-items: center; }
.legend i { width: 14px; height: 14px; border-radius: 4px; background: var(--basil); display: inline-block; }
.steps { list-style: none; counter-reset: s; margin: 0 0 34px; padding: 0; display: grid; gap: 14px; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 56px 1fr; gap: 16px; background: var(--card); border-radius: 16px; padding: 18px 20px; box-shadow: var(--shadow); }
.steps li::before { content: counter(s); font-family: var(--f-display); font-size: 2.6rem; line-height: .9; color: var(--tomato); }
.tip { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: start; background: var(--slate) var(--noise); color: var(--on-dark); border-radius: var(--radius); padding: 22px 24px; margin-bottom: 18px; }
.tip .script { font-size: 1.8rem; }
.tip p { margin: 0; }
.warn { border: 2px solid var(--basil); border-radius: var(--radius); padding: 20px 22px; background: #eef5ef; }
.warn h3 { font-size: 1.05rem; margin-bottom: 8px; color: var(--basil); }
.warn ul { margin: 0; padding-left: 1.1em; }
.warn li { margin-bottom: 4px; }
.recipe-quick { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.recipe-quick span { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); border-radius: 999px; padding: 8px 14px; font-size: .92rem; font-weight: 600; }
@media (max-width: 900px) { .recipe-layout { grid-template-columns: 1fr; } .ingredients { position: static; } }

/* ---------- call to action libro (riquadro) ---------- */
.book-cta { display: grid; grid-template-columns: 150px 1fr auto; gap: 26px; align-items: center; background: var(--slate) var(--noise); color: var(--on-dark); border-radius: var(--radius-lg); padding: 26px clamp(22px, 4vw, 40px); }
.book-cta img { width: 150px; transform: rotate(-5deg); box-shadow: 0 20px 30px -10px rgba(0,0,0,.7); border-radius: 2px 5px 5px 2px; }
.book-cta h2 { font-family: var(--f-display); font-weight: 400; font-size: clamp(2rem, 4vw, 2.8rem); line-height: .95; text-transform: uppercase; margin-bottom: 8px; }
.book-cta p { margin: 0; color: var(--on-dark-muted); }
@media (max-width: 760px) { .book-cta { grid-template-columns: 96px 1fr; } .book-cta img { width: 96px; } .book-cta .btn { grid-column: 1 / -1; } }

/* ---------- guida ---------- */
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0 0; }
.toc a { text-decoration: none; font-weight: 600; font-size: .92rem; padding: 9px 14px; border-radius: 999px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.16); }
.toc a:hover { background: rgba(255,255,255,.18); }
.guide-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 18px 0 8px; }
.gcard { background: var(--card); border-radius: var(--radius); padding: 22px 24px; box-shadow: var(--shadow); }
.gcard h3 { font-size: 1.05rem; margin-bottom: 8px; }
.gcard ul { margin: 0; padding-left: 1.1em; }
.gcard--no { border-top: 5px solid var(--tomato); }
.gcard--yes { border-top: 5px solid var(--basil); }
.ppm { display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: center; background: var(--card); border-radius: var(--radius); padding: 22px 24px; box-shadow: var(--shadow); margin: 18px 0; }
.ppm b { font-family: var(--f-display); font-weight: 400; font-size: 4.4rem; line-height: .85; color: var(--basil); }
.ppm b small { font-size: .38em; display: block; letter-spacing: .06em; }
.note { font-size: .92rem; color: var(--muted); border-left: 3px solid var(--gold); padding-left: 14px; margin: 24px 0; }
@media (max-width: 700px) { .guide-grid { grid-template-columns: 1fr; } }

/* ---------- moduli ---------- */
.form { display: grid; gap: 16px; background: var(--card); border-radius: var(--radius-lg); padding: clamp(22px, 4vw, 36px); box-shadow: var(--shadow); }
.field { display: grid; gap: 6px; }
.field label { font-weight: 700; font-size: .94rem; }
.field input, .field textarea, .field select { width: 100%; font: inherit; font-size: 1rem; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); }
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--basil); box-shadow: 0 0 0 4px rgba(46,107,69,.15); }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 640px) { .row-2 { grid-template-columns: 1fr; } }
.check { display: grid; grid-template-columns: 22px 1fr; gap: 10px; font-size: .92rem; color: var(--muted); align-items: start; }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--basil); }
.check a { color: var(--basil); font-weight: 600; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { font-weight: 600; min-height: 1.4em; margin: 0; }
.form-msg.ok { color: var(--basil); }
.form-msg.err { color: var(--tomato-dk); }

.social-card { display: grid; gap: 14px; align-content: start; background: #1877f2; color: #fff; border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 36px); text-decoration: none; }
.social-card svg { width: 44px; height: 44px; }
.social-card h3 { font-family: var(--f-display); font-weight: 400; font-size: 2.4rem; line-height: .9; text-transform: uppercase; }
.social-card p { margin: 0; opacity: .92; }
.social-card span { font-weight: 700; }

/* ---------- piè di pagina ---------- */
.site-foot { background: #121310 var(--noise); color: var(--on-dark-muted); padding: 70px 0 34px; font-size: .96rem; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
.site-foot h2 { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark); margin-bottom: 14px; font-family: var(--f-body); }
.site-foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-foot a { text-decoration: none; }
.site-foot a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.foot-brand p { margin: 14px 0 0; max-width: 34ch; }
.foot-legal { margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.08); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 30px; font-size: .84rem; }
.foot-legal p { margin: 0; max-width: 80ch; }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }

/* ---------- varie ---------- */
.center { text-align: center; }
.center .lead { margin-inline: auto; }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.stack > * + * { margin-top: 18px; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; } }
.faq details { background: var(--card); border-radius: 14px; padding: 4px 20px; box-shadow: var(--shadow); }
.faq details + details { margin-top: 10px; }
.faq summary { cursor: pointer; font-weight: 700; padding: 16px 0; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--tomato); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 16px; color: var(--muted); }
.error-page { min-height: 100svh; display: grid; place-items: center; text-align: center; padding: 120px 0 60px; }
.error-page b { font-family: var(--f-display); font-weight: 400; font-size: clamp(8rem, 26vw, 16rem); line-height: .8; color: var(--gold-lt); display: block; }

/* ---------- v2: Spesa Flash ---------- */
.spesa { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(26px, 5vw, 70px); align-items: center; background: var(--slate) var(--noise); color: var(--on-dark); border-radius: var(--radius-lg); padding: clamp(28px, 5vw, 56px); overflow: hidden; position: relative; }
.spesa .eyebrow { color: var(--basil-lt); }
.spesa h2 { margin: 6px 0 16px; }
.spesa p { color: #e1dfd6; max-width: 54ch; }
.spesa .spesa-note { font-size: .84rem; color: var(--on-dark-muted); margin: 16px 0 0; }
.spesa--compact { margin: 26px 0 8px; grid-template-columns: 1fr; padding: 26px; }
.spesa--compact .label-mock { display: none; }
.spesa--compact h2 { font-size: clamp(2.2rem, 4vw, 3rem); }
.label-mock { position: relative; background: #fbfaf4; color: #2b2b26; border-radius: 14px; padding: 22px 22px 18px; font-size: .92rem; line-height: 1.55; box-shadow: 0 30px 50px -24px rgba(0,0,0,.8); transform: rotate(2deg); overflow: hidden; font-family: var(--f-body); }
.label-mock b { display: block; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 8px; color: #555; }
.label-mock p { margin: 0 0 8px; color: #2b2b26; font-size: .88rem; }
.label-mock mark { padding: 1px 4px; border-radius: 4px; }
.label-mock .hit { background: rgba(216,54,59,.18); color: #9c1f24; font-weight: 700; }
.label-mock .trace { background: rgba(227,182,73,.3); color: #6b4c07; font-weight: 600; }
.label-mock .tr { font-size: .8rem; }
.label-mock .chips { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.chip { font-size: .74rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 6px 10px; border-radius: 999px; color: #fff; }
.chip--no { background: var(--tomato); }
.chip--warn { background: #b88a1d; }
.scanline { position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, transparent, var(--basil-lt), transparent); box-shadow: 0 0 18px 4px rgba(127,196,154,.6); animation: scan 3.2s ease-in-out infinite; }
@keyframes scan { 0%, 100% { top: 8%; } 50% { top: 88%; } }
@media (max-width: 820px) { .spesa { grid-template-columns: 1fr; } .label-mock { transform: none; } }

/* ---------- v2: recensioni ---------- */
.reviews-cta { display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px 48px; align-items: center; border: 2px dashed var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 44px); }
.reviews-cta h2 { margin: 6px 0 14px; }
.reviews-cta .btns { justify-content: flex-end; }
@media (max-width: 860px) { .reviews-cta { grid-template-columns: 1fr; } .reviews-cta .btns { justify-content: flex-start; } }
.review { margin: 0; background: var(--card); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); display: grid; gap: 14px; }
.review blockquote { margin: 0; font-size: 1.08rem; line-height: 1.5; }
.review figcaption { font-weight: 700; font-size: .92rem; }
.review figcaption span { font-weight: 500; color: var(--muted); }

/* ---------- v2: pagine legali (testo piccolo, stile informativa completa) ---------- */
.page-hero--compact { padding: 128px 0 40px; }
.page-hero--compact h1 { font-size: clamp(3rem, 7vw, 4.8rem); }
@media (max-width: 860px) { .page-hero--compact { padding: 110px 0 32px; } }
.legal { max-width: 860px; font-size: .8rem; line-height: 1.6; color: #3d4039; }
.legal h1 { font-family: var(--f-body); font-size: 1.15rem; font-weight: 800; color: var(--ink); margin: 22px 0 4px; }
.legal h2 { font-family: var(--f-body); font-size: .9rem; font-weight: 800; color: var(--ink); margin: 26px 0 8px; padding-top: 14px; border-top: 1px solid var(--line); }
.legal h3 { font-size: .82rem; font-weight: 700; color: var(--ink); margin: 14px 0 6px; }
.legal p, .legal li { margin: 0 0 8px; }
.legal ul, .legal ol { padding-left: 1.2em; margin: 0 0 10px; }
.legal a { color: var(--basil); font-weight: 600; }
.legal-upd { color: var(--muted); font-size: .75rem; }
.legal-tabs { display: flex; flex-wrap: wrap; gap: 6px; }
.legal-tabs a { text-decoration: none; font-size: .8rem; font-weight: 700; color: var(--ink); background: var(--card); border: 1px solid var(--line); padding: 8px 12px; border-radius: 999px; }
.legal-tabs a[aria-current="page"] { background: var(--slate); color: #fff; border-color: var(--slate); }
.legal-sum { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 14px 18px; margin: 16px 0; }
.legal-sum h2 { border: 0; margin: 0 0 8px; padding: 0; }
.legal-toc { margin: 12px 0 4px; }
.legal-toc h2 { border: 0; padding: 0; margin: 0 0 6px; }
.legal-toc ol { columns: 2; column-gap: 28px; }
@media (max-width: 640px) { .legal-toc ol { columns: 1; } }
.legal-table { overflow-x: auto; margin: 8px 0 12px; }
.legal-table table { width: 100%; border-collapse: collapse; min-width: 520px; background: var(--card); }
.legal-table th, .legal-table td { text-align: left; vertical-align: top; padding: 8px 10px; border: 1px solid var(--line); }
.legal-table th { background: var(--paper-2); font-weight: 700; color: var(--ink); }
.legal-note { font-size: .74rem; color: var(--muted); margin-top: 18px; }
.foot-links a { text-decoration: underline; text-underline-offset: 3px; }
