/* Direction: "The place carries it" (taste-skill seed 803442564). The shop window of Via Bonomelli 43,
   with the ochre facades and shutters of Cremona reflected in it, is the first screen. Walnut and tan. */
:root {
  color-scheme: light;
  --bg: #ffffff;
  --surface: #f5f5f1;
  --ink: #2b2b2b;
  --muted: #666660;
  --line: #e2e2dc;
  --accent: #a3ad5d;
  --accent-dark: #8b954a;
  --accent-ink: #ffffff;
  --field: #f1f2e7;
  --field-ink: #2b2b2b;
  --field-muted: #6b6f55;
  --display: "Cormorant Garamond", "Cormorant", Garamond, "Times New Roman", serif;
  --text: "Hanken Grotesk", "Segoe UI", system-ui, sans-serif;
  --step-small: clamp(0.8125rem, 0.79rem + 0.1vw, 0.875rem);
  --step-body: clamp(1.0625rem, 1.02rem + 0.25vw, 1.25rem);
  --step-lead: clamp(1.25rem, 1.1rem + 0.7vw, 1.625rem);
  --step-head: clamp(2.2rem, 1.3rem + 3.4vw, 4.25rem);
  --step-hero: clamp(2.75rem, 1.6rem + 3.9vw, 4.4rem);
  --m: max(16px, min(32px, 4vw));
  --gap-section: clamp(96px, 12vw, 200px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--text); font-size: var(--step-body); line-height: 1.55; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 300; letter-spacing: -0.01em; line-height: 1.02; margin: 0; text-wrap: balance; }
p { margin: 0; }
.gutter { padding-left: max(var(--m), env(safe-area-inset-left, 0px)); padding-right: max(var(--m), env(safe-area-inset-right, 0px)); }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; background: var(--accent); color: var(--accent-ink); font: 500 var(--step-small)/1 var(--text); font-size: 1rem; text-decoration: none; border: 0; border-radius: 0; cursor: pointer; transition: transform .2s ease, background-color .2s ease; }
.btn:hover { background: var(--accent-dark); }
.btn:active { transform: scale(.97); }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.link { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; transition: opacity .2s; }
.link:hover { opacity: .75; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 50; background: var(--ink); color: var(--bg); padding: 8px 12px; }

/* ---------- hero ---------- */
.hero { position: relative; height: 100svh; min-height: 560px; overflow: hidden; background: var(--surface); }
.hero-media, .hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-media img { opacity: 0; transition: opacity 1.6s ease; object-position: 70% 40%; }
.hero-media img.on { opacity: 1; }
.hero::after { content: ""; position: absolute; inset: 0 auto 0 0; width: min(62%, 860px); background: rgba(20, 15, 9, .62); pointer-events: none; }
.hero-top { position: absolute; z-index: 3; top: 0; left: 0; right: 0; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: max(20px, env(safe-area-inset-top, 0px)); }
.wordmark { font-family: var(--display); font-size: 1.5rem; font-weight: 400; text-decoration: none; letter-spacing: 0; }
.hero-top nav { display: flex; align-items: center; gap: 22px; font-size: 1rem; }
.hero-top nav a.plain { text-decoration: none; }
.hero-top nav a.plain:hover { text-decoration: underline; text-underline-offset: 4px; }
.hero-copy { position: absolute; z-index: 3; left: 0; top: 50%; transform: translateY(-50%); width: min(100%, 760px); }
.hero h1 { font-size: var(--step-hero); max-width: 16ch; }
.hero .sub { margin-top: 28px; max-width: 40ch; font-size: 1.125rem; color: var(--ink); }
.hero .sub strong { font-weight: 500; }
.pin { position: absolute; z-index: 3; right: 30%; top: 30%; display: flex; align-items: center; gap: 10px; font-size: 1rem; color: var(--ink); background: rgba(20,15,9,.55); padding: 6px 10px; }
.pin::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex: none; }
.hero-cards { position: absolute; z-index: 3; right: max(var(--m), env(safe-area-inset-right, 0px)); bottom: max(var(--m), env(safe-area-inset-bottom, 0px)); display: flex; gap: 16px; }
.hcard { width: 220px; text-decoration: none; display: block; background: var(--ink); color: var(--bg); transition: transform .25s ease; }
.hcard:hover { transform: translateY(-4px); }
.hcard img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.hcard span { display: flex; justify-content: space-between; align-items: center; height: 44px; padding: 0 12px; font-size: 1rem; font-weight: 500; }

/* ---------- sections shared ---------- */
.sec { padding-top: var(--gap-section); }
.sec h2 { font-size: var(--step-head); }
.reveal { transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.js .reveal.pre { opacity: 0; transform: translateY(24px); }

/* list */
.list h2 { padding-left: 3vw; max-width: 18ch; }
.lead-p { margin-top: 28px; padding-left: 3vw; max-width: 58ch; font-size: var(--step-lead); line-height: 1.45; }
.list-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 0 24px; margin-top: 88px; align-items: end; }
.list-photo { grid-column: 1 / 5; }
.list-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.list-name { grid-column: 6 / 8; align-self: start; font-size: 1rem; color: var(--muted); }
.rows { grid-column: 8 / 13; list-style: none; margin: 0; padding: 0; display: grid; gap: 26px; }
.rows li.group { margin-top: 18px; }
.rows a, .rows .row { display: grid; grid-template-columns: 34% 1fr auto; gap: 12px; text-decoration: none; font-size: 1rem; align-items: baseline; transition: transform .2s ease; }
.rows a:hover { transform: translateX(6px); }
.rows .k { color: var(--muted); }
.rows .v { text-align: right; color: var(--muted); }
.rows .p { font-weight: 500; }

/* how it works: drag row */
.how-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; }
.how-head h2 { font-size: clamp(1.9rem, 1.4rem + 1.4vw, 2.4rem); }
.how-btns { display: flex; gap: 8px; }
.how-btns button { width: 48px; height: 48px; background: var(--surface); color: var(--ink); border: 0; font-size: 1.2rem; cursor: pointer; transition: background-color .2s; }
.how-btns button:hover { background: var(--accent); color: var(--accent-ink); }
.progress { height: 6px; background: var(--surface); margin-top: 20px; }
.progress span { display: block; height: 100%; width: 20%; background: var(--ink); transition: width .15s linear; }
.moments { display: flex; gap: 32px; overflow-x: auto; scroll-snap-type: x mandatory; margin-top: 40px; padding-bottom: 8px; scrollbar-width: none; }
.moments::-webkit-scrollbar { display: none; }
.moment { flex: 0 0 280px; scroll-snap-align: start; display: flex; flex-direction: column; }
.moment h3 { font-family: var(--text); font-weight: 500; font-size: 1.125rem; line-height: 1.3; letter-spacing: 0; }
.moment p { margin-top: 10px; color: var(--muted); font-size: 1rem; }
.moment .sp { flex: none; }
.moment img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }

/* about: mosaic on tan field */
.about { background: var(--field); color: var(--field-ink); margin-top: var(--gap-section); padding-block: var(--gap-section); }
.about h2 { max-width: 16ch; font-size: var(--step-head); }
.about .lead { margin-top: 24px; max-width: 46ch; font-size: var(--step-lead); line-height: 1.4; }
.mosaic { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; margin-top: 72px; align-items: start; }
.mosaic .ph { grid-column: 1 / 9; position: relative; }
.mosaic .ph img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.mosaic .ph p { position: absolute; top: 0; right: 0; width: 330px; padding: 20px; background: var(--bg); color: var(--ink); font-size: 1rem; }
.mosaic .side { grid-column: 9 / 13; display: grid; gap: 24px; }
.tile { background: var(--bg); aspect-ratio: 4 / 3.1; display: grid; place-items: center; }
.tile svg { width: 78%; height: auto; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; margin: 0; }
.facts dt { font-size: var(--step-small); color: var(--field-muted); }
.facts dd { margin: 2px 0 0; font-size: 1rem; font-weight: 500; }
.interlock { margin: 72px 0 0 58%; width: 260px; font-size: var(--step-small); line-height: 1.5; position: relative; z-index: 2; margin-bottom: -5.6em; color: var(--field-ink); }

/* gallery: full-bleed sticky sequence */
.gallery { position: relative; }
.frame { position: sticky; top: 0; height: 100svh; overflow: hidden; }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.frame figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding-top: 60px; padding-bottom: 32px; font-size: 1rem; color: var(--ink); background: rgba(20,15,9,.55); }
.gallery h2.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* faq split */
.faq-sec { background: var(--surface); padding-bottom: 80px; }
.faq-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; }
.faq-left { grid-column: 1 / 6; padding-top: 96px; display: grid; gap: 28px; align-content: start; }
.faq-left h2 { font-size: clamp(2rem, 1.6rem + 1.2vw, 2.75rem); }
.faq-facts { display: grid; gap: 6px; font-size: 1.125rem; }
.qa details { padding-block: 14px; }
.qa summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; font-size: 1.2rem; min-height: 44px; align-items: center; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: ""; width: 9px; height: 9px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(45deg); transition: transform .2s; flex: none; margin-right: 4px; }
.qa details[open] summary::after { transform: rotate(-135deg); }
.qa p { margin-top: 8px; color: var(--muted); font-size: 1.0625rem; max-width: 56ch; }
.faq-actions { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; }
.faq-right { grid-column: 7 / 13; position: relative; }
.faq-right .tall { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.faq-right .sq { position: absolute; width: 34%; aspect-ratio: 1; object-fit: cover; left: -40px; bottom: -40px; }

/* contact: visit card on photograph */
.contact { position: relative; min-height: 130svh; }
.contact > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 30% 50%; }
.card-wrap { position: relative; height: 100%; display: flex; justify-content: flex-end; padding-top: 60px; padding-bottom: 60px; }
.visit { position: sticky; top: 60px; width: 400px; max-width: 100%; background: var(--ink); color: var(--bg); padding: 32px 32px 0; border-radius: 8px; align-self: flex-start; display: grid; gap: 16px; }
.visit h2 { font-size: 1.9rem; }
.visit .muted { color: #5b5042; }
.hours { display: grid; gap: 4px; margin: 0; font-variant-numeric: tabular-nums; }
.hours div { display: flex; justify-content: space-between; gap: 12px; }
.visit .btn { margin: 8px -32px 0; min-height: 56px; width: calc(100% + 64px); border-radius: 0 0 8px 8px; background: var(--bg); color: var(--ink); }
.visit .btn:hover { background: var(--surface); }
/* quiz inside card */
.quiz { display: grid; gap: 14px; padding-bottom: 24px; }
.quiz[hidden] { display: none; }
.qbar { display: flex; gap: 4px; }
.qbar span { flex: 1; height: 4px; background: #cfcabd; }
.qbar span.on { background: var(--bg); }
.qstep { border: 0; padding: 0; margin: 0; display: grid; gap: 8px; min-width: 0; }
.qstep legend { font-family: var(--display); font-size: 1.5rem; margin-bottom: 6px; padding: 0; }
.opt { position: relative; }
.opt input { position: absolute; opacity: 0; inset: 0; }
.opt span { display: block; padding: 11px 12px; background: #d6d2c6; cursor: pointer; font-size: 1rem; transition: background-color .15s; }
.opt span:hover { background: #cbc5b6; }
.opt input:checked + span { background: var(--bg); color: var(--ink); }
.opt input:focus-visible + span { outline: 2px solid var(--bg); outline-offset: 2px; }
.qfield { display: grid; gap: 4px; font-size: 1rem; font-weight: 500; }
.qfield input, .qfield textarea { font: inherit; font-weight: 400; padding: 11px 12px; background: #f1efe9; color: var(--bg); border: 0; border-radius: 0; width: 100%; }
.qnav { display: flex; justify-content: space-between; gap: 10px; }
.qnav button { min-height: 48px; padding: 0 18px; border: 0; font: 500 1rem var(--text); cursor: pointer; }
.qnav .back { background: transparent; color: var(--bg); text-decoration: underline; text-underline-offset: 4px; }
.qnav .next { background: var(--bg); color: var(--ink); }
.qnav .next[disabled] { opacity: .4; cursor: not-allowed; }
.qdone { background: #d6d2c6; padding: 14px; }

/* footer */
.foot { display: grid; grid-template-columns: 1fr 1fr; min-height: 100svh; }
.foot-photo { position: relative; overflow: hidden; }
.foot-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 60%; transform: scale(1.25); }
.foot-menu { background: var(--surface); padding-top: 80px; padding-bottom: 28px; display: flex; flex-direction: column; gap: 56px; }
.foot-menu .wordmark { font-size: 1.25rem; }
.big-menu { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.big-menu a { font-family: var(--display); font-size: clamp(1.9rem, 1.2rem + 1.8vw, 2.8rem); text-decoration: none; display: inline-block; transition: transform .2s ease, color .2s ease; line-height: 1.05; }
.big-menu:hover a { color: var(--muted); }
.big-menu a:hover { color: var(--ink); transform: translateX(12px); }
.foot-blocks { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; font-size: 1rem; }
.foot-blocks h3 { font-family: var(--text); font-size: 1rem; font-weight: 500; letter-spacing: 0; margin-bottom: 6px; }
.legal { margin-top: auto; font-size: var(--step-small); color: var(--muted); }

/* sub pages */
.sub-hero { display: grid; grid-template-columns: 1fr 1fr; min-height: 78svh; }
.sub-hero .txt { padding-top: 120px; padding-bottom: 56px; display: flex; flex-direction: column; justify-content: flex-end; gap: 22px; }
.sub-hero h1 { font-size: var(--step-head); max-width: 16ch; }
.sub-hero .txt p { max-width: 42ch; }
.sub-hero .img { position: relative; }
.sub-hero .img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.topbar { position: absolute; z-index: 5; top: 0; left: 0; right: 0; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: max(20px, env(safe-area-inset-top, 0px)); }
.topbar nav { display: flex; gap: 22px; align-items: center; font-size: 1rem; }
.topbar nav a.plain { text-decoration: none; }
.prose-sec { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; }
.prose-sec h2 { grid-column: 1 / 6; font-size: clamp(2rem, 1.5rem + 1.6vw, 3rem); }
.prose-sec .body { grid-column: 7 / 13; display: grid; gap: 16px; max-width: 62ch; }
.prose-sec ul { margin: 0; padding-left: 1.1em; display: grid; gap: 8px; }
.crumb { font-size: 1rem; color: var(--muted); }
.crumb a { text-decoration: none; }

/* phone bar */
.callbar { display: none; }
@media (max-width: 760px) {
  body { padding-bottom: calc(60px + env(safe-area-inset-bottom, 0px)); }
  .callbar { display: grid; position: fixed; z-index: 40; left: 0; right: 0; bottom: 0; grid-template-columns: 1fr 1fr 1fr; background: var(--bg); padding-bottom: env(safe-area-inset-bottom, 0px); }
  .callbar a { min-height: 60px; display: grid; place-items: center; text-decoration: none; font-weight: 500; }
  .callbar a.pri { background: var(--accent); color: var(--accent-ink); }
}

@media (max-width: 900px) {
  .hero::after { width: 100%; background: rgba(20,15,9,.5); }
  .hero-media img { object-position: 75% 45%; }
  .hero-copy { top: 40%; }
  .hero h1 { font-size: 9vw; }
  .hero .sub { font-size: 1rem; margin-top: 16px; }
  .hero-top nav a.plain { display: none; }
  .pin { display: none; }
  .hero-cards { left: max(16px, env(safe-area-inset-left, 0px)); right: max(16px, env(safe-area-inset-right, 0px)); bottom: 16px; }
  .hcard { flex: 1; width: auto; }
  .list h2, .lead-p { padding-left: 0; }
  .list-grid { grid-template-columns: 1fr; margin-top: 48px; gap: 40px; }
  .list-photo { grid-column: auto; width: 60%; margin-left: auto; order: 2; }
  .list-name { display: none; }
  .rows { grid-column: auto; }
  .rows a, .rows .row { grid-template-columns: 1fr auto; }
  .rows .k { grid-column: 1 / -1; }
  .how-btns { display: none; }
  .moment { flex-basis: 72vw; }
  .moments { gap: 16px; }
  .moment .sp { height: 40px !important; }
  .mosaic { grid-template-columns: 1fr; }
  .mosaic .ph, .mosaic .side { grid-column: auto; }
  .mosaic .ph img { aspect-ratio: 4 / 3; }
  .mosaic .ph p { position: static; width: auto; margin-top: 16px; }
  .tile { aspect-ratio: 3 / 2; }
  .interlock { margin-left: 0; width: 60%; }
  .frame { height: 88svh; }
  .faq-grid { grid-template-columns: 1fr; }
  .faq-left, .faq-right { grid-column: auto; }
  .faq-right { order: -1; margin-top: 48px; }
  .faq-right .tall { aspect-ratio: 4 / 5; }
  .faq-right .sq { width: 38%; left: auto; right: 0; bottom: -24px; }
  .faq-left { padding-top: 80px; }
  .faq-actions .btn { width: 100%; }
  .contact { min-height: auto; padding-bottom: 32px; }
  .contact > img { position: relative; height: 70svh; }
  .card-wrap { padding: 0 16px; margin-top: -80px; }
  .visit { position: relative; top: 0; width: 100%; }
  .foot { grid-template-columns: 1fr; min-height: 0; }
  .foot-photo { height: 50svh; }
  .big-menu a { font-size: 8vw; }
  .foot-blocks { grid-template-columns: 1fr; }
  .sub-hero { grid-template-columns: 1fr; }
  .sub-hero .img { height: 34svh; order: -1; }
  .sub-hero .txt { padding-top: 32px; }
  .topbar nav a.plain { display: none; }
  .prose-sec { grid-template-columns: 1fr; }
  .prose-sec h2, .prose-sec .body { grid-column: auto; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .hero-media img, .btn, .hcard, .rows a, .big-menu a { transition: none; }
  .js .reveal.pre { opacity: 1; transform: none; }
}

.callbar.away { transform: translateY(110%); }
.callbar { transition: transform .25s ease; }

@media (prefers-reduced-motion: no-preference) { .sub-hero .img img { animation: drift 18s ease-in-out infinite alternate; } @keyframes drift { from { transform: scale(1); } to { transform: scale(1.06); } } }
.sub-hero .img { overflow: hidden; }
a[href^="tel"]{white-space:nowrap}

.callbar .cb-call { min-height: 60px; background: none; border: 0; color: inherit; font: inherit; font-weight: 500; cursor: pointer; }
.callbar .cb-call[aria-expanded="true"] { background: var(--surface); }
.cb-nums { position: absolute; left: 0; right: 0; bottom: 100%; background: var(--surface); display: grid; }
.cb-nums[hidden] { display: none; }
.cb-nums a { min-height: 56px; display: flex !important; justify-content: space-between; align-items: center; padding: 0 20px; border-top: 1px solid rgba(228,226,218,.12); }
.cb-nums a span { color: var(--muted); }
.topbar nav a.plain, .hero-top nav a.plain { text-shadow: 0 1px 3px rgba(20,14,8,.85), 0 0 12px rgba(20,14,8,.55); }

.hero-top.no-mark { justify-content: flex-end; }
.hero-top nav, .topbar nav { align-items: flex-start; }
.hero-top nav > a.plain, .topbar nav > a.plain { line-height: 48px; }
.cta-stack { display: flex; flex-direction: column; align-items: stretch; gap: 10px; }
.cta-stack .btn { text-align: center; }
.cta-stack .nums { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; font-size: .9rem; }

.visit { gap: 24px; }
.vgroup { display: grid; gap: 6px; }
.vgroup h3 { font-family: inherit; font-size: .8rem; font-weight: 500; color: #7a6c59; letter-spacing: .02em; }
.vgroup .link { justify-self: start; }
.people { display: grid; gap: 10px; }
.people a { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; text-decoration: none; color: inherit; font-variant-numeric: tabular-nums; }
.people a > span:last-child { text-decoration: underline; text-underline-offset: 3px; }
.people small { display: block; font-size: .8rem; color: #6b5e4d; margin-top: 2px; }

/* self-hosted fonts (no Google requests) */
@font-face { font-family: "Cormorant Garamond"; src: url("fonts/cormorant.woff") format("woff"); font-weight: 300 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("fonts/cormorant-italic.woff") format("woff"); font-weight: 300 700; font-style: italic; font-display: swap; }
@font-face { font-family: "Hanken Grotesk"; src: url("fonts/hanken.woff") format("woff"); font-weight: 100 900; font-style: normal; font-display: swap; }

/* logo */
.logo-chip { display: inline-flex; align-items: center; justify-content: center; background: #E4E2DA; border-radius: 6px; padding: 8px 10px; line-height: 0; box-shadow: 0 2px 12px rgba(20,14,8,.25); }
.logo-chip img { width: 81px; height: auto; display: block; }
.topbar .brand { display: flex; align-items: center; gap: 14px; }
.hero-top { justify-content: space-between; align-items: flex-start; }
.topbar { align-items: flex-start; }
.foot-brand { display: inline-flex; align-items: center; gap: 16px; text-decoration: none; }
.foot-brand img { width: 108px; height: auto; }
.legal a { color: inherit; }
@media (max-width: 760px) {
  .logo-chip { padding: 6px 8px; }
  .logo-chip img { width: 60px; }
  .topbar .brand .wordmark { display: none; }
}

/* privacy page */
.legal-page { max-width: 760px; margin: 0 auto; padding-top: 150px; padding-bottom: 96px; display: grid; gap: 14px; }
.legal-page h1 { font-size: clamp(2.4rem, 1.6rem + 3vw, 3.6rem); }
.legal-page h2 { font-size: 1.7rem; margin-top: 22px; }
.legal-page p { margin: 0; color: var(--muted); }
.legal-page strong { color: var(--ink); font-weight: 500; }
.legal-page .upd { font-size: var(--step-small); }
@media (max-width: 760px) { .callbar { grid-template-columns: 1fr 1fr; } }

/* product tiles */
.tiles { list-style: none; margin: 72px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.tile { position: relative; display: block; aspect-ratio: 1 / 1; overflow: hidden; text-decoration: none; color: #F4F0E7; background: var(--surface); }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,14,8,0) 35%, rgba(20,14,8,.88) 100%); }
.tile:hover img { transform: scale(1.04); }
.tile-txt { position: absolute; left: 22px; right: 22px; bottom: 20px; z-index: 1; display: grid; gap: 6px; }
.tile-t { font-family: var(--display); font-size: clamp(1.5rem, 1.1rem + 1vw, 2.1rem); line-height: 1.05; }
.tile-s { font-size: .95rem; color: #E4DED2; }
@media (max-width: 760px) {
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 40px; }
  .tile-txt { left: 12px; right: 12px; bottom: 12px; gap: 3px; }
  .tile-t { font-size: 1.2rem; }
  .tile-s { font-size: .8rem; }
}
@media (prefers-reduced-motion: reduce) { .tile img { transition: none; } }

/* five hero cards */
.hero-cards { gap: 12px; }
.hcard { width: 168px; }
.hcard span { height: auto; min-height: 50px; padding: 8px 12px; font-size: .92rem; line-height: 1.2; gap: 8px; }
@media (max-width: 1100px) { .hcard { width: 140px; } }
@media (max-width: 760px) {
  .hero-cards { overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 4px; scrollbar-width: none; }
  .hero-cards::-webkit-scrollbar { display: none; }
  .hcard { flex: 0 0 132px; width: 132px; scroll-snap-align: start; }
  .hcard span { font-size: .85rem; min-height: 46px; padding: 6px 10px; }
}
.hcard { width: 150px; }
@media (max-width: 1100px) { .hcard { width: 124px; } }
@media (max-width: 760px) { .hcard { flex: 0 0 132px; width: 132px; } }
/* equal card heights; CTA width set in app.js to end where the first card starts */
.hcard span { min-height: 56px; }
@media (min-width: 761px) and (max-width: 1179px) { .hcard span { min-height: 68px; } }
@media (min-width: 761px) { .hero-copy .btn { box-sizing: border-box; } }
@media (max-width: 760px) { .callbar { grid-template-columns: 1fr 1fr 1fr; } }

/* ===== v2: light shop look, olive accent ===== */
.btn { font-weight: 600; border-radius: 2px; }
/* masthead */
.mast { background: var(--bg); border-bottom: 2px solid var(--accent); position: relative; z-index: 30; }
.mast-top { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 16px; padding-bottom: 14px; max-width: 1280px; margin: 0 auto; }
.brand { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; color: var(--ink); }
.brand img { width: 76px; height: auto; }
.brand-txt { display: grid; gap: 2px; }
.brand-name { font-family: var(--display); font-size: 2rem; line-height: 1; font-weight: 400; color: #6f6f68; }
.brand-sub { display: flex; align-items: center; gap: 8px; font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--accent-dark); }
.brand-sub::before, .brand-sub::after { content: ""; height: 1px; width: 22px; background: #bdbdb5; }
.mast-right { display: flex; align-items: center; gap: 28px; }
.guide { display: grid; justify-items: center; gap: 4px; text-decoration: none; font-size: .85rem; color: var(--ink); }
.guide .ico { color: #777; }
.guide:hover .ico { color: var(--accent-dark); }
.mast .cta-stack { gap: 6px; }
.mast .cta-stack .btn { min-height: 44px; font-size: .95rem; }
.mast .cta-stack .nums { flex-direction: row; justify-content: center; align-items: center; gap: 6px; font-weight: 700; text-decoration: none; color: var(--ink); font-size: .95rem; }
.m-call { display: none; color: var(--ink); }
.nav { border-top: 1px solid var(--line); }
.nav-in { list-style: none; margin: 0 auto; max-width: 1280px; display: flex; justify-content: space-between; gap: 8px; }
.nv { position: static; }
.nv-a { display: block; padding: 13px 4px 11px; font-size: .95rem; font-weight: 600; text-decoration: none; color: var(--ink); border-bottom: 2px solid transparent; white-space: nowrap; }
.nv-a:hover, .nv:focus-within .nv-a, .nv-a[aria-current] { border-bottom-color: var(--accent); }
.mega { position: absolute; left: 0; right: 0; top: 100%; background: var(--bg); border-top: 1px solid var(--line); box-shadow: 0 14px 24px rgba(0,0,0,.08); visibility: hidden; opacity: 0; transition: opacity .15s ease, visibility .15s; }
.nv:hover .mega, .nv:focus-within .mega { visibility: visible; opacity: 1; }
.mega-in { list-style: none; margin: 0 auto; max-width: 1280px; padding: 22px var(--m); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px 32px; }
.mega-in a { display: flex; align-items: center; gap: 16px; text-decoration: none; color: var(--ink); font-size: 1rem; padding: 4px 0; }
.mega-in .ico { color: #8a8a84; flex: none; }
.mega-in a:hover span { color: var(--accent-dark); }
/* home: products */
.h1-home { font-family: var(--text); font-weight: 700; font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.3rem); letter-spacing: -0.01em; margin-bottom: 18px; padding-left: 3vw; }
#prodotti { padding-top: 48px; max-width: 1280px; margin: 0 auto; }
.bento { margin-top: 48px; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; grid-template-rows: repeat(2, minmax(200px, 23vw)); gap: 6px; max-height: 640px; }
.bt { position: relative; overflow: hidden; display: block; text-decoration: none; color: #fff; background: var(--surface); }
.bt.big { grid-row: 1 / 3; }
.bt.wide { grid-column: span 2; }
.bt img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.bt::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 50%, rgba(0,0,0,.62) 100%); }
.bt:hover img { transform: scale(1.04); }
.bt span { position: absolute; z-index: 1; left: 12px; right: 14px; bottom: 12px; display: flex; justify-content: space-between; align-items: center; gap: 8px; font-weight: 600; font-size: 1rem; }
.bt.big span { font-size: 1.15rem; }
.help { margin: 88px auto 0; max-width: 560px; text-align: center; display: grid; justify-items: center; gap: 14px; }
.help .ico { color: #777; }
.help h2 { font-family: var(--text); font-weight: 700; font-size: 1.5rem; letter-spacing: 0; }
.help p { color: var(--muted); font-size: 1rem; }
.help .btn { margin-top: 6px; gap: 10px; }
.help small { color: var(--muted); font-size: .85rem; }
/* recolor existing pieces for the light palette */
.frame figcaption { color: #fff; background: rgba(0,0,0,.45); }
.visit { background: #fff; color: var(--ink); border: 1px solid var(--line); box-shadow: 0 10px 30px rgba(0,0,0,.12); width: 460px; }
.vgroup h3 { color: var(--muted); }
.visit .btn { background: var(--accent); color: #fff; }
.visit .btn:hover { background: var(--accent-dark); }
.opt span { background: var(--surface); border: 1px solid var(--line); }
.opt span:hover { background: #ecede3; }
.opt input:checked + span { background: var(--accent); border-color: var(--accent); color: #fff; }
.opt input:focus-visible + span, .need input:focus-visible + span { outline: 2px solid var(--accent-dark); }
.opt.sugg span::after { content: "Consigliato"; float: right; font-size: .75rem; font-weight: 600; color: var(--accent-dark); }
.opt.sugg input:checked + span::after { color: #fff; }
.qfield input, .qfield textarea { background: var(--surface); color: var(--ink); border: 1px solid var(--line); }
.qnav .back { color: var(--ink); }
.qnav .next { background: var(--accent); color: #fff; font-weight: 600; }
.qdone { background: var(--field); }
.qstep legend { font-family: var(--text); font-weight: 700; font-size: 1.15rem; text-align: center; width: 100%; }
.qbar { list-style: none; margin: 0 0 4px; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); position: relative; gap: 0; }
.qbar li { display: grid; justify-items: center; gap: 4px; position: relative; }
.qbar li::before { content: ""; position: absolute; top: 15px; left: -50%; width: 100%; height: 1px; background: #bdbdb5; z-index: 0; }
.qbar li:first-child::before { display: none; }
.qbar b { position: relative; z-index: 1; width: 30px; height: 30px; border-radius: 50%; border: 1px solid #9a9a94; background: #fff; display: grid; place-items: center; font-size: .72rem; font-weight: 600; }
.qbar small { font-size: .66rem; color: var(--muted); }
.qbar li.on b { background: var(--accent); border-color: var(--accent); color: #fff; }
.qbar li.on::before { background: var(--accent); }
.qbar span { display: none; }
.needs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.need { position: relative; }
.need input { position: absolute; opacity: 0; inset: 0; }
.need span { display: grid; justify-items: center; align-content: start; gap: 8px; padding: 14px 6px 12px; border: 1px solid #c9c9c2; text-align: center; cursor: pointer; min-height: 118px; transition: border-color .15s, background-color .15s; }
.need .ico { color: #6b6b5c; }
.need em { font-style: normal; font-size: .82rem; line-height: 1.25; }
.need span:hover { border-color: var(--accent); }
.need input:checked + span { border-color: var(--accent); background: var(--field); box-shadow: inset 0 0 0 1px var(--accent); }
.about .tile { background: #fff; }
.mosaic .ph p { background: #fff; }
.callbar { background: #fff; border-top: 1px solid var(--line); }
.callbar a.pri { color: #fff; }
.cb-nums a { border-top: 1px solid var(--line); }
.foot-menu { background: var(--surface); }
.sub-hero { min-height: 62svh; }
.sub-hero .txt { padding-top: 56px; }
.legal-page { padding-top: 56px; }
.faq-sec { background: var(--surface); }
@media (max-width: 1100px) {
  .nav-in { overflow-x: auto; scrollbar-width: none; gap: 22px; justify-content: flex-start; }
  .nav-in::-webkit-scrollbar { display: none; }
  .mega { display: none; }
  .guide { font-size: .78rem; } .guide .ico { width: 26px; height: 26px; }
}
@media (max-width: 760px) {
  .mast-top { padding-top: 10px; padding-bottom: 10px; }
  .brand img { width: 54px; }
  .brand-name { font-size: 1.45rem; }
  .brand-sub { font-size: .6rem; letter-spacing: .14em; }
  .brand-sub::before, .brand-sub::after { width: 12px; }
  .mast .cta-stack, .guide { display: none; }
  .m-call { display: block; }
  .nv-a { font-size: .9rem; padding: 11px 2px 9px; }
  #prodotti { padding-top: 28px; }
  .h1-home { padding-left: 0; }
  .bento { grid-template-columns: 1fr 1fr; grid-template-rows: none; grid-auto-rows: 42vw; max-height: none; margin-top: 28px; }
  .bt.big { grid-row: auto; grid-column: 1 / -1; height: auto; }
  .bt.big, .bt.wide { grid-column: 1 / -1; }
  .bt span { font-size: .9rem; left: 10px; right: 10px; bottom: 9px; }
  .help { margin-top: 64px; }
  .help .btn { width: 100%; }
  .visit { width: 100%; padding: 24px 18px 0; }
  .visit .btn { margin: 8px -18px 0; width: calc(100% + 36px); }
  .needs { grid-template-columns: repeat(2, 1fr); }
}
.qstep[hidden] { display: none; }
.help h2 { max-width: none; padding-left: 0; }
#prodotti .h1-home, #prodotti > h2, #prodotti .lead-p { padding-left: 0; }
#prodotti > h2 { font-size: clamp(1.7rem, 1.3rem + 1.4vw, 2.5rem); max-width: none; }
#prodotti .lead-p { margin-top: 12px; font-size: 1.0625rem; max-width: 70ch; color: var(--muted); }
#prodotti .bento { margin-top: 32px; }
.btn[hidden] { display: none; }
.spec { margin: 8px 0 0; border: 1px solid var(--line); background: var(--surface); padding: 14px 18px; display: grid; gap: 0; font-size: .95rem; }
.spec-h { font-weight: 700; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-dark); margin-bottom: 6px; }
.spec > div:not(.spec-h) { display: grid; grid-template-columns: 9.5em 1fr; gap: 12px; padding: 7px 0; border-top: 1px solid var(--line); }
.spec dt { color: var(--muted); }
.spec dd { margin: 0; font-weight: 500; }
@media (max-width: 760px) { .spec > div:not(.spec-h) { grid-template-columns: 1fr; gap: 2px; } }
.mast-right { position: relative; }
.mast .cta-stack .nums { background: none; border: 0; cursor: pointer; font-family: var(--text); padding: 2px 0; }
.mast .cta-stack .nums:hover { color: var(--accent-dark); }
.m-call { background: none; border: 0; padding: 6px; cursor: pointer; }
.callmenu { position: absolute; right: 0; top: calc(100% + 10px); z-index: 60; width: 270px; background: #fff; border: 1px solid var(--line); box-shadow: 0 12px 28px rgba(0,0,0,.14); padding: 16px; display: grid; gap: 8px; }
.callmenu[hidden] { display: none; }
.callmenu p { font-size: .85rem; color: var(--muted); display: grid; margin-bottom: 4px; }
.callmenu strong { font-size: 1.3rem; color: var(--ink); }
.cm-btn, .cm-copy { display: flex; align-items: center; justify-content: center; min-height: 44px; font: 600 .95rem var(--text); text-decoration: none; border: 0; cursor: pointer; }
.cm-btn { background: var(--accent); color: #fff; }
.cm-btn.wa { background: #fff; color: var(--ink); border: 1px solid var(--accent); }
.cm-copy { background: none; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.posa { margin-top: var(--gap-section); }
.posa-in { max-width: 1280px; margin: 0 auto; background: var(--field); border-left: 4px solid var(--accent); padding: clamp(24px, 4vw, 44px) clamp(20px, 4vw, 52px); display: grid; gap: 12px; }
.posa h2 { font-family: var(--text); font-weight: 700; font-size: clamp(1.3rem, 1.1rem + .8vw, 1.7rem); letter-spacing: 0; }
.posa p { max-width: 70ch; font-size: 1.05rem; }
.posa strong { font-weight: 600; }
#prodotti + .posa { margin-top: 88px; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.posa-in { max-width: 780px; margin: 0 auto; padding: clamp(18px, 2.5vw, 28px) clamp(18px, 3vw, 34px); gap: 8px; }
.posa h2 { font-size: clamp(1.1rem, 1rem + .4vw, 1.3rem); }
.posa p { font-size: .95rem; line-height: 1.55; }
/* misure page */
.misure { max-width: 1180px; margin: 0 auto; padding-top: 48px; padding-bottom: 80px; }
.mhead h1 { font-size: clamp(2rem, 1.5rem + 2vw, 3rem); }
.mhead > p { margin-top: 14px; max-width: 68ch; color: var(--muted); }
.mtools { margin: 18px 0 0; padding: 16px 20px; background: var(--field); border-left: 4px solid var(--accent); list-style: none; display: grid; gap: 6px; font-size: .97rem; max-width: 780px; }
.mindex ul { list-style: none; margin: 26px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.mindex a { display: inline-block; padding: 8px 12px; border: 1px solid var(--line); font-size: .88rem; text-decoration: none; color: var(--ink); }
.mindex a:hover { border-color: var(--accent); color: var(--accent-dark); }
.mcard { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 32px; align-items: start; padding: 36px 0; border-top: 1px solid var(--line); margin-top: 36px; scroll-margin-top: 16px; }
.mfig svg { width: 100%; height: auto; display: block; border: 1px solid var(--line); }
.mtxt h2 { font-family: var(--text); font-weight: 700; font-size: 1.3rem; letter-spacing: 0; }
.mtxt ol { margin: 14px 0 0; padding-left: 1.3em; display: grid; gap: 10px; font-size: 1rem; }
.mtxt li::marker { color: var(--accent-dark); font-weight: 700; }
.mprint { margin-top: 18px; background: none; border: 1px solid var(--accent); color: var(--ink); font: 600 .9rem var(--text); padding: 10px 14px; cursor: pointer; }
.mprint:hover { background: var(--field); }
.mend { margin-top: 48px; padding: 28px; background: var(--surface); text-align: center; display: grid; justify-items: center; gap: 10px; }
.mend h2 { font-family: var(--text); font-weight: 700; font-size: 1.4rem; letter-spacing: 0; }
.mend p { max-width: 60ch; color: var(--muted); }
.mend .faq-actions { justify-content: center; margin-top: 8px; }
.btn-o { background: #fff; color: var(--ink); border: 1px solid var(--accent); }
.btn-o:hover { background: var(--field); }
@media (max-width: 760px) { .mcard { grid-template-columns: 1fr; gap: 18px; } .misure { padding-top: 28px; } }
@media print {
  .mast, .foot, .callbar, .mindex, .mend, .mprint, .mtools { display: none !important; }
  body.print-one .mcard:not(.print-me), body.print-one .mhead { display: none !important; }
  .mcard { break-inside: avoid; grid-template-columns: 1fr 1fr; }
}
.mast-right { gap: 22px; }
.mlink { display: flex; align-items: center; gap: 14px; margin-top: 8px; padding: 14px 18px; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--accent); text-decoration: none; color: var(--ink); max-width: 460px; transition: border-color .2s; }
.mlink:hover { border-color: var(--accent); }
.mlink .ico { color: var(--accent-dark); flex: none; }
.mlink span { display: grid; gap: 2px; flex: 1; }
.mlink strong { font-weight: 700; font-size: 1rem; }
.mlink small { color: var(--muted); font-size: .85rem; }
.mlink i { font-style: normal; color: var(--accent-dark); font-size: 1.2rem; }
.prose-sec ul:has(.ili) { list-style: none; padding-left: 0; gap: 12px; }
.ili { display: flex; align-items: flex-start; gap: 12px; }
.ili .ico { flex: none; color: #3d3d38; margin-top: 1px; stroke-width: 1.6; }
.posa-in { max-width: 640px; padding: 16px 22px; gap: 4px; border-left-width: 3px; }
.posa h2 { font-size: 1.05rem; }
.posa p { font-size: .9rem; }
a.mprint { display: inline-block; text-decoration: none; }
.print-head { display: none; }
@media print {
  .print-head { display: block; font-size: 11pt; color: #55554f; border-bottom: 2px solid #a3ad5d; padding-bottom: 8px; margin-bottom: 8px; }
  body.print-one .mcard.print-me { display: grid !important; border-top: 0; margin-top: 0; padding-top: 10px; }
  .reveal { opacity: 1 !important; transform: none !important; }
}
.bt.wide img { object-position: 50% 62%; }
.mg-intro { margin-top: 8px; color: var(--muted); font-size: .95rem; }
.mgl { margin: 12px 0 0; display: grid; gap: 0; font-size: .93rem; }
.mgl > div { display: grid; grid-template-columns: 9.5em 1fr; gap: 10px; padding: 6px 0; border-top: 1px solid var(--line); }
.mgl dt { font-weight: 700; }
.mgl dd { margin: 0; color: var(--muted); }
@media (max-width: 760px) { .mgl > div { grid-template-columns: 1fr; gap: 0; } }
.addr { display: inline-flex; gap: 8px; align-items: flex-start; color: inherit; text-decoration: none; }
.addr .ico { flex: none; margin-top: 3px; color: var(--accent-dark); }
.addr:hover span, .foot .addr:hover { text-decoration: underline; text-underline-offset: 3px; }
/* riquadro segnaposto con icona, finché non c'è la foto giusta */
.ph { display: grid; place-items: center; width: 100%; height: 100%; background: linear-gradient(160deg, #eef0e4, #dfe3cc); color: var(--accent-dark); }
.ph .ico { width: 34%; height: auto; max-width: 150px; stroke-width: 1.1; opacity: .85; }
.bt .ph, .sub-hero .img .ph { position: absolute; inset: 0; }
.hcard .ph { aspect-ratio: 3 / 2; height: auto; }
.bt:has(.ph) span { color: var(--ink); text-shadow: none; }
.bt .ph .ico { transition: transform .6s ease; } .bt:hover .ph .ico { transform: scale(1.06); }
.bt:has(.ph)::after { display: none; }
/* link guide in testata: icona + titolo + sottotitolo */
.mast-right { gap: 14px; }
.guide { display: flex; align-items: center; gap: 10px; padding: 8px 14px 8px 10px; border: 1px solid var(--line); border-radius: 4px; background: #fff; text-align: left; transition: border-color .2s, background .2s; }
.guide:hover { border-color: var(--accent); background: #f7f8f1; }
.guide .ico { color: var(--accent-dark); flex: none; }
.guide span { display: grid !important; gap: 1px; line-height: 1.2; }
.guide strong { font-size: .9rem; font-weight: 700; color: var(--ink); }
.guide small { font-size: .74rem; color: var(--muted); }
.m-misure { display: none; }
@media (max-width: 1100px) {
  .guide { padding: 6px 10px 6px 8px; gap: 8px; }
  .guide small { display: none; }
  .guide strong { font-size: .8rem; }
}
@media (max-width: 760px) {
  .mast .guide { display: none; }
  .m-misure { display: grid; justify-items: center; gap: 1px; color: var(--accent-dark); text-decoration: none; font-size: .68rem; font-weight: 600; padding: 2px 4px; }
  .m-misure span { color: var(--ink); }
}
@media print {
  body.print-one .mcard.print-me { break-inside: auto; gap: 20px; font-size: 9.5pt; }
  body.print-one .mcard.print-me h2 { font-size: 15pt; margin-bottom: 6px; }
  body.print-one .mcard.print-me li { line-height: 1.32; margin-bottom: 2px; }
  body.print-one .mcard.print-me .mgl { font-size: 9pt; }
  body.print-one .mcard.print-me .mgl > * { padding-top: 3px; padding-bottom: 3px; }
}
