/* =========================================================
   Olio De Carolis — foglio di stile principale
   ========================================================= */

@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 300 700; font-display: swap; src: url("../fonts/fraunces.woff2") format("woff2"); }
@font-face { font-family: "Fraunces"; font-style: italic; font-weight: 300 600; font-display: swap; src: url("../fonts/fraunces-italic.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 400 800; font-display: swap; src: url("../fonts/manrope.woff2") format("woff2"); }

:root {
  --paper: #f7f1e3;
  --paper-2: #efe5cc;
  --card: #fbf7ee;
  --ink: #1d1c16;
  --ink-soft: #46433a;
  --muted: #777262;
  --olive-950: #12170c;
  --olive-900: #1c2414;
  --olive-800: #29351e;
  --olive-700: #3a4a28;
  --olive-500: #67763a;
  --olive-300: #a9b27a;
  --gold: #c39328;
  --gold-soft: #e8c86e;
  --red: #b5121b;
  --red-deep: #8c0d14;
  --line: rgba(29, 28, 22, .12);
  --line-light: rgba(247, 241, 227, .16);
  --radius: 22px;
  --radius-sm: 14px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --shadow: 0 30px 60px -30px rgba(52, 38, 8, .38);
  --f-serif: "Fraunces", Georgia, "Times New Roman", serif;
  --f-sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--gold-soft); color: var(--ink); }

.wrap { width: min(1240px, 100%); margin-inline: auto; padding-inline: var(--gutter); }
.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: 12px; top: -60px; z-index: 200; background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 10px; text-decoration: none; }
.skip:focus { top: 12px; }
.ico { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- tipografia ---------- */
h1, h2, h3, h4 { font-family: var(--f-serif); font-weight: 400; line-height: 1.05; margin: 0; letter-spacing: -.01em; font-optical-sizing: auto; }
h1 em, h2 em, h3 em { font-style: italic; color: var(--olive-500); font-weight: 300; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 12.5px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--red);
  margin: 0 0 18px;
}
.eyebrow::before { content: ""; width: 34px; height: 1.5px; background: var(--gold); }
.h2 { font-size: clamp(2.3rem, 5.2vw, 4.4rem); }
.lead { font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: var(--ink-soft); max-width: 60ch; }
.section { padding-block: clamp(80px, 11vw, 150px); position: relative; }
.section-head { display: grid; gap: 18px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head.split { grid-template-columns: 1.1fr .9fr; align-items: end; gap: 40px; }
@media (max-width: 860px) { .section-head.split { grid-template-columns: 1fr; gap: 18px; } }

/* ---------- bottoni ---------- */
.btn {
  --bg: var(--ink); --fg: var(--paper);
  position: relative; display: inline-flex; align-items: center; gap: 12px;
  padding: 16px 26px; border-radius: 999px; border: 0;
  background: var(--bg); color: var(--fg);
  font-weight: 700; font-size: 15px; letter-spacing: .01em; text-decoration: none;
  overflow: hidden; isolation: isolate;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.btn::after { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--red); transform: translateY(101%); transition: transform .45s var(--ease); border-radius: inherit; }
.btn:hover::after { transform: translateY(0); }
.btn:hover { box-shadow: 0 14px 30px -12px rgba(181, 18, 27, .55); }
.btn .ico { width: 18px; height: 18px; transition: transform .4s var(--ease); }
.btn:hover .ico { transform: translateX(4px); }
.btn.ghost { --bg: transparent; --fg: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn.ghost::after { background: var(--ink); }
.btn.ghost:hover { --fg: var(--paper); box-shadow: none; color: var(--paper); }
.btn.light { --bg: var(--paper); --fg: var(--ink); }
.btn.light:hover { color: #fff; }
.btn.gold { --bg: var(--gold); --fg: var(--olive-950); }
.btn.gold:hover { color: #fff; }
.btn.sm { padding: 11px 18px; font-size: 14px; }

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  transition: background .4s var(--ease), box-shadow .4s var(--ease), transform .4s var(--ease);
}
.site-header.scrolled { background: rgba(247, 241, 227, .86); -webkit-backdrop-filter: blur(14px) saturate(1.4); backdrop-filter: blur(14px) saturate(1.4); box-shadow: 0 1px 0 var(--line); }
.site-header.hide { transform: translateY(-100%); }
.header-in { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; text-decoration: none; }
.brand img { height: 44px; width: auto; filter: drop-shadow(0 4px 8px rgba(120, 10, 10, .18)); transition: transform .4s var(--ease); }
.brand:hover img { transform: scale(1.04) rotate(-1.5deg); }
.main-nav ul { list-style: none; display: flex; gap: 6px; margin: 0; padding: 0; }
.main-nav a {
  position: relative; display: block; padding: 10px 14px; text-decoration: none;
  font-size: 14.5px; font-weight: 600; color: var(--ink-soft); border-radius: 999px;
  transition: color .3s, background .3s;
}
.main-nav a:hover { color: var(--ink); background: rgba(29, 28, 22, .05); }
.main-nav a.active { color: var(--ink); }
.main-nav a.active::after { content: ""; position: absolute; left: 50%; bottom: 3px; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: var(--red); }
.header-cta { display: flex; align-items: center; gap: 10px; }
.burger { display: none; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--ink); position: relative; }
.burger span { position: absolute; left: 14px; right: 14px; height: 1.8px; background: var(--paper); transition: transform .4s var(--ease), opacity .3s; }
.burger span:nth-child(1) { top: 18px; }
.burger span:nth-child(2) { top: 26px; }
.nav-open .burger span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.nav-open .burger span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

@media (max-width: 980px) {
  .burger { display: block; z-index: 2; }
  .header-cta .btn { display: none; }
  .main-nav {
    position: fixed; inset: 0; background: var(--olive-900); color: var(--paper);
    display: flex; flex-direction: column; justify-content: center; padding: 100px var(--gutter) 40px;
    clip-path: circle(0 at calc(100% - 46px) 38px); transition: clip-path .7s var(--ease); visibility: hidden;
  }
  .nav-open .main-nav { clip-path: circle(150% at calc(100% - 46px) 38px); visibility: visible; }
  .main-nav ul { flex-direction: column; gap: 4px; }
  .main-nav ul a { font-family: var(--f-serif); font-size: clamp(2rem, 9vw, 3rem); font-weight: 300; color: var(--paper); padding: 6px 0; border-radius: 0; }
  .main-nav ul a:hover, .main-nav ul a.active { background: none; color: var(--gold-soft); }
  .main-nav a.active::after { display: none; }
  .nav-foot a { display: inline; padding: 0; font-size: inherit; }
  .nav-open .site-header { background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .nav-open .burger { background: var(--paper); }
  .nav-open .burger span { background: var(--ink); }
  .nav-open .brand { visibility: hidden; }
  .nav-foot { display: block !important; margin-top: 40px; color: rgba(247, 241, 227, .7); font-size: 15px; }
  .nav-foot a { color: var(--gold-soft); }
}
.nav-foot { display: none; }

/* =========================================================
   HERO
   ========================================================= */
.hero { position: relative; min-height: 100svh; padding-top: calc(var(--header-h) + 30px); padding-bottom: 60px; display: flex; align-items: center; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(60% 50% at 78% 45%, rgba(232, 200, 110, .45), transparent 70%),
    radial-gradient(40% 40% at 10% 90%, rgba(169, 178, 122, .25), transparent 70%);
}
.hero-filig { position: absolute; inset: 0; pointer-events: none; }
.hero-filig::before, .hero-filig::after {
  content: ""; position: absolute; left: 50%; translate: -50% 0; width: max(100%, 1100px); background: rgba(103, 118, 58, .08);
  -webkit-mask: url("../img/filigrana-alto.png") center / 100% 100% no-repeat; mask: url("../img/filigrana-alto.png") center / 100% 100% no-repeat;
}
.hero-filig::before { top: 0; aspect-ratio: 2160 / 940; }
.hero-filig::after { bottom: 0; aspect-ratio: 2160 / 968; -webkit-mask-image: url("../img/filigrana-basso.png"); mask-image: url("../img/filigrana-basso.png"); }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 180px; background: linear-gradient(rgba(247, 241, 227, 0), var(--paper)); pointer-events: none; }
.hero .scroll-cue { z-index: 2; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.02fr 1fr; gap: 40px; align-items: center; width: 100%; }
.hero h1 { font-size: clamp(2.9rem, 7.2vw, 6.4rem); line-height: .98; letter-spacing: -.025em; }
.hero h1 .line { display: block; overflow: hidden; padding: 0 .14em .24em 0; margin-bottom: -.18em; }
.hero h1 .line > span { display: inline-block; transform: translateY(135%); animation: rise 1.1s var(--ease) forwards; }
.hero h1 .line:nth-child(2) > span { animation-delay: .12s; }
.hero h1 .line:nth-child(3) > span { animation-delay: .24s; }
@keyframes rise { to { transform: none; } }
.hero .lead { margin: 28px 0 36px; opacity: 0; animation: fadeUp 1s .5s var(--ease) forwards; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; opacity: 0; animation: fadeUp 1s .65s var(--ease) forwards; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 44px; padding: 0; list-style: none; font-size: 14px; font-weight: 600; color: var(--ink-soft); opacity: 0; animation: fadeUp 1s .8s var(--ease) forwards; }
.hero-badges li { display: flex; align-items: center; gap: 8px; }
.hero-badges li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(195, 147, 40, .18); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.hero .eyebrow { opacity: 0; animation: fadeUp .9s .05s var(--ease) forwards; }

.hero-stage { position: relative; aspect-ratio: 1 / 1.02; width: 100%; max-width: 640px; justify-self: end; }
.sun {
  position: absolute; left: 50%; top: 48%; width: 82%; aspect-ratio: 1; border-radius: 50%; translate: -50% -50%;
  background: radial-gradient(circle at 35% 30%, #f6dc8c, #e5b94a 45%, #c8932a 75%, #b07c1d);
  box-shadow: 0 40px 80px -30px rgba(176, 124, 29, .65), inset 0 -30px 60px rgba(120, 70, 0, .25);
  opacity: 0; animation: sunIn 1.4s .2s var(--ease) forwards;
}
.sun::after { content: ""; position: absolute; inset: -7%; border-radius: 50%; border: 1px dashed rgba(140, 100, 20, .35); animation: spin 60s linear infinite; }
@keyframes sunIn { from { opacity: 0; scale: .7; } to { opacity: 1; scale: 1; } }
@keyframes spin { to { rotate: 360deg; } }
.bottle {
  position: absolute; bottom: 4%; height: var(--h); left: var(--x);
  translate: calc(var(--mx, 0) * var(--d) * 1px) calc(var(--my, 0) * var(--d) * 1px);
  transition: translate .6s var(--ease);
  filter: drop-shadow(0 30px 22px rgba(60, 38, 0, .28));
  opacity: 0; animation: bottleIn 1.2s var(--ease) forwards; animation-delay: var(--delay);
}
.bottle img { height: 100%; width: auto; animation: float 6s ease-in-out infinite; animation-delay: var(--fdelay, 0s); }
@keyframes bottleIn { from { opacity: 0; transform: translateY(60px); } to { opacity: 1; transform: none; } }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(var(--r, 0deg)); } 50% { transform: translateY(-12px) rotate(var(--r, 0deg)); } }
.leaf { position: absolute; width: var(--s, 60px); color: var(--olive-500); opacity: .9; animation: drift 9s ease-in-out infinite; animation-delay: var(--fdelay, 0s); pointer-events: none; }
@keyframes drift { 0%, 100% { transform: translate(0, 0) rotate(var(--r, 0deg)); } 50% { transform: translate(10px, -16px) rotate(calc(var(--r, 0deg) + 12deg)); } }
.scroll-cue { position: absolute; left: 50%; bottom: 22px; translate: -50% 0; display: grid; justify-items: center; gap: 8px; font-size: 11px; letter-spacing: .25em; text-transform: uppercase; color: var(--muted); text-decoration: none; }
.scroll-cue span { width: 1.5px; height: 42px; background: linear-gradient(var(--ink) 50%, transparent 0) 0 0 / 100% 200%; animation: cue 2s ease-in-out infinite; opacity: .5; }
@keyframes cue { from { background-position: 0 100%; } to { background-position: 0 -100%; } }

@media (max-width: 900px) {
  .hero { min-height: auto; padding-top: calc(var(--header-h) + 24px); }
  .hero-grid { grid-template-columns: 1fr; gap: 10px; }
  .hero-stage { justify-self: center; max-width: 460px; aspect-ratio: 1 / .9; margin-top: 10px; }
  .scroll-cue { display: none; }
  .hero-badges { margin-top: 30px; }
}

/* ---------- nastro scorrevole ---------- */
.marquee { background: var(--red); color: #fff; overflow: hidden; padding: 14px 0; position: relative; z-index: 2; }
.marquee.tilt { transform: rotate(-1.6deg); margin: -10px -20px 0; box-shadow: 0 20px 40px -20px rgba(140, 13, 20, .5); }
.marquee-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track { align-items: center; }
.marquee-track .logo-script { height: clamp(38px, 4.4vw, 54px); color: #fff; margin-inline: clamp(22px, 3vw, 40px); flex: none; }
.marquee-track .dot { flex: none; font-size: 14px; color: var(--gold-soft); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* =========================================================
   STORIA
   ========================================================= */
.story-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.story-visual { position: sticky; top: calc(var(--header-h) + 30px); }
.story-visual figure { margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; box-shadow: var(--shadow); position: relative; }
.story-visual figure.poster { aspect-ratio: 1080 / 1414; max-width: 460px; }
.story-visual img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); transition: transform .2s linear; }
.story-visual figcaption { position: absolute; left: 18px; bottom: 18px; right: 18px; color: #fff; font-family: var(--f-serif); font-style: italic; font-size: 1.15rem; text-shadow: 0 2px 14px rgba(0, 0, 0, .5); }
.story-quote { margin-top: 26px; font-family: var(--f-serif); font-size: 1.35rem; line-height: 1.35; font-weight: 300; color: var(--ink-soft); border-left: 2px solid var(--gold); padding-left: 20px; }
.story-quote small { display: block; margin-top: 10px; font-family: var(--f-sans); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 700; }

.timeline { position: relative; margin: 46px 0 0; padding: 0 0 0 46px; }
.timeline ol { list-style: none; margin: 0; padding: 0; }
.timeline::before, .timeline .progress { content: ""; position: absolute; left: 11px; top: 8px; bottom: 8px; width: 2px; background: var(--line); border-radius: 2px; }
.timeline .progress { background: linear-gradient(var(--gold), var(--red)); transform-origin: top; transform: scaleY(var(--p, 0)); }
.timeline ol > li { position: relative; padding-bottom: 54px; opacity: .35; transition: opacity .6s var(--ease); }
.timeline ol > li:last-child { padding-bottom: 0; }
.timeline ol > li.on { opacity: 1; }
.timeline ol > li::before { content: ""; position: absolute; left: -42px; top: 8px; width: 16px; height: 16px; border-radius: 50%; background: var(--paper); border: 2px solid var(--line); transition: border-color .5s, background .5s, box-shadow .5s; }
.timeline ol > li.on::before { border-color: var(--red); background: var(--red); box-shadow: 0 0 0 6px rgba(181, 18, 27, .14); }
.timeline .when { font-family: var(--f-serif); font-size: clamp(2rem, 3.6vw, 2.8rem); font-weight: 300; font-style: italic; color: var(--gold); line-height: 1; }
.timeline h3 { font-size: 1.55rem; margin: 10px 0 10px; }
.timeline p { margin: 0; color: var(--ink-soft); max-width: 54ch; }
.timeline ol > li > * + p { margin-top: 12px; }
.story-intro { display: grid; gap: 14px; margin-top: 22px; }
.story-intro p { margin: 0; max-width: 60ch; }
.story-intro p:not(.lead) { color: var(--ink-soft); }
.tl-places { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; padding: 0; }
.tl-places li { display: inline-flex; align-items: center; gap: 7px; padding: 6px 13px 6px 11px; border-radius: 999px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); font-size: 13.5px; font-weight: 700; }
.tl-places li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--red); }
.timeline .tl-big { margin-top: 10px; display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; color: var(--ink); font-weight: 600; }
.timeline .tl-big b { font-family: var(--f-serif); font-weight: 300; font-size: clamp(2.4rem, 4.4vw, 3.4rem); line-height: 1; color: var(--red); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: clamp(70px, 9vw, 120px); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat { padding: 34px 26px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat b { display: block; font-family: var(--f-serif); font-weight: 300; font-size: clamp(2.4rem, 4.6vw, 3.8rem); line-height: 1; letter-spacing: -.02em; }
.stat b small { font-size: .45em; font-weight: 400; margin-left: 4px; color: var(--olive-500); }
.stat > span { display: block; margin-top: 10px; font-size: 14.5px; color: var(--muted); max-width: 22ch; }
@media (max-width: 900px) {
  .story-grid { grid-template-columns: 1fr; }
  .story-visual { position: relative; top: 0; }
  .story-visual figure { aspect-ratio: 16 / 11; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .stat:nth-child(n + 3) { border-top: 1px solid var(--line); }
}

/* =========================================================
   GAMMA PRODOTTI
   ========================================================= */
.range { background: linear-gradient(var(--paper), var(--paper-2)); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 34px; }
.chip {
  border: 0; background: rgba(29, 28, 22, .06); padding: 11px 18px; border-radius: 999px; font-size: 14.5px; font-weight: 600;
  transition: background .3s, color .3s, transform .3s var(--ease);
}
.chip:hover { background: rgba(29, 28, 22, .12); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.chip .n { display: inline-block; min-width: 22px; margin-left: 6px; padding: 1px 6px; border-radius: 999px; font-size: 12px; background: rgba(29, 28, 22, .1); }
.chip[aria-pressed="true"] .n { background: rgba(247, 241, 227, .2); }

.products { display: grid; grid-template-columns: repeat(auto-fill, minmax(255px, 1fr)); gap: 18px; }
.p-card {
  --tone: #e8c86e;
  position: relative; display: flex; flex-direction: column; text-align: left;
  border: 0; padding: 0; border-radius: var(--radius); background: var(--card); overflow: hidden;
  box-shadow: 0 1px 0 var(--line), 0 0 0 1px rgba(29, 28, 22, .05);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.p-card[hidden] { display: none; }
.p-card:hover { transform: translateY(-6px); box-shadow: 0 30px 50px -28px rgba(52, 38, 8, .45), 0 0 0 1px rgba(29, 28, 22, .06); }
.p-media { position: relative; aspect-ratio: 4 / 4.4; isolation: isolate; background: var(--card); }
.p-media::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(70% 60% at 50% 70%, color-mix(in srgb, var(--tone) 55%, transparent), transparent 72%); opacity: .55; transition: opacity .5s, transform .6s var(--ease); }
.p-card:hover .p-media::before { opacity: 1; transform: scale(1.08); }
.p-media img { position: absolute; left: 20px; right: 20px; top: 46px; bottom: 6px; width: calc(100% - 40px); height: calc(100% - 52px); object-fit: contain; mix-blend-mode: multiply; transition: transform .7s var(--ease); }
.p-card:hover .p-media img { transform: translateY(-8px) rotate(-2.5deg) scale(1.03); }
.p-tag { position: absolute; top: 16px; left: 16px; font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); background: rgba(251, 247, 238, .8); padding: 6px 10px; border-radius: 999px; }
.p-new { position: absolute; top: 16px; right: 16px; font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #fff; background: var(--red); padding: 6px 10px; border-radius: 999px; }
.p-body { padding: 18px 22px 22px; display: grid; gap: 6px; flex: 1; align-content: start; }
.p-body h3 { font-size: 1.45rem; line-height: 1.1; }
.p-body .p-line { font-family: var(--f-serif); font-style: italic; color: var(--olive-500); font-size: 1.05rem; }
.p-formats { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.p-formats span { font-size: 12.5px; font-weight: 700; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line); color: var(--ink-soft); }
.p-more { position: absolute; right: 18px; bottom: 18px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--paper); transform: scale(.6); opacity: 0; transition: transform .45s var(--ease), opacity .3s; }
.p-more .ico { width: 18px; height: 18px; }
.p-card:hover .p-more, .p-card:focus-visible .p-more { transform: scale(1); opacity: 1; }
@media (hover: none) { .p-more { transform: scale(.85); opacity: 1; } }
.range-note { margin-top: 26px; font-size: 14px; color: var(--muted); }
@media (max-width: 600px) {
  .products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .p-media img { top: 18px; left: 10px; right: 10px; width: calc(100% - 20px); height: calc(100% - 24px); }
  .p-tag, .p-more { display: none; }
  .p-new { top: 10px; right: 10px; font-size: 10px; padding: 4px 8px; }
  .p-body { padding: 10px 14px 16px; gap: 2px; }
  .p-body h3 { font-size: 1.12rem; }
  .p-body .p-line { font-size: .92rem; }
  .p-formats { margin-top: 8px; gap: 4px; }
  .p-formats span { font-size: 11px; padding: 2px 8px; }
  .filters { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: none; }
  .filters::-webkit-scrollbar { display: none; }
  .chip { flex: none; }
}

/* ---------- scheda prodotto (dialog) ---------- */
.pd { border: 0; padding: 0; margin: 0 0 0 auto; width: min(980px, 100vw); max-width: 100vw; height: 100dvh; max-height: 100dvh; background: var(--paper); color: var(--ink); overflow: hidden; }
.pd::backdrop { background: rgba(18, 23, 12, .55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.pd[open] { animation: slideIn .6s var(--ease); }
.pd[open]::backdrop { animation: fadeIn .5s ease; }
.pd.closing { animation: slideOut .4s var(--ease) forwards; }
.pd.closing::backdrop { animation: fadeOut .4s ease forwards; }
@keyframes slideIn { from { transform: translateX(100%); } to { transform: none; } }
@keyframes slideOut { to { transform: translateX(100%); } }
@keyframes fadeIn { from { opacity: 0; } }
@keyframes appear { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeOut { to { opacity: 0; } }
.pd-in { display: grid; grid-template-columns: .95fr 1.05fr; height: 100%; }
.pd-stage { --tone: #e8c86e; position: relative; display: grid; place-items: center; padding: 70px 30px 110px; background: radial-gradient(70% 55% at 50% 60%, color-mix(in srgb, var(--tone) 60%, transparent), transparent 75%), var(--card); overflow: hidden; }
.pd-stage::before { content: ""; position: absolute; left: 50%; top: 42%; width: 92%; aspect-ratio: 1916 / 937; translate: -50% -50%; background: rgba(29, 28, 22, .05); -webkit-mask: url("../img/logo-corsivo.png") center / contain no-repeat; mask: url("../img/logo-corsivo.png") center / contain no-repeat; pointer-events: none; }
.pd-stage img { position: relative; z-index: 1; max-height: min(70vh, 620px); width: auto; max-width: 100%; object-fit: contain; mix-blend-mode: multiply; animation: popIn .7s var(--ease); }
@keyframes popIn { from { opacity: 0; transform: translateY(30px) scale(.96); } to { opacity: 1; transform: none; } }
.pd-stage .pd-caption { position: absolute; bottom: 92px; font-size: 12.5px; color: var(--muted); }
.pd-formats { position: absolute; left: 0; right: 0; bottom: 30px; display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; padding-inline: 20px; }
.pd-formats button { border: 0; padding: 10px 16px; border-radius: 999px; background: rgba(251, 247, 238, .85); font-weight: 700; font-size: 14px; box-shadow: inset 0 0 0 1px var(--line); transition: background .3s, color .3s; }
.pd-formats button[aria-pressed="true"] { background: var(--ink); color: var(--paper); box-shadow: none; }
.pd-info { overflow-y: auto; padding: 70px clamp(24px, 4vw, 52px) 40px; overscroll-behavior: contain; }
.pd-info .eyebrow { margin-bottom: 14px; }
.pd-info h2 { font-size: clamp(2.2rem, 4vw, 3.3rem); }
.pd-info .pd-line { font-family: var(--f-serif); font-style: italic; font-size: 1.35rem; color: var(--olive-500); margin: 6px 0 22px; }
.pd-info .pd-text { color: var(--ink-soft); margin: 0 0 26px; }
.pd-uses { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.pd-uses span { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px 9px 10px; border-radius: 999px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); font-weight: 600; font-size: 14px; }
.pd-uses .ico { width: 20px; height: 20px; color: var(--olive-500); }
.pd-specs { margin: 0 0 30px; display: grid; border-top: 1px solid var(--line); }
.pd-specs div { display: grid; grid-template-columns: 150px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.pd-specs dt { font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding-top: 2px; }
.pd-specs dd { margin: 0; }
.pd-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.pd-close, .pd-nav button { position: absolute; z-index: 3; width: 48px; height: 48px; border-radius: 50%; border: 0; display: grid; place-items: center; background: var(--paper); box-shadow: 0 0 0 1px var(--line); transition: background .3s, color .3s, transform .3s var(--ease); }
.pd-close { top: 16px; right: 16px; }
.pd-close:hover, .pd-nav button:hover { background: var(--ink); color: var(--paper); }
.pd-nav { position: absolute; top: 16px; left: 16px; display: flex; gap: 8px; z-index: 3; }
.pd-nav button { position: static; }
@media (max-width: 820px) {
  .pd { width: 100vw; }
  .pd-in { grid-template-columns: 1fr; grid-template-rows: auto 1fr; overflow-y: auto; }
  .pd-stage { padding: 70px 20px 86px; min-height: 52vh; }
  .pd-stage img { max-height: 40vh; }
  .pd-stage .pd-caption { bottom: 70px; }
  .pd-formats { bottom: 18px; }
  .pd-info { overflow: visible; padding-top: 32px; }
  .pd-specs div { grid-template-columns: 1fr; gap: 4px; }
}

/* =========================================================
   LOGO CORSIVO (maschera: prende il colore del testo)
   ========================================================= */
.logo-script {
  display: inline-block; aspect-ratio: 1916 / 937; height: 46px; background: currentColor;
  -webkit-mask: url("../img/logo-corsivo.png") center / contain no-repeat;
  mask: url("../img/logo-corsivo.png") center / contain no-repeat;
}
.stage-script { position: absolute; left: 50%; top: 44%; width: 116%; height: auto; translate: -50% -50%; color: rgba(255, 255, 255, .5); pointer-events: none; }
.cta-script { height: clamp(52px, 6vw, 72px); color: #fff; flex: none; }
.f-script { display: block; height: 64px; color: var(--paper); margin-bottom: 20px; }
.head-side { display: grid; gap: 22px; justify-items: start; min-width: 0; }
.head-fig { margin: 0; width: 100%; max-width: 460px; border-radius: var(--radius-sm); overflow: hidden; box-shadow: 0 0 0 1px var(--line); position: relative; }
.head-fig img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.head-fig figcaption { padding: 10px 14px; font-size: 13.5px; color: var(--muted); background: var(--card); }
.tl-img { margin: 16px 0 0; max-width: 420px; border-radius: var(--radius-sm); overflow: hidden; box-shadow: 0 0 0 1px var(--line); }
.tl-img img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.tl-img figcaption { padding: 9px 14px; font-size: 13px; color: var(--muted); background: var(--card); }

/* muro di immagini (premium e Asino) + galleria a schermo intero */
.wall { columns: 3; column-gap: 14px; }
.wall .bw { position: relative; display: block; width: 100%; margin: 0 0 14px; padding: 0; border: 0; background: none; border-radius: 16px; overflow: hidden; break-inside: avoid; cursor: zoom-in; }
.wall .bw img { width: 100%; height: auto; transition: transform .8s var(--ease); }
.wall .bw:hover img { transform: scale(1.04); }
.wall .bw span { position: absolute; left: 10px; bottom: 10px; padding: 6px 12px; border-radius: 999px; background: rgba(29, 28, 22, .78); color: #fff; font-size: 13px; font-weight: 600; opacity: 0; transform: translateY(6px); transition: opacity .35s, transform .45s var(--ease); }
.wall .bw:hover span, .wall .bw:focus-visible span { opacity: 1; transform: none; }
@media (hover: none) { .wall .bw span { opacity: 1; transform: none; } }
@media (max-width: 860px) { .wall { columns: 2; column-gap: 10px; } .wall .bw { margin-bottom: 10px; border-radius: 12px; } .wall .bw span { font-size: 11.5px; padding: 4px 9px; } }
.credit { margin: 18px 0 0; font-size: 13px; color: var(--muted); }

.lb { border: 0; padding: 0; margin: 0; width: 100vw; max-width: 100vw; height: 100dvh; max-height: 100dvh; background: rgba(12, 14, 9, .94); color: #fff; }
.lb::backdrop { background: rgba(12, 14, 9, .6); }
.lb[open] { animation: fadeIn .35s ease; }
.lb figure { margin: 0; height: 100%; display: grid; place-items: center; padding: 70px 70px 80px; }
.lb img { max-width: 100%; max-height: calc(100dvh - 160px); width: auto; height: auto; border-radius: 12px; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); }
.lb figcaption { position: absolute; left: 0; right: 0; bottom: 26px; text-align: center; font-family: var(--f-serif); font-style: italic; font-size: 1.2rem; }
.lb-btn { position: absolute; width: 50px; height: 50px; border-radius: 50%; border: 0; display: grid; place-items: center; background: rgba(255, 255, 255, .12); color: #fff; transition: background .3s; }
.lb-btn:hover { background: rgba(255, 255, 255, .25); }
.lb-prev { left: 14px; top: 50%; translate: 0 -50%; }
.lb-next { right: 14px; top: 50%; translate: 0 -50%; }
.lb-close { right: 14px; top: 14px; }
.lb-count { position: absolute; left: 20px; top: 26px; font-size: 13px; letter-spacing: .1em; opacity: .7; font-variant-numeric: tabular-nums; }
@media (max-width: 600px) { .lb figure { padding: 70px 12px 90px; } .lb-prev, .lb-next { top: auto; bottom: 64px; translate: none; } }

/* =========================================================
   ASINO
   ========================================================= */
.asino { --asino: #ffc645; --asino-ink: #1f1a0b; background: var(--asino); color: var(--asino-ink); }
.asino .eyebrow { color: var(--asino-ink); }
.asino .eyebrow::before { background: var(--asino-ink); }
.asino :is(h1, h2) em { color: var(--asino-ink); }
.asino .lead { color: rgba(31, 26, 11, .82); }
.asino-banner { max-width: 760px; margin: -20px auto clamp(30px, 5vw, 60px); }
.asino-banner img { width: 100%; height: auto; }
.asino-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(30px, 5vw, 80px); align-items: center; margin-bottom: clamp(50px, 7vw, 90px); }
.asino-text { display: grid; gap: 22px; min-width: 0; }
.asino-text .lead { margin: 0; }
.asino-facts { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; border-top: 1.5px solid var(--asino-ink); }
.asino-facts div { padding: 14px 0; border-bottom: 1px solid rgba(31, 26, 11, .25); }
.asino-facts dt { font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.asino-facts dd { margin: 4px 0 0; font-family: var(--f-serif); font-size: 1.2rem; line-height: 1.3; }
.asino .btn.ghost { box-shadow: inset 0 0 0 1.5px var(--asino-ink); color: var(--asino-ink); }
.asino .btn.ghost:hover { color: var(--asino); }
.asino-bottle { margin: 0; display: grid; place-items: center; }
.asino-bottle img { max-height: 560px; width: auto; mix-blend-mode: multiply; animation: float 7s ease-in-out infinite; }
@media (max-width: 860px) {
  .asino-grid { grid-template-columns: 1fr; }
  .asino-bottle { order: -1; }
  .asino-bottle img { max-height: 360px; }
  .asino-facts { grid-template-columns: 1fr; }
}

/* =========================================================
   ABBINAMENTI
   ========================================================= */
.pairing { background: var(--olive-900); color: var(--paper); overflow: hidden; }
.pairing .eyebrow { color: var(--gold-soft); }
.pairing :is(h1, h2) em { color: var(--gold-soft); }
.pairing .lead { color: rgba(247, 241, 227, .72); }
.pair-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(26px, 4vw, 60px); align-items: stretch; }
.dishes { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; align-content: start; }
.dishes button {
  width: 100%; text-align: left; border: 0; background: transparent; color: rgba(247, 241, 227, .55);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 16px 4px; border-bottom: 1px solid var(--line-light);
  font-family: var(--f-serif); font-size: clamp(1.4rem, 2.4vw, 1.9rem); font-weight: 300; line-height: 1.15;
  transition: color .35s, padding .45s var(--ease);
}
.dishes button .ico { opacity: 0; transform: translateX(-10px); transition: opacity .35s, transform .45s var(--ease); color: var(--gold-soft); }
.dishes button:hover { color: var(--paper); }
.dishes button[aria-selected="true"] { color: var(--paper); padding-left: 14px; }
.dishes button[aria-selected="true"] .ico { opacity: 1; transform: none; }
.pair-view {
  --tone: #e8c86e; position: relative; border-radius: var(--radius); overflow: hidden; min-height: 520px; isolation: isolate; display: grid;
  background: radial-gradient(55% 70% at 28% 62%, color-mix(in srgb, var(--tone) 50%, transparent), transparent 72%), var(--olive-800);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .7); transition: background .6s ease;
}
.pair-view::before, .pair-view::after {
  content: ""; position: absolute; left: 0; right: 0; z-index: -1; aspect-ratio: 2160 / 940; background: rgba(169, 178, 122, .16);
  -webkit-mask: url("../img/filigrana-alto.png") center / 100% 100% no-repeat; mask: url("../img/filigrana-alto.png") center / 100% 100% no-repeat;
  transition: opacity .6s ease; pointer-events: none;
}
.pair-view::before { top: 0; }
.pair-view::after { bottom: 0; -webkit-mask-image: url("../img/filigrana-basso.png"); mask-image: url("../img/filigrana-basso.png"); aspect-ratio: 2160 / 968; }
.pair-view[data-olive="false"]::before, .pair-view[data-olive="false"]::after { opacity: 0; }
.pair-card { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: center; gap: clamp(20px, 3vw, 40px); padding: clamp(24px, 4vw, 48px); color: var(--paper); }
.pc-img { height: 420px; position: relative; }
.pc-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 30px 28px rgba(0, 0, 0, .45)); }
.pc-text { display: grid; gap: 10px; justify-items: start; min-width: 0; }
.pc-kicker { font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-soft); }
.pc-text h3 { font-size: clamp(1.9rem, 3vw, 2.6rem); color: var(--paper); }
.pc-text .pc-line { margin: -4px 0 4px; font-family: var(--f-serif); font-style: italic; font-size: 1.2rem; color: var(--gold-soft); }
.pc-text p { margin: 0; color: rgba(247, 241, 227, .8); }
.pc-text .btn { margin-top: 10px; }
.pair-card.swap .pc-img img { animation: bottleSwap .7s var(--ease); }
.pair-card.swap .pc-text { animation: cardSwap .6s .05s var(--ease) both; }
@keyframes bottleSwap { from { opacity: 0; transform: translateY(40px) rotate(-4deg); } to { opacity: 1; transform: none; } }
@keyframes cardSwap { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@media (max-width: 900px) {
  .pair-grid { grid-template-columns: 1fr; }
  .dishes { grid-auto-flow: column; grid-auto-columns: max-content; overflow-x: auto; gap: 8px; padding-bottom: 6px; scrollbar-width: none; }
  .dishes::-webkit-scrollbar { display: none; }
  .dishes button { font-family: var(--f-sans); font-size: 14.5px; font-weight: 600; border: 1px solid var(--line-light); border-radius: 999px; padding: 10px 16px; }
  .dishes button .ico { display: none; }
  .dishes button[aria-selected="true"] { padding-left: 16px; background: var(--paper); color: var(--ink); }
  .pair-view { min-height: 0; }
  .pair-card { grid-template-columns: 1fr; gap: 18px; }
  .pc-img { height: 280px; }
}

/* =========================================================
   CATEGORIE
   ========================================================= */
.cat-tabs { display: inline-flex; flex-wrap: wrap; gap: 6px; padding: 6px; border-radius: 999px; background: rgba(29, 28, 22, .06); margin-bottom: 30px; }
.cat-tabs button { border: 0; background: transparent; padding: 12px 20px; border-radius: 999px; font-weight: 700; font-size: 15px; transition: background .35s, color .35s; }
.cat-tabs button[aria-selected="true"] { background: var(--ink); color: var(--paper); }
.cat-panel { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(26px, 4vw, 60px); padding: clamp(26px, 4vw, 50px); border-radius: var(--radius); background: var(--card); box-shadow: 0 0 0 1px var(--line); }
.cat-panel[hidden] { display: none; }
.cat-panel.in { animation: fadeUp .6s var(--ease); }
.cat-panel h3 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); margin-bottom: 18px; }
.cat-panel blockquote { margin: 0 0 22px; font-family: var(--f-serif); font-style: italic; font-size: 1.2rem; line-height: 1.45; color: var(--ink-soft); padding-left: 18px; border-left: 2px solid var(--gold); }
.cat-panel blockquote cite { display: block; margin-top: 8px; font-family: var(--f-sans); font-style: normal; font-size: 12.5px; color: var(--muted); }
.cat-facts { display: grid; gap: 14px; margin: 0; }
.cat-facts > div { display: grid; grid-template-columns: 34px 1fr; gap: 14px; align-items: start; }
.cat-facts .ico { width: 26px; height: 26px; color: var(--olive-500); margin-top: 2px; }
.cat-facts dt { font-weight: 800; font-size: 14.5px; }
.cat-facts dd { margin: 2px 0 0; color: var(--ink-soft); font-size: 15px; }
.gauge { align-self: center; }
.gauge-label { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; }
.gauge-label b { font-family: var(--f-serif); font-size: clamp(2.8rem, 5vw, 4rem); font-weight: 300; line-height: 1; }
.gauge-label span { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); text-align: right; }
.gauge-bar { position: relative; height: 16px; border-radius: 999px; background: linear-gradient(90deg, #a9b27a, #e8c86e 55%, #d9822b 85%, #b5121b); overflow: hidden; }
.gauge-bar i { position: absolute; top: 0; bottom: 0; right: 0; width: calc(100% - var(--v, 0%)); background: rgba(239, 229, 204, .92); transition: width 1.1s var(--ease); }
.gauge-scale { display: flex; justify-content: space-between; margin-top: 8px; font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.gauge p { font-size: 14.5px; color: var(--ink-soft); margin: 18px 0 0; }
.gauge .our { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 8px; }
.gauge .our button { border: 0; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); padding: 8px 14px; border-radius: 999px; font-size: 13.5px; font-weight: 700; transition: background .3s, color .3s; }
.gauge .our button:hover { background: var(--ink); color: var(--paper); }
@media (max-width: 860px) { .cat-panel { grid-template-columns: 1fr; } .cat-tabs { display: grid; grid-template-columns: repeat(3, 1fr); border-radius: 20px; } .cat-tabs button { padding: 11px 6px; font-size: 14px; line-height: 1.2; } }

/* =========================================================
   QUALITÀ / PROCESSO
   ========================================================= */
.quality { background: var(--paper-2); }
.process { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; counter-reset: step; margin-bottom: clamp(50px, 7vw, 90px); }
.step { position: relative; display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-start; text-align: left; border: 0; background: transparent; padding: 26px 22px 30px 0; border-top: 2px solid var(--line); }
.step .bar { position: absolute; left: 0; top: -2px; height: 2px; width: 0; background: var(--red); }
.step.active .bar { animation: stepbar var(--dur, 5s) linear forwards; }
.step.done .bar { width: 100%; }
.paused .step.active .bar { animation-play-state: paused; }
@keyframes stepbar { to { width: 100%; } }
.step .num { font-size: 12.5px; font-weight: 800; letter-spacing: .14em; color: var(--muted); }
.step .ico { width: 34px; height: 34px; margin: 18px 0 14px; color: var(--olive-500); transition: color .3s, transform .5s var(--ease); }
.step h3 { font-size: 1.35rem; margin-bottom: 8px; transition: color .3s; }
.step p { margin: 0; font-size: 14.5px; color: var(--ink-soft); max-height: 0; opacity: 0; overflow: hidden; transition: max-height .6s var(--ease), opacity .4s; }
.step.active .ico { color: var(--red); transform: scale(1.1) rotate(-6deg); }
.step.active p { max-height: 200px; opacity: 1; }
.step:not(.active) h3 { color: var(--ink-soft); }
@media (max-width: 900px) {
  .process { grid-template-columns: 1fr; }
  .step { padding: 20px 0 20px 56px; border-top: 0; border-left: 2px solid var(--line); }
  .step .bar { left: -2px; top: 0; width: 2px; height: 0; }
  .step.active .bar { animation-name: stepbarV; }
  .step.done .bar { height: 100%; width: 2px; }
  @keyframes stepbarV { to { height: 100%; } }
  .step .ico { position: absolute; left: 12px; top: 18px; margin: 0; width: 28px; height: 28px; }
  .step .num { display: none; }
}
.plant { display: grid; grid-template-columns: 1.25fr .75fr; gap: 0; border-radius: var(--radius); overflow: hidden; background: var(--olive-900); color: var(--paper); box-shadow: var(--shadow); }
.plant figure { margin: 0; position: relative; min-height: 380px; overflow: hidden; }
.plant figure img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.plant:hover figure img { transform: scale(1.04); }
.plant .plant-info { padding: clamp(28px, 4vw, 50px); display: grid; align-content: center; gap: 22px; }
.plant h3 { font-size: clamp(1.8rem, 3vw, 2.5rem); }
.plant h3 em { color: var(--gold-soft); }
.plant ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.plant li { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: baseline; padding-bottom: 14px; border-bottom: 1px solid var(--line-light); }
.plant li b { font-family: var(--f-serif); font-weight: 300; font-size: 2rem; line-height: 1; color: var(--gold-soft); min-width: 4.6ch; }
.plant li span { font-size: 15px; color: rgba(247, 241, 227, .78); }
@media (max-width: 900px) { .plant { grid-template-columns: 1fr; } .plant figure { min-height: 240px; } }

/* =========================================================
   GALLERIA
   ========================================================= */
.gallery-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 34px; }
.g-ctrl { display: flex; gap: 8px; }
.g-ctrl button { width: 52px; height: 52px; border-radius: 50%; border: 0; background: transparent; box-shadow: inset 0 0 0 1.5px var(--ink); display: grid; place-items: center; transition: background .3s, color .3s; }
.g-ctrl button:hover { background: var(--ink); color: var(--paper); }
.gallery { --gpad: max(var(--gutter), calc((100vw - 1240px) / 2 + var(--gutter))); display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-inline: var(--gpad); scroll-padding-inline: var(--gpad); padding-bottom: 8px; scrollbar-width: none; cursor: grab; }
.gallery::-webkit-scrollbar { display: none; }
.gallery.dragging { cursor: grabbing; scroll-snap-type: none; }
.gallery.dragging img { pointer-events: none; }
.gallery figure { margin: 0; flex: none; height: clamp(320px, 46vw, 520px); border-radius: var(--radius); overflow: hidden; scroll-snap-align: start; position: relative; }
.gallery figure.w { aspect-ratio: 3 / 2; }
.gallery figure.t { aspect-ratio: 2 / 3; }
.gallery figure.p { aspect-ratio: 1080 / 1414; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); user-select: none; -webkit-user-drag: none; }
.gallery figure:hover img { transform: scale(1.05); }
.gallery figcaption { position: absolute; left: 16px; bottom: 14px; color: #fff; font-family: var(--f-serif); font-style: italic; font-size: 1.1rem; text-shadow: 0 2px 12px rgba(0, 0, 0, .55); opacity: 0; transform: translateY(8px); transition: opacity .4s, transform .5s var(--ease); }
.gallery figure:hover figcaption { opacity: 1; transform: none; }
@media (hover: none) { .gallery figcaption { opacity: 1; transform: none; } }

/* =========================================================
   PROFESSIONISTI
   ========================================================= */
.pro { background: var(--olive-950); color: var(--paper); overflow: hidden; }
.pro::before { content: ""; position: absolute; right: -10vw; top: -10vw; width: 50vw; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(195, 147, 40, .22), transparent 65%); pointer-events: none; }
.pro .eyebrow { color: var(--gold-soft); }
.pro :is(h1, h2) em { color: var(--gold-soft); }
.pro .lead { color: rgba(247, 241, 227, .72); }
.pro-grid { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 2fr); gap: 14px; }
.pro-fig { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; min-height: 320px; }
.pro-fig img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.pro-fig:hover img { transform: scale(1.04); }
.pro-fig figcaption { position: absolute; left: 12px; right: 12px; bottom: 12px; padding: 10px 14px; border-radius: 12px; background: rgba(18, 23, 12, .82); font-size: 13.5px; color: var(--paper); }
.pro-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.pro-card { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 30px 26px 26px; border-radius: var(--radius); background: rgba(247, 241, 227, .04); box-shadow: inset 0 0 0 1px var(--line-light); overflow: hidden; isolation: isolate; transition: transform .5s var(--ease), box-shadow .5s; }
.pro-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(120% 80% at 0% 0%, rgba(232, 200, 110, .22), transparent 60%); opacity: 0; transition: opacity .5s; }
.pro-card:hover { transform: translateY(-6px); box-shadow: inset 0 0 0 1px rgba(232, 200, 110, .45); }
.pro-card:hover::before { opacity: 1; }
.pro-card .ico { width: 40px; height: 40px; color: var(--gold-soft); stroke-width: 1.3; }
.pro-card h3 { font-size: 1.6rem; }
.pro-card p { margin: 0; color: rgba(247, 241, 227, .72); font-size: 15px; flex: 1; }
.pro-card .linkish { align-self: flex-start; border: 0; background: none; padding: 0 0 2px; color: var(--paper); font-weight: 700; font-size: 14.5px; display: inline-flex; align-items: center; gap: 8px; border-bottom: 1.5px solid var(--gold); }
.pro-card .linkish .ico { width: 16px; height: 16px; stroke-width: 1.8; color: inherit; transition: transform .3s var(--ease); }
.pro-card .linkish:hover .ico { transform: translateX(4px); }
.pro-strip { list-style: none; margin: clamp(40px, 5vw, 60px) 0 0; padding: 26px 0 0; border-top: 1px solid var(--line-light); display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.pro-strip li { display: flex; align-items: center; gap: 12px; font-weight: 600; font-size: 15px; }
.pro-strip .ico { width: 26px; height: 26px; color: var(--gold-soft); }
.pro-cta { margin-top: clamp(40px, 5vw, 60px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding: clamp(26px, 4vw, 40px); border-radius: var(--radius); background: linear-gradient(110deg, var(--red-deep), var(--red)); }
.pro-cta h3 { font-size: clamp(1.6rem, 3vw, 2.3rem); max-width: 22ch; }
@media (max-width: 1060px) { .pro-grid { grid-template-columns: 1fr; } .pro-fig { min-height: 0; aspect-ratio: 16 / 9; } .pro-strip { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .pro-cards { grid-template-columns: 1fr; } .pro-strip { grid-template-columns: 1fr; } }

/* =========================================================
   CONTATTI
   ========================================================= */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(30px, 5vw, 70px); align-items: start; }
.c-list { list-style: none; margin: 30px 0 0; padding: 0; display: grid; gap: 10px; }
.c-item { display: grid; grid-template-columns: 46px 1fr; gap: 14px; align-items: center; padding: 14px 16px; border-radius: var(--radius-sm); background: var(--card); box-shadow: 0 0 0 1px var(--line); text-decoration: none; transition: transform .4s var(--ease), box-shadow .4s; }
a.c-item:hover { transform: translateX(6px); box-shadow: 0 0 0 1px var(--gold), 0 14px 30px -18px rgba(52, 38, 8, .5); }
.c-item .ci { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--paper-2); color: var(--olive-700); }
.c-item small { display: block; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.c-item strong { font-weight: 700; font-size: 16px; word-break: break-word; }
.c-map { margin-top: 18px; position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 8; box-shadow: var(--shadow); }
.c-map img { width: 100%; height: 100%; object-fit: cover; }
.c-map .pin { position: absolute; left: 50%; top: 46%; translate: -50% -100%; width: 44px; height: 44px; border-radius: 50% 50% 50% 0; rotate: -45deg; background: var(--red); box-shadow: 0 10px 20px rgba(0, 0, 0, .35); animation: bounce 2.2s ease-in-out infinite; }
.c-map .pin::after { content: ""; position: absolute; inset: 14px; border-radius: 50%; background: #fff; }
@keyframes bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.c-map .btn { position: absolute; right: 14px; bottom: 14px; }

.form { padding: clamp(24px, 4vw, 44px); border-radius: var(--radius); background: var(--card); box-shadow: 0 0 0 1px var(--line), var(--shadow); display: grid; grid-template-columns: 1fr 1fr; gap: 16px 16px; }
.form h3 { grid-column: 1 / -1; font-size: 1.9rem; }
.form .full { grid-column: 1 / -1; }
.field { position: relative; display: grid; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: var(--paper);
  border: 1.5px solid transparent; border-radius: 12px; padding: 24px 16px 10px; outline: none; box-shadow: inset 0 0 0 1px var(--line);
  transition: border-color .3s, background .3s; appearance: none; -webkit-appearance: none;
}
.field textarea { min-height: 140px; resize: vertical; }
.field select { padding-right: 40px; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 22px) 55%, calc(100% - 16px) 55%; background-size: 6px 6px; background-repeat: no-repeat; }
.field label { position: absolute; left: 17px; top: 17px; font-size: 15px; color: var(--muted); pointer-events: none; transition: transform .25s var(--ease), font-size .25s, color .25s; transform-origin: left; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--gold); background: #fff; }
.field input:not(:placeholder-shown) + label, .field input:focus + label,
.field textarea:not(:placeholder-shown) + label, .field textarea:focus + label,
.field select + label { transform: translateY(-10px); font-size: 12px; font-weight: 700; letter-spacing: .04em; color: var(--olive-500); }
.field.err input, .field.err textarea { border-color: var(--red); }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--ink-soft); }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--red); flex: none; }
.form .submit-row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; justify-content: space-between; }
.form .hint { font-size: 13px; color: var(--muted); margin: 0; max-width: 40ch; }
.form-ok { grid-column: 1 / -1; display: none; padding: 16px 18px; border-radius: 12px; background: #eef1df; color: var(--olive-800); font-size: 15px; }
.form-ok.show { display: block; animation: fadeUp .5s var(--ease); }
.form-ok a { font-weight: 700; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form { grid-template-columns: 1fr; } }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer { background: var(--olive-950); color: rgba(247, 241, 227, .72); padding: clamp(60px, 8vw, 100px) 0 30px; font-size: 15px; }
.f-top { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 50px; border-bottom: 1px solid var(--line-light); }
.f-brand img { height: 56px; width: auto; margin-bottom: 20px; }
.f-brand p { margin: 0; max-width: 34ch; }
.site-footer h4 { font-family: var(--f-sans); font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-soft); margin-bottom: 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { text-decoration: none; transition: color .3s; }
.site-footer a:hover { color: #fff; }
.f-social { display: flex; gap: 10px; margin-top: 18px; }
.f-social a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--line-light); }
.f-social a:hover { background: var(--paper); color: var(--ink); }
.f-big { display: block; width: min(100%, 980px); height: auto; margin: 40px auto 20px; color: rgba(247, 241, 227, .07); }
.f-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 30px; font-size: 13px; color: rgba(247, 241, 227, .5); }
.f-legal a { text-decoration: underline; text-underline-offset: 3px; }
.f-deoil { display: inline-flex; align-items: center; gap: 10px; }
.f-deoil img { height: 30px; width: auto; background: var(--paper); border-radius: 6px; padding: 3px 6px; }
@media (max-width: 900px) { .f-top { grid-template-columns: 1fr 1fr; } .f-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .f-top { grid-template-columns: 1fr; } }

/* back to top */
.to-top { position: fixed; right: 18px; bottom: 18px; z-index: 90; width: 50px; height: 50px; border-radius: 50%; border: 0; background: var(--ink); color: var(--paper); display: grid; place-items: center; box-shadow: 0 12px 24px -10px rgba(0, 0, 0, .5); transform: translateY(90px); transition: transform .5s var(--ease), background .3s; }
.to-top.show { transform: none; }
.to-top:hover { background: var(--red); }
.to-top .ico { rotate: -90deg; width: 20px; height: 20px; }

/* ---------- comparsa allo scroll ---------- */
[data-reveal] { opacity: 0; transform: translateY(34px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--rd, 0s); }
[data-reveal].in { opacity: 1; transform: none; }
.no-js [data-reveal] { opacity: 1; transform: none; }

/* ---------- pagine di testo (privacy) ---------- */
.doc { padding: calc(var(--header-h) + 60px) 0 100px; }
.doc .wrap { max-width: 860px; }
.doc h1 { font-size: clamp(2.4rem, 6vw, 4rem); margin-bottom: 14px; }
.doc h2 { font-size: 1.6rem; margin: 40px 0 12px; }
.doc p, .doc li { color: var(--ink-soft); }
.doc .meta { color: var(--muted); font-size: 14px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1; transform: none; }
  .hero h1 .line > span { transform: none; }
}
.section-head.split:has(.head-side) { align-items: start; }

/* =========================================================
   FILIGRANA D'OLIVO (dal motivo del brand)
   ========================================================= */
.filig-top, .filig-bottom { position: relative; isolation: isolate; overflow: hidden; }
.filig-top::before, .filig-bottom::after {
  content: ""; position: absolute; left: 50%; translate: -50% 0; width: max(100%, 1100px); z-index: -1; pointer-events: none;
  background: rgba(103, 118, 58, .065);
  -webkit-mask: url("../img/filigrana-alto.png") center / 100% 100% no-repeat; mask: url("../img/filigrana-alto.png") center / 100% 100% no-repeat;
}
.filig-top::before { top: 0; aspect-ratio: 2160 / 940; }
.filig-bottom::after { bottom: 0; aspect-ratio: 2160 / 968; -webkit-mask-image: url("../img/filigrana-basso.png"); mask-image: url("../img/filigrana-basso.png"); }
.cat-panel { position: relative; isolation: isolate; overflow: hidden; }
.cat-panel::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; aspect-ratio: 2160 / 968; z-index: -1; pointer-events: none; background: rgba(103, 118, 58, .07);
  -webkit-mask: url("../img/filigrana-basso.png") center / 100% 100% no-repeat; mask: url("../img/filigrana-basso.png") center / 100% 100% no-repeat;
}

/* =========================================================
   CONDÌ
   ========================================================= */
.condi { --condi-bg: #fff8f3; --condi-red: #c8102e; background: var(--condi-bg); }
.condi::before {
  content: ""; display: block; height: 22px; margin-top: calc(clamp(80px, 11vw, 150px) * -1); margin-bottom: clamp(80px, 11vw, 150px);
  background:
    repeating-linear-gradient(90deg, rgba(200, 16, 46, .55) 0 22px, transparent 22px 44px),
    repeating-linear-gradient(0deg, rgba(200, 16, 46, .55) 0 11px, transparent 11px 22px), #fff;
  background-blend-mode: multiply;
}
.condi .eyebrow { color: var(--condi-red); }
.condi :is(h1, h2, h3) em { color: var(--condi-red); }
.condi-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(30px, 5vw, 80px); align-items: center; }
.condi-text { display: grid; gap: 22px; justify-items: start; min-width: 0; }
.condi-text .lead { margin: 0; }
.condi-stats { display: grid; grid-template-columns: 1.3fr 1fr; gap: 20px; width: 100%; border-top: 1.5px solid var(--ink); }
.condi-stats div { padding-top: 16px; }
.condi-stats b { display: block; font-family: var(--f-serif); font-weight: 300; font-size: clamp(2.2rem, 4vw, 3.2rem); line-height: 1; color: var(--condi-red); font-variant-numeric: tabular-nums; }
.condi-stats span span, .condi-stats div > span { display: block; margin-top: 8px; font-size: 14.5px; color: var(--muted); }
.condi-stats b span { display: inline; margin: 0; font-size: inherit; color: inherit; }
.condi-note { margin: 0; font-size: 14px; color: var(--muted); }
.condi-hero { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); max-width: 460px; justify-self: end; width: 100%; }
.condi-hero img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; transition: transform 1.2s var(--ease); }
.condi-hero:hover img { transform: scale(1.04); }
.condi-formats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: clamp(40px, 6vw, 70px) 0 clamp(60px, 8vw, 100px); }
.cf { display: grid; grid-template-columns: 90px 1fr; align-items: center; gap: 16px; padding: 16px 20px; border: 0; border-radius: var(--radius-sm); background: #fff; box-shadow: 0 0 0 1px rgba(200, 16, 46, .14); text-align: left; transition: transform .4s var(--ease), box-shadow .4s; }
.cf:hover { transform: translateY(-4px); box-shadow: 0 0 0 1px rgba(200, 16, 46, .4), 0 18px 30px -18px rgba(140, 13, 20, .45); }
.cf img { height: 120px; width: 100%; object-fit: contain; mix-blend-mode: multiply; }
.cf span { font-size: 14px; color: var(--muted); }
.cf b { display: block; font-family: var(--f-serif); font-weight: 400; font-size: 1.35rem; color: var(--ink); }
.h2-sm { font-size: clamp(1.9rem, 3.6vw, 3rem); }
.condi .gallery { padding-bottom: 10px; }
.actions-row { display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 860px) {
  .condi-grid { grid-template-columns: 1fr; }
  .condi-hero { justify-self: start; max-width: 100%; }
  .condi-hero img { aspect-ratio: 4 / 3; }
  .condi-formats { grid-template-columns: 1fr; }
}

/* =========================================================
   SCHEDA ORGANOLETTICA (nelle schede degli extra vergine)
   ========================================================= */
.sens { position: relative; isolation: isolate; overflow: hidden; margin: 0 0 30px; padding: 22px 22px 18px; border-radius: var(--radius-sm); background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.sens::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; aspect-ratio: 2160 / 968; z-index: -1; pointer-events: none; background: rgba(103, 118, 58, .06);
  -webkit-mask: url("../img/filigrana-basso.png") center / 100% 100% no-repeat; mask: url("../img/filigrana-basso.png") center / 100% 100% no-repeat; }
.sens-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; margin-bottom: 14px; }
.sens-head .eyebrow { margin: 0; }
.sens-badge { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px 5px 8px; border-radius: 999px; background: #eef1df; color: var(--olive-800); font-size: 12px; font-weight: 700; }
.sens-badge .ico { width: 15px; height: 15px; stroke-width: 2.2; }
.sens-grid { display: grid; grid-template-columns: 1fr; justify-items: center; gap: 14px; }
.sens-wheel { width: 100%; max-width: 270px; height: auto; overflow: visible; }
.sens-wheel .seg { cursor: pointer; outline: none; }
.sens-wheel .seg path { fill: var(--c); transform-box: view-box; transform-origin: 120px 120px; transition: transform .45s var(--ease), opacity .3s; animation: segIn .7s var(--ease) backwards; animation-delay: calc(var(--i) * 70ms); }
.sens-wheel .seg text { fill: var(--ink); font: 700 9.6px/1 var(--f-sans); text-anchor: middle; pointer-events: none; letter-spacing: .02em; }
.sens-wheel .seg.off path { fill: rgba(29, 28, 22, .045); stroke: rgba(29, 28, 22, .18); stroke-dasharray: 3 3; }
.sens-wheel .seg.off text { fill: var(--muted); font-weight: 600; }
.sens-wheel .seg.on:hover path, .sens-wheel .seg:focus-visible path { transform: scale(1.04); }
.sens-wheel .seg.sel path { transform: scale(1.08); filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .22)); }
.sens-wheel .seg.off.sel path { filter: none; stroke: var(--ink-soft); }
.sens-wheel .core { cursor: pointer; outline: none; }
.sens-wheel .core circle { fill: var(--paper); stroke: var(--line); transition: stroke .3s; }
.sens-wheel .core.sel circle, .sens-wheel .core:focus-visible circle { stroke: var(--gold); stroke-width: 2; }
.sens-wheel .core-1 { font: 400 17px var(--f-serif); fill: var(--ink); text-anchor: middle; }
.sens-wheel .core-2 { font: italic 300 11px var(--f-serif); fill: var(--olive-500); text-anchor: middle; }
@keyframes segIn { from { transform: scale(.7) rotate(-8deg); } }
.sens-detail { min-height: 112px; max-width: 46ch; display: grid; align-content: start; gap: 8px; justify-items: center; text-align: center; }
.sens-detail.swap { animation: cardSwap .45s var(--ease); }
.sens-detail b { font-family: var(--f-serif); font-weight: 400; font-size: 1.35rem; display: inline-flex; align-items: center; gap: 10px; }
.sens-detail b[style]::before { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--c); }
.sens-detail p { margin: 0; font-size: 15px; color: var(--ink-soft); }
.sens-hint { font-size: 12.5px; color: var(--muted); }
.sens-back { border: 0; background: none; padding: 0; font-size: 13.5px; font-weight: 700; color: var(--olive-700); border-bottom: 1.5px solid var(--gold); }
.sens-facts { margin: 18px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; padding-top: 16px; border-top: 1px solid var(--line); }
.sens-facts .wide { grid-column: 1 / -1; }
.sens-facts dt { font-size: 11.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.sens-facts dd { margin: 0; font-size: 14.5px; display: flex; align-items: center; gap: 8px; }
.swatch { width: 22px; height: 22px; border-radius: 50%; flex: none; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12), 0 2px 6px rgba(60, 50, 0, .25); }
.sens-facts .vars { flex-wrap: wrap; gap: 6px; }
.sens-facts .vars span { padding: 5px 10px; border-radius: 999px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); font-size: 13px; font-weight: 700; }
.sens-facts .vars small { margin-left: 5px; font-weight: 500; color: var(--muted); }
.sens-src { margin: 14px 0 0; font-size: 12px; color: var(--muted); }
@media (max-width: 560px) {
  .sens { padding: 18px 16px 16px; }
  .sens-facts { grid-template-columns: 1fr; }
}

/* =========================================================
   SORPRESE (personaggi che sbucano dai lati)
   ========================================================= */
.egg { position: fixed; z-index: 95; border: 0; padding: 0; background: none; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.egg:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; border-radius: 50%; }
.egg-body { display: block; }
.egg svg, .egg img { display: block; width: 100%; height: auto; filter: drop-shadow(0 8px 10px rgba(40, 30, 5, .28)); }
.egg .eyes { transform-box: view-box; transform-origin: 32px 49px; animation: eggBlink 3.4s infinite; }
.egg .leaf { transform-box: view-box; transform-origin: 33px 14px; animation: eggLeaf 1.6s ease-in-out infinite alternate; }
@keyframes eggBlink { 0%, 90%, 100% { transform: scaleY(1); } 94% { transform: scaleY(.12); } }
@keyframes eggLeaf { from { transform: rotate(-6deg); } to { transform: rotate(10deg); } }
.egg.caught .egg-body { animation: eggHop .5s var(--ease); }
@keyframes eggHop { 50% { transform: translateY(-10px) scale(1.06); } }

/* sbuca dal bordo */
.egg-peek { top: var(--y); width: 72px; }
.egg-peek.left { left: 0; animation: eggPeekL 6s var(--ease) forwards; }
.egg-peek.right { right: 0; animation: eggPeekR 6s var(--ease) forwards; }
@keyframes eggPeekL {
  0% { transform: translateX(-120%) rotate(30deg); }
  12%, 30% { transform: translateX(-34%) rotate(24deg); }
  36% { transform: translateX(-30%) rotate(14deg); }
  42%, 82% { transform: translateX(-34%) rotate(24deg); }
  100% { transform: translateX(-120%) rotate(30deg); }
}
@keyframes eggPeekR {
  0% { transform: translateX(120%) rotate(-30deg); }
  12%, 30% { transform: translateX(34%) rotate(-24deg); }
  36% { transform: translateX(30%) rotate(-14deg); }
  42%, 82% { transform: translateX(34%) rotate(-24deg); }
  100% { transform: translateX(120%) rotate(-30deg); }
}
.egg-squeezy { width: 64px; }

/* goccia che scende dall'alto */
.egg-drop { top: 0; right: max(18px, 7vw); width: 44px; animation: eggDrop 6.5s cubic-bezier(.35, .05, .3, 1) forwards; }
.egg-drop::before { content: ""; position: absolute; left: 50%; bottom: 82%; width: 4px; height: 70vh; translate: -50% 0; border-radius: 4px; background: linear-gradient(rgba(226, 180, 62, 0), #e2b43e); }
@keyframes eggDrop {
  0% { transform: translateY(-110%); }
  30% { transform: translateY(24vh) scaleY(1.08); }
  36% { transform: translateY(24vh) scale(1.08, .92); }
  42%, 80% { transform: translateY(24vh); }
  100% { transform: translateY(-110%); }
}

/* l'asinello attraversa la pagina in basso */
.egg-walk { left: 0; bottom: calc(10px + env(safe-area-inset-bottom, 0px)); width: 92px; animation: eggWalk 15s linear forwards; }
.egg-walk .egg-body { animation: eggBob .45s ease-in-out infinite alternate; }
@keyframes eggWalk { from { transform: translateX(-130px); } to { transform: translateX(calc(100vw + 30px)); } }
@keyframes eggBob { from { transform: translateY(0) rotate(-1.5deg); } to { transform: translateY(-3px) rotate(1.5deg); } }

.egg-bubble { position: fixed; z-index: 96; padding: 14px 16px 12px; border-radius: 16px; background: var(--ink); color: var(--paper); box-shadow: 0 18px 40px -12px rgba(0, 0, 0, .45); animation: fadeUp .35s var(--ease); }
.egg-bubble.out { opacity: 0; transform: translateY(6px); transition: opacity .25s, transform .25s; }
.egg-bubble .egg-k { display: block; font-size: 11.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-soft); margin-bottom: 4px; }
.egg-bubble p { margin: 0; font-family: var(--f-serif); font-size: 1.08rem; line-height: 1.35; }
.egg-bubble .egg-n { display: block; margin-top: 8px; font-size: 12px; color: rgba(247, 241, 227, .6); }
@media (max-width: 600px) {
  .egg-peek { width: 58px; }
  .egg-squeezy { width: 52px; }
  .egg-walk { width: 74px; animation-duration: 11s; }
}

/* angioletti in volo (scheda della latta) */
.cherub { position: fixed; left: 0; top: 0; z-index: 5; opacity: 0; pointer-events: none; will-change: transform; }
.cherub img { display: block; width: 100%; height: auto; transform-origin: 50% 35%; filter: drop-shadow(0 12px 14px rgba(40, 30, 5, .28)); animation: cherubFlap .32s ease-in-out infinite alternate; }
@keyframes cherubFlap { from { transform: translateY(0) scaleY(1) rotate(-2deg); } to { transform: translateY(-4px) scaleY(.95) rotate(2deg); } }

/* =========================================================
   PAGINE INTERNE
   ========================================================= */
:root { --pf: clamp(44px, 6vw, 90px); }
body.inner:not(.nav-open) .site-header { background: rgba(247, 241, 227, .86); -webkit-backdrop-filter: blur(14px) saturate(1.4); backdrop-filter: blur(14px) saturate(1.4); box-shadow: 0 1px 0 var(--line); }
.section.first { padding-top: calc(var(--header-h) + var(--pf)); }
.condi.first::before { margin-top: calc(var(--pf) * -1); margin-bottom: var(--pf); }
.asino.first .asino-banner { margin-top: 0; }
.asino.first .asino-banner img { aspect-ratio: 1080 / 470; object-fit: cover; object-position: 50% 100%; }
.asino.first { padding-top: calc(var(--header-h) + var(--pf) * .6); }
.main-nav .nav-home { display: none; }
@media (max-width: 980px) { .main-nav .nav-home { display: block; } }

/* in fondo alla pagina: la prossima da visitare */
.page-next { border-top: 1px solid var(--line); }
.page-next a { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: clamp(44px, 6vw, 84px); text-decoration: none; }
.page-next .eyebrow { margin-bottom: 12px; }
.page-next b { display: block; font-family: var(--f-serif); font-weight: 300; font-size: clamp(1.9rem, 4.6vw, 3.6rem); line-height: 1.05; letter-spacing: -.015em; text-wrap: balance; }
.page-next b em { font-style: italic; color: var(--olive-500); }
.page-next .go { flex: none; width: clamp(54px, 6vw, 72px); height: clamp(54px, 6vw, 72px); border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--paper); transition: transform .45s var(--ease), background .3s; }
.page-next a:hover .go { transform: translateX(6px); background: var(--red); }

/* =========================================================
   HOME CORTA
   ========================================================= */
.home-story-text { display: grid; gap: 0; align-content: start; }
.home-story-text .story-intro { margin-top: 4px; }
.home-story-text .story-quote { margin: 30px 0 0; }
.home-story-text .actions-row { margin-top: 32px; }
.home-story .stats { margin-top: clamp(56px, 7vw, 96px); }
.home-story .story-visual figure.poster { max-width: 420px; }
@media (max-width: 900px) {
  .home-story .story-visual figure.poster { max-width: 300px; }
}
.home-range-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 30px; margin-top: 30px; }
.cat-links { display: flex; flex-wrap: wrap; gap: 8px; min-width: 0; }
.cat-links .chip { display: inline-block; text-decoration: none; }
.home-quale { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; margin-top: 34px; padding: 22px 26px; border-radius: var(--radius); background: var(--olive-900); color: var(--paper); text-decoration: none; transition: transform .4s var(--ease), box-shadow .4s; }
.home-quale span { color: rgba(247, 241, 227, .7); font-size: 15px; }
.home-quale b { font-family: var(--f-serif); font-weight: 300; font-style: italic; font-size: clamp(1.25rem, 2.4vw, 1.7rem); color: var(--gold-soft); }
.home-quale .ico { margin-left: auto; color: var(--gold-soft); transition: transform .4s var(--ease); }
.home-quale:hover { transform: translateY(-3px); box-shadow: 0 24px 40px -24px rgba(0, 0, 0, .6); }
.home-quale:hover .ico { transform: translateX(5px); }
@media (max-width: 600px) {
  .home-range-foot { flex-direction: column; flex-wrap: nowrap; align-items: stretch; }
  .home-range-foot .cat-links { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: none; }
  .home-range-foot .cat-links::-webkit-scrollbar { display: none; }
  .home-range-foot .chip { flex: none; }
  .home-range-foot .btn { justify-content: center; }
  .home-quale { padding: 18px 20px; }
}

.home-brands { background: var(--paper-2); padding-top: clamp(30px, 4vw, 60px); }
.brand-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.brand-card { display: grid; grid-template-rows: auto 1fr; border-radius: var(--radius); overflow: hidden; text-decoration: none; box-shadow: var(--shadow); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.brand-card:hover { transform: translateY(-6px); box-shadow: 0 40px 70px -34px rgba(52, 38, 8, .5); }
.brand-card figure { margin: 0; aspect-ratio: 16 / 10; overflow: hidden; }
.brand-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.brand-card:hover img { transform: scale(1.05); }
.bc-body { display: grid; gap: 10px; align-content: start; justify-items: start; padding: clamp(22px, 3vw, 34px); }
.bc-k { font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.brand-card h3 { font-size: clamp(1.8rem, 3vw, 2.5rem); text-wrap: balance; }
.brand-card p { margin: 0; font-size: 15.5px; max-width: 46ch; }
.bc-go { margin-top: 6px; display: inline-flex; align-items: center; gap: 8px; padding-bottom: 2px; font-weight: 700; font-size: 15px; border-bottom: 1.5px solid currentColor; }
.bc-go .ico { width: 16px; height: 16px; transition: transform .35s var(--ease); }
.brand-card:hover .bc-go .ico { transform: translateX(4px); }
.bc-condi { background: #fff8f3; color: var(--ink); }
.bc-condi .bc-k, .bc-condi h3 em, .bc-condi .bc-go { color: #c8102e; }
.bc-condi p { color: var(--ink-soft); }
.bc-asino { background: #ffc645; color: #1f1a0b; }
.bc-asino img { object-position: 50% 26%; }
.bc-asino h3 em { color: #1f1a0b; }
.bc-asino p { color: rgba(31, 26, 11, .82); }
.home-pro { margin-top: clamp(40px, 6vw, 70px); color: #fff; }
.home-pro h3 { flex: 1 1 320px; max-width: 30ch; }
@media (max-width: 760px) { .brand-cards { grid-template-columns: 1fr; } }
