/* Manent — "bottega aperta": carta, inchiostro, un solo rosso. */

@font-face { font-family: "Bodoni Moda"; src: url("fonts/bodoni-moda.woff2") format("woff2"); font-weight: 400 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Bodoni Moda"; src: url("fonts/bodoni-moda-italic.woff2") format("woff2"); font-weight: 400 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Titillium Web"; src: url("fonts/titillium-300.woff2") format("woff2"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Titillium Web"; src: url("fonts/titillium-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Titillium Web"; src: url("fonts/titillium-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("fonts/plex-mono-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("fonts/plex-mono-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }

:root {
  --paper: #F4EFE6;
  --paper-2: #EAE3D6;
  --paper-3: #D9D0BF;
  --ink: #16130F;
  --muted: #6B6257;
  --rule: rgba(22, 19, 15, .2);
  --accent: #C42B17;
  --on-accent: #FFF8F0;
  --serif: "Bodoni Moda", "Bodoni 72", Didot, "Times New Roman", serif;
  --sans: "Titillium Web", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --gutter: clamp(16px, 4.5vw, 56px);
  --max: 1180px;
}
/* Tema: di sistema se non scelto, altrimenti data-theme="light" | "dark" su <html>. */
:root { color-scheme: light dark; }
:root[data-theme="light"] { color-scheme: light; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #14110E;
    --paper-2: #1E1A16;
    --paper-3: #2C2620;
    --ink: #EFE8DC;
    --muted: #A69C8D;
    --rule: rgba(239, 232, 220, .22);
    --accent: #F2634B;
    --on-accent: #14110E;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #14110E;
  --paper-2: #1E1A16;
  --paper-3: #2C2620;
  --ink: #EFE8DC;
  --muted: #A69C8D;
  --rule: rgba(239, 232, 220, .22);
  --accent: #F2634B;
  --on-accent: #14110E;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 1.0625rem/1.6 var(--sans);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
h1, h2, h3, p, ul, ol, figure, fieldset { margin: 0; padding: 0; }
ul, ol { list-style: none; }
fieldset { border: 0; min-width: 0; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
::selection { background: var(--accent); color: var(--on-accent); }

.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--paper); padding: 8px 14px; z-index: 20; }
.skip:focus { left: 8px; }

.num, .eyebrow, .fine, .strip, .lang, figcaption, .state, .soon, .licences, .offer__price, .lead text, .parts a {
  font-family: var(--mono); font-size: .75rem; letter-spacing: .06em; text-transform: uppercase;
}
.num { color: var(--accent); font-weight: 500; }
.fine { color: var(--muted); text-transform: none; letter-spacing: 0; font-size: .8125rem; line-height: 1.55; }

/* ---------------------------------------------------------------- testata */
.top {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; gap: 24px;
  padding: 12px var(--gutter);
  background: color-mix(in srgb, var(--paper) 90%, transparent);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--rule);
}
.brand { font: 600 1.25rem/1 var(--serif); letter-spacing: .3em; text-transform: uppercase; text-decoration: none; }
.top nav { display: flex; gap: 26px; margin-left: auto; font-size: .9375rem; }
.top nav a { text-decoration: none; }
.top__end { display: flex; align-items: center; gap: 16px; }
.lang { text-decoration: none; border: 1px solid var(--rule); padding: 5px 8px; }
.theme { display: none; border: 1px solid var(--rule); }
.js .theme { display: flex; }
.theme button { display: grid; place-items: center; width: 30px; height: 28px; padding: 0; border: 0; background: none; color: var(--muted); cursor: pointer; }
.theme button + button { border-left: 1px solid var(--rule); }
.theme button:hover { color: var(--ink); }
.theme button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.theme svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; }
.theme .fill { fill: currentColor; stroke: none; }
@media (max-width: 1080px) { .top nav { display: none; } .top__end { margin-left: auto; } }
@media (max-width: 520px) { .top { gap: 12px; } .top__end { gap: 10px; } .top .btn--small { display: none; } }

.btn {
  display: inline-block; cursor: pointer; border: 1px solid var(--accent); border-radius: 0;
  background: var(--accent); color: var(--on-accent);
  font: 600 1rem/1 var(--sans); letter-spacing: .02em; text-decoration: none;
  padding: 16px 26px; transition: background .2s, color .2s;
}
.btn:hover { background: transparent; color: var(--accent); }
.btn--small { padding: 10px 16px; font-size: .875rem; }
.link { font-weight: 600; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }

/* ----------------------------------------------------------------- apertura */
.hero {
  max-width: var(--max); margin: 0 auto; padding: clamp(40px, 8vw, 104px) var(--gutter) 0;
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 32px 24px; align-items: center;
}
.eyebrow { color: var(--muted); margin-bottom: 28px; }
h1 {
  font: 500 clamp(2.9rem, 8.6vw, 6.6rem)/.92 var(--serif);
  letter-spacing: -.025em; font-optical-sizing: auto;
}
h1 span, h1 em { display: block; white-space: nowrap; }
h1 em { color: var(--accent); font-weight: 500; padding-left: .32em; }
.lede { font-size: clamp(1.125rem, 1.7vw, 1.375rem); line-height: 1.5; font-weight: 300; max-width: 34ch; margin-top: 36px; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 28px; margin: 36px 0 18px; }
.hero__fig { text-align: center; }
.shot { position: relative; margin: -4% -6% 0 -10%; }
.shot img { display: block; width: 100%; height: auto; }
.shot__led { position: absolute; left: 28.2%; top: 22.2%; width: 15%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; pointer-events: none; opacity: 0;
  background: radial-gradient(closest-side, rgba(255, 84, 48, .55), rgba(255, 84, 48, .16) 45%, transparent 72%); }
.hero__fig figcaption, .open__fig figcaption { color: var(--muted); margin-top: 8px; }
.strip {
  grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 10px 0;
  border-top: 1px solid var(--ink); border-bottom: 1px solid var(--rule);
  padding: 14px 0; margin-top: clamp(24px, 5vw, 56px);
}
.strip li { padding-right: 22px; margin-right: 22px; border-right: 1px solid var(--rule); }
.strip li:last-child { border: 0; margin: 0 0 0 auto; padding: 0; }
.strip__state { color: var(--accent); }
.strip__state::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); margin-right: 8px; }
@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; }
  .hero__fig { order: -1; max-width: 380px; margin: 0 auto; }
  .shot { margin: 0 -4%; }
  .lede { max-width: none; }
  .strip li { border: 0; margin: 0; padding: 0; flex: 1 1 50%; }
  .strip li:last-child { margin: 0; }
}

/* ------------------------------------------------------------------ disegni */
.ring { width: 100%; height: auto; display: block; overflow: visible; }
.ring path, .ring ellipse, .ring rect, .ring circle { stroke: var(--ink); stroke-width: 1.3; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.ring .f-top { fill: var(--paper); fill-rule: evenodd; }
.ring .f-out { fill: var(--paper-2); }
.ring .f-in { fill: var(--paper-3); }
.ring .chip { fill: var(--ink); }
.ring .window { fill: var(--paper); }
.ring .led { fill: var(--accent); stroke: none; }
.ring .hatch { stroke: var(--ink); stroke-width: .7; fill: none; opacity: .55; vector-effect: non-scaling-stroke; }
.ring .shadow { fill: var(--ink); stroke: none; opacity: .1; }
.ring .axis { stroke: var(--muted); stroke-width: .8; stroke-dasharray: 2 6; vector-effect: non-scaling-stroke; opacity: var(--open, 1); }
.ring .lead { opacity: var(--open, 1); }
.ring .lead line { stroke: var(--accent); stroke-width: .9; vector-effect: non-scaling-stroke; }
.ring .lead text { fill: var(--accent); font-size: 15px; font-weight: 500; letter-spacing: .04em; }
.ring--exploded .layer { transform: translateY(calc(var(--d) * 118px * var(--open, 1))); }
.ring--mini { max-width: 200px; }
@media (prefers-reduced-motion: no-preference) {
  .shot__led { animation: pulse 2.8s ease-in-out infinite; }
  @keyframes pulse { 0%, 100% { opacity: 0; } 50% { opacity: 1; } }
}

/* ------------------------------------------------------------------ sezioni */
.sec { max-width: var(--max); margin: 0 auto; padding: clamp(64px, 10vw, 136px) var(--gutter) 0; }
.sec__head { display: grid; grid-template-columns: auto 1fr; align-items: baseline; gap: 4px 20px; border-top: 1px solid var(--ink); padding-top: 14px; }
h2 { grid-column: 1 / -1; font: 500 clamp(2.1rem, 5.6vw, 4.25rem)/1 var(--serif); letter-spacing: -.02em; margin-top: 18px; text-wrap: balance; }
.sec__intro { font-size: clamp(1.0625rem, 1.5vw, 1.25rem); font-weight: 300; max-width: 58ch; margin-top: 24px; }
h3 { font: 600 1.125rem/1.3 var(--sans); }

.gestures { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 56px; border-top: 1px solid var(--rule); }
.gestures li { padding: 26px 28px 8px 0; }
.gestures li + li { border-left: 1px solid var(--rule); padding-left: 28px; }
.gestures h3 { font: 500 1.75rem/1.1 var(--serif); margin: 16px 0 12px; }
.gestures p, .points p, .parts p, .family p, .roadmap p { color: var(--muted); font-size: 1rem; }
.steps li { padding-bottom: 26px; }
.steps .soon { display: inline-block; margin-top: 14px; }
.steps__note { margin-top: 20px; max-width: 70ch; }
@media (max-width: 760px) {
  .gestures { grid-template-columns: 1fr; }
  .gestures li + li { border-left: 0; border-top: 1px solid var(--rule); padding-left: 0; }
}

.open__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; margin-top: 48px; align-items: start; }
.open__fig { position: sticky; top: 84px; max-width: 460px; justify-self: center; width: 100%; text-align: center; }
.parts li { display: grid; grid-template-columns: 76px 1fr; gap: 12px; padding: 22px 0; border-top: 1px solid var(--rule); }
.parts li:last-child { border-bottom: 1px solid var(--rule); }
.parts p { margin: 6px 0 10px; }
.parts a, .soon { color: var(--muted); }
.soon::before { content: "○ "; }
.licences { margin: 28px 0 16px; border: 1px solid var(--ink); }
.licences li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 16px; }
.licences li + li { border-top: 1px solid var(--rule); }
.licences .k { color: var(--muted); }
@media (max-width: 820px) {
  .open__grid { grid-template-columns: 1fr; gap: 24px; }
  .open__fig { position: static; max-width: 340px; }
  .parts li { grid-template-columns: 64px 1fr; }
}

.points { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 48px; margin-top: 48px; }
.points li { border-top: 1px solid var(--rule); padding: 24px 0 28px; }
.points h3 { font: 500 1.625rem/1.15 var(--serif); margin-bottom: 10px; }
@media (max-width: 700px) { .points { grid-template-columns: 1fr; } }

.table-wrap { margin-top: 48px; overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: 1rem; min-width: 520px; }
.table th, .table td { text-align: left; vertical-align: top; padding: 15px 20px 15px 0; border-bottom: 1px solid var(--rule); font-weight: 400; }
.table thead th { font: 500 1.375rem/1.1 var(--serif); border-bottom: 1px solid var(--ink); }
.table thead td { border-bottom: 1px solid var(--ink); }
.table tbody th { font-family: var(--mono); font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); width: 28%; padding-top: 19px; }
.table td { color: var(--muted); width: 36%; }
.table td.yes, .table--specs td { color: var(--ink); }
.table td.yes { font-weight: 600; }

.italy__body { columns: 2; column-gap: 48px; margin-top: 40px; font-size: 1.125rem; max-width: 980px; }
.italy__body p + p { margin-top: 1em; }
.dropcap::first-letter { font: 500 4.6em/.72 var(--serif); float: left; padding: .1em .12em 0 0; color: var(--accent); }
.tricolore { display: flex; width: 72px; height: 5px; margin-top: 40px; }
.tricolore i { flex: 1; }
.tricolore i:nth-child(1) { background: #1F7A4D; }
.tricolore i:nth-child(2) { background: #F7F3EA; outline: 1px solid var(--rule); outline-offset: -1px; }
.tricolore i:nth-child(3) { background: #C42B17; }
@media (max-width: 700px) { .italy__body { columns: 1; } }

.family { display: grid; grid-template-columns: 1fr auto 1fr; gap: 32px; align-items: center; margin-top: 48px; }
.family article { border: 1px solid var(--ink); padding: 28px; height: 100%; }
.family h3 { font: 500 1.875rem/1.1 var(--serif); margin: 18px 0 10px; }
.family__heart { font-family: var(--mono); font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); writing-mode: vertical-rl; text-align: center; }
@media (max-width: 820px) {
  .family { grid-template-columns: 1fr; gap: 16px; }
  .family__heart { writing-mode: horizontal-tb; }
}

.order .form { margin-top: 44px; max-width: 880px; }
.form legend { font-weight: 600; margin-bottom: 14px; }
.offers { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.offer { position: relative; display: block; cursor: pointer; }
.offer input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.offer__body { display: flex; flex-direction: column; gap: 8px; height: 100%; padding: 20px; border: 1px solid var(--rule); transition: border-color .15s, background .15s; }
.offer__name { font: 500 1.625rem/1.1 var(--serif); }
.offer__text { color: var(--muted); font-size: .9375rem; flex: 1; }
.offer__price { color: var(--muted); }
.offer input:checked + .offer__body { border-color: var(--accent); background: var(--paper-2); box-shadow: inset 0 0 0 1px var(--accent); }
.offer input:focus-visible + .offer__body { outline: 2px solid var(--accent); outline-offset: 3px; }
.form__row { display: grid; grid-template-columns: 2fr 1fr; gap: 14px; margin: 26px 0; }
.form label { font-weight: 600; font-size: .9375rem; }
.form__row input {
  display: block; width: 100%; margin-top: 8px; padding: 14px 0; border: 0; border-bottom: 1px solid var(--ink); border-radius: 0;
  background: transparent; color: var(--ink); font: 400 1.125rem var(--sans);
}
.form__row input::placeholder { color: var(--muted); opacity: .7; }
.form__row input:focus { outline: none; border-bottom: 2px solid var(--accent); padding-bottom: 13px; }
.form .fine { margin-top: 16px; max-width: 62ch; }
.form__status { margin-top: 16px; font-weight: 600; min-height: 1.6em; }
.form__status.is-error { color: var(--accent); }
@media (max-width: 700px) { .offers, .form__row { grid-template-columns: 1fr; } }

.roadmap { margin-top: 48px; counter-reset: step; }
.roadmap li { display: grid; grid-template-columns: 110px minmax(0, 1fr) minmax(0, 1.4fr); gap: 8px 28px; padding: 20px 0; border-top: 1px solid var(--rule); align-items: baseline; }
.roadmap li:last-child { border-bottom: 1px solid var(--rule); }
.roadmap h3 { font: 500 1.5rem/1.15 var(--serif); }
.state { color: var(--muted); }
.state::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; border: 1px solid currentColor; margin-right: 8px; }
.done .state::before { background: currentColor; }
.now .state { color: var(--accent); }
.now .state::before { background: var(--accent); }
.next h3 { color: var(--muted); }
@media (max-width: 760px) { .roadmap li { grid-template-columns: 1fr; } }

.faq { margin-top: 40px; max-width: 860px; }
.faq details { border-top: 1px solid var(--rule); }
.faq details:last-child { border-bottom: 1px solid var(--rule); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 24px; padding: 20px 0; font: 500 1.5rem/1.2 var(--serif); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 300 1.5rem/1 var(--sans); color: var(--accent); }
.faq details[open] summary::after { content: "–"; }
.faq p { color: var(--muted); padding: 0 0 24px; max-width: 64ch; }

/* --------------------------------------------------------------- colophon */
.foot { max-width: var(--max); margin: clamp(80px, 12vw, 160px) auto 0; padding: 28px var(--gutter) 56px; border-top: 1px solid var(--ink); display: grid; grid-template-columns: 1fr 1fr; gap: 12px 48px; }
.foot__brand { font: 600 1.25rem/1 var(--serif); letter-spacing: .3em; text-transform: uppercase; }
.foot__motto { font: 400 1.25rem/1.2 var(--serif); text-align: right; }
.foot__motto em { color: var(--accent); }
.foot__col, .foot__links { color: var(--muted); font-size: .875rem; }
.foot__links { text-align: right; }
@media (max-width: 700px) { .foot { grid-template-columns: 1fr; } .foot__motto, .foot__links { text-align: left; } }

/* pagina 404 */
.lost { min-height: 100vh; display: grid; place-content: center; text-align: center; padding: var(--gutter); gap: 20px; }
.lost h1 { font-size: clamp(2.5rem, 8vw, 5rem); }

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