/* Ferramenta Mantegazza — Novate Milanese */
:root {
  --zinc: #ebe8e1;
  --zinc-2: #dedad1;
  --card: #f7f5f0;
  --ink: #1d2022;
  --ink-2: #41474b;
  --muted: #646b70;
  --red: #c93c1a;
  --red-d: #a8300f;
  --steel: #3a454b;
  --steel-2: #4b585f;
  --label: #f3ecd9;
  --brass: #b8935a;
  --tape: #f1c232;
  --line: #cfc9bd;
  --slab: 'Zilla Slab', Rockwell, Georgia, serif;
  --sans: 'Mukta', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--zinc); color: var(--ink); font: 400 1.08rem/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--slab); margin: 0; line-height: 1.05; letter-spacing: -.01em; }
h2 { font-size: clamp(2rem, 4.4vw, 3.3rem); font-weight: 700; margin-bottom: 18px; }
h2 em { font-style: italic; font-weight: 500; color: var(--red-d); }
p { margin: 0 0 1em; }
.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; z-index: 100; background: var(--ink); color: #fff; padding: 10px 14px; }
.skip:focus { left: 10px; top: 10px; }
:focus-visible { outline: 3px solid var(--tape); outline-offset: 2px; }

.preview-bar { background: var(--red); color: #fff; text-align: center; font: 500 .76rem/28px var(--sans); height: 28px; padding: 0 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; letter-spacing: .02em; }

/* header */
.site-header { position: sticky; top: 0; z-index: 40; background: var(--ink); color: #f1eee7; transition: box-shadow .3s; }
.site-header.is-compact { box-shadow: 0 8px 20px -14px rgba(0,0,0,.6); }
.header-in { display: flex; align-items: center; gap: 26px; height: 72px; transition: height .3s var(--ease); }
.is-compact .header-in { height: 60px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.brand-badge { width: 42px; height: 42px; display: grid; place-items: center; background: var(--red); color: #fff; font: 700 1.35rem/1 var(--slab); letter-spacing: -.04em; border-radius: 6px; padding-bottom: 3px; }
.brand-txt { display: flex; flex-direction: column; font: 700 1.45rem/1 var(--slab); letter-spacing: -.01em; }
.brand-txt small { font: 600 .66rem/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: #b9b4aa; margin-bottom: 4px; }
.nav ul { display: flex; gap: 24px; list-style: none; margin: 0; padding: 0; }
.nav a { text-decoration: none; font-weight: 500; font-size: .98rem; color: #e4e0d7; padding: 6px 0; border-bottom: 2px solid transparent; transition: border-color .2s, color .2s; }
.nav a:hover, .nav a:focus-visible { border-color: var(--tape); color: #fff; }
.header-call { text-decoration: none; font: 700 1rem/1 var(--sans); background: var(--tape); color: var(--ink); padding: 11px 16px; border-radius: 4px; white-space: nowrap; }
.header-call span { font-weight: 500; }
.header-call:hover { background: #ffd34d; }
.menu-btn { display: none; }

/* bottoni */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; font: 700 1.02rem/1 var(--sans); padding: 16px 22px 15px; border-radius: 4px; border: 2px solid transparent; cursor: pointer; transition: transform .2s var(--ease), background .2s, color .2s, box-shadow .2s; }
.btn:hover { transform: translateY(-2px); }
.btn-red { background: var(--red); color: #fff; box-shadow: 0 3px 0 var(--red-d); }
.btn-red:hover { background: #d84a26; }
.btn-ghost { border-color: var(--ink); color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-full { width: 100%; }

.eyebrow, .sec-num { font: 600 .8rem/1.2 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--red-d); margin: 0 0 16px; }
.sec-num--light { color: var(--tape); }

/* hero */
.hero { padding: clamp(40px, 6vw, 80px) 0 0; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(28px, 5vw, 70px); align-items: center; }
.hero h1 { font-size: clamp(2.8rem, 6.6vw, 5.4rem); font-weight: 700; letter-spacing: -.02em; line-height: .98; }
.hero h1 span { display: block; color: var(--red); font-style: italic; font-weight: 500; }
.lead { font-size: clamp(1.1rem, 1.5vw, 1.25rem); color: var(--ink-2); max-width: 31em; margin: 24px 0 28px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.status { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin: 22px 0 0; font-size: .98rem; color: var(--ink-2); }
.badge { display: inline-flex; align-items: center; gap: 7px; font: 700 .76rem/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; padding: 7px 10px 6px; border-radius: 3px; background: var(--zinc-2); color: var(--ink); }
.badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.badge.is-open { background: #1f6b3a; color: #fff; }
.badge.is-closed { background: var(--ink); color: #fff; }
.badge.is-closed::before { background: var(--red); }

.hero-drawer { margin: 0; position: relative; padding-top: 58px; }
.drawer-front { position: absolute; top: 0; left: 6%; right: 6%; height: 70px; background: var(--steel); border-radius: 6px 6px 0 0; display: flex; align-items: center; justify-content: center; gap: 22px; box-shadow: inset 0 -6px 0 rgba(0,0,0,.18); }
.drawer-label { background: var(--label); color: var(--ink); font: 600 1rem/1 var(--slab); padding: 8px 16px 7px; border: 3px solid var(--brass); border-radius: 2px; letter-spacing: .02em; }
.drawer-pull { width: 64px; height: 14px; border-radius: 0 0 14px 14px; border: 4px solid var(--brass); border-top: 0; }
.hero-drawer img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; position: relative; box-shadow: 0 24px 40px -26px rgba(0,0,0,.55); border: 10px solid var(--steel-2); }
.hero-drawer figcaption { font-size: .86rem; color: var(--muted); margin-top: 10px; }
.hero-drawer figcaption span, .chiavi-photo figcaption, .misura-photo figcaption { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }

/* firma: metro a nastro */
.tape { position: relative; overflow: hidden; margin-top: clamp(40px, 6vw, 70px); height: 92px; display: flex; align-items: center; }
.tape-case { position: relative; z-index: 2; flex: none; width: 104px; height: 92px; margin-left: max(20px, calc((100vw - 1180px) / 2 - 30px)); background: var(--red); border-radius: 18px 18px 18px 34px; display: grid; place-items: center; box-shadow: inset 0 0 0 6px var(--red-d), 0 10px 20px -10px rgba(0,0,0,.5); }
.tape-case span { width: 50px; height: 50px; border-radius: 50%; background: var(--ink); color: var(--tape); display: grid; place-items: center; font: 700 1.1rem/1 var(--slab); padding-bottom: 2px; }
.tape-band { position: relative; height: 54px; flex: 1; margin-left: -6px; background: var(--tape); box-shadow: 0 2px 0 rgba(0,0,0,.12); transform-origin: 0 50%; }
.js .tape-band { transform: scaleX(0); transition: transform 1.8s var(--ease) .25s; }
.js .tape.is-out .tape-band { transform: scaleX(1); }
.tape-ticks { position: absolute; inset: 0 0 auto 22px; height: 100%;
  background:
    repeating-linear-gradient(90deg, var(--ink) 0 2px, transparent 2px 120px) 0 0 / 100% 26px no-repeat,
    repeating-linear-gradient(90deg, var(--ink) 0 1.5px, transparent 1.5px 60px) 0 0 / 100% 18px no-repeat,
    repeating-linear-gradient(90deg, var(--ink) 0 1px, transparent 1px 12px) 0 0 / 100% 10px no-repeat; }
.tape-years { list-style: none; margin: 0; padding: 0; position: absolute; left: 22px; bottom: 5px; display: flex; }
.tape-years li { width: 120px; flex: none; padding-left: 6px; font: 700 1rem/1 var(--slab); color: var(--ink); }
.tape-years li:first-child { color: var(--red-d); }
.tape-hook { position: absolute; right: 0; top: 0; width: 14px; height: 66px; background: #9aa1a5; border-radius: 2px; box-shadow: inset -3px 0 0 rgba(0,0,0,.2); }
.tape-cap { font: 500 italic 1.05rem/1.4 var(--slab); color: var(--ink-2); margin-top: 14px; margin-bottom: 0; padding-bottom: clamp(48px, 6vw, 76px); }

/* sezioni */
.sec-head { max-width: 640px; margin-bottom: 34px; }
.sec-lead { color: var(--ink-2); font-size: 1.12rem; }

/* reparti: cassettiera */
.reparti { background: var(--card); padding: clamp(60px, 8vw, 104px) 0; border-top: 1px solid var(--line); }
.cabinet { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(22px, 4vw, 52px); align-items: start; }
.drawers { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; background: var(--steel); padding: 14px; border-radius: 8px; box-shadow: inset 0 0 0 2px #2c353a, 0 22px 34px -26px rgba(0,0,0,.6); }
.drawer { position: relative; height: 112px; border: 0; cursor: pointer; background: var(--steel-2); border-radius: 4px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; box-shadow: inset 0 -5px 0 rgba(0,0,0,.2), inset 0 1px 0 rgba(255,255,255,.08); transition: transform .35s var(--ease), background .25s, box-shadow .35s; color: var(--ink); }
.drawer .lab { background: var(--label); font: 600 1rem/1.05 var(--slab); padding: 7px 10px 6px; border: 3px solid var(--brass); border-radius: 2px; max-width: 88%; text-align: center; }
.drawer .pull { width: 48px; height: 12px; border: 4px solid var(--brass); border-top: 0; border-radius: 0 0 12px 12px; }
.drawer:hover { background: #56646b; }
.drawer[aria-selected="true"] { transform: translateY(8px) scale(1.02); background: #66757c; box-shadow: 0 14px 18px -10px rgba(0,0,0,.6), inset 0 -5px 0 rgba(0,0,0,.2); z-index: 2; }
.drawer[aria-selected="true"] .lab { background: var(--tape); }
.panel { background: #fff; border: 1px solid var(--line); border-top: 6px solid var(--red); border-radius: 4px; padding: clamp(22px, 3vw, 34px); }
.js .panel:not([hidden]) { animation: pull .45s var(--ease); }
@keyframes pull { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }
.panel h3 { font-size: 1.75rem; font-weight: 700; margin-bottom: 12px; }
.panel p { color: var(--ink-2); }
.tags { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { font: 500 .92rem/1.2 var(--sans); padding: 7px 11px 5px; background: var(--zinc); border: 1px solid var(--line); border-radius: 3px; position: relative; padding-left: 22px; }
.tags li::before { content: ""; position: absolute; left: 9px; top: 50%; width: 6px; height: 6px; margin-top: -4px; border-radius: 50%; background: var(--brass); }

/* chiavi */
.chiavi { padding: clamp(64px, 9vw, 112px) 0; }
.chiavi-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.chiavi-photo { margin: 0; }
.chiavi-photo img { aspect-ratio: 5 / 4; object-fit: cover; border-radius: 6px; }
.chiavi-photo figcaption { margin-top: 8px; }
.chiavi-copy p { color: var(--ink-2); font-size: 1.12rem; }
.keycut { width: 100%; max-width: 520px; height: auto; margin: 10px 0 18px; overflow: visible; }
.kc-bow { fill: var(--brass); }
.kc-hole { fill: var(--zinc); }
.kc-blade { fill: #d8cfba; stroke: var(--brass); stroke-width: 2; stroke-linejoin: round; }
.kc-cut { fill: none; stroke: var(--red); stroke-width: 3; stroke-linejoin: round; stroke-linecap: round; stroke-dasharray: 700; stroke-dashoffset: 0; }
.js .kc-cut { stroke-dashoffset: 700; transition: stroke-dashoffset 1.6s var(--ease); }
.js .keycut.in .kc-cut { stroke-dashoffset: 0; }
.tip { font-size: 1rem !important; background: var(--card); border-left: 5px solid var(--tape); padding: 12px 16px; border-radius: 0 4px 4px 0; }

/* su misura */
.misura { background: var(--ink); color: #ece8df; padding: clamp(64px, 9vw, 112px) 0; }
.misura-grid { display: grid; grid-template-columns: 1.1fr .9fr; grid-template-areas: "copy photo" "steps photo"; gap: 34px clamp(28px, 5vw, 72px); align-items: start; }
.misura-copy { grid-area: copy; }
.misura h2 { color: #fff; }
.misura h2 em { color: var(--tape); }
.misura-copy p { color: #c9c4b9; }
.steps { grid-area: steps; list-style: none; margin: 0; padding: 0; display: grid; gap: 0; counter-reset: s; }
.steps li { display: grid; grid-template-columns: 54px 1fr; gap: 16px; padding: 18px 0; border-top: 1px solid rgba(255,255,255,.14); }
.steps li > span { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; border: 2px solid var(--tape); color: var(--tape); font: 700 1.3rem/1 var(--slab); }
.steps h3 { color: #fff; font-size: 1.3rem; margin: 4px 0 4px; }
.steps p { margin: 0; color: #c9c4b9; }
.misura-photo { grid-area: photo; margin: 0; }
.misura-photo img { border-radius: 6px; aspect-ratio: 4 / 5; object-fit: cover; }
.misura-photo figcaption { color: #a7a196; margin-top: 8px; }

/* lista */
.lista { background: var(--red); color: #fff; padding: clamp(64px, 9vw, 112px) 0; position: relative; }
.lista::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 14px; background: repeating-linear-gradient(90deg, var(--ink) 0 2px, transparent 2px 12px) 0 0 / 100% 10px no-repeat, var(--tape); }
.lista-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.lista h2 { color: #fff; }
.lista h2 em { color: var(--ink); }
.lista-copy p { color: #ffe9e1; font-size: 1.1rem; }
.big-call { display: inline-flex; flex-direction: column; text-decoration: none; margin-top: 10px; font: 700 clamp(2rem, 4vw, 2.8rem)/1 var(--slab); color: #fff; border-bottom: 4px solid var(--tape); padding-bottom: 6px; }
.big-call small { font: 600 .78rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; margin-bottom: 8px; color: #ffd9cc; }
.paper, .result { background: #fffdf6; color: var(--ink); border-radius: 4px; padding: clamp(20px, 3vw, 32px); box-shadow: 0 30px 40px -28px rgba(0,0,0,.6);
  background-image: repeating-linear-gradient(transparent 0 35px, #e6eef3 35px 36px); background-position: 0 92px; }
.paper-head { display: flex; justify-content: space-between; gap: 10px; font: 700 1.25rem/1.2 var(--slab); border-bottom: 2px solid var(--ink); padding-bottom: 10px; margin-bottom: 16px; background: #fffdf6; }
.paper-head span:last-child { font: 500 .9rem/1.6 var(--sans); color: var(--muted); }
.rows { display: grid; gap: 8px; }
.row { display: grid; grid-template-columns: 74px 1fr; gap: 8px; }
.row input, .f input { font: 400 1.02rem/1.3 var(--sans); color: var(--ink); background: #fff; border: 1.5px solid #c9c2b3; border-radius: 4px; padding: 11px 10px 9px; min-height: 46px; width: 100%; }
.row .q { text-align: center; font-weight: 700; }
.row input:focus, .f input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(241, 194, 50, .55); }
.add { background: none; border: 1.5px dashed var(--ink-2); color: var(--ink); font: 600 .95rem/1 var(--sans); padding: 11px 14px 9px; border-radius: 4px; margin: 12px 0 20px; cursor: pointer; width: 100%; }
.add:hover { background: var(--zinc); }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.f { margin: 0 0 14px; border: 0; padding: 0; min-width: 0; }
.f label, .f legend { display: block; font: 600 .9rem/1.3 var(--sans); margin-bottom: 6px; }
.opt { font-weight: 400; color: var(--muted); }
.radios { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.radios legend { width: 100%; }
.radios label { display: inline-flex; align-items: center; gap: 7px; font-weight: 500; margin: 0; }
.radios input { width: 18px; height: 18px; accent-color: var(--red); min-height: 0; }
.f-err { color: var(--red-d); font-weight: 600; font-size: .92rem; margin: 0 0 10px; }
.f-err:empty { display: none; }
.result textarea { width: 100%; font: 400 1rem/1.5 var(--sans); border: 1.5px solid #c9c2b3; border-radius: 4px; padding: 12px; background: #fff; resize: vertical; }
.result-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 14px 0 8px; }
.btn-text { background: none; border: 0; font: 600 .95rem/1 var(--sans); color: var(--ink-2); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; padding: 8px 0; }
.copy-msg { font-weight: 600; color: #1f6b3a; margin: 4px 0 0; min-height: 1.2em; }

/* storia */
.storia { padding: clamp(64px, 9vw, 110px) 0; border-bottom: 1px solid var(--line); }
.storia-grid { display: grid; grid-template-columns: auto 1fr; gap: clamp(24px, 5vw, 70px); align-items: center; }
.storia .storia-year { font: 700 clamp(5rem, 15vw, 11rem)/.8 var(--slab); color: transparent; -webkit-text-stroke: 2px var(--ink); letter-spacing: -.03em; margin: 0; }
.storia p:not(.sec-num):not(.storia-year) { color: var(--ink-2); font-size: 1.12rem; max-width: 36em; }

/* orari */
.orari { padding: clamp(64px, 9vw, 110px) 0; }
.orari-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: stretch; }
.orari address { font-style: normal; color: var(--ink-2); font-size: 1.1rem; margin: -6px 0 18px; }
.status--big { margin: 0 0 18px; }
.hours { width: 100%; border-collapse: collapse; margin-bottom: 22px; font-variant-numeric: tabular-nums; }
.hours th, .hours td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); }
.hours th { font-weight: 600; width: 34%; }
.hours td.off { color: var(--muted); }
.hours tr.is-today { background: var(--tape); }
.hours tr.is-today th::after { content: "oggi"; display: block; font-weight: 600; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; }
.cdl { margin: 0 0 18px; }
.cdl div { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding: 8px 0; }
.cdl dt { font: 600 .78rem/1.8 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.cdl dd { margin: 0; overflow-wrap: anywhere; }
.c-links { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.c-links a { font-weight: 700; color: var(--red-d); }
.map { min-height: 420px; border-radius: 6px; overflow: hidden; border: 1px solid var(--line); background: var(--zinc-2); }
.map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; }

/* footer */
.site-footer { background: var(--ink); color: #c9c4b9; padding: 34px 0 40px; font-size: .95rem; }
.site-footer a { color: #fff; }
.footer-in p { margin: 0 0 6px; }
.f-brand { font: 700 1.4rem/1.2 var(--slab); color: #fff; }
.f-legal { font-size: .8rem; color: #9a958b; }

.action-bar { display: none; }

/* reveal */
.js .rv { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0s); }
.js .rv.in { opacity: 1; transform: none; }

@media (max-width: 1020px) {
  .nav ul { gap: 16px; }
  .header-call span { display: none; }
}
@media (max-width: 940px) {
  .hero-grid, .cabinet, .chiavi-grid, .lista-grid, .orari-grid { grid-template-columns: 1fr; }
  .misura-grid { grid-template-columns: 1fr; grid-template-areas: "copy" "photo" "steps"; }
  .misura-photo img { aspect-ratio: 16 / 10; }
  .drawers { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 820px) {
  html { scroll-padding-top: 66px; }
  .header-call { display: none; }
  .menu-btn { display: inline-flex; align-items: center; gap: 10px; background: none; border: 2px solid #f1eee7; color: #f1eee7; border-radius: 4px; padding: 8px 12px 6px; font: 700 .9rem/1 var(--sans); cursor: pointer; }
  .menu-lines { width: 16px; height: 10px; border-top: 2px solid currentColor; border-bottom: 2px solid currentColor; transition: transform .3s; }
  .menu-btn[aria-expanded="true"] .menu-lines { transform: rotate(90deg); }
  .nav { position: fixed; left: 0; right: 0; top: 0; z-index: -1; background: var(--ink); padding: 96px 22px 26px; transform: translateY(-105%); visibility: hidden; transition: transform .4s var(--ease); border-bottom: 6px solid var(--tape); }
  .nav.is-open { transform: none; visibility: visible; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav a { display: block; font: 700 1.5rem/1.2 var(--slab); padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
  .header-in { height: 62px; }
  .is-compact .header-in { height: 56px; }
  .brand-badge { width: 36px; height: 36px; font-size: 1.15rem; }
  .brand-txt { font-size: 1.25rem; }
  .action-bar { display: grid; grid-template-columns: repeat(3, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; background: var(--ink); border-top: 4px solid var(--tape); padding-bottom: env(safe-area-inset-bottom); }
  .action-bar a { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 4px 9px; color: #fff; text-decoration: none; font: 700 .8rem/1 var(--sans); }
  .action-bar a + a { border-left: 1px solid rgba(255,255,255,.12); }
  .action-bar a:first-child { background: var(--red); }
  .action-bar svg { width: 21px; height: 21px; fill: currentColor; }
  body { padding-bottom: 64px; }
  .tape { height: 74px; }
  .tape-case { width: 82px; height: 74px; margin-left: 16px; }
  .tape-case span { width: 40px; height: 40px; font-size: .95rem; }
  .tape-band { height: 44px; }
  .tape-years li { width: 90px; font-size: .9rem; }
  .tape-ticks { background:
    repeating-linear-gradient(90deg, var(--ink) 0 2px, transparent 2px 90px) 0 0 / 100% 20px no-repeat,
    repeating-linear-gradient(90deg, var(--ink) 0 1.5px, transparent 1.5px 45px) 0 0 / 100% 14px no-repeat,
    repeating-linear-gradient(90deg, var(--ink) 0 1px, transparent 1px 9px) 0 0 / 100% 8px no-repeat; }
  .tape-hook { height: 54px; }
}
@media (max-width: 560px) {
  .wrap { width: calc(100% - 32px); }
  .hero h1 { font-size: 2.9rem; }
  .drawers { grid-template-columns: 1fr 1fr; padding: 10px; gap: 8px; }
  .drawer { height: 96px; gap: 10px; }
  .drawer .lab { font-size: .9rem; }
  .f-row { grid-template-columns: 1fr; gap: 0; }
  .row { grid-template-columns: 60px 1fr; }
  .storia-grid { grid-template-columns: 1fr; }
  .storia-year { font-size: 6rem; }
  .result-actions .btn { flex: 1 1 100%; }
  .map, .map iframe { min-height: 320px; }
  .drawer-front { left: 4%; right: 4%; height: 62px; gap: 14px; }
  .hero-drawer { padding-top: 50px; }
  .cdl div { grid-template-columns: 1fr; gap: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .js .rv { opacity: 1; transform: none; }
  .js .tape-band { transform: none; }
  .js .kc-cut { stroke-dashoffset: 0; }
}
