/* ============================================================
   CurlySynth — design system del sito
   Token portati 1:1 da VintageTheme.h (linea plugin "Studio Pro")
   ============================================================ */

:root {
  /* Backgrounds */
  --bg:            #242527;   /* col::editor */
  --panel-dark:    #2b2c2e;
  --panel-mid:     #343537;
  --panel-light:   #3c3d40;
  --section:       #3d3e41;
  --section-hi:    #48494d;
  --plate:         #1a1b1d;   /* col::sectionHeader — fascia targa */
  --border:        #1d1e20;
  --hairline:      #55565a;

  /* Testo */
  --ink:           #e6e3dc;
  --ink-dim:       #9d9a94;
  --ink-sub:       #6d6a64;

  /* Brand accent (ambra) */
  --amber:         #d8a254;
  --amber-dim:     #8f6a38;
  --amber-glow:    #f0c78e;
  --on-accent:     #1a1b1d;   /* buttonPrimaryText */
  --cream:         #d6cfc2;   /* knobBody */

  /* Accent di pagina (default ambra, ogni prodotto lo sovrascrive) */
  --acc:           var(--amber);
  --acc-glow:      var(--amber-glow);

  /* Form */
  --field-bg:      #242527;
  --field-border:  #48494d;

  --radius:        6px;       /* size::panelRadius */

  --font-display:  Futura, "Futura PT", "Century Gothic", "Trebuchet MS", sans-serif;
  --font-body:     "Avenir Next", Avenir, Inter, "Segoe UI", system-ui, sans-serif;
}

/* Accent per-prodotto — dai Theme reali nel codice */
.p-va      { --acc: #d8a254; --acc-glow: #f0c78e; }  /* kAmberTheme */
.p-wt      { --acc: #c4504c; --acc-glow: #e8857f; }  /* kRedVintageTheme */
.p-gr      { --acc: #5a8fb8; --acc-glow: #8db5d4; }  /* kBlueDustTheme */
.p-wtm     { --acc: #2fb6ad; --acc-glow: #79e3da; }  /* teal WTM */
.p-wh      { --acc: #f0824d; --acc-glow: #f7b98a; }  /* Warehouse sunset */
.p-ts      { --acc: #5ec8d8; --acc-glow: #9adfe9; }  /* Tessera blueprint */
.p-verb    { --acc: #d8a254; --acc-glow: #f0c78e; }  /* MatyVerb ambra */
.p-chan    { --acc: #8f7bd8; --acc-glow: #bcaaf0; }  /* linea Maty viola */
.p-talk    { --acc: #a678d0; --acc-glow: #cfaae8; }
.p-choir   { --acc: #b083e0; --acc-glow: #d8b9f2; }
.p-eq      { --acc: #d8a254; --acc-glow: #f0c78e; }  /* CurlyEQ ambra */
.p-air     { --acc: #9b86dc; --acc-glow: #c6b6f0; }  /* MatyAir viola */
.p-cap     { --acc: #e8756a; --acc-glow: #f5a79e; }  /* Capture coral */

/* ---------------- Base ---------------- */

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;   /* nessuno scroll orizzontale, mai */
}

img { max-width: 100%; display: block; }

a { color: var(--acc); text-decoration: none; }
a:hover { color: var(--acc-glow); }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* Titoli display: Futura bold, tracking largo, uppercase */
.display {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
}

/* ---------------- Header ---------------- */

.site-head {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(180deg, #1e1f21, var(--plate));
  border-bottom: 1px solid #000;
  box-shadow: 0 1px 0 rgba(255,255,255,0.05) inset, 0 6px 18px rgba(0,0,0,0.35);
}

.site-head .wrap {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 64px;   /* size::bannerHv2 */
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
}
.brand:hover { color: var(--ink); }

.brand img { width: 38px; height: 38px; }  /* size::mascotSize */

.brand .word {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.18em;   /* makeBannerFont kerning */
  text-transform: uppercase;
}
.brand .word em { font-style: normal; color: var(--amber); }

.site-nav { margin-left: auto; display: flex; align-items: center; gap: 22px; }

.site-nav a {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-dim);
  padding: 6px 2px;
}
.site-nav a:hover { color: var(--ink); }

/* il bottone CTA nel nav non deve ereditare il grigio dei link */
.site-nav a.btn-primary,
.site-nav a.btn-primary:hover { color: var(--on-accent); }

.nav-toggle { display: none; }

/* ---------------- Bottoni ---------------- */

.btn {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 12px 22px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: box-shadow .15s ease, transform .15s ease, background .15s ease;
}

.btn-primary {
  background: linear-gradient(180deg, var(--acc-glow), var(--acc) 55%);
  color: var(--on-accent);
  border-color: rgba(0,0,0,0.5);
  box-shadow: 0 1px 0 rgba(255,255,255,0.25) inset, 0 4px 14px rgba(0,0,0,0.35);
}
.btn-primary:hover {
  color: var(--on-accent);
  box-shadow: 0 1px 0 rgba(255,255,255,0.35) inset, 0 4px 20px color-mix(in srgb, var(--acc) 45%, transparent);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--hairline);
}
.btn-ghost:hover { border-color: var(--acc); color: var(--acc-glow); }

/* ---------------- Hero ---------------- */

.hero {
  position: relative;
  padding: 84px 0 72px;
  background:
    radial-gradient(1100px 480px at 50% -140px, color-mix(in srgb, var(--amber) 9%, transparent), transparent 70%),
    linear-gradient(180deg, #2a2b2d, var(--bg) 75%);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 0 rgba(255,255,255,0.04) inset;
  text-align: center;
}

.kicker {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--amber);
  background: var(--plate);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 7px 16px;
  margin-bottom: 26px;
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-size: clamp(2rem, 5.4vw, 3.6rem);
  line-height: 1.12;
  margin-bottom: 18px;
}
.hero h1 em { font-style: normal; color: var(--amber); }

.hero .sub {
  color: var(--ink-dim);
  font-size: 18px;
  max-width: 620px;
  margin: 0 auto 34px;
}

/* fila di "led" con gli accent dei prodotti */
.accent-strip {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 44px;
}
.accent-strip i {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--dot, var(--amber));
  box-shadow: 0 0 10px color-mix(in srgb, var(--dot, var(--amber)) 65%, transparent);
}

/* ---------------- Form email ---------------- */

.signup {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.signup input[type="email"] {
  width: min(340px, 100%);
  height: 44px;
  padding: 0 14px;
  color: var(--ink);
  background: var(--field-bg);
  border: 1px solid var(--field-border);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 15px;
  outline: none;
}
.signup input[type="email"]:focus { border-color: var(--amber); }
.signup input::placeholder { color: var(--ink-sub); }

.form-note { margin-top: 12px; font-size: 13px; color: var(--ink-sub); }

/* ---------------- Targhe di sezione ---------------- */

.plate-title {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 26px;
}

.plate-title h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--amber);
  background: var(--plate);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 8px 18px;
  box-shadow: 0 1px 0 rgba(255,255,255,0.05) inset;
}

.plate-title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--hairline), transparent);
}

.plate-title .count { color: var(--ink-sub); font-size: 13px; }
.plate-title.demos-title { margin-top: 34px; }
.plate-title.demos-title h2 { color: var(--acc); }
.plate-title.videos-title { margin-top: 34px; }
.plate-title.videos-title h2 { color: var(--acc); }

/* ---------------- Video YouTube (facade: thumbnail + click-to-load) ---------------- */

.videos { display: grid; gap: 18px; margin-bottom: 8px; }

.ytvideo {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--plate);
  cursor: pointer;
  box-shadow: 0 1px 0 rgba(255,255,255,0.05) inset, 0 12px 30px rgba(0,0,0,0.4);
}

.ytvideo .yt-thumb {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s ease, filter .3s ease;
}
.ytvideo:hover .yt-thumb { transform: scale(1.03); filter: brightness(0.82); }

.ytvideo::after {   /* velo scuro per far risaltare play e titolo */
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.15), rgba(0,0,0,0.45));
  pointer-events: none;
}

.yt-play {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 74px; height: 74px;
  border-radius: 50%;
  border: 1px solid rgba(0,0,0,0.5);
  background: linear-gradient(180deg, var(--acc-glow), var(--acc) 55%);
  cursor: pointer;
  z-index: 2;
  box-shadow: 0 1px 0 rgba(255,255,255,0.3) inset, 0 6px 22px rgba(0,0,0,0.5);
  transition: transform .15s ease, filter .15s ease;
}
.yt-play::before {
  content: "";
  position: absolute;
  left: 56%; top: 50%;
  transform: translate(-50%, -50%);
  border-left: 22px solid var(--on-accent);
  border-top: 13px solid transparent;
  border-bottom: 13px solid transparent;
}
.ytvideo:hover .yt-play { transform: translate(-50%, -50%) scale(1.06); filter: brightness(1.08); }

.yt-title {
  position: absolute;
  left: 18px; bottom: 16px;
  z-index: 2;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  text-shadow: 0 2px 10px rgba(0,0,0,0.8);
  padding-right: 18px;
}

.ytvideo iframe {   /* dopo il click sostituisce thumbnail+play */
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ---------------- Player demo audio ---------------- */

.demos { display: flex; flex-direction: column; gap: 10px; margin-bottom: 6px; }

.demo {
  display: flex;
  align-items: center;
  gap: 14px;
  background: linear-gradient(180deg, var(--panel-mid), var(--panel-dark));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 11px 16px;
  box-shadow: 0 1px 0 rgba(255,255,255,0.04) inset;
}

.d-play {
  width: 38px; height: 38px;
  flex: none;
  border-radius: 50%;
  border: 1px solid rgba(0,0,0,0.5);
  background: linear-gradient(180deg, var(--acc-glow), var(--acc) 55%);
  cursor: pointer;
  position: relative;
  box-shadow: 0 1px 0 rgba(255,255,255,0.25) inset, 0 3px 10px rgba(0,0,0,0.35);
}
.d-play::before {
  content: "";
  position: absolute;
  left: 56%; top: 50%;
  transform: translate(-50%, -50%);
  border-left: 12px solid var(--on-accent);
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
}
.d-play.playing::before {
  left: 50%;
  border: none;
  width: 10px; height: 12px;
  border-left: 3.5px solid var(--on-accent);
  border-right: 3.5px solid var(--on-accent);
}
.d-play:hover { filter: brightness(1.08); }

.d-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  flex: none;
  min-width: 150px;
}

.d-bar {
  flex: 1;
  height: 7px;
  background: var(--plate);
  border: 1px solid var(--border);
  border-radius: 4px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.d-fill {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 0%;
  background: linear-gradient(90deg, color-mix(in srgb, var(--acc) 70%, transparent), var(--acc));
  border-radius: 4px;
}

.d-time {
  color: var(--ink-dim);
  font-size: 12.5px;
  width: 44px;
  text-align: right;
  font-variant-numeric: tabular-nums;
  flex: none;
}

@media (max-width: 640px) {
  .demo { flex-wrap: wrap; }
  .d-title { min-width: 0; flex: 1; }
  .d-bar { flex-basis: 100%; order: 3; }
}

section.cat { padding: 56px 0 8px; }

/* ---------------- Card prodotto ---------------- */

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 22px;
  margin-bottom: 40px;
}

.card {
  background: linear-gradient(180deg, var(--panel-mid), var(--panel-dark) 60%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 1px 0 rgba(255,255,255,0.04) inset, 0 10px 26px rgba(0,0,0,0.30);
  transition: transform .18s ease, box-shadow .18s ease;
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.06) inset,
              0 16px 34px rgba(0,0,0,0.45),
              0 0 0 1px color-mix(in srgb, var(--acc) 55%, transparent);
}

/* Area "screenshot": per ora art placeholder col wordmark del prodotto */
.card-art {
  aspect-ratio: 16 / 9;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(340px 180px at 50% 115%, color-mix(in srgb, var(--acc) 26%, transparent), transparent 75%),
    linear-gradient(165deg, #303134, #202124 70%);
  border-bottom: 1px solid #000;
  box-shadow: 0 -1px 0 rgba(255,255,255,0.05) inset;
}

.card-art::after {           /* hairline orizzontale stile banner */
  content: "";
  position: absolute;
  left: 12%; right: 12%; bottom: 26px;
  height: 1px;
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--acc) 60%, transparent), transparent);
}

/* Card con screenshot vero: crop pieno ma SFOCATO come texture,
   con il wordmark del prodotto centrato sopra (scelta di Simone) */
.card-art.has-img {
  overflow: hidden;
  background: var(--plate);
}
.card-art.has-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: blur(4px) brightness(0.55) saturate(1.1);
  transform: scale(1.09);   /* nasconde i bordi chiari del blur */
}
.card-art.has-img .wordmark { position: relative; z-index: 1; }

.featured .art.has-img {
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.featured .art.has-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: blur(4px) brightness(0.55) saturate(1.1);
  transform: scale(1.09);
}
.featured .art.has-img .wordmark { position: relative; z-index: 1; }

/* leggibilità del wordmark sopra la texture sfocata */
.card-art.has-img .prodline,
.featured .art.has-img .prodline {
  text-shadow: 0 2px 14px rgba(0,0,0,0.65),
               0 0 22px color-mix(in srgb, var(--acc) 45%, transparent);
}

/* Wordmark stacked: "CURLYSYNTH" bright + nome in accent (convenzione banner) */
.wordmark { text-align: center; }
.wordmark .brandline {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ink);
  opacity: 0.85;
}
.wordmark .prodline {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 26px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--acc);
  text-shadow: 0 0 22px color-mix(in srgb, var(--acc) 45%, transparent);
  margin-top: 4px;
}

.card-body { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }

.card-body h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.card-body .tag {
  font-size: 11px;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--acc);
}

.card-body p { color: var(--ink-dim); font-size: 14.5px; flex: 1; }

.meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.meta span {
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--ink-dim);
  background: var(--plate);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 3px 8px;
  text-transform: uppercase;
}

.card-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  border-top: 1px solid var(--border);
  padding-top: 14px;
  margin-top: 4px;
}

.price { font-family: var(--font-display); font-weight: 700; font-size: 15px; color: var(--cream); }
.price .tba { color: var(--ink-sub); font-size: 12px; letter-spacing: 0.08em; }

.chip-soon {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-sub);
  border: 1px dashed var(--hairline);
  border-radius: 4px;
  padding: 6px 12px;
}

.btn-mini {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--on-accent);
  background: linear-gradient(180deg, var(--acc-glow), var(--acc) 55%);
  border-radius: 4px;
  padding: 7px 14px;
  border: 1px solid rgba(0,0,0,0.5);
}
.btn-mini:hover { color: var(--on-accent); filter: brightness(1.07); }

/* ---------------- Fascia featured (MatyChoir) ---------------- */

.featured {
  margin: 64px 0 8px;
}

.featured .panel {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 30px;
  align-items: center;
  background:
    radial-gradient(560px 300px at 85% 50%, color-mix(in srgb, var(--acc) 20%, transparent), transparent 70%),
    linear-gradient(180deg, var(--panel-mid), var(--panel-dark));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 44px;
  box-shadow: 0 1px 0 rgba(255,255,255,0.05) inset, 0 14px 34px rgba(0,0,0,0.4);
  overflow: hidden;
}

.badge {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--on-accent);
  background: var(--acc);
  border-radius: 4px;
  padding: 5px 10px;
  margin-bottom: 16px;
}

.featured h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.featured h2 em { font-style: normal; color: var(--acc); }

.featured .desc { color: var(--ink-dim); margin-bottom: 24px; max-width: 480px; }
.featured .btn { margin: 4px 10px 6px 0; }

.featured .art {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background:
    radial-gradient(60% 70% at 50% 45%, color-mix(in srgb, var(--acc) 30%, transparent), transparent),
    linear-gradient(160deg, #2e2f32, #1d1e20);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---------------- Screws decorativi ---------------- */

.screwed { position: relative; }
.screw {
  position: absolute;
  width: 13px; height: 13px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #3e3f42, #1a1b1d 72%);
  box-shadow: 0 1px 1px rgba(255,255,255,0.07), 0 -1px 2px rgba(0,0,0,0.6) inset;
}
.screw::after {
  content: "";
  position: absolute;
  left: 2.5px; right: 2.5px; top: 50%;
  height: 1.5px;
  background: rgba(0,0,0,0.75);
  transform: rotate(-40deg);
}
.screw.tl { top: 10px; left: 10px; }
.screw.tr { top: 10px; right: 10px; }
.screw.bl { bottom: 10px; left: 10px; }
.screw.br { bottom: 10px; right: 10px; }

/* ---------------- About ---------------- */

.about { padding: 72px 0; }

.about .panel {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 34px;
  align-items: center;
  background: linear-gradient(180deg, var(--panel-mid), var(--panel-dark));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 40px;
  box-shadow: 0 1px 0 rgba(255,255,255,0.05) inset, 0 12px 30px rgba(0,0,0,0.35);
}

.about h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.about h2 em { font-style: normal; color: var(--amber); }
.about p { color: var(--ink-dim); }

/* ---------------- Bundles ---------------- */

.bundle-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-bottom: 40px;
}

.bundle {
  position: relative;
  background: linear-gradient(180deg, var(--panel-mid), var(--panel-dark));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: 0 1px 0 rgba(255,255,255,0.04) inset, 0 10px 26px rgba(0,0,0,0.30);
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
}

.bundle.b-hero {
  grid-column: 1 / -1;
  flex-direction: row;
  align-items: center;
  gap: 30px;
  padding: 30px 34px;
  background:
    radial-gradient(560px 260px at 12% 50%, color-mix(in srgb, var(--amber) 14%, transparent), transparent 75%),
    linear-gradient(180deg, var(--panel-mid), var(--panel-dark));
  border-color: color-mix(in srgb, var(--amber) 40%, var(--border));
}

.bundle h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.bundle.b-hero h3 { font-size: 22px; letter-spacing: 0.1em; margin: 8px 0 6px; }

.b-desc { color: var(--ink-dim); max-width: 46ch; }
.b-items { color: var(--ink-dim); font-size: 13.5px; flex: 1; }

.b-save {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--on-accent);
  background: linear-gradient(180deg, var(--amber-glow), var(--amber) 60%);
  border-radius: 4px;
  padding: 5px 10px;
}

.b-value {
  color: var(--ink-sub);
  font-size: 13px;
  text-decoration: line-through;
}

.b-price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 26px;
  color: var(--cream);
}
.bundle.b-hero .b-price { font-size: 40px; line-height: 1.1; }

.b-buy-row { display: flex; align-items: baseline; gap: 10px; }

.b-buy {
  margin-left: auto;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  text-align: right;
}

.b-dots { display: flex; gap: 7px; margin-top: 14px; flex-wrap: wrap; }
.b-dots i {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--dot, var(--amber));
  box-shadow: 0 0 8px color-mix(in srgb, var(--dot, var(--amber)) 60%, transparent);
}

@media (max-width: 920px) {
  .bundle-grid { grid-template-columns: 1fr; }
  .bundle.b-hero { flex-direction: column; align-items: flex-start; }
  .b-buy { margin-left: 0; align-items: flex-start; text-align: left; }
}

/* ---------------- Sezione feedback ---------------- */

.feedback-panel {
  position: relative;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 36px;
  background: linear-gradient(180deg, var(--panel-mid), var(--panel-dark));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px 38px;
  box-shadow: 0 1px 0 rgba(255,255,255,0.05) inset, 0 12px 30px rgba(0,0,0,0.35);
  margin-bottom: 40px;
}

.fb-copy h3 {
  font-size: 20px;
  letter-spacing: 0.1em;
  margin-bottom: 10px;
}
.fb-copy h3::after { content: " 🦔"; }
.fb-copy p { color: var(--ink-dim); max-width: 40ch; }

.fb-form { display: flex; flex-direction: column; gap: 12px; }

.fb-row { display: flex; gap: 12px; flex-wrap: wrap; }
.fb-row > select, .fb-row > input { flex: 1; min-width: 180px; }

.fb-form select,
.fb-form input,
.fb-form textarea {
  background: var(--field-bg);
  border: 1px solid var(--field-border);
  border-radius: var(--radius);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 14.5px;
  padding: 11px 12px;
  outline: none;
}
.fb-form select:focus, .fb-form input:focus, .fb-form textarea:focus { border-color: var(--amber); }
.fb-form textarea { resize: vertical; min-height: 110px; }
.fb-form ::placeholder { color: var(--ink-sub); }

.fb-actions { align-items: center; justify-content: space-between; }
.fb-note { color: var(--ink-sub); font-size: 12.5px; }

@media (max-width: 860px) {
  .feedback-panel { grid-template-columns: 1fr; padding: 26px 24px; }
}

/* ---------------- Fascia newsletter ---------------- */

.newsletter {
  margin: 24px 0 0;
  padding: 64px 0;
  background: linear-gradient(180deg, #202123, var(--plate));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid #000;
  text-align: center;
}

.newsletter h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.newsletter .sub { color: var(--ink-dim); margin-bottom: 26px; }

/* ---------------- Footer ---------------- */

.site-foot {
  padding: 40px 0 48px;
  background: var(--plate);
  border-top: 1px solid rgba(255,255,255,0.04);
}

.site-foot .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
}

.foot-brand { display: flex; align-items: center; gap: 10px; color: var(--ink-dim); }
.foot-brand img { width: 26px; height: 26px; }
.foot-brand span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.socials { display: flex; gap: 18px; }
.socials a {
  color: var(--ink-dim);
  font-size: 12.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-family: var(--font-display);
  font-weight: 700;
}
.socials a:hover { color: var(--amber-glow); }

.legal-links { width: 100%; display: flex; flex-wrap: wrap; gap: 18px; font-size: 12.5px; }
.legal-links a { color: var(--ink-dim); }
.legal-links a:hover { color: var(--amber-glow); }

.fineprint { width: 100%; color: var(--ink-sub); font-size: 12.5px; }

/* ============================================================
   Pagine legali
   ============================================================ */

.legal { max-width: 760px; padding-top: 12px; padding-bottom: 72px; }
.legal h1 { font-family: var(--font-display); font-size: clamp(28px, 5vw, 40px); margin: 8px 0 4px; }
.legal .updated { color: var(--ink-sub); font-size: 13px; margin: 0 0 28px; }
.legal h2 { font-family: var(--font-display); font-size: 17px; letter-spacing: 0.04em; margin: 30px 0 8px; }
.legal p, .legal li { color: var(--ink-dim); line-height: 1.65; }
.legal p { margin: 0 0 12px; }
.legal ul { padding-left: 20px; }
.legal li { margin-bottom: 8px; }
.legal a { color: var(--amber-glow); }

/* ============================================================
   Pagina prodotto
   ============================================================ */

.pbanner {
  background:
    linear-gradient(180deg, #303134, #232426 60%, #2a2b2d);
  border-bottom: 1px solid #000;
  box-shadow: 0 1px 0 rgba(255,255,255,0.05) inset;
  padding: 26px 0;
}

.pbanner .wrap { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }

.pbanner img.mascot { width: 44px; height: 44px; }

.pbanner .brandblock .brandline {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ink);
}
.pbanner .brandblock .prodline {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 30px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--acc);
  line-height: 1.1;
}
.pbanner .brandblock .extline {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--cream);
  margin-top: 3px;
}
.pbanner .brandblock .tagline { color: var(--ink-dim); font-size: 13.5px; margin-top: 4px; }

.pbanner .right { margin-left: auto; display: flex; gap: 8px; flex-wrap: wrap; }

.phero { padding: 46px 0 8px; }

.shot {
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background:
    radial-gradient(700px 380px at 50% 120%, color-mix(in srgb, var(--acc) 22%, transparent), transparent 75%),
    linear-gradient(165deg, #2f3033, #1e1f21 70%);
  box-shadow: 0 1px 0 rgba(255,255,255,0.05) inset, 0 18px 44px rgba(0,0,0,0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.shot .note {
  position: absolute;
  bottom: 14px; right: 16px;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-sub);
}

/* Hero con screenshot vero: la cornice segue l'immagine */
.shot.has-shot {
  aspect-ratio: auto;
  padding: 10px;
  background: linear-gradient(180deg, var(--panel-mid), var(--panel-dark));
}
.shot.has-shot img { width: 100%; height: auto; display: block; border-radius: 3px; }

/* Gallery delle viste extra (FX / PERF / BROWSER) */
.gallery { display: grid; gap: 22px; margin-top: 22px; }
.gallery figure {
  margin: 0;
  background: linear-gradient(180deg, var(--panel-mid), var(--panel-dark));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 10px;
  box-shadow: 0 1px 0 rgba(255,255,255,0.04) inset, 0 12px 30px rgba(0,0,0,0.35);
}
.gallery figcaption {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 11.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--acc);
  background: var(--plate);
  border: 1px solid var(--border);
  border-radius: 4px;
  display: inline-block;
  padding: 6px 12px;
  margin-bottom: 10px;
}
.gallery img { width: 100%; height: auto; display: block; border-radius: 3px; }

.feat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  padding: 40px 0 8px;
}

.feat {
  background: linear-gradient(180deg, var(--panel-mid), var(--panel-dark));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: 0 1px 0 rgba(255,255,255,0.04) inset;
}

.feat h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--acc);
  background: var(--plate);
  border: 1px solid var(--border);
  border-radius: 4px;
  display: inline-block;
  padding: 6px 12px;
  margin-bottom: 14px;
}

.feat p, .feat li { color: var(--ink-dim); font-size: 14.5px; }
.feat ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.feat li::before { content: "— "; color: var(--acc); }

.specs {
  margin: 40px 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.specs .row {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 18px;
  padding: 14px 20px;
  background: var(--panel-dark);
  border-bottom: 1px solid var(--border);
}
.specs .row:nth-child(even) { background: #292a2c; }
.specs .row:last-child { border-bottom: 0; }
.specs .k {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-dim);
  align-self: center;
}
.specs .v { color: var(--ink); font-size: 14.5px; }

.buyband {
  margin: 20px 0 64px;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  background:
    radial-gradient(480px 220px at 12% 50%, color-mix(in srgb, var(--acc) 16%, transparent), transparent 75%),
    linear-gradient(180deg, var(--panel-mid), var(--panel-dark));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 34px;
  box-shadow: 0 1px 0 rgba(255,255,255,0.05) inset, 0 14px 32px rgba(0,0,0,0.4);
}

.buyband .price-lg {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 30px;
  color: var(--cream);
}
.buyband .price-lg .tba { font-size: 14px; color: var(--ink-sub); letter-spacing: 0.1em; }
.buyband .fill { flex: 1; }
.buyband .hint { color: var(--ink-sub); font-size: 13px; }

.crumbs { padding: 18px 0 0; font-size: 13px; color: var(--ink-sub); }
.crumbs a { color: var(--ink-dim); }
.crumbs a:hover { color: var(--acc-glow); }

/* ---------------- Responsive ---------------- */

@media (max-width: 860px) {
  .featured .panel { grid-template-columns: 1fr; padding: 30px 26px; }
  .about .panel { grid-template-columns: 1fr; text-align: center; }
  .about .panel img { margin: 0 auto; }
  .specs .row { grid-template-columns: 1fr; gap: 4px; }
}

@media (max-width: 720px) {
  .site-nav {
    display: none;
    position: absolute;
    top: 64px; left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--plate);
    border-bottom: 1px solid #000;
    padding: 8px 24px 16px;
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 12px 0; border-bottom: 1px solid var(--border); width: 100%; }
  .site-nav a:last-child { border-bottom: 0; }

  .nav-toggle {
    display: block;
    margin-left: auto;
    background: none;
    border: 1px solid var(--hairline);
    border-radius: 4px;
    color: var(--ink);
    font-size: 18px;
    line-height: 1;
    padding: 8px 12px;
    cursor: pointer;
  }

  .hero { padding: 60px 0 52px; }
  .hero h1 { letter-spacing: 0.05em; font-size: clamp(1.65rem, 7.6vw, 2.4rem); }
  .pbanner .right { margin-left: 0; }
  .pbanner .brandblock .prodline { font-size: 24px; }
}
