/* StereoCloud3D - sito, versione 2026-10 (bozza in website-next/).
   Colori presi dallo splash: antracite (41,43,47) e il verde di "checked in stereo" (122,190,150). */
:root {
  --bg: #1e2023; --bg2: #292b2f; --panel: #2f3237; --line: #3b3f45;
  --ink: #eceef0; --muted: #a3a8af; --accent: #7abe96; --accent-dim: rgba(122,190,150,.16);
  --maxw: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
/* i link interni non finiscono sotto l'intestazione fissa (64 px; 96 sul telefono) */
[id] { scroll-margin-top: 84px; }
body { margin: 0; background: var(--bg); color: var(--ink);
  font: 400 18px/1.65 "Segoe UI", -apple-system, Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img { display: block; max-width: 100%; height: auto; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
strong, b { font-weight: 600; }

/* header */
header { position: sticky; top: 0; z-index: 10; background: rgba(30,32,35,.86);
  backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
header .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 20px; }
.wordmark { font-size: 22px; color: var(--ink); letter-spacing: .2px; white-space: nowrap; }
.wordmark b { font-weight: 700; }
.wordmark:hover { text-decoration: none; }
nav { display: flex; gap: 26px; flex-wrap: wrap; }
nav a { color: var(--muted); font-size: 15px; font-weight: 400; }
nav a:hover { color: var(--ink); text-decoration: none; }
nav a[aria-current="page"] { color: var(--ink); text-decoration: underline; text-decoration-color: var(--accent);
  text-underline-offset: 6px; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* hero: la frase dello splash in testo vero, accanto alla carta disegnata sulla nuvola */
.hero { padding: 76px 0 96px; }
.hero .wrap { display: grid; grid-template-columns: 1fr 1.35fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(34px, 3.4vw, 46px); font-weight: 300; line-height: 1.1; margin: 0 0 22px; }
.hero h1 b { font-weight: 600; color: var(--accent); }
.hero .lead { color: var(--muted); max-width: 34em; margin: 0 0 32px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-figure { margin: 0; border-radius: 6px; overflow: hidden; background: #000;
  box-shadow: 0 30px 70px rgba(0,0,0,.45); }
.hero-figure img { width: 100%; height: auto; }
.hero-figure figcaption { padding: 10px 14px; font-size: 14px; color: var(--muted); background: var(--bg2); }
.hero-alt { margin: 18px 0 0; font-size: 15px; color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* concetti: immagine grande, una frase */
.concept { display: grid; grid-template-columns: 1.35fr 1fr; gap: 56px; align-items: center;
  padding: 110px 0; border-top: 1px solid var(--line); }
.concept:nth-of-type(even) { grid-template-columns: 1fr 1.35fr; }
.concept:nth-of-type(even) figure { order: 2; }
.concept figure { margin: 0; border-radius: 6px; overflow: hidden; box-shadow: 0 30px 70px rgba(0,0,0,.45); }
.concept figure img { width: 100%; height: 440px; object-fit: cover; }
.concept h2 { font-size: clamp(30px, 3.4vw, 46px); font-weight: 300; line-height: 1.12; margin: 0 0 20px; }
.concept h2 b { font-weight: 600; }
.concept p { color: var(--muted); margin: 0 0 14px; max-width: 36em; }
.kicker { font-size: 13px; letter-spacing: 2.4px; text-transform: uppercase; color: var(--accent); margin: 0 0 14px; font-weight: 400; }


/* coppia stereo: i due occhi alternati (effetto "wiggle"), profondita' senza occhiali */
.stereo-pair { position: relative; }
.stereo-pair img { width: 100%; height: 440px; object-fit: cover; }
.stereo-pair img.right { position: absolute; top: 0; left: 0; animation: eye 0.34s steps(1) infinite; }
@keyframes eye { 0% { opacity: 0; } 50% { opacity: 1; } }
.stereo-pair figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 10px 14px;
  font-size: 13px; color: #d9dde2; background: linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,.72)); }
.stereo-paused .stereo-pair img.right { animation: none; opacity: 0; }
.stereo-pair .pause { position: absolute; top: 10px; right: 10px; padding: 4px 12px; border-radius: 4px;
  font-family: inherit; font-size: 13px; font-weight: 400; line-height: 1.5; color: var(--ink); cursor: pointer;
  background: rgba(0,0,0,.55); border: 1px solid rgba(255,255,255,.22); }
.stereo-pair .pause:hover { background: rgba(0,0,0,.75); }
@media (prefers-reduced-motion: reduce) {
  .stereo-pair img.right { animation: none; opacity: 0; }
  .stereo-pair .pause { display: none; }
  html { scroll-behavior: auto; }
  .card { transition: none; }
  a.card:hover { transform: none; }
}
.concept figure.sheet { background: #fff; }
.concept figure.sheet img { object-fit: contain; padding: 24px; }

/* tre modi: automatico, mono, stereo */
.ways { padding: 110px 0; }
.ways .lead { color: var(--muted); max-width: 38em; margin: 0 0 46px; }
.ways-grid { display: grid; gap: 30px; }
.way figure { margin: 0 0 20px; height: 260px; border-radius: 6px; overflow: hidden; background: #000;
  box-shadow: 0 20px 50px rgba(0,0,0,.4); }
.way figure img { width: 100%; height: 260px; object-fit: cover; }
.way figure.mono { display: grid; grid-template-columns: 1.4fr 1fr; gap: 2px; }
.way h3 { font-size: 22px; font-weight: 600; margin: 0 0 8px; }
.way p { color: var(--muted); font-size: 16px; margin: 0; }
/* lo stereo, filo conduttore: una fascia larga prima delle altre due vie */
.stereo-band { display: grid; grid-template-columns: 1.6fr 1fr; gap: 44px; align-items: center; margin: 0 0 56px; }
.stereo-band .stereo-pair { margin: 0; border-radius: 6px; overflow: hidden; background: #000;
  box-shadow: 0 30px 70px rgba(0,0,0,.45); }
.stereo-band .stereo-pair img { height: auto; aspect-ratio: 880 / 495; }
.stereo-band h3 { font-size: clamp(26px, 2.6vw, 34px); font-weight: 600; margin: 0 0 14px; }
.stereo-band p { color: var(--muted); margin: 0 0 18px; }
.hw { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.hw li { font-size: 14px; font-weight: 400; padding: 4px 12px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); }
.ways-grid { grid-template-columns: repeat(2, 1fr); }

/* indice delle storie */
.stories { padding: 110px 0; border-top: 1px solid var(--line); background: var(--bg2); }
.stories h2, .section-title { font-size: clamp(30px, 3.4vw, 44px); font-weight: 300; margin: 0 0 12px; }
.stories .lead { color: var(--muted); max-width: 38em; margin: 0 0 46px; }
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: 6px; overflow: hidden;
  color: var(--ink); display: flex; flex-direction: column; transition: transform .2s, border-color .2s; }
.card img { width: 100%; height: 170px; object-fit: cover; }
.card .body { padding: 16px 18px 20px; }
.card .tag { display: inline-block; margin: 0 0 8px; padding: 2px 9px; font-size: 12px; font-weight: 600;
  letter-spacing: .3px; color: var(--accent); border: 1px solid var(--line); border-radius: 999px; }
.card h3 { font-size: 18px; font-weight: 600; margin: 0 0 6px; }
.card p { font-size: 15px; color: var(--muted); margin: 0; line-height: 1.5; }
.card .state { display: inline-block; margin-top: 12px; font-size: 12px; letter-spacing: 1.4px; text-transform: uppercase; }
a.card:hover { transform: translateY(-3px); border-color: var(--accent); text-decoration: none; }
a.card .state { color: var(--accent); }

/* contatto subito dopo le storie */
.cta-strip { margin: 56px 0 0; padding: 34px 30px; text-align: center; background: var(--panel);
  border: 1px solid var(--line); border-radius: 6px; }
.cta-strip p { margin: 0; font-size: 20px; }
.cta-strip .actions { margin-top: 22px; }

/* cosa serve */
.needs { padding: 100px 0 90px; border-top: 1px solid var(--line); }
.needs h2 { font-size: clamp(30px, 3.4vw, 44px); font-weight: 300; margin: 0 0 36px; }
.needs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.needs h3 { font-size: 18px; font-weight: 600; margin: 0 0 12px; }
.needs ul { margin: 0; padding-left: 18px; color: var(--muted); font-size: 16px; }
.needs li { margin: 0 0 8px; }
.needs .more { margin: 30px 0 0; font-size: 15px; }

/* about, contatti, piede */
.about { padding: 100px 0; border-top: 1px solid var(--line); text-align: center; }
.about .menci { width: 340px; max-width: 70%; margin: 0 auto 34px; opacity: .92; }
.about p { max-width: 760px; margin: 0 auto 14px; color: var(--muted); }
.about p.first { color: var(--ink); font-size: 20px; }
.notice { max-width: 760px; margin: 28px auto 0; padding: 14px 18px; text-align: left; font-size: 15px;
  border: 1px solid var(--line); border-radius: 6px; color: var(--muted); }
.notice b { color: var(--accent); }
.actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 34px; }
.btn { display: inline-block; padding: 12px 22px; border-radius: 6px; font-size: 16px; font-weight: 400;
  background: var(--accent); color: #14231b; }
.btn.ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn:hover { text-decoration: none; filter: brightness(1.08); }
footer { border-top: 1px solid var(--line); padding: 36px 0; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
footer img { height: 34px; width: auto; opacity: .85; }
footer nav a { font-size: 14px; }

/* pagina di una storia */
.story-hero { padding: 90px 0 50px; }
.story-hero .back { font-size: 15px; font-weight: 400; }
.story-hero h1 { font-size: clamp(36px, 4.6vw, 60px); font-weight: 300; margin: 18px 0 18px; line-height: 1.08; }
.story-hero h1 b { font-weight: 600; }
.story-hero .lead { color: var(--muted); max-width: 36em; font-size: 20px; }
.facts { display: flex; gap: 42px; flex-wrap: wrap; margin: 34px 0 0; padding: 0; list-style: none; }
.facts li { font-size: 14px; color: var(--muted); }
.facts li b { display: block; font-size: 26px; color: var(--ink); font-weight: 300; }
.step { padding: 60px 0; border-top: 1px solid var(--line); }
.step .num { font-size: 13px; letter-spacing: 2.4px; text-transform: uppercase; color: var(--accent); }
.step h2 { font-size: 30px; font-weight: 400; margin: 8px 0 14px; }
.step p { color: var(--muted); max-width: 38em; margin: 0 0 12px; }
.step figure { margin: 26px 0 0; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.step figure { background: #111316; }
.step figure.sheet { background: #fff; }
.step figure.sheet img { padding: 24px; }
.step figure img { width: 100%; max-height: 720px; object-fit: contain; }
.step .manual { font-size: 15px; font-weight: 400; }
.other-stories { list-style: none; margin: 0 auto 30px; padding: 0; display: flex; flex-wrap: wrap;
  justify-content: center; gap: 10px 22px; }
.other-stories a { font-size: 16px; }
.step figure a.zoom { display: block; cursor: zoom-in; }
.note { font-size: 14px; color: var(--muted); border-left: 2px solid var(--line); padding-left: 14px; margin-top: 18px; }

@media (max-width: 960px) {
  .concept, .concept:nth-of-type(even) { grid-template-columns: 1fr; gap: 28px; padding: 70px 0; }
  .concept:nth-of-type(even) figure { order: 0; }
  .concept figure img, .stereo-pair img { height: 300px; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .ways-grid, .stereo-band { grid-template-columns: 1fr; }
  .needs-grid { grid-template-columns: 1fr 1fr; }
  .stereo-band { gap: 24px; }
  nav { gap: 16px; }
  .hero { padding: 48px 0 64px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 16px; }
  .grid { grid-template-columns: 1fr; }
  /* sul telefono il menu resta: una riga sotto il marchio, che scorre di lato */
  header .wrap { height: auto; flex-wrap: wrap; row-gap: 0; padding-top: 12px; }
  header nav { width: 100%; flex-wrap: nowrap; gap: 22px; overflow-x: auto; padding: 0 24px 2px 0;
    scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, #000 86%, transparent);
    mask-image: linear-gradient(90deg, #000 86%, transparent); }
  header nav::-webkit-scrollbar { display: none; }
  header nav a { white-space: nowrap; padding: 10px 0; }
  [id] { scroll-margin-top: 112px; }
  footer nav a { display: inline-block; padding: 10px 0; }
  .story-hero { padding: 36px 0 34px; }
  .cta-strip { padding: 26px 18px; }
  .card { flex-direction: row; align-items: stretch; }
  .card img { width: 118px; height: auto; min-height: 100%; flex: none; }
  .card .body { padding: 12px 14px; }
  .card .state { display: none; }
  .grid { gap: 12px; }
  .way figure.mono { height: auto; grid-template-columns: 1fr 1fr; }
  .way figure.mono img { height: auto; }
  .needs-grid { grid-template-columns: 1fr; gap: 26px; }
}
