:root {
  --ink: #141210;
  --ink-2: #221E1A;
  --flour: #F6F1E8;
  --flour-2: #EDE5D6;
  --paper: #FFFDF9;
  --red: #C8361F;
  --red-dark: #A42914;
  --gold: #C9A24B;
  --muted: #6D645A;
  --line: rgba(20,18,16,.12);
  --serif: "Bodoni Moda", Georgia, serif;
  --sans: "Figtree", system-ui, sans-serif;
  --r: 4px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; font-family: var(--sans); font-size: 17px; line-height: 1.65; color: var(--ink); background: var(--flour); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; }
.wrap { width: min(1200px, 100% - 48px); margin-inline: auto; }
.section { padding: clamp(80px, 11vw, 140px) 0; }

/* Tipografia */
.eyebrow { font-size: .74rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--red); margin: 0 0 18px; display: flex; align-items: center; gap: 12px; }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.eyebrow--light { color: var(--flour); }
.eyebrow--gold { color: var(--gold); }
.h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(2.1rem, 4.6vw, 3.6rem); line-height: 1.06; letter-spacing: -.01em; margin: 0 0 22px; }
.h2 em, h1 em { font-style: italic; color: var(--red); }
.h2--light { color: var(--flour); }
.h2--light em { color: var(--gold); }
.lead { font-size: 1.1rem; color: var(--muted); max-width: 540px; margin: 0; }
.lead--small { font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; }
.head { margin-bottom: 52px; }
.head--center { text-align: center; }
.head--center .eyebrow { justify-content: center; }
.head--center .lead { margin-inline: auto; }

/* Bottoni */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 28px; border-radius: var(--r); font: 600 .8rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background .25s, color .25s, border-color .25s, transform .25s; }
.btn:hover { transform: translateY(-2px); }
.btn--red { background: var(--red); color: #fff; }
.btn--red:hover { background: var(--red-dark); }
.btn--ghost { border-color: rgba(246,241,232,.55); color: var(--flour); }
.btn--ghost:hover { background: var(--flour); color: var(--ink); }
.btn--gold { background: var(--gold); color: var(--ink); }
.btn--gold:hover { background: #d9b563; }
.btn--dark { background: var(--ink); color: var(--flour); }
.btn--block { width: 100%; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }

/* Navigazione */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; color: var(--flour); transition: background .3s, color .3s, box-shadow .3s; }
.nav.is-solid { background: rgba(246,241,232,.96); color: var(--ink); box-shadow: 0 1px 0 var(--line); backdrop-filter: blur(10px); }
.nav__in { display: flex; align-items: center; gap: 32px; height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand__mark { width: 38px; height: 38px; color: var(--red); }
.brand__txt { display: flex; flex-direction: column; line-height: 1.05; }
.brand__txt strong { font-family: var(--serif); font-size: 1.55rem; font-weight: 500; letter-spacing: .02em; }
.brand__txt em { font-style: normal; font-size: .64rem; letter-spacing: .24em; text-transform: uppercase; opacity: .75; }
.nav__links { display: flex; gap: 30px; margin-left: auto; }
.nav__links a { text-decoration: none; font-size: .88rem; font-weight: 500; position: relative; padding: 6px 0; }
.nav__links a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .3s; }
.nav__links a:hover::after { transform: scaleX(1); }
.nav__cta { min-height: 42px; padding: 0 22px; }
.nav__toggle { display: none; }

/* Apertura */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; color: var(--flour); background: var(--ink); overflow: hidden; }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .62; animation: slowzoom 18s ease-out forwards; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,18,16,.55) 0%, rgba(20,18,16,.1) 35%, rgba(20,18,16,.85) 100%); }
@keyframes slowzoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero__in { position: relative; z-index: 1; padding: 160px 0 110px; }
.hero h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(3.2rem, 9vw, 7.4rem); line-height: .95; letter-spacing: -.02em; margin: 0 0 28px; }
.hero h1 em { color: var(--gold); }
.hero__lead { font-size: 1.15rem; max-width: 470px; margin: 0 0 36px; color: rgba(246,241,232,.85); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__open { position: absolute; z-index: 1; right: 24px; bottom: 36px; margin: 0; font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; writing-mode: vertical-rl; color: rgba(246,241,232,.7); }
.hero__open.is-open { color: #9BD49B; }

/* Tre ingressi */
.doors { background: var(--ink); padding-bottom: clamp(70px, 9vw, 110px); }
.doors__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }
.door { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 440px; padding: 34px; text-decoration: none; color: var(--flour); overflow: hidden; isolation: isolate; }
.door img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.door::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(20,18,16,.05) 30%, rgba(20,18,16,.9)); }
.door:hover img { transform: scale(1.06); }
.door__n { font-family: var(--serif); font-style: italic; color: var(--gold); font-size: 1.1rem; }
.door h2 { font-family: var(--serif); font-weight: 500; font-size: 2rem; margin: 4px 0 8px; }
.door p { margin: 0 0 18px; color: rgba(246,241,232,.8); font-size: .96rem; }
.door__go { font-size: .76rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 600; }

/* Storia */
.story__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(40px, 7vw, 100px); align-items: center; position: relative; }
.story__year { position: absolute; top: -70px; left: -12px; font-family: var(--serif); font-size: clamp(7rem, 18vw, 15rem); line-height: 1; color: var(--flour-2); z-index: 0; pointer-events: none; user-select: none; }
.story__txt { position: relative; z-index: 1; }
.story__txt > p { color: var(--muted); margin: 0 0 16px; }
.quote { margin: 34px 0 0; padding: 26px 0 0 28px; border-left: 2px solid var(--red); }
.quote p { font-family: var(--serif); font-style: italic; font-size: 1.4rem; line-height: 1.4; margin: 0 0 12px; }
.quote cite { font-style: normal; font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.story__pic { margin: 0; aspect-ratio: 4/5; overflow: hidden; border-radius: 200px 200px var(--r) var(--r); }
.story__pic img { width: 100%; height: 100%; object-fit: cover; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(60px, 8vw, 100px); border-top: 1px solid var(--line); }
.stats div { padding: 30px 20px 0 0; }
.stats strong { display: block; font-family: var(--serif); font-weight: 500; font-size: clamp(2.4rem, 5vw, 3.6rem); line-height: 1; }
.stats small { font-size: .45em; color: var(--red); margin-left: 3px; }
.stats span { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

/* Menù */
.menu { background: var(--paper); }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; border-bottom: 1px solid var(--line); margin-bottom: 40px; }
.tab { background: none; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px; padding: 14px 18px; font: 600 .8rem var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); cursor: pointer; transition: color .2s, border-color .2s; }
.tab:hover { color: var(--ink); }
.tab[aria-selected="true"] { color: var(--ink); border-color: var(--red); }
.menu__list { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 70px; }
.menu__item { display: grid; grid-template-columns: 1fr auto; column-gap: 16px; align-items: baseline; padding: 20px 0; border-bottom: 1px dashed var(--line); animation: rise .45s both; }
.menu__item h3 { font-family: var(--serif); font-weight: 500; font-size: 1.35rem; margin: 0; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.menu__price { font-family: var(--serif); font-size: 1.25rem; color: var(--red); }
.menu__item p { grid-column: 1 / -1; margin: 4px 0 0; color: var(--muted); font-size: .95rem; }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.tag { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 99px; font: 700 .64rem/1 var(--sans); font-style: normal; }
.tag--v { background: #E3EEDB; color: #3F6B2A; }
.tag--p { background: #F8DDD5; color: var(--red-dark); }
.tag--n { background: #F3E7C8; color: #7C5F16; }
.menu__legend { margin: 34px 0 0; font-size: .85rem; color: var(--muted); display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }

/* Degustazione */
.taste { background: var(--ink); color: var(--flour); }
.taste .lead { color: rgba(246,241,232,.72); }
.taste .h2 em { color: var(--gold); }
.taste__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.taste__pic { margin: 0; aspect-ratio: 3/4; overflow: hidden; border-radius: var(--r); position: sticky; top: 100px; }
.taste__pic img { width: 100%; height: 100%; object-fit: cover; }
.steps { list-style: none; margin: 36px 0; padding: 0; }
.steps li { display: grid; grid-template-columns: 52px 1fr; gap: 14px; padding: 18px 0; border-top: 1px solid rgba(246,241,232,.12); }
.steps li > span { font-family: var(--serif); font-style: italic; color: var(--gold); font-size: 1.3rem; }
.steps h3 { font-family: var(--serif); font-weight: 500; font-size: 1.3rem; margin: 0; }
.steps p { margin: 2px 0 0; color: rgba(246,241,232,.65); font-size: .95rem; }
.taste__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding-top: 26px; border-top: 1px solid rgba(201,162,75,.4); }
.taste__price { margin: 0; }
.taste__price strong { font-family: var(--serif); font-weight: 500; font-size: 2.2rem; color: var(--gold); }
.taste__price span { display: block; font-size: .85rem; color: rgba(246,241,232,.6); }

/* Filiera */
.farm { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.farm article { background: var(--paper); padding: 34px 28px; border-radius: var(--r); border: 1px solid var(--line); transition: transform .3s, box-shadow .3s; }
.farm article:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -24px rgba(20,18,16,.35); }
.farm__ico { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: var(--flour); margin-bottom: 22px; }
.farm__ico svg { width: 26px; height: 26px; fill: none; stroke: var(--red); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.farm h3 { font-family: var(--serif); font-weight: 500; font-size: 1.35rem; margin: 0 0 8px; line-height: 1.2; }
.farm p { margin: 0; color: var(--muted); font-size: .95rem; }

/* Recensioni */
.reviews { background: var(--flour-2); }
.rev { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.rev figure { margin: 0; background: var(--paper); padding: 34px; border-radius: var(--r); }
.stars { color: var(--gold); letter-spacing: .2em; margin-bottom: 14px; }
.rev blockquote { margin: 0 0 22px; font-family: var(--serif); font-size: 1.2rem; line-height: 1.45; }
.rev figcaption { font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }

/* Gift card */
.gift { background: var(--ink-2); color: var(--flour); padding: clamp(70px, 9vw, 110px) 0; }
.gift__in { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.gift__in p { color: rgba(246,241,232,.75); max-width: 460px; margin: 0 0 30px; }
.gift__card { aspect-ratio: 1.6; max-width: 460px; width: 100%; margin-inline: auto; border-radius: 14px; padding: 30px; display: flex; flex-direction: column; background: radial-gradient(circle at 85% 15%, rgba(201,162,75,.35), transparent 50%), linear-gradient(135deg, #2c2620, #141210); border: 1px solid rgba(201,162,75,.45); box-shadow: 0 30px 60px -30px #000; transform: rotate(-4deg); transition: transform .5s; }
.gift__card:hover { transform: rotate(0); }
.gift__brand { font-family: var(--serif); font-size: 2rem; color: var(--gold); }
.gift__label { font-size: .7rem; letter-spacing: .3em; text-transform: uppercase; opacity: .7; }
.gift__val { margin-top: auto; font-family: var(--serif); font-style: italic; font-size: 1.3rem; }

/* Prenota */
.book__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(40px, 7vw, 100px); align-items: start; }
.book__info { list-style: none; padding: 0; margin: 32px 0; }
.book__info li { padding: 14px 0; border-top: 1px solid var(--line); color: var(--muted); }
.book__info strong { color: var(--ink); font-weight: 600; }
.book__tel { display: inline-flex; align-items: center; gap: 12px; font-family: var(--serif); font-size: 1.7rem; text-decoration: none; }
.book__tel svg { width: 22px; height: 22px; fill: var(--red); }
.form { background: var(--paper); padding: clamp(26px, 4vw, 44px); border-radius: var(--r); box-shadow: 0 30px 60px -40px rgba(20,18,16,.4); display: grid; gap: 18px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: grid; gap: 7px; font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.form .opt { text-transform: none; letter-spacing: 0; font-weight: 400; color: var(--muted); }
.form input, .form select, .form textarea { font: 400 1rem var(--sans); color: var(--ink); background: var(--flour); border: 1px solid transparent; border-radius: var(--r); padding: 13px 14px; min-height: 48px; width: 100%; transition: border-color .2s, background .2s; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--ink); background: #fff; }
.form textarea { resize: vertical; }
.form [aria-invalid="true"] { border-color: var(--red); }
.form__chips { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.form__chips legend { font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 8px; padding: 0; }
.form__chips label { display: block; position: relative; }
.form__chips input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; pointer-events: none; }
.form__chips span { display: inline-block; padding: 10px 18px; border-radius: 99px; border: 1px solid var(--line); font-size: .9rem; font-weight: 500; letter-spacing: 0; text-transform: none; cursor: pointer; transition: all .2s; }
.form__chips input:checked + span { background: var(--ink); color: var(--flour); border-color: var(--ink); }
.form__chips input:focus-visible + span { outline: 2px solid var(--red); outline-offset: 2px; }
.form__turno { margin: -4px 0 0; font-size: .9rem; padding: 10px 14px; background: #F3E7C8; border-radius: var(--r); color: #5d4712; }
.form__err { margin: 0; color: var(--red); font-size: .9rem; min-height: 1.2em; }

/* Dove siamo */
.dove { position: relative; min-height: 560px; display: flex; align-items: center; overflow: hidden; }
.dove > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.dove__in { position: relative; }
.dove__card { background: var(--flour); max-width: 440px; padding: 44px; border-radius: var(--r); }
.dove__card p { margin: 0 0 8px; }
.dove__hint { color: var(--muted); font-size: .92rem; margin-bottom: 26px !important; }

/* Footer */
.footer { background: var(--ink); color: rgba(246,241,232,.75); padding: 80px 0 30px; font-size: .95rem; }
.footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 40px; }
.footer__brand { font-family: var(--serif); font-size: 2.2rem; color: var(--flour); }
.footer h4 { margin: 0 0 14px; font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.footer p { margin: 0 0 6px; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--flour); }
.link { font-size: .85rem; color: var(--flour); }
.hours { list-style: none; margin: 0; padding: 0; }
.hours li { display: flex; justify-content: space-between; gap: 12px; padding: 3px 0; }
.hours li.is-today { color: var(--gold); font-weight: 600; }
.footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: 60px; padding-top: 24px; border-top: 1px solid rgba(246,241,232,.12); font-size: .82rem; }
.footer__credit { margin-top: 18px; text-align: center; font-size: .8rem; }
.ludolux { font-weight: 600; letter-spacing: .12em; background: linear-gradient(115deg, #B15CF5 0%, #7C6BFF 48%, #3E86EE 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Comparsa allo scroll */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }

.mbar { display: none; }

/* Tablet */
@media (max-width: 1020px) {
  .farm { grid-template-columns: 1fr 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .nav__links { gap: 20px; }
}

/* Telefono */
@media (max-width: 860px) {
  body { font-size: 16px; padding-bottom: 72px; }
  .wrap { width: calc(100% - 32px); }
  .nav__in { height: 66px; gap: 12px; }
  .nav__cta { display: none; }
  .nav__toggle { display: grid; gap: 7px; margin-left: auto; width: 44px; height: 44px; place-content: center; background: none; border: 0; color: inherit; cursor: pointer; }
  .nav__toggle span { width: 24px; height: 1.5px; background: currentColor; transition: transform .3s; }
  .nav.is-open .nav__toggle span:first-child { transform: translateY(4.25px) rotate(45deg); }
  .nav.is-open .nav__toggle span:last-child { transform: translateY(-4.25px) rotate(-45deg); }
  .nav__links { position: fixed; inset: 66px 0 auto; flex-direction: column; gap: 0; padding: 10px 16px 24px; background: var(--flour); color: var(--ink); box-shadow: 0 20px 30px -20px rgba(0,0,0,.3); transform: translateY(-8px); opacity: 0; pointer-events: none; transition: all .25s; }
  .nav__links a { font-family: var(--serif); font-size: 1.5rem; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav.is-open { background: var(--flour); color: var(--ink); }
  .nav.is-open .nav__links { opacity: 1; transform: none; pointer-events: auto; }
  .hero__in { padding: 130px 0 70px; }
  .hero__open { writing-mode: horizontal-tb; left: 16px; right: auto; top: 84px; bottom: auto; }
  .doors__grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 10px; padding-bottom: 6px; scrollbar-width: none; }
  .doors__grid::-webkit-scrollbar { display: none; }
  .door { flex: 0 0 82%; min-height: 380px; scroll-snap-align: start; padding: 24px; }
  .story__grid, .taste__grid, .gift__in, .book__grid { grid-template-columns: 1fr; }
  .story__year { top: -40px; }
  .story__pic { max-height: 440px; aspect-ratio: auto; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stats div { padding-bottom: 20px; }
  .menu__list { grid-template-columns: 1fr; }
  .tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .tabs::-webkit-scrollbar { display: none; }
  .tab { white-space: nowrap; padding: 14px 12px; }
  .taste__pic { position: static; aspect-ratio: 4/3; }
  .taste__foot .btn { width: 100%; }
  .farm { grid-template-columns: 1fr; }
  .rev { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; scrollbar-width: none; }
  .rev::-webkit-scrollbar { display: none; }
  .rev figure { flex: 0 0 84%; scroll-snap-align: start; padding: 26px; }
  .gift__card { transform: rotate(-2deg); }
  .form__row { grid-template-columns: 1fr; }
  .dove { min-height: 0; padding: 220px 0 0; align-items: flex-end; }
  .dove__card { max-width: none; margin: 0 -16px; padding: 34px 16px; border-radius: 0; }
  .footer__grid { grid-template-columns: 1fr; gap: 30px; }

  .mbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: grid; grid-template-columns: 1fr 1fr 1.3fr; background: rgba(246,241,232,.96); backdrop-filter: blur(10px); border-top: 1px solid var(--line); padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); gap: 8px; }
  .mbar a { display: flex; align-items: center; justify-content: center; gap: 7px; min-height: 46px; border-radius: var(--r); text-decoration: none; font-size: .86rem; font-weight: 600; color: var(--ink); }
  .mbar svg { width: 18px; height: 18px; fill: var(--red); }
  .mbar__cta { background: var(--red); color: #fff !important; letter-spacing: .14em; text-transform: uppercase; font-size: .78rem !important; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
