/* Marino Arredamenti — Garbagnate Milanese
   Grafite, bianco caldo, rovere. Gloock + Schibsted Grotesk. Motivo: pianta architettonica. */

:root {
  --graphite: #2a2b2d;
  --graphite-2: #44464a;
  --paper: #f5f2ec;
  --paper-2: #ebe5da;
  --white: #fbfaf7;
  --oak: #b08a5b;
  --oak-text: #7d5f37;
  --oak-light: #d9c3a3;
  --muted: #5d5d5f;
  --line: rgba(42, 43, 45, .2);
  --grid: rgba(42, 43, 45, .055);
  --display: "Gloock", "Times New Roman", serif;
  --sans: "Schibsted Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1240px;
  --strip: 28px;
  --head: 76px;
  --bg: var(--paper);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); font-size: 1.0625rem; line-height: 1.62; color: var(--graphite); background: var(--paper); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; margin: 0; line-height: 1.04; letter-spacing: -.015em; }
p { margin: 0 0 1em; }
.wrap { width: min(var(--wrap), 100% - 48px); margin-inline: auto; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; background: var(--graphite); color: var(--paper); padding: 10px 16px; z-index: 100; }
.skip:focus { left: 12px; top: 12px; }
:focus-visible { outline: 2px solid var(--oak); outline-offset: 3px; }

.preview-strip { height: var(--strip); display: flex; align-items: center; justify-content: center; padding: 0 12px; background: var(--graphite); color: var(--oak-light); font-size: .74rem; letter-spacing: .06em; white-space: nowrap; overflow: hidden; }

/* bottoni */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .6em; min-height: 50px; padding: .85em 1.5em; border: 1.5px solid transparent; font: 600 .92rem/1 var(--sans); letter-spacing: .02em; text-decoration: none; cursor: pointer; transition: background-color .25s, color .25s, border-color .25s; position: relative; }
.btn-dark { background: var(--graphite); color: var(--paper); }
.btn-dark:hover { background: #000; }
.btn-line { border-color: var(--graphite); color: var(--graphite); }
.btn-line:hover { background: var(--graphite); color: var(--paper); }
.btn-light { background: var(--paper); color: var(--graphite); }
.btn-light:hover { background: var(--oak-light); }
.btn-wide { width: 100%; }
.btn::after { /* angolo da squadra */
  content: ""; position: absolute; right: -6px; bottom: -6px; width: 12px; height: 12px; border-right: 1.5px solid var(--oak); border-bottom: 1.5px solid var(--oak); opacity: 0; transition: opacity .25s, transform .25s; transform: translate(-3px, -3px);
}
.btn:hover::after { opacity: 1; transform: none; }
.arrow-link { display: inline-flex; gap: .4em; font-weight: 600; text-decoration: none; border-bottom: 1.5px solid var(--oak); padding-bottom: 2px; }
.arrow-link span { transition: transform .25s; }
.arrow-link:hover span { transform: translateX(4px); }

/* righello di quota tra le sezioni */
.dim-rule { position: relative; height: 20px; margin-bottom: clamp(36px, 5vw, 56px); }
.dim-rule::before { content: ""; position: absolute; left: 0; right: 0; top: 4px; height: 12px; border-left: 1px solid var(--graphite); border-right: 1px solid var(--graphite); background: linear-gradient(var(--graphite), var(--graphite)) center / 100% 1px no-repeat; }
.dim-rule::after { content: ""; position: absolute; left: -5px; right: -5px; top: 5px; height: 10px; background: linear-gradient(135deg, transparent 44%, var(--graphite) 44%, var(--graphite) 56%, transparent 56%) left / 10px 10px no-repeat, linear-gradient(135deg, transparent 44%, var(--graphite) 44%, var(--graphite) 56%, transparent 56%) right / 10px 10px no-repeat; }
.dim-rule span { position: absolute; left: 40px; top: 0; z-index: 1; padding: 0 12px; background: var(--bg); font-size: .74rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; line-height: 20px; }
.js .dim-rule.reveal { opacity: 1; transform: none; }
.js .dim-rule.reveal::before { transform: scaleX(0); transform-origin: left; transition: transform 1.1s cubic-bezier(.6,.1,.2,1); }
.js .dim-rule.reveal.is-in::before { transform: scaleX(1); }
.dim-light::before { border-color: var(--paper); background-image: linear-gradient(var(--paper), var(--paper)); }
.dim-light::after { background: linear-gradient(135deg, transparent 44%, var(--paper) 44%, var(--paper) 56%, transparent 56%) left / 10px 10px no-repeat, linear-gradient(135deg, transparent 44%, var(--paper) 44%, var(--paper) 56%, transparent 56%) right / 10px 10px no-repeat; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(245,242,236,.96); border-bottom: 1px solid var(--line); transition: box-shadow .3s; }
.site-header.is-compact { box-shadow: 0 8px 24px -20px rgba(0,0,0,.5); }
.header-inner { height: var(--head); display: flex; align-items: center; justify-content: space-between; transition: height .3s; }
.site-header.is-compact .header-inner { height: 60px; }
.brand { display: flex; align-items: baseline; gap: 8px; text-decoration: none; }
.brand-name { font-family: var(--display); font-size: 1.95rem; line-height: 1; letter-spacing: -.02em; }
.brand-sub { font-size: .7rem; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; color: var(--oak-text); }
.nav-list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 26px; }
.nav-list a { text-decoration: none; font-size: .92rem; font-weight: 500; display: inline-flex; align-items: baseline; gap: 5px; }
.nav-list .tav { font-size: .64rem; color: var(--oak-text); font-weight: 700; letter-spacing: .06em; }
.nav-list a:not(.nav-cta a):hover { color: var(--oak-text); }
.nav-cta a { background: var(--graphite); color: var(--paper); padding: 11px 18px; }
.nav-cta a:hover { background: #000; }
.nav-toggle { display: none; }

/* ---------- Hero ---------- */
.hero { padding: clamp(40px, 6vw, 80px) 0 clamp(96px, 10vw, 140px); background-color: var(--paper); background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); background-size: 28px 28px; background-position: -1px -1px; }
.hero-grid { display: grid; grid-template-columns: 5.4fr 6.6fr; gap: clamp(28px, 4vw, 64px); align-items: center; }
.kicker { font-size: .8rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--oak-text); margin-bottom: 1.4rem; }
.hero h1 { font-size: clamp(2.9rem, 5.2vw, 4.9rem); line-height: .98; letter-spacing: -.03em; margin-bottom: 1.6rem; }
.hero h1 em { font-style: normal; color: var(--oak-text); }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 30em; margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-visual { position: relative; min-height: 560px; }
.hero-photo { margin: 0 0 0 auto; width: 64%; }
.hero-photo img { width: 100%; aspect-ratio: 4 / 4.6; object-fit: cover; object-position: 60% 50%; }
.plan-card { position: absolute; left: 0; bottom: -56px; width: 72%; background: var(--white); border: 1px solid var(--graphite); padding: 34px 18px 14px; box-shadow: 14px 14px 0 -1px var(--paper-2), 14px 14px 0 0 var(--line); }
.plan-tag { position: absolute; top: 10px; left: 18px; font-size: .68rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--oak-text); }
.plan { width: 100%; height: auto; display: block; overflow: visible; }
.plan .wall { fill: none; stroke: var(--graphite); stroke-width: 2.2; stroke-linejoin: miter; }
.plan .thin { fill: none; stroke: var(--graphite); stroke-width: 1.1; }
.plan .furn { fill: none; stroke: var(--graphite-2); stroke-width: 1.15; }
.plan .dashed { stroke-dasharray: 4 4; }
.plan .win-mask { fill: var(--white); }
.plan .dim { fill: none; stroke: var(--oak); stroke-width: 1.1; }
.plan text { font-family: var(--sans); font-size: 12px; fill: var(--oak-text); letter-spacing: .06em; }
.plan text.room { font-family: var(--display); font-size: 17px; fill: var(--graphite); letter-spacing: 0; }
.js .plan .labels { opacity: 0; transition: opacity .8s; }
.plan.is-drawn .labels { opacity: 1; }

/* ---------- Indice tavole ---------- */
.index { background: var(--graphite); color: var(--paper); }
.index-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.index-list li + li { border-left: 1px solid rgba(245,242,236,.18); }
.index-list a { display: flex; flex-direction: column; gap: 4px; padding: 30px 26px 32px; text-decoration: none; height: 100%; transition: background-color .3s; position: relative; }
.index-list a::after { content: "\2192"; position: absolute; right: 22px; bottom: 28px; color: var(--oak-light); opacity: 0; transform: translateX(-6px); transition: opacity .25s, transform .25s; }
.index-list a:hover { background: #222325; }
.index-list a:hover::after { opacity: 1; transform: none; }
.index-list .tav { font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--oak-light); font-weight: 600; }
.index-list strong { font-family: var(--display); font-weight: 400; font-size: 1.75rem; line-height: 1.15; }
.index-list .ix-desc { font-size: .9rem; color: rgba(245,242,236,.72); }

/* ---------- Progettazione ---------- */
.design { padding: clamp(80px, 10vw, 140px) 0 clamp(64px, 8vw, 110px); }
.design-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 96px); align-items: start; }
.design h2 { font-size: clamp(2.4rem, 4.6vw, 4rem); margin-bottom: 1.4rem; }
.design-copy > p { color: var(--muted); max-width: 34em; }
.steps { list-style: none; padding: 0; margin: 2.2rem 0 0; }
.steps li { display: grid; grid-template-columns: 44px 1fr; gap: 18px; padding: 18px 0; border-top: 1px solid var(--line); }
.step-n { width: 36px; height: 36px; border: 1.2px solid var(--graphite); border-radius: 50%; display: grid; place-items: center; font-family: var(--display); font-size: 1.05rem; position: relative; }
.step-n::after { content: ""; position: absolute; left: 50%; top: 100%; width: 1px; height: 14px; background: var(--graphite); opacity: .4; }
.steps li:last-child .step-n::after { display: none; }
.steps h3 { font-size: 1.4rem; margin: 3px 0 4px; }
.steps p { margin: 0; color: var(--muted); }
.design-photos { position: relative; padding-bottom: 140px; }
.design-photos figure { margin: 0; }
.dp-1 img { width: 100%; aspect-ratio: 16 / 11; object-fit: cover; }
.dp-2 { position: absolute; right: -24px; bottom: 0; width: 42%; background: var(--paper); padding: 10px 10px 0; }
.dp-2 img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.dp-2 figcaption { font-size: .85rem; color: var(--muted); padding: 10px 0 0; }

/* ---------- Showroom ---------- */
.showroom { padding: clamp(40px, 6vw, 80px) 0 clamp(80px, 10vw, 140px); }
.show-grid { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.show-photo { margin: 0; position: relative; padding: 14px; }
.show-photo::before, .show-photo::after { content: ""; position: absolute; width: 28px; height: 28px; border-color: var(--graphite); border-style: solid; }
.show-photo::before { left: 0; top: 0; border-width: 1px 0 0 1px; }
.show-photo::after { right: 0; bottom: 34px; border-width: 0 1px 1px 0; }
.show-photo img { width: 100%; aspect-ratio: 906 / 430; object-fit: cover; }
.show-photo figcaption { font-size: .85rem; color: var(--muted); margin-top: 10px; }
.show-photo figcaption span { color: var(--graphite); font-weight: 600; }
.show-copy h2 { font-size: clamp(2.3rem, 4.2vw, 3.6rem); margin-bottom: 1.3rem; }
.show-copy p { color: var(--muted); }
.hours-inline { font-size: .95rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.hours-inline a { color: var(--graphite); font-weight: 600; }

/* ---------- Aziende ---------- */
.brands { --bg: var(--white); background: var(--white); padding: clamp(80px, 10vw, 130px) 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.brands-head { display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px 64px; align-items: end; margin-bottom: 32px; }
.brands h2 { font-size: clamp(2.3rem, 4.4vw, 3.8rem); }
.brands-head p { color: var(--muted); max-width: 30em; margin: 0; }
.filters { display: flex; flex-wrap: wrap; gap: 0; margin-bottom: 28px; border: 1px solid var(--graphite); width: max-content; max-width: 100%; }
.filter { all: unset; cursor: pointer; padding: 10px 20px; font-size: .9rem; font-weight: 600; letter-spacing: .03em; }
.filter + .filter { border-left: 1px solid var(--graphite); }
.filter[aria-pressed="true"] { background: var(--graphite); color: var(--paper); }
.filter:hover:not([aria-pressed="true"]) { background: var(--paper-2); }
.filter:focus-visible { outline: 2px solid var(--oak); outline-offset: 2px; }
.brand-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.brand-grid li { position: relative; min-height: 150px; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 10px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: opacity .35s, background-color .35s; }
.brand-grid li::before { /* crocino di riferimento */
  content: ""; position: absolute; left: -5px; top: -5px; width: 9px; height: 9px; background: linear-gradient(var(--graphite), var(--graphite)) center / 100% 1px no-repeat, linear-gradient(var(--graphite), var(--graphite)) center / 1px 100% no-repeat;
}
.brand-grid li:hover { background: var(--paper); }
.brand-grid li.is-dim { opacity: .16; }
.b-name { font-size: 2rem; line-height: 1; color: var(--graphite); }
.b-cat { font-size: .7rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--oak-text); }
.b-ernestomeda { font-family: var(--display); letter-spacing: -.01em; }
.b-arrital { font-family: var(--sans); font-weight: 500; letter-spacing: .02em; }
.b-lema { font-family: var(--sans); font-weight: 800; letter-spacing: .3em; font-size: 1.7rem; }
.b-zanotta { font-family: var(--sans); font-weight: 800; font-style: italic; letter-spacing: -.02em; }
.b-derosso { font-family: var(--display); font-style: italic; }
.b-kartell { font-family: var(--sans); font-weight: 700; letter-spacing: -.01em; }
.b-serralunga { font-family: var(--sans); font-weight: 500; letter-spacing: .08em; font-size: 1.45rem; }
.b-artemide { font-family: var(--display); font-weight: 400; }
.b-flos { font-family: var(--display); letter-spacing: .3em; font-size: 2.1rem; }
.brands-note { font-size: .85rem; color: var(--muted); margin: 18px 0 0; }

/* ---------- Traslochi ---------- */
.moving { --bg: var(--graphite); background: var(--graphite); color: var(--paper); padding: clamp(80px, 10vw, 140px) 0; overflow: hidden; }
.moving-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.sub-brand { font-family: var(--display); font-size: 1.6rem; line-height: 1; margin-bottom: 1.2rem; color: var(--oak-light); }
.sub-brand span { font-family: var(--sans); font-size: .7rem; letter-spacing: .3em; text-transform: uppercase; margin-left: 6px; vertical-align: middle; }
.moving h2 { font-size: clamp(2.3rem, 4.4vw, 3.8rem); margin-bottom: 1.4rem; }
.moving-copy > p { color: rgba(245,242,236,.8); max-width: 32em; }
.moving-list { list-style: none; padding: 0; margin: 1.6rem 0 2.2rem; }
.moving-list li { padding: 12px 0 12px 30px; border-top: 1px solid rgba(245,242,236,.18); position: relative; }
.moving-list li:last-child { border-bottom: 1px solid rgba(245,242,236,.18); }
.moving-list li::before { content: ""; position: absolute; left: 2px; top: 19px; width: 14px; height: 10px; border: 1.2px solid var(--oak-light); }
.moving-list li::after { content: ""; position: absolute; left: 8px; top: 19px; width: 1.2px; height: 10px; background: var(--oak-light); }
.boxes { width: 100%; height: auto; overflow: visible; }
.boxes path { fill: none; stroke: var(--paper); stroke-width: 1.4; stroke-linejoin: round; }
.boxes .f-top { fill: #3a3c40; }
.boxes .f-left { fill: #2f3134; }
.boxes .f-right { fill: #35373a; }
.boxes .tape { stroke: var(--oak); stroke-width: 3; }
.boxes .fragile { stroke: var(--oak-light); stroke-width: 2; }

/* ---------- Ispirazioni ---------- */
.ideas { padding: clamp(80px, 10vw, 130px) 0; }
.ideas-head { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 8px 24px; margin-bottom: 26px; }
.ideas-head h2 { font-size: clamp(2rem, 3.6vw, 3rem); }
.ideas-head p { margin: 0; color: var(--muted); font-size: .9rem; }
.ideas-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: 140px; gap: 14px; }
.i-1 { grid-column: 1 / 5; grid-row: 1 / 5; }
.i-2 { grid-column: 5 / 9; grid-row: 1 / 3; }
.i-3 { grid-column: 9 / 13; grid-row: 1 / 3; }
.i-4 { grid-column: 5 / 8; grid-row: 3 / 5; }
.i-5 { grid-column: 8 / 13; grid-row: 3 / 5; }
.g-btn { all: unset; display: block; width: 100%; height: 100%; cursor: zoom-in; overflow: hidden; }
.g-btn:focus-visible { outline: 2px solid var(--oak); outline-offset: 3px; }
.g-btn img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.g-btn:hover img { transform: scale(1.035); }

/* ---------- Dove siamo ---------- */
.where { padding: clamp(40px, 6vw, 80px) 0 clamp(80px, 10vw, 130px); }
.where-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.where h2 { font-size: clamp(2.1rem, 3.8vw, 3.2rem); margin-bottom: 1.6rem; }
.rt-list { display: flex; gap: 22px; border-bottom: 1px solid var(--line); margin-bottom: 16px; }
.rt-list button { all: unset; cursor: pointer; padding: 8px 0; font-weight: 600; position: relative; color: var(--muted); }
.rt-list button[aria-selected="true"] { color: var(--graphite); }
.rt-list button[aria-selected="true"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--oak); }
.rt-list button:focus-visible { outline: 2px solid var(--oak); outline-offset: 3px; }
.rt-panel { min-height: 110px; color: var(--muted); }
.rt-panel strong { color: var(--graphite); }
.rt-panel ul { list-style: none; padding: 0; margin: 0; }
.rt-panel li { padding: 4px 0; }
.hours { margin-top: 2rem; padding-top: 1.6rem; border-top: 1.5px solid var(--graphite); }
.hours-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.hours h3 { font-size: 1.8rem; }
.status { margin: 0; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: 6px 12px; border: 1.5px solid currentColor; }
.status.is-open { color: #2f6a43; }
.status.is-closed { color: #9b3b26; }
.status-next { color: var(--muted); font-size: .9rem; margin: 6px 0 12px; min-height: 1.4em; }
.hours-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.hours-table th, .hours-table td { padding: 9px 4px; border-bottom: 1px dashed var(--line); text-align: left; font-weight: 400; }
.hours-table td { text-align: right; color: var(--muted); }
.hours-table tr.is-today { background: rgba(176,138,91,.16); }
.hours-table tr.is-today th, .hours-table tr.is-today td { font-weight: 700; color: var(--graphite); }
.hours-table tr.is-today th::before { content: "\25B8 "; color: var(--oak); }
.where-map { position: relative; }
.map { position: relative; aspect-ratio: 4 / 3.2; border: 1px solid var(--graphite); padding: 10px; background: var(--white); margin-bottom: 14px; }
.map iframe { width: 100%; height: 100%; border: 0; display: block; filter: grayscale(.6) contrast(1.05); }

/* ---------- Preventivo ---------- */
.quote { --bg: var(--paper-2); background: var(--paper-2); padding: clamp(80px, 10vw, 130px) 0; border-top: 1px solid var(--line); }
.quote-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(36px, 6vw, 96px); align-items: start; }
.quote h2 { font-size: clamp(2.4rem, 4.6vw, 4rem); margin-bottom: 1rem; }
.quote-intro { color: var(--muted); max-width: 36em; margin-bottom: 2rem; }
.quote-intro strong { color: var(--graphite); }
.quote-form { display: grid; gap: 22px; }
.quote-form fieldset { border: 0; padding: 0; margin: 0; }
.quote-form legend { font-weight: 700; font-size: .9rem; margin-bottom: 10px; padding: 0; }
.type-choice { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.type-choice legend { grid-column: 1 / -1; }
.type-choice label { position: relative; cursor: pointer; }
.type-choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.type-choice span { display: block; padding: 14px 12px; border: 1px solid var(--graphite); margin-left: -1px; text-align: center; font-weight: 600; font-size: .92rem; background: var(--white); transition: background-color .2s, color .2s; }
.type-choice label:first-of-type span { margin-left: 0; }
.type-choice input:checked + span { background: var(--graphite); color: var(--paper); }
.type-choice input:focus-visible + span { outline: 2px solid var(--oak); outline-offset: 2px; position: relative; z-index: 1; }
.rooms { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.rooms legend { width: 100%; }
.rooms label { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; }
.rooms input, .q-check input { width: 18px; height: 18px; accent-color: var(--graphite); }
.q-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.q-row[hidden], [data-show-for][hidden] { display: none; }
.q-field label { display: block; font-weight: 700; font-size: .88rem; margin-bottom: 4px; }
.q-field .opt { font-weight: 400; color: var(--muted); }
.q-field input:not([type="checkbox"]), .q-field textarea { width: 100%; font: inherit; font-size: 1rem; color: var(--graphite); background: transparent; border: 0; border-bottom: 1.5px solid var(--graphite); padding: 10px 2px; border-radius: 0; }
.q-field textarea { border: 1.5px solid var(--graphite); padding: 12px; background: var(--white); resize: vertical; }
.q-field input:focus, .q-field textarea:focus { outline: none; border-color: var(--oak); box-shadow: 0 2px 0 0 var(--oak); }
.q-field [aria-invalid="true"] { border-color: #a3341c !important; }
.q-check label { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; padding-top: 26px; cursor: pointer; }
.q-err { color: #a3341c; font-size: .85rem; margin: 6px 0 0; }
.q-hint { font-size: .85rem; color: var(--muted); margin: 0; }
.q-hint a { color: var(--graphite); font-weight: 600; }
.quote .faq-title { font-size: 1.9rem; margin-bottom: .8rem; }
.faq h3 { font-family: var(--sans); font-size: 1rem; font-weight: 600; letter-spacing: 0; line-height: 1.4; margin: 0; }
.faq button { all: unset; box-sizing: border-box; cursor: pointer; width: 100%; display: flex; justify-content: space-between; gap: 14px; align-items: center; padding: 16px 0; border-top: 1px solid var(--line); }
.faq button:focus-visible { outline: 2px solid var(--oak); outline-offset: 2px; }
.faq button span { flex: none; width: 16px; height: 16px; position: relative; }
.faq button span::before, .faq button span::after { content: ""; position: absolute; background: var(--graphite); left: 0; right: 0; top: 7px; height: 1.5px; transition: transform .3s; }
.faq button span::after { transform: rotate(90deg); }
.faq button[aria-expanded="true"] span::after { transform: rotate(0); }
.faq div[role="region"] p { color: var(--muted); margin: 0 0 16px; }

/* ---------- Footer / cartiglio ---------- */
.site-footer { padding: 56px 0 40px; background: var(--paper); }
.title-block { width: 100%; border-collapse: collapse; border: 2px solid var(--graphite); font-size: .92rem; background: var(--white); }
.title-block td { border: 1px solid var(--graphite); padding: 12px 16px; vertical-align: top; }
.tb-label { display: block; font-family: var(--sans); font-size: .64rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--oak-text); margin-bottom: 4px; }
.tb-brand { width: 26%; vertical-align: middle !important; }
.tb-brand .brand-name { display: block; font-size: 2.6rem; }
.tb-brand .brand-sub { display: block; margin-top: 4px; }
.tb-motto { font-family: var(--display); font-size: 1.2rem; }
.title-block a { color: var(--graphite); }
.foot-top { text-align: right; margin: 14px 0 0; font-size: .9rem; }

.action-bar { display: none; }

/* ---------- Lightbox ---------- */
.lightbox { border: 0; padding: 0; background: transparent; width: 100vw; height: 100vh; max-width: 100vw; max-height: 100vh; margin: 0; }
.lightbox::backdrop { background: rgba(28, 29, 31, .94); }
.lightbox figure { margin: 0; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 60px 16px 24px; }
.lightbox img { max-width: min(1200px, 100%); max-height: calc(100vh - 150px); object-fit: contain; }
.lightbox figcaption { color: var(--oak-light); margin-top: 12px; font-family: var(--display); font-size: 1.1rem; }
.lightbox button { position: absolute; width: 48px; height: 48px; border: 1px solid rgba(245,242,236,.4); background: rgba(245,242,236,.08); color: var(--paper); font-size: 1.4rem; cursor: pointer; }
.lb-close { top: 14px; right: 14px; }
.lb-prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 14px; top: 50%; transform: translateY(-50%); }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav-list { gap: 16px; }
  .nav-list .tav { display: none; }
}
@media (max-width: 980px) {
  .hero-grid, .design-grid, .show-grid, .moving-grid, .where-grid, .quote-grid { grid-template-columns: 1fr; }
  .hero-visual { min-height: 0; padding-bottom: 0; }
  .hero-photo { width: 78%; }
  .plan-card { position: relative; left: auto; bottom: auto; width: 88%; margin-top: -120px; }
  .index-list { grid-template-columns: 1fr 1fr; }
  .index-list li:nth-child(3) { border-left: 0; }
  .index-list li:nth-child(n+3) { border-top: 1px solid rgba(245,242,236,.18); }
  .brands-head { grid-template-columns: 1fr; }
  .moving-art { max-width: 420px; }
  .design-photos { max-width: 640px; }
}
@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; align-items: center; gap: 10px; border: 1.5px solid var(--graphite); background: transparent; padding: 10px 14px; font: 600 .85rem/1 var(--sans); color: var(--graphite); cursor: pointer; }
  .nt-icon { width: 16px; height: 10px; border-top: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; position: relative; transition: transform .3s; }
  .nav-toggle[aria-expanded="true"] .nt-icon { transform: rotate(90deg); }
  .nav-list { position: fixed; inset: calc(var(--head) + var(--strip)) 0 0 0; flex-direction: column; align-items: stretch; gap: 0; padding: 12px 24px 120px; background: var(--paper); overflow-y: auto; visibility: hidden; opacity: 0; transition: opacity .25s, visibility 0s .25s; background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); background-size: 28px 28px; }
  .site-header.is-compact .nav-list { top: 60px; }
  .nav-list.is-open { visibility: visible; opacity: 1; transition: opacity .25s; }
  .nav-list li { border-bottom: 1px solid var(--line); }
  .nav-list a { display: flex; padding: 16px 0; font-family: var(--display); font-size: 1.8rem; gap: 12px; }
  .nav-list .tav { display: inline; font-family: var(--sans); font-size: .75rem; }
  .nav-cta { border: 0 !important; padding-top: 22px; }
  .nav-cta a { justify-content: center; font-family: var(--sans); font-size: 1rem; padding: 16px; }
}
@media (max-width: 640px) {
  :root { --head: 64px; }
  body { font-size: 1rem; padding-bottom: 70px; }
  .wrap { width: calc(100% - 32px); }
  .brand-name { font-size: 1.7rem; }
  .brand-sub { font-size: .62rem; letter-spacing: .24em; }
  .hero h1 { font-size: clamp(2.7rem, 12.5vw, 3.4rem); }
  .kicker { letter-spacing: .08em; font-size: .74rem; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-photo { width: 100%; }
  .hero-photo img { aspect-ratio: 4 / 3; }
  .plan-card { width: 100%; margin-top: -40px; padding: 30px 8px 8px; box-shadow: none; }
  .plan-tag { left: 10px; }
  .index-list { grid-template-columns: 1fr; }
  .index-list li + li { border-left: 0; border-top: 1px solid rgba(245,242,236,.18); }
  .index-list a { padding: 20px 4px; }
  .index-list strong { font-size: 1.5rem; }
  .dim-rule span { left: 20px; font-size: .66rem; letter-spacing: .14em; }
  .design-photos { padding-bottom: 110px; }
  .dp-2 { right: 0; width: 48%; }
  .brand-grid { grid-template-columns: 1fr 1fr; }
  .brand-grid li { min-height: 116px; }
  .b-name { font-size: 1.45rem; }
  .b-lema { font-size: 1.3rem; }
  .b-serralunga { font-size: 1rem; }
  .b-flos { font-size: 1.5rem; }
  .filters { width: 100%; }
  .filter { flex: 1; text-align: center; padding: 10px 6px; }
  .ideas-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 120px; gap: 10px; }
  .i-1 { grid-column: 1 / 2; grid-row: 1 / 4; }
  .i-2 { grid-column: 2 / 3; grid-row: 1 / 3; }
  .i-3 { grid-column: 2 / 3; grid-row: 3 / 4; }
  .i-4 { grid-column: 1 / 3; grid-row: 4 / 6; }
  .i-5 { grid-column: 1 / 3; grid-row: 6 / 8; }
  .type-choice { grid-template-columns: 1fr 1fr; }
  .type-choice span { margin: -1px 0 0 -1px; }
  .q-row { grid-template-columns: 1fr; }
  .q-check label { padding-top: 0; }
  .title-block, .title-block tbody, .title-block tr, .title-block td { display: block; width: 100%; }
  .title-block td { border-width: 0 0 1px 0; }
  .title-block tr:last-child td:last-child { border-bottom: 0; }
  .action-bar { display: grid; grid-template-columns: repeat(3, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: var(--graphite); padding-bottom: env(safe-area-inset-bottom); }
  .action-bar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-height: 62px; color: var(--paper); text-decoration: none; font-size: .78rem; font-weight: 600; letter-spacing: .04em; }
  .action-bar a + a { border-left: 1px solid rgba(245,242,236,.18); }
  .action-bar svg { width: 22px; height: 22px; fill: var(--oak-light); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .js .plan .labels { opacity: 1; }
}
