/* Palette Tritto Studio: nero #111111, menta #a8f0c6, bianco */
:root {
  --bg: #111111;
  --bg-2: #1a1a1a;
  --fg: #f4f4f1;
  --muted: #8b8f8c;
  --line: rgba(244, 244, 241, 0.12);
  --accent: #a8f0c6;
  --accent-ink: #111111;
  --display: "Archivo", "Arial Narrow", sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --pad: clamp(16px, 4vw, 56px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--display);
  font-variation-settings: "wdth" 100;
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background .4s, color .4s;
}
/* "clip" taglia ciò che esce di lato senza rompere i blocchi sticky (Safari/iPhone con "hidden" li sgancia) */
@supports (overflow: clip) { body { overflow-x: clip; } }
a { color: inherit; text-decoration: none; }
em {
  font-family: var(--serif); font-style: italic; font-weight: 400;
  text-transform: none; letter-spacing: -.01em; color: var(--accent);
}
strong { color: var(--fg); font-weight: 600; }
.mono {
  font-family: var(--mono); font-size: 11px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--muted); font-weight: 400;
}
.muted { color: var(--muted); }
.small { font-size: 13px; }

/* Titoli condensati da locandina */
.title,.statement h2,.index li .name,.rows h3,.clip h3,.frame h3 {
  font-family: var(--display);
  font-variation-settings: "wdth" 68;
  font-weight: 800;
  text-transform: uppercase;
}

/* grana pellicola */

/* puntino REC */

/* ---------- NAV ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px;
  padding: 16px var(--pad);
  border-bottom: 1px solid transparent;
  transition: background .3s, border-color .3s;
}
.nav.is-scrolled { background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px); border-color: var(--line); }
.nav__logo { font-weight: 700; text-transform: uppercase; letter-spacing: .02em; font-size: 14px; font-variation-settings: "wdth" 80; }
.nav__links { display: flex; gap: 28px; }
.nav__links a { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); transition: color .2s; }
.nav__links a:hover, .nav__links a[aria-current] { color: var(--accent); }
.nav__links a[aria-current]::before { content: "● "; font-size: 8px; vertical-align: 2px; }
.nav__right { display: flex; align-items: center; justify-content: flex-end; gap: 16px; }
.tc { color: var(--fg); font-variant-numeric: tabular-nums; }

.btn {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  padding: 10px 16px; cursor: pointer; transition: background .2s, color .2s;
}
.btn--line { border: 1px solid var(--fg); }
.btn--line::before { content: "["; } .btn--line::after { content: "]"; }
.btn--line:hover { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn--solid { background: var(--accent); color: var(--accent-ink); border: 0; padding: 16px 28px; font-size: 12px; }

.btn--solid:hover { background: var(--fg); color: var(--bg); }

/* ---------- CURSORE: anello arancio che insegue + pallino bianco ---------- */
@media (hover: hover) and (pointer: fine) {
  html, a, button, input, textarea, select, .index li { cursor: none; }
}
.cursor, .cursor__dot {
  position: fixed; left: 0; top: 0; z-index: 9990; pointer-events: none;
  border-radius: 50%; transform: translate(-50%, -50%);
  opacity: 0; transition: opacity .3s;
}
.cursor {
  width: 28px; height: 28px; border: 1px solid var(--accent);
  transition: width .25s cubic-bezier(.16,1,.3,1), height .25s cubic-bezier(.16,1,.3,1),
              background-color .25s cubic-bezier(.16,1,.3,1), opacity .3s;
}
.cursor__dot { z-index: 9991; width: 4px; height: 4px; background: #fff; }
.cursor.is-visible, .cursor__dot.is-visible { opacity: 1; }
.cursor.is-hover { width: 56px; height: 56px; background: rgba(168, 240, 198, .14); }
@media (hover: none), (pointer: coarse) { .cursor, .cursor__dot { display: none; } }

/* ---------- PREVIEW (cinemascope) ---------- */

/* ---------- HERO ---------- */
main, .footer { position: relative; z-index: 1; }
.hero {
  position: relative; min-height: 100svh;
  padding: 110px var(--pad) 70px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 32px;
}

 
 

.index { list-style: none; padding: 0 30px 20px; counter-reset: p; }
.index li {
  display: flex; align-items: baseline; gap: 18px;
  width: fit-content;
  transition: opacity .35s, transform .5s cubic-bezier(.2,.7,.2,1);
}
.index li .n { font-family: var(--mono); font-size: 11px; color: var(--muted); width: 2.5em; }
.index li .name {
  font-size: clamp(40px, min(9.5vw, 10.5vh), 150px); line-height: .86; letter-spacing: -.01em;
  transition: color .3s, font-variation-settings .5s cubic-bezier(.2,.7,.2,1);
}
.index li .tag { white-space: nowrap; font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

/* ---------- MARQUEE ---------- */

/* ---------- STATEMENT ---------- */
.statement { background: var(--bg); padding: clamp(80px, 13vw, 180px) var(--pad); }

.statement h2 { font-size: clamp(38px, 6.4vw, 96px); line-height: .9; max-width: 1300px; }
.statement h2 em { font-size: 1.04em; }

/* ---------- SEZIONI ---------- */
.section { background: var(--bg); padding: clamp(64px, 9vw, 130px) var(--pad); scroll-margin-top: 40px; }
.slate-row {
  display: grid; grid-template-columns: 90px 1fr 90px auto; gap: 16px;
  border-top: 1px solid var(--fg); border-bottom: 1px solid var(--line);
  padding: 10px 0; margin-bottom: 56px;
}
.slate-row span:first-child { color: var(--accent); }
.title { font-size: clamp(44px, 7vw, 108px); line-height: .88; letter-spacing: -.005em; }
.title em { display: inline-block; font-size: 1.05em; line-height: .8; }
.split { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(24px, 6vw, 96px); align-items: end; margin-bottom: 64px; }
.lead { color: var(--muted); font-size: 18px; max-width: 520px; }

/* servizi: righe tipo "lista di montaggio" */
.rows { list-style: none; border-top: 1px solid var(--line); }
.row { position: relative; border-bottom: 1px solid var(--line); overflow: hidden; isolation: isolate; scroll-margin-top: 120px; }
.row__link { display: grid; grid-template-columns: 60px 1fr 1fr 40px; gap: 24px; align-items: center; padding: 26px 0; }
.row::before {
  content: ""; position: absolute; inset: 0; background: var(--accent); z-index: -1;
  transform: scaleY(0); transform-origin: bottom; transition: transform .45s cubic-bezier(.7,0,.2,1);
}
.row__link > * { position: relative; transition: color .3s, transform .45s cubic-bezier(.2,.7,.2,1); }
.row h3 { font-size: clamp(30px, 3.8vw, 56px); line-height: .9; }
.row p { color: var(--muted); max-width: 460px; }
.row__tags { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 12px; }
.row .arrow { font-size: 26px; text-align: right; }
.row:hover::before, .row.is-target::before { transform: scaleY(1); }
.row:hover .row__link > *, .row:hover .mono, .row.is-target .row__link > *, .row.is-target .mono { color: var(--accent-ink); }
.row:hover h3, .row.is-target h3 { transform: translateX(14px); }

/* lavori: provino a contatto */
.sheet {
  display: grid; grid-template-columns: repeat(3, 1fr);
  margin-top: 56px; border-top: 1px solid var(--line); border-left: 1px solid var(--line);
}
.frame { background: var(--bg); padding: 14px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; }
.frame:nth-child(3n+2) { padding-top: 64px; }
.frame__media {
  position: relative; aspect-ratio: 4 / 5; overflow: hidden;
}
.frame__media .bg {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  filter: grayscale(1) contrast(1.1); transform: scale(1.02);
  transition: filter .6s, transform 1s cubic-bezier(.2,.7,.2,1);
}
.frame:hover .bg { filter: none; transform: scale(1.07); }
.frame__media .mono { position: absolute; color: #f4f4f1; z-index: 1; }
.frame__media .fn { top: 12px; left: 12px; }
.frame__media .yr { top: 12px; right: 12px; }
.frame__media .play {
  bottom: 12px; left: 12px; opacity: 0; transform: translateY(6px); transition: .3s;
}
.frame:hover .play { opacity: 1; transform: none; }
.frame__info { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.frame h3 { font-size: 30px; line-height: .9; }
.frame p { color: var(--muted); font-size: 14px; }

/* metodo: timeline di montaggio */
.timeline { position: relative; }
.ruler {
  height: 26px; border-bottom: 1px solid var(--fg);
  background:
    repeating-linear-gradient(90deg, var(--fg) 0 1px, transparent 1px 25%) bottom / 100% 18px no-repeat,
    repeating-linear-gradient(90deg, var(--muted) 0 1px, transparent 1px 2.5%) bottom / 100% 8px no-repeat;
}
.playhead {
  position: absolute; top: 0; bottom: 0; left: 0; width: 2px;
  background: var(--accent); z-index: 2; pointer-events: none;
}
.playhead::before {
  content: ""; position: absolute; top: -6px; left: -6px; width: 14px; height: 10px;
  background: var(--accent); clip-path: polygon(0 0, 100% 0, 50% 100%);
}
.clips { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); }
.clip {
  padding: 24px 22px 32px; border-left: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 10px;
  background: linear-gradient(var(--bg-2), transparent 70%);
}
.clip h3 { font-size: clamp(32px, 3.4vw, 52px); line-height: .9; }
.clip p { color: var(--muted); font-size: 15px; }
.clip .mono { color: var(--accent); }

/* chi sono */
.about { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.about__frame { position: relative; padding: 18px; }
.about__frame img {
  display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover;
  filter: grayscale(1) contrast(1.05);
}
.about__frame i { position: absolute; width: 26px; height: 26px; border: 0 solid var(--fg); }
.about__frame i:nth-of-type(1) { top: 0; left: 0; border-width: 1px 0 0 1px; }
.about__frame i:nth-of-type(2) { top: 0; right: 0; border-width: 1px 1px 0 0; }
.about__frame i:nth-of-type(3) { bottom: 0; left: 0; border-width: 0 0 1px 1px; }
.about__frame i:nth-of-type(4) { bottom: 0; right: 0; border-width: 0 1px 1px 0; }

.about__text .title { margin-bottom: 32px; }
.about__text .lead + .lead { margin-top: 16px; }
.specs { margin-top: 40px; border-top: 1px solid var(--line); }
.specs div { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.specs dd a:hover { color: var(--accent); }

/* strumenti */
.tools { display: flex; align-items: center; gap: 32px; flex-wrap: wrap; margin-top: 56px; }
.tools ul { list-style: none; display: flex; gap: 12px; flex-wrap: wrap; }
.tools li { display: flex; align-items: center; gap: 12px; border: 1px solid var(--line); padding: 8px 16px 8px 8px; }
.tool__icon {
  display: grid; place-items: center; width: 34px; height: 34px;
  font-family: var(--mono); font-size: 13px; font-weight: 500;
  border: 1px solid var(--accent); color: var(--accent);
}

/* fotogrammi vuoti */
.frame--empty .frame__media {
  background:
    repeating-linear-gradient(135deg, transparent 0 14px, var(--line) 14px 15px),
    var(--bg-2);
  border: 1px dashed var(--line);
}
.frame--empty .mono { color: var(--muted); }
.frame__empty {
  position: absolute; inset: 0; display: grid; place-items: center; text-align: center;
  font-family: var(--display); font-variation-settings: "wdth" 68; font-weight: 800;
  text-transform: uppercase; font-size: clamp(34px, 3.6vw, 54px); line-height: .9; color: var(--muted);
}
.frame__empty em { color: var(--muted); }
.frame--cta .frame__media { border: 1px solid var(--accent); }
.frame--cta .frame__empty, .frame--cta .frame__empty em { color: var(--fg); }
.frame--cta .frame__empty em { color: var(--accent); }
.frame--cta:hover .frame__empty, .frame--cta:hover .frame__empty em, .frame--cta:hover .frame__media .mono { color: var(--accent-ink); }
.frame--cta .frame__info .mono { color: var(--accent); }

.form select {
  background: transparent; border: 0; border-bottom: 1px solid var(--line);
  color: var(--fg); font: inherit; font-size: 18px; padding: 8px 0; outline: none; appearance: none; cursor: pointer;
}
.form select option { background: var(--bg-2); color: var(--fg); }
.form select:focus { border-color: var(--accent); }

/* contatto */
.contact__grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(32px, 6vw, 96px); }

.contact__mail { font-family: var(--serif); font-style: italic; font-size: clamp(22px, 2.4vw, 30px); display: inline-block; margin-bottom: 10px; border-bottom: 1px solid var(--line); }
.contact__mail:hover { color: var(--accent); border-color: var(--accent); }
.form { display: flex; flex-direction: column; gap: 28px; align-items: flex-start; }
.form label { display: flex; flex-direction: column; gap: 6px; width: 100%; }
.form input, .form textarea {
  background: transparent; border: 0; border-bottom: 1px solid var(--line);
  color: var(--fg); font: inherit; font-size: 18px; padding: 8px 0; outline: none; resize: vertical;
}
.form input:focus, .form textarea:focus { border-color: var(--accent); }
.form .form__privacy { flex-direction: row; align-items: flex-start; gap: 10px; color: var(--muted); line-height: 1.5; }
.form .form__privacy::after { display: none; }
.form .form__privacy input { flex: none; width: 18px; height: 18px; margin: 2px 0 0; padding: 0; accent-color: var(--accent); }
.form .form__privacy a { text-decoration: underline; }

/* privacy: testo lungo leggibile */
.legal { max-width: 760px; }
.legal h2 { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(24px, 2.6vw, 32px); margin: 48px 0 12px; }
.legal p, .legal li { color: var(--muted); line-height: 1.7; margin-bottom: 12px; }
.legal ul { padding-left: 20px; list-style: disc; }
.legal a { text-decoration: underline; }

/* footer: titoli di coda */
.footer { background: var(--bg); padding: 28px var(--pad); border-top: 1px solid var(--line); }

.footer__links { display: flex; gap: 24px; font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.footer__links a:hover { color: var(--accent); }

/* ---------- INTESTAZIONE DELLE PAGINE ---------- */
.page-hero {
  position: relative; min-height: 78svh; overflow: hidden;
  padding: 150px var(--pad) clamp(56px, 7vw, 96px);
  display: flex; flex-direction: column; justify-content: flex-end;
}
.page-hero__glow {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(circle 520px at var(--mx, 75%) var(--my, 20%), rgba(168, 240, 198, .16), transparent 70%);
}
.page-hero__inner { position: relative; padding: 0 30px; }
.crumb { display: flex; gap: 12px; align-items: center; margin-bottom: 28px; }
.crumb a:hover { color: var(--accent); }
.crumb__now { color: var(--accent); }
.page-hero__title {
  font-family: var(--display); font-variation-settings: "wdth" 68; font-weight: 800; text-transform: uppercase;
  font-size: clamp(64px, 12vw, 200px); line-height: .84; letter-spacing: -.01em; margin-bottom: 32px;
}
.page-hero__title em { display: inline-block; font-size: 1.04em; line-height: .8; }
.page-hero .lead { max-width: 560px; font-size: clamp(17px, 1.5vw, 20px); }
.page-hero h1, .page-hero .lead, .crumb { animation: rise 1s cubic-bezier(.2,.7,.2,1) both; }
.crumb { animation-delay: .35s; } .page-hero h1 { animation-delay: .45s; } .page-hero .lead { animation-delay: .6s; }
@keyframes rise { from { opacity: 0; transform: translateY(40px); } }

/* ---------- CTA finale ---------- */
.cta {
  background: var(--bg); text-align: center; border-top: 1px solid var(--line);
  padding: clamp(80px, 12vw, 170px) var(--pad);
  display: flex; flex-direction: column; align-items: center; gap: 28px;
}

.cta .lead { text-align: center; }

/* link "scopri di più" */
.more { display: inline-flex; gap: 10px; align-items: center; color: var(--fg); border-bottom: 1px solid var(--accent); padding-bottom: 4px; justify-self: end; margin-top: 28px; }
.more span { color: var(--accent); transition: transform .3s; }
.more:hover span { transform: translateX(6px); }
.split .more { margin-top: 0; }

/* chi sono in versione anteprima (home) */

/* ---------- MENU MOBILE ---------- */
.burger { display: none; width: 40px; height: 40px; background: none; border: 1px solid var(--line); flex-direction: column; justify-content: center; align-items: center; gap: 6px; }
.burger span { display: block; width: 18px; height: 1px; background: var(--fg); transition: transform .3s; }
.menu-open .burger span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-open .burger span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.menu {
  position: fixed; inset: 0; z-index: 45; background: var(--bg);
  padding: 110px var(--pad) 40px; display: flex; flex-direction: column; justify-content: space-between;
  clip-path: inset(0 0 100% 0); transition: clip-path .6s cubic-bezier(.7,0,.2,1);
}
.menu-open .menu { clip-path: inset(0); }
.menu nav { display: flex; flex-direction: column; }
.menu nav a {
  display: flex; align-items: baseline; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line);
  font-family: var(--display); font-variation-settings: "wdth" 68; font-weight: 800; text-transform: uppercase;
  font-size: clamp(40px, 12vw, 64px); line-height: 1;
}
.menu nav a[aria-current] { color: var(--accent); }
.menu a:hover { color: var(--accent); }

/* reveal */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s, transform .9s cubic-bezier(.2,.7,.2,1); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1000px) {
  .sheet { grid-template-columns: repeat(2, 1fr); }
  .frame:nth-child(3n+2) { padding-top: 14px; }
  .frame:nth-child(2n) { padding-top: 64px; }
  .clips { grid-template-columns: repeat(2, 1fr); }
  .playhead { display: none; }
  .row__link { grid-template-columns: 40px 1fr 32px; }
  .row p { grid-column: 2; }
}
@media (max-width: 720px) {
  .nav { grid-template-columns: 1fr auto; }
  .nav__links, .nav .tc { display: none; }
  .burger { display: flex; }
  .nav .btn--line { display: none; }
  .page-hero__inner { padding: 0 12px; }
  .split .more { justify-self: start; }
  
  
  .index { padding-left: 12px; padding-right: 12px; }
  .index li { gap: 10px; }
  .index li .tag { display: none; }
  .index li .name { font-size: clamp(40px, 11vw, 64px); }
  
  .hero { padding-bottom: 150px; }
  .split, .contact__grid { grid-template-columns: 1fr; }
  .slate-row { grid-template-columns: 60px 1fr auto; }
  .slate-row span:nth-child(3) { display: none; }
  .sheet { grid-template-columns: 1fr; }
  .frame:nth-child(n) { padding-top: 14px; }
  .clips { grid-template-columns: 1fr; }
  .about { grid-template-columns: 1fr; }
  .frame--empty .frame__media { aspect-ratio: 16 / 10; }
  .specs div { grid-template-columns: 90px 1fr; }
}
.index li { cursor: pointer; }
@media (prefers-reduced-motion: reduce) {
  *, *::before { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* frecce e simboli sempre come testo, mai come emoji (iPhone) */
.arrow, .more, .contact__mail, .play, .specs a, .footer a, .menu a { font-variant-emoji: text; }

/* ---------- CARD SERVIZI (home) ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column; gap: 22px;
  padding: clamp(28px, 3vw, 48px); min-height: 460px;
  background: var(--bg-2); border: 1px solid var(--line); border-radius: 22px;
  transition: border-color .35s, box-shadow .35s, opacity .9s, transform .6s cubic-bezier(.2,.7,.2,1);
}
/* luce che segue il mouse dentro la card */
.card::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .35s;
  background: radial-gradient(circle 280px at var(--cx, 50%) var(--cy, 50%), rgba(168, 240, 198, .14), transparent 70%);
}
.card:hover { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), 0 0 40px -6px rgba(168, 240, 198, .45); transform: translateY(-4px); }
.card:hover::before { opacity: 1; }
.card__label { color: var(--accent); letter-spacing: .2em; }
.card__title {
  font-family: var(--display); font-variation-settings: "wdth" 68; font-weight: 800; text-transform: uppercase;
  font-size: clamp(38px, 3.6vw, 58px); line-height: .9;
}
.card__text { color: var(--muted); font-size: 17px; line-height: 1.6; }
.card__chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; }
.chip {
  font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
  border: 1px solid var(--line); border-radius: 999px; padding: 9px 16px; transition: border-color .3s, color .3s;
}
.card:hover .chip { border-color: rgba(168, 240, 198, .45); color: var(--fg); }
@media (max-width: 1000px) { .cards { grid-template-columns: 1fr; } .card { min-height: 0; } }

/* ---------- BARRA DI AVANZAMENTO (in alto) ---------- */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 60; pointer-events: none; }
.progress span {
  display: block; height: 100%; width: 100%; transform-origin: left; transform: scaleX(0);
  background: linear-gradient(90deg, #12301f, #4fa87a 45%, var(--accent));
  box-shadow: 0 0 10px rgba(168, 240, 198, .6);
}

/* ---------- MONTAGGIO ANIMATO ALLO SCROLL (home) ---------- */
.edit { position: relative; height: 240vh; background: var(--bg); border-top: 1px solid var(--line); }
.edit__sticky {
  position: sticky; top: 0; height: 100svh; overflow: hidden;
  display: flex; flex-direction: column; justify-content: center; gap: clamp(16px, 2.4vh, 28px);
  padding: 84px var(--pad) 32px;
}
.edit__head { display: flex; justify-content: space-between; align-items: center; gap: 16px; }

.edit__tc { color: var(--fg); font-variant-numeric: tabular-nums; }
.edit__hint { transition: opacity .4s; }

.monitor {
  position: relative; align-self: center; width: min(100%, calc(46vh * 16 / 9)); aspect-ratio: 16 / 9;
  background: #000; border: 1px solid var(--line); overflow: hidden;
}
.monitor__shots, .shot { position: absolute; inset: 0; }
.shot {
  display: grid; place-items: center; opacity: 0; transform: scale(1.06);
  transition: opacity .35s, transform .9s cubic-bezier(.2,.7,.2,1);
}
.shot.is-on { opacity: 1; transform: none; }
.shot__word {
  font-family: var(--display); font-variation-settings: "wdth" 68; font-weight: 800; text-transform: uppercase;
  font-size: clamp(44px, 9vh, 120px); line-height: .9; color: #f4f4f1; text-align: center;
}
.shot__word em { display: block; font-size: .45em; line-height: 1.2; color: #f4f4f1; opacity: .8; }
.shot--idle .shot__word { font-size: clamp(16px, 2.2vh, 22px); font-family: var(--mono); font-weight: 400; letter-spacing: .14em; color: var(--muted); }
.monitor__label, .monitor__res { position: absolute; top: 12px; color: #f4f4f1; opacity: .7; z-index: 2; font-size: 10px; }
.monitor__label { left: 14px; } .monitor__res { right: 14px; }

.tl { position: relative; border: 1px solid var(--line); background: var(--bg-2); padding: 0 0 10px 64px; }
.tl__ruler {
  height: 22px; border-bottom: 1px solid var(--line); margin-bottom: 8px;
  background:
    repeating-linear-gradient(90deg, var(--muted) 0 1px, transparent 1px 10%) bottom / 100% 12px no-repeat,
    repeating-linear-gradient(90deg, var(--line) 0 1px, transparent 1px 2.5%) bottom / 100% 6px no-repeat;
}
.tl__tracks { display: flex; flex-direction: column; gap: 6px; }
.track { position: relative; height: clamp(30px, 5.2vh, 46px); }
.track__name {
  position: absolute; left: -54px; top: 50%; transform: translateY(-50%);
  font-family: var(--mono); font-size: 10px; letter-spacing: .12em; color: var(--muted);
}
.clip-b {
  position: absolute; top: 0; bottom: 0; border-radius: 4px; overflow: hidden;
  display: flex; align-items: center; padding: 0 10px;
  font-family: var(--mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap;
  border: 1px solid rgba(255,255,255,.12); will-change: transform, opacity;
}
.clip-b--v1 { background: linear-gradient(180deg, #2b5a43, #1f4433); color: #d9f7e6; }
.clip-b--v2 { background: linear-gradient(180deg, #a8f0c6, #7fd6a6); color: #0f1f17; }
.clip-b--a1 { background: #232323; color: #cfd3d0; padding: 0; }
.wave { position: absolute; inset: 4px 6px; display: flex; align-items: center; gap: 2px; }
.wave i { flex: 1; background: #cfd3d0; border-radius: 1px; opacity: .45; transition: opacity .15s; }
.wave i.is-hot { opacity: 1; }
.tl__playhead {
  position: absolute; top: 0; bottom: 0; left: 64px; width: 2px; background: var(--accent); z-index: 3;
  box-shadow: 0 0 12px rgba(168, 240, 198, .8); pointer-events: none; opacity: 0; transition: opacity .3s;
}
.tl__playhead::before {
  content: ""; position: absolute; top: 0; left: -6px; width: 14px; height: 12px;
  background: var(--accent); clip-path: polygon(0 0, 100% 0, 100% 60%, 50% 100%, 0 60%);
}
.edit.is-playing .tl__playhead { opacity: 1; }
.edit.is-playing .edit__hint { opacity: 0; }

@media (max-width: 720px) {
  .edit { height: 280vh; }
  .tl { padding-left: 40px; }
  .track__name { left: -32px; }
  .tl__playhead { left: 40px; }
  .clip-b { font-size: 8px; padding: 0 6px; }
  .edit__hint { display: none; }
}
@media (prefers-reduced-motion: reduce) { .edit { height: auto; } .edit__sticky { position: relative; } }

/* ---------- ENTRATE MOTION: card servizi (tendina) ---------- */
.card.fx { opacity: 0; transform: translateY(90px) rotate(2.5deg); clip-path: inset(100% 0 0 0 round 22px); }
.card.fx.is-in {
  opacity: 1; transform: none; clip-path: inset(0 0 0 0 round 22px);
  transition: clip-path 1s cubic-bezier(.7,0,.2,1) var(--d), transform 1.1s cubic-bezier(.2,.7,.2,1) var(--d), opacity .3s var(--d);
}
.card.fx > * { opacity: 0; transform: translateY(26px); }
.card.fx.is-in > * { opacity: 1; transform: none; transition: opacity .6s, transform .8s cubic-bezier(.2,.7,.2,1); }
.card.fx.is-in > :nth-child(1) { transition-delay: calc(var(--d) + .45s); }
.card.fx.is-in > :nth-child(2) { transition-delay: calc(var(--d) + .55s); }
.card.fx.is-in > :nth-child(3) { transition-delay: calc(var(--d) + .68s); }
.card.fx.is-in > :nth-child(4) { transition-delay: calc(var(--d) + .8s); }
.card.fx .chip { opacity: 0; transform: scale(.4); }
.card.fx.is-in .chip { opacity: 1; transform: none; transition: opacity .3s, transform .5s cubic-bezier(.3,1.6,.5,1), border-color .3s, color .3s; }
.card.fx.is-in .chip:nth-child(1) { transition-delay: calc(var(--d) + .95s); }
.card.fx.is-in .chip:nth-child(2) { transition-delay: calc(var(--d) + 1.05s); }
.card.fx.is-in .chip:nth-child(3) { transition-delay: calc(var(--d) + 1.15s); }
/* finita l'entrata, la card torna "normale" (hover e alone senza ritardi) */
.card.fx.is-done { clip-path: none; transition: border-color .35s, box-shadow .35s, transform .35s cubic-bezier(.2,.7,.2,1); }
.card.fx.is-done > *, .card.fx.is-done .chip { transition-delay: 0s; }
.card.fx.is-done:hover { transform: translateY(-4px); }

/* ---------- ENTRATE MOTION: fotogrammi lavori (scrub + glitch) ---------- */
.frame.fx .frame__media::before {
  content: ""; position: absolute; inset: -1px; z-index: 3; background: var(--bg);
  transform-origin: right; pointer-events: none;
}
.frame.fx .frame__media::after {
  content: ""; position: absolute; top: -6px; bottom: -6px; left: 0; width: 2px; z-index: 4;
  background: var(--accent); box-shadow: 0 0 14px 2px rgba(168, 240, 198, .8); opacity: 0; pointer-events: none;
}
.frame.fx.is-in .frame__media::before { animation: fx-wipe 1.1s cubic-bezier(.7,0,.2,1) var(--d) both; }
.frame.fx.is-in .frame__media::after { animation: fx-scrub 1.1s cubic-bezier(.7,0,.2,1) var(--d) both; }
.frame.fx.is-in .frame__media { animation: fx-flash .6s ease-out calc(var(--d) + 1s) both; }
.frame.fx .frame__empty > span { opacity: 0; }
.frame.fx.is-in .frame__empty > span { animation: fx-glitch .7s steps(1) calc(var(--d) + .95s) both; }
.frame.fx .frame__info, .frame.fx > p { opacity: 0; transform: translateY(24px); }
.frame.fx.is-in .frame__info, .frame.fx.is-in > p {
  opacity: 1; transform: none; transition: opacity .6s calc(var(--d) + 1.1s), transform .8s cubic-bezier(.2,.7,.2,1) calc(var(--d) + 1.1s);
}
@keyframes fx-wipe { from { transform: scaleX(1); } to { transform: scaleX(0); } }
@keyframes fx-scrub { 0% { left: 0; opacity: 1; } 92% { left: 100%; opacity: 1; } 100% { left: 100%; opacity: 0; } }
@keyframes fx-flash { 0% { filter: brightness(2.4) saturate(1.4); } 100% { filter: none; } }
@keyframes fx-glitch {
  0%   { opacity: 1; transform: translate(-8px, 2px) skewX(-8deg); text-shadow: 6px 0 rgba(168, 240, 198,.9), -6px 0 rgba(255,255,255,.6); }
  15%  { transform: translate(6px, -3px) skewX(6deg); text-shadow: -5px 0 rgba(168, 240, 198,.9), 5px 0 rgba(255,255,255,.6); clip-path: inset(10% 0 45% 0); }
  30%  { transform: translate(-3px, 0); text-shadow: 3px 0 rgba(168, 240, 198,.9), -3px 0 rgba(255,255,255,.6); clip-path: inset(55% 0 5% 0); }
  45%  { transform: translate(4px, 2px); clip-path: none; text-shadow: -2px 0 rgba(168, 240, 198,.9), 2px 0 rgba(255,255,255,.6); }
  60%  { transform: translate(-1px, 0); text-shadow: 1px 0 rgba(168, 240, 198,.6), -1px 0 rgba(255,255,255,.45); }
  100% { opacity: 1; transform: none; text-shadow: none; clip-path: none; }
}

@media (prefers-reduced-motion: reduce) {
  .card.fx, .card.fx > *, .card.fx .chip, .frame.fx .frame__info, .frame.fx > p, .frame.fx .frame__empty > span { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .frame.fx .frame__media::before, .frame.fx .frame__media::after { display: none; }
}

/* ============================================================
   ANIMAZIONI DELLE PAGINE INTERNE (attive solo con html.inner)
   ============================================================ */

/* titoli parola per parola */
.kinetic .w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .06em .14em 0; margin-bottom: -.14em; }
.kinetic .w > span { display: inline-block; transform: translateY(110%) rotate(6deg); transform-origin: left bottom; }
.kinetic.is-in .w > span { transform: none; transition: transform 1s cubic-bezier(.2,.8,.2,1) calc(var(--k) * 70ms); }
.inner .page-hero h1 { animation: none; }

/* ciak: la linea si disegna, i testi compaiono in sequenza */
.inner .slate-row { border-top-color: transparent; position: relative; }
.inner .slate-row::before {
  content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 1px; background: var(--fg);
  transform: scaleX(0); transform-origin: left; transition: transform 1s cubic-bezier(.7,0,.2,1);
}
.inner .slate-row > span { opacity: 0; transform: translateY(8px); transition: opacity .4s, transform .5s; }
.inner .slate-row.is-in::before { transform: none; }
.inner .slate-row.is-in > span { opacity: 1; transform: none; }
.inner .slate-row.is-in > span:nth-child(1) { transition-delay: .3s; }
.inner .slate-row.is-in > span:nth-child(2) { transition-delay: .4s; }
.inner .slate-row.is-in > span:nth-child(3) { transition-delay: .5s; }
.inner .slate-row.is-in > span:nth-child(4) { transition-delay: .6s; }

/* scheda: righe che si disegnano */
.inner .specs { border-top-color: transparent; }
.inner .specs div { position: relative; border-bottom-color: transparent; opacity: 0; transform: translateX(-20px); }
.inner .specs div::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--line);
  transform: scaleX(0); transform-origin: left; transition: transform .9s cubic-bezier(.7,0,.2,1);
}
.inner .specs.is-in div { opacity: 1; transform: none; transition: opacity .5s, transform .7s cubic-bezier(.2,.7,.2,1); }
.inner .specs.is-in div::after { transform: none; }
.inner .specs.is-in div:nth-child(2), .inner .specs.is-in div:nth-child(2)::after { transition-delay: .16s; }
.inner .specs.is-in div:nth-child(3), .inner .specs.is-in div:nth-child(3)::after { transition-delay: .32s; }
.inner .specs.is-in div:nth-child(4), .inner .specs.is-in div:nth-child(4)::after { transition-delay: .48s; }
.inner .specs dd { font-variant-numeric: tabular-nums; }

/* chi sono: messa a fuoco della foto + angoli del mirino che si chiudono */
.inner .about__frame img { filter: grayscale(1) blur(16px) brightness(.6); transform: scale(1.18); }
.inner .about__frame.is-in img { filter: grayscale(1) contrast(1.05); transform: none; transition: filter 1.6s cubic-bezier(.2,.7,.2,1) .2s, transform 2s cubic-bezier(.2,.7,.2,1); }
.inner .about__frame i { opacity: 0; transition: transform 1s cubic-bezier(.7,0,.2,1), opacity .3s; }
.inner .about__frame i:nth-of-type(1) { transform: translate(70px, 70px); }
.inner .about__frame i:nth-of-type(2) { transform: translate(-70px, 70px); }
.inner .about__frame i:nth-of-type(3) { transform: translate(70px, -70px); }
.inner .about__frame i:nth-of-type(4) { transform: translate(-70px, -70px); }
.inner .about__frame.is-in i { opacity: 1; transform: none; border-color: var(--accent); transition-delay: .9s; }

/* strumenti: icone che si ribaltano */
.inner .tools ul { perspective: 600px; }
.inner .tools li { opacity: 0; transform: rotateX(-90deg); transform-origin: top; }
.inner .tools.is-in li { opacity: 1; transform: none; transition: opacity .4s, transform .8s cubic-bezier(.3,1.4,.5,1); }
.inner .tools.is-in li:nth-child(2) { transition-delay: .15s; }
.inner .tools.is-in li:nth-child(3) { transition-delay: .3s; }

/* servizi: le righe entrano con una semplice dissolvenza dal basso */
.inner .rows .row { opacity: 0; transform: translateY(24px); }
.inner .rows .row.is-in { opacity: 1; transform: none; transition: opacity .8s, transform .9s cubic-bezier(.2,.7,.2,1), background-color .4s ease; }

/* contatti: campi che si disegnano + pulsante REC che pulsa */
.inner .form label { position: relative; opacity: 0; transform: translateY(18px); }
.inner .form label::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--accent);
  transform: scaleX(0); transform-origin: left; pointer-events: none;
}
.inner .form.is-in label { opacity: 1; transform: none; transition: opacity .5s, transform .7s cubic-bezier(.2,.7,.2,1); }
.inner .form.is-in label::after { animation: fx-line 1.2s cubic-bezier(.7,0,.2,1) both; }
.inner .form.is-in label:nth-of-type(2), .inner .form.is-in label:nth-of-type(2)::after { transition-delay: .15s; animation-delay: .15s; }
.inner .form.is-in label:nth-of-type(3), .inner .form.is-in label:nth-of-type(3)::after { transition-delay: .3s; animation-delay: .3s; }
.inner .form.is-in label:nth-of-type(4), .inner .form.is-in label:nth-of-type(4)::after { transition-delay: .45s; animation-delay: .45s; }
@keyframes fx-line { 0% { transform: scaleX(0); opacity: 1; } 60% { transform: scaleX(1); opacity: 1; } 100% { transform: scaleX(1); opacity: 0; } }
.inner .form .btn--solid { opacity: 0; transform: scale(.85); }
.inner .form.is-in .btn--solid { opacity: 1; transform: none; transition: opacity .4s .7s, transform .6s cubic-bezier(.3,1.5,.5,1) .7s, background .2s, color .2s; animation: fx-rec 1.6s ease-out 1.2s 2; }
@keyframes fx-rec { 0% { box-shadow: 0 0 0 0 rgba(168, 240, 198,.6); } 100% { box-shadow: 0 0 0 22px rgba(168, 240, 198,0); } }
.inner .contact__mail { background: linear-gradient(var(--accent), var(--accent)) left bottom / 0 1px no-repeat; }
.inner .contact__mail.is-in { background-size: 100% 1px; transition: background-size 1s cubic-bezier(.7,0,.2,1) .2s; }

@media (prefers-reduced-motion: reduce) {
  .kinetic .w > span,.inner .slate-row > span,.inner .specs div,.inner .tools li,.inner .rows .row,.inner .form label,.inner .form .btn--solid,.inner .about__frame i { opacity: 1 !important; transform: none !important; }
  .inner .about__frame img { filter: grayscale(1) !important; transform: none !important; }
  .inner .slate-row::before, .inner .specs div::after { transform: none !important; }
}

/* ============================================================
   TRANSIZIONE TRA PAGINE: logo + nome pagina sottolineato col rombo
   ============================================================ */
html.pgt-enter::before {
  content: ""; position: fixed; inset: 0; z-index: 9994; background: #0c0c0c; pointer-events: none;
  transition: transform .6s cubic-bezier(.7,0,.2,1);
}
html.pgt-enter.pgt-reveal::before { transform: translateY(-101%); }
.pgt {
  position: fixed; inset: 0; z-index: 9994; background: #0c0c0c;
  display: grid; place-items: center; align-content: center; gap: 28px;
  transform: translateY(-100%); transition: transform .55s cubic-bezier(.7,0,.2,1);
}
.pgt.in { transform: none; }
.pgt__brand {
  display: flex; align-items: baseline; white-space: nowrap; line-height: 1;
  font-size: clamp(34px, 7vw, 120px); color: #f4f4f1;
}
.pgt__logo {
  font-family: var(--display); font-variation-settings: "wdth" 68; font-weight: 800; text-transform: uppercase;
  letter-spacing: -.01em;
}

.pgt__word {
  position: relative; display: inline-block; padding: 0 .1em .18em; margin-left: .3em;
  font-family: var(--serif); font-style: italic; color: var(--accent); font-size: 1.08em;
}
/* sotto il nome della pagina: la linea si disegna, poi spunta il rombo */
.pgt__line { position: absolute; left: 0; right: 0; bottom: -.02em; width: 100%; height: .22em; overflow: visible; }
.pgt__line path {
  fill: none; stroke: var(--accent); stroke-width: 3; stroke-linecap: round;
  stroke-dasharray: var(--len, 1000); stroke-dashoffset: var(--len, 1000);
}
.pgt.draw .pgt__line path { animation: pgt-draw .7s cubic-bezier(.65,0,.35,1) forwards; }
.pgt__star {
  position: absolute; right: -.38em; top: -.12em; width: .36em; height: .36em; fill: #fff;
  transform: scale(0) rotate(-120deg); opacity: 0;
}
.pgt.draw .pgt__star { animation: pgt-star .6s cubic-bezier(.3,1.6,.5,1) .55s forwards; }
@keyframes pgt-star { to { transform: scale(1) rotate(0); opacity: 1; } }
@keyframes pgt-draw { to { stroke-dashoffset: 0; } }

/* ---------- invito finale piccolo (il preventivo vero è nella pagina Contatti) ---------- */
.cta-mini {
  background: var(--bg); border-top: 1px solid var(--line);
  padding: clamp(36px, 5vw, 56px) var(--pad);
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.cta-mini__text { font-size: clamp(22px, 2.4vw, 32px); font-weight: 600; letter-spacing: -.01em; }
.cta-mini__text em { font-size: 1.1em; }

/* ---------- chi sono in due righe (home) ---------- */
.intro-mini {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: clamp(20px, 3vw, 40px);
  border-top: 1px solid var(--line);
}
.intro-mini__photo {
  width: clamp(72px, 8vw, 104px); height: auto; aspect-ratio: 1; object-fit: cover; object-position: 50% 42%;
  border-radius: 50%; filter: grayscale(1); border: 1px solid var(--accent);
}
.intro-mini__text { font-size: clamp(20px, 2.2vw, 30px); line-height: 1.35; max-width: 900px; color: var(--muted); }
.intro-mini__text strong { color: var(--fg); }
.intro-mini__text em { font-size: 1.08em; }
.intro-mini .more { margin-top: 0; }

/* ---------- servizi in home: 4 card su due colonne ---------- */
.cards--4 { grid-template-columns: repeat(2, 1fr); }
.cards--4 .card { min-height: 380px; }
.split__side { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.split__side .more { justify-self: start; }

/* ---------- pagina Contatti: modulo in primo piano ---------- */
.contact__grid--form { grid-template-columns: 1.4fr .8fr; align-items: start; }
.form--panel {
  background: var(--bg-2); border: 1px solid var(--line); border-radius: 22px;
  padding: clamp(24px, 4vw, 48px); box-shadow: 0 0 0 1px rgba(168, 240, 198,.12), 0 30px 80px -40px rgba(168, 240, 198,.35);
}
.form__title {
  font-family: var(--display); font-variation-settings: "wdth" 68; font-weight: 800; text-transform: uppercase;
  font-size: clamp(32px, 3.4vw, 48px); line-height: .9;
}
.btn--big { width: 100%; justify-content: center; padding: 20px 28px; font-size: 13px; }
.contact__alt .contact__mail { font-size: clamp(18px, 1.8vw, 24px); }

@media (max-width: 1000px) {
  .cards--4 { grid-template-columns: 1fr; }
  .contact__grid--form { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .intro-mini { grid-template-columns: auto 1fr; }
  .intro-mini .more { grid-column: 1 / -1; }
  .cta-mini { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) { .pgt, html.pgt-enter::before { display: none; } }

/* ============================================================
   VERSIONE MINIMAL (2026-10-26)
   ============================================================ */

/* ---------- hero della home ---------- */
.hero--min {
  position: relative; overflow: hidden; min-height: 100svh;
  padding: 120px var(--pad) clamp(56px, 8vh, 96px);
  display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; gap: 0;
}
.hero__glow {
  position: absolute; inset: 0; pointer-events: none; z-index: -1;
  background: radial-gradient(circle 620px at var(--gx, 78%) var(--gy, 22%), rgba(168, 240, 198, .16), transparent 70%);
  transition: background .8s ease-out;
}
.hero__status { display: flex; align-items: center; gap: 10px; color: var(--muted); margin-bottom: 36px; }
.status-dot {
  width: 8px; height: 8px; border-radius: 50%; background: #a8f0c6;
  box-shadow: 0 0 0 0 rgba(168, 240, 198, .6); animation: status-pulse 2.2s ease-out infinite;
}
@keyframes status-pulse { 70% { box-shadow: 0 0 0 10px rgba(168, 240, 198, 0); } 100% { box-shadow: 0 0 0 0 rgba(168, 240, 198, 0); } }
.hero__title {
  font-family: var(--display); font-variation-settings: "wdth" 68; font-weight: 800; text-transform: uppercase;
  font-size: clamp(52px, min(10vw, 15vh), 168px); line-height: .88; letter-spacing: -.01em;
}
.rotator { display: inline-block; overflow: hidden; vertical-align: bottom; padding: 0 .05em .12em 0; margin-bottom: -.12em; }
.rotator__word {
  display: inline-block; font-family: var(--serif); font-style: italic; font-weight: 400; text-transform: none;
  color: var(--accent); font-size: 1.06em; letter-spacing: -.01em;
  transition: transform .45s cubic-bezier(.7,0,.2,1), opacity .45s;
}
.rotator__word.is-out { transform: translateY(-100%); opacity: 0; }
.rotator__word.is-in { transform: translateY(100%); opacity: 0; transition: none; }
.hero__sub { max-width: 560px; margin-top: 32px; color: var(--muted); font-size: clamp(17px, 1.4vw, 20px); line-height: 1.5; }
.hero__actions { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; margin-top: 40px; }
.hero__actions .more { margin-top: 0; }
.hero--min > *:not(.hero__glow) { animation: rise 1s cubic-bezier(.2,.7,.2,1) both; }
.hero--min .hero__title { animation-delay: .1s; }
.hero--min .hero__sub { animation-delay: .25s; }
.hero--min .hero__actions { animation-delay: .4s; }

/* ---------- etichette di sezione semplici ---------- */
.eyebrow {
  display: flex; align-items: center; gap: 14px; margin-bottom: 40px; color: var(--muted);
}
.eyebrow span { color: var(--accent); }
.eyebrow::after { content: ""; flex: 0 0 48px; height: 1px; background: var(--line); }

/* ---------- meno decorazioni ---------- */

.statement { padding-top: clamp(64px, 10vw, 140px); padding-bottom: clamp(64px, 10vw, 140px); }
.section { padding-top: clamp(56px, 8vw, 110px); padding-bottom: clamp(56px, 8vw, 110px); }

@media (max-width: 720px) {
  .hero--min { padding-top: 110px; }
  .hero__title { font-size: clamp(44px, 13vw, 72px); }
}
@media (prefers-reduced-motion: reduce) { .status-dot { animation: none; } }

/* ---------- lavori: telefoni con le schermate del progetto ---------- */
.frame__media--phones { display: flex; align-items: center; justify-content: center; }
.phones { position: relative; width: 100%; height: 100%; }
.phones__shot {
  position: absolute; top: 50%; left: 50%; width: 46%; height: auto;
  border: 5px solid #141312; border-radius: 22px; background: #141312;
  box-shadow: 0 24px 50px -18px rgba(0,0,0,.55);
  transition: transform .8s cubic-bezier(.2,.7,.2,1);
}
.phones__shot--0 { transform: translate(-82%, -50%) rotate(-5deg); z-index: 2; }
.phones__shot--1 { transform: translate(-18%, -46%) rotate(5deg); z-index: 1; }
.frame:hover .phones__shot--0 { transform: translate(-92%, -52%) rotate(-8deg); }
.frame:hover .phones__shot--1 { transform: translate(-8%, -44%) rotate(8deg); }
.frame__media--phones .mono { color: #141312; }
.frame__media--phones .play { color: #fff; background: #141312; padding: 6px 10px; border-radius: 999px; }

/* ---------- pagina Lavori: griglia di tutti i lavori, più compatta ---------- */
.sheet--all { grid-template-columns: repeat(4, 1fr); }
.sheet--all .frame:nth-child(n) { padding-top: 14px; }
.sheet--all .frame__media { aspect-ratio: 4 / 3; }
.sheet--all .frame__empty { font-size: clamp(24px, 2vw, 32px); }
.sheet--all .frame h3 { font-size: 22px; }
@media (max-width: 1000px) { .sheet--all { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 720px) { .sheet--all { grid-template-columns: 1fr 1fr; } .sheet--all .frame__info { flex-direction: column; } }

/* ---------- "App personalizzata": APP grande, personalizzata piccolo ---------- */
.card__small {
  font-family: var(--serif); font-style: italic; font-weight: 400; text-transform: none;
  font-size: .42em; letter-spacing: 0; color: var(--accent); margin-left: .15em; vertical-align: baseline;
  display: inline-block; white-space: nowrap;
}

/* ---------- pagina Servizi: passaggio del mouse morbido, senza striscia viola ---------- */
.row::before { display: none; }
.row { transition: background-color .4s ease; }
.row:hover { background-color: rgba(244, 244, 241, .035); }
.row__link { transition: padding .45s cubic-bezier(.2,.7,.2,1); }
.row:hover .row__link { padding-left: 18px; padding-right: 6px; }
.row .row__link > .mono { transition: color .3s; }
.row:hover .row__link > .mono { color: var(--accent); }
.row .arrow { transition: transform .45s cubic-bezier(.2,.7,.2,1), color .3s; }
.row:hover .arrow { color: var(--accent); transform: translate(4px, -4px); }
.row:hover .row__link > h3, .row.is-target .row__link > h3 { color: var(--fg); transform: none; }
.row:hover .row__link > p, .row.is-target .row__link > p, .row:hover .row__tags .mono { color: var(--muted); }

/* ============================================================
   BRAND Tritto Studio: logo, monogramma, frase animata
   ============================================================ */
.nav__logo { display: inline-flex; align-items: center; }
.nav__logo img { display: block; height: 30px; width: auto; transition: opacity .3s; }
.nav__logo:hover img { opacity: .8; }

.footer { display: flex; flex-direction: column; align-items: center; gap: 28px; padding-top: clamp(40px, 6vw, 72px); }

/* transizione: monogramma + nome pagina */
.pgt__mono { display: block; height: 1.5em; width: auto; margin-right: .25em; align-self: center; }

/* frase della home */
.fx-title { position: relative; }
.fx-title .w > span { filter: blur(8px); opacity: 0; transform: translateY(110%) rotate(6deg); }
.fx-title.is-in .w > span {
  filter: none; opacity: 1; transform: none;
  transition: transform 1s cubic-bezier(.2,.8,.2,1) calc(var(--k) * 110ms),
              filter .9s ease calc(var(--k) * 110ms), opacity .6s ease calc(var(--k) * 110ms);
}
.hl { position: relative; display: inline-block; }
.hl__line {
  position: absolute; left: 0; right: 0; bottom: -.08em; width: 100%; height: .22em; overflow: visible;
}
.hl__line path {
  fill: none; stroke: var(--accent); stroke-width: 3; stroke-linecap: round;
  stroke-dasharray: var(--len, 1000); stroke-dashoffset: var(--len, 1000);
}
.fx-title.is-in .hl__line path { transition: stroke-dashoffset 1s cubic-bezier(.65,0,.35,1) .75s; stroke-dashoffset: 0; }
.hl__star {
  position: absolute; right: -.42em; top: -.18em; width: .36em; height: .36em; fill: #fff;
  transform: scale(0) rotate(-120deg); opacity: 0;
}
.fx-title.is-in .hl__star {
  opacity: 1; transform: scale(1) rotate(0);
  transition: transform .7s cubic-bezier(.3,1.6,.5,1) 1.55s, opacity .2s 1.55s;
  animation: twinkle 2.8s ease-in-out 2.4s infinite;
}
@keyframes twinkle { 0%, 100% { transform: scale(1) rotate(0); } 50% { transform: scale(.7) rotate(45deg); opacity: .75; } }

@media (max-width: 720px) { .nav__logo img { height: 24px; } }
@media (prefers-reduced-motion: reduce) {
  .fx-title .w > span { filter: none; opacity: 1; transform: none; }
  .hl__line path { stroke-dashoffset: 0; }
  .hl__star { opacity: 1; transform: none; animation: none; }
}

/* ---------- hero: più in alto, parola verde più piccola e sulla stessa riga di "CREO" ---------- */
.hero--min { justify-content: center; padding-top: 110px; padding-bottom: 64px; }
.hero__status { margin-bottom: 28px; }
.rotator { white-space: nowrap; vertical-align: baseline; padding-bottom: .08em; margin-bottom: -.08em; }
.rotator__word { font-size: .62em; white-space: nowrap; }
@media (max-width: 720px) {
  .hero--min { min-height: auto; padding-top: 104px; padding-bottom: 56px; justify-content: flex-start; }
  .hero__status { margin-bottom: 22px; font-size: 10px; }
  .hero__sub { margin-top: 24px; }
  .hero__actions { margin-top: 32px; }
}

/* titoli animati: misure della sottolineatura e della stellina adatte a ogni titolo */
.fx-title .hl { position: relative; display: inline-block; }
.cta-mini__text .hl__line { bottom: -.12em; height: .3em; }
.cta-mini__text .hl__star { right: -.55em; top: -.3em; width: .45em; height: .45em; }

/* footer: logo impilato */
.footer__logo { height: 60px; width: auto; }
@media (max-width: 720px) { .footer__logo { height: 48px; } }

/* ============================================================
   MIGLIORIE (2026-10-27)
   ============================================================ */

/* logo in alto: due versioni sovrapposte che si alternano con una dissolvenza */
.nav__logo { position: relative; display: inline-grid; }
.nav__logo img { grid-area: 1 / 1; transition: opacity .9s ease, filter .9s ease; }
.nav__logo-b { opacity: 0; filter: blur(4px); }
.nav__logo.is-alt .nav__logo-a { opacity: 0; filter: blur(4px); }
.nav__logo.is-alt .nav__logo-b { opacity: 1; filter: none; }

/* menu in alto: la voce si ingrandisce appena al passaggio */
.nav__links a { display: inline-block; transition: color .2s, transform .3s cubic-bezier(.2,.7,.2,1); }
.nav__links a:hover { transform: scale(1.08); }

/* cursore: al centro la stellina del brand al posto del pallino */
.cursor__dot {
  width: 9px; height: 9px; border-radius: 0; background: #fff;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M50 0Q56 44 100 50Q56 56 50 100Q44 56 0 50Q44 44 50 0Z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M50 0Q56 44 100 50Q56 56 50 100Q44 56 0 50Q44 44 50 0Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* lavori: riquadro "Il tuo progetto qui", il menta arriva pian piano da sfocato a pieno */
.frame__glow {
  position: absolute; inset: 0; z-index: 0; background: var(--accent); pointer-events: none;
  opacity: 0; filter: blur(40px); transform: scale(.55);
  transition: opacity .9s ease, filter 1s ease, transform 1s cubic-bezier(.2,.7,.2,1);
}
.frame--cta:hover .frame__glow { opacity: 1; filter: blur(0); transform: none; }
.frame--cta .frame__empty, .frame--cta .frame__media .mono { z-index: 1; transition: color .7s ease; }

/* lavori: vignettatura nera sfocata sui progetti */
.frame__vignette {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: radial-gradient(ellipse at center, transparent 50%, rgba(0, 0, 0, .45) 100%);
  box-shadow: inset 0 0 70px 16px rgba(0, 0, 0, .45);
}
.frame__media .mono { z-index: 2; }

/* titoli grandi bianchi: Hiragino Sans W9 (sui dispositivi Apple),
   Noto Sans JP Black come alternativa molto simile altrove */
:root { --title: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", system-ui, sans-serif; }
.hero__title,.title,.statement h2,.page-hero__title,.card__title,.row h3,.clip h3,.frame h3,.form__title,.menu nav a,.frame__empty,.shot__word {
  font-family: var(--title); font-variation-settings: normal; font-weight: 900; letter-spacing: -.02em;
}
/* questo carattere è più largo: misure ridotte di conseguenza */
.hero__title { font-size: clamp(40px, min(7.4vw, 11vh), 124px); line-height: .98; }
.title { font-size: clamp(32px, 5vw, 78px); line-height: 1; }
.statement h2 { font-size: clamp(30px, 4.8vw, 72px); line-height: 1.02; }
.page-hero__title { font-size: clamp(42px, 8.4vw, 140px); line-height: .98; }
.card__title { font-size: clamp(26px, 2.6vw, 42px); line-height: 1; }
.row h3 { font-size: clamp(22px, 2.8vw, 40px); line-height: 1; }
.clip h3 { font-size: clamp(22px, 2.3vw, 36px); line-height: 1; }
.frame h3 { font-size: 22px; line-height: 1; }
.form__title { font-size: clamp(24px, 2.6vw, 36px); line-height: 1; }
.frame__empty { font-size: clamp(26px, 2.6vw, 40px); line-height: 1; }
.sheet--all .frame__empty { font-size: clamp(18px, 1.6vw, 26px); }
.sheet--all .frame h3 { font-size: 17px; }
.shot__word { font-size: clamp(34px, 7vh, 90px); line-height: 1; }
.menu nav a { font-size: clamp(30px, 9vw, 48px); line-height: 1.1; }
@media (max-width: 720px) {
  .hero__title { font-size: clamp(32px, 9.6vw, 52px); }
  .page-hero__title { font-size: clamp(36px, 11vw, 60px); }
}
@media (max-width: 720px) {
  .sheet--all .frame { padding: 10px; min-width: 0; }
  .sheet--all .frame h3 { font-size: 13px; letter-spacing: -.01em; }
  .sheet--all .frame__info .mono { font-size: 9px; }
}

/* ---------- footer (stile Manzato) ---------- */
.footer { align-items: stretch; gap: 40px; padding: clamp(48px, 6vw, 80px) var(--pad) 32px; }
.footer__logo { align-self: center; }
/* testi al centro: il badge di Netlify in basso a destra non li copre */
.footer__bar {
  display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 14px;
  border-top: 1px solid var(--line); padding-top: 28px; text-align: center;
  font-family: var(--display); font-size: 15px; color: var(--muted);
}
.footer__bar .footer__links { display: flex; justify-content: center; gap: 32px; flex-wrap: wrap; font: inherit; letter-spacing: 0; text-transform: none; }
.footer__bar a { color: var(--muted); transition: color .2s; }
.footer__bar a:hover { color: var(--fg); }
@media (max-width: 720px) {
  /* spazio in fondo per scorrere oltre il badge di Netlify */
  .footer { padding-bottom: 104px; }
  .footer__bar { font-size: 14px; }
  .footer__bar .footer__links { gap: 12px 24px; }
}

/* avatar illustrato al posto della foto: a colori, niente filtro bianco e nero */
.avatar { filter: none !important; }
.inner .about__frame img.avatar { filter: blur(16px) brightness(.6) !important; }
.inner .about__frame.is-in img.avatar { filter: none !important; }
.intro-mini__photo.avatar { object-position: 50% 38%; background: #161616; }

/* bagliore della hero fisso (niente animazione) */
.hero__glow { transition: none; background: radial-gradient(circle 620px at 24% 58%, rgba(168, 240, 198, .12), transparent 70%); }

/* ============================================================
   RITOCCHI (2026-10-27, sera)
   ============================================================ */

/* hero: "che funzionano." sempre su una riga */
.hero__line { white-space: nowrap; }
@media (max-width: 720px) {
  .hero__title { font-size: clamp(24px, 7.6vw, 44px); }
}

/* card dei servizi (home), da telefono: testo più piccolo, pillole su una riga, card tutte alte uguali */
@media (max-width: 720px) {
  .cards--4 { grid-auto-rows: 1fr; }
  .cards--4 .card { padding: 24px 20px; gap: 16px; }
  .card__text { font-size: 15px; }
  .card__chips { flex-wrap: nowrap; gap: 6px; }
  .chip { font-size: 9px; letter-spacing: .04em; padding: 6px 9px; white-space: nowrap; }
}

/* "Sono Lorenzo": entrata animata */
.intro-mini .intro-mini__photo { opacity: 0; transform: scale(.5) rotate(-12deg); filter: blur(10px); }
.intro-mini.is-in .intro-mini__photo {
  opacity: 1; transform: none; filter: none;
  transition: transform 1s cubic-bezier(.3,1.4,.5,1), opacity .5s, filter .8s;
}
.intro-mini.is-in .intro-mini__photo { animation: ring-pulse 1.6s ease-out .6s 1; }
@keyframes ring-pulse { 0% { box-shadow: 0 0 0 0 rgba(168, 240, 198, .55); } 100% { box-shadow: 0 0 0 22px rgba(168, 240, 198, 0); } }
.intro-mini__text .w > span { filter: blur(6px); opacity: 0; transform: translateY(110%); }
.intro-mini.is-in .intro-mini__text .w > span {
  filter: none; opacity: 1; transform: none;
  transition: transform .9s cubic-bezier(.2,.8,.2,1) calc(.25s + var(--k) * 45ms), filter .8s ease calc(.25s + var(--k) * 45ms), opacity .5s calc(.25s + var(--k) * 45ms);
}
.intro-mini .more { opacity: 0; transform: translateX(-12px); }
.intro-mini.is-in .more { opacity: 1; transform: none; transition: opacity .6s 1.1s, transform .8s cubic-bezier(.2,.7,.2,1) 1.1s; }

/* progetti in evidenza un po' più piccoli */
[data-works="featured"] .frame__media { aspect-ratio: 1 / 1; }
[data-works="featured"] .frame { padding: 12px; }
[data-works="featured"] .frame:nth-child(3n+2) { padding-top: 40px; }
[data-works="featured"] .frame h3 { font-size: 20px; }
@media (max-width: 720px) {
  [data-works="featured"] .frame:nth-child(n) { padding-top: 12px; }
  [data-works="featured"] .frame__media { aspect-ratio: 5 / 4; }
}

/* pagine interne: meno spazio tra menu e titolo, come in home */
.page-hero { min-height: 0; justify-content: flex-start; padding-top: 140px; padding-bottom: clamp(48px, 6vw, 80px); }
@media (max-width: 720px) { .page-hero { padding-top: 104px; } }

/* servizi, da telefono: descrizioni un filo più piccole */
@media (max-width: 720px) { .row p { font-size: 15px; } }
@media (max-width: 720px) {
  .cards--4 .card { min-height: 0; }
  .card__chips { gap: 5px; }
  .chip { letter-spacing: 0; padding: 5px 7px; }
}
@media (max-width: 720px) {
  .cards--4 .card { padding-left: 16px; padding-right: 16px; }
  .chip { padding: 5px 6px; }
}
@media (max-width: 370px) { .chip { font-size: 8.5px; padding: 5px 5px; } .card__chips { gap: 4px; } }

/* home, telefono: pillole subito sotto la descrizione */
@media (max-width: 720px) { .cards--4 .card__chips { margin-top: 2px; } }

/* pagina Servizi: caratteristiche come pillole arrotondate (come in home) */
.row__tags { gap: 8px; margin-top: 14px; }
.row__tags .chip { font-size: 10px; padding: 7px 12px; letter-spacing: .1em; color: var(--muted); }
.row:hover .row__tags .chip { color: var(--muted); }
@media (max-width: 720px) { .row__tags .chip { font-size: 9px; letter-spacing: .04em; padding: 5px 8px; } }

/* ============================================================
   INTRO: prima apertura del sito (logo → rombo che apre la pagina)
   ============================================================ */
/* copertura immediata, prima ancora che parta lo script: niente lampi */
html.intro::after { content: ""; position: fixed; inset: 0; z-index: 9998; background: #0c0c0c; }
html.intro.intro-open::after { display: none; }
html.intro:not(.intro-open) { overflow: hidden; }
/* le animazioni della pagina aspettano che il sito si apra */
html.intro:not(.intro-open) body > :not(.splash),
html.intro:not(.intro-open) body > :not(.splash) * { animation-play-state: paused !important; }

.splash { position: fixed; inset: 0; z-index: 9999; cursor: pointer; }
.splash__open { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.splash__logo {
  position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none;
  transition: opacity .4s ease, transform .6s cubic-bezier(.7,0,.2,1), filter .4s ease;
}
.splash__logo svg, .splash__logo img { width: min(68vw, 500px); height: auto; overflow: visible; }
.splash.out .splash__logo { opacity: 0; transform: scale(.88); filter: blur(8px); }

/* studio scontornato: il contorno si disegna (lettere e stelline le muove script.js) */
.splash__logo .d path { stroke-dasharray: var(--len, 4000); stroke-dashoffset: var(--len, 4000); }
.splash.go .splash__logo .d path { stroke-dashoffset: 0; transition: stroke-dashoffset 1.5s cubic-bezier(.65,0,.35,1) .5s; }
/* se il logo arriva come immagine semplice: compare e basta */
.splash__logo img { opacity: 0; transform: scale(.94); transition: opacity .6s, transform .9s cubic-bezier(.2,.8,.2,1); }
.splash.go .splash__logo img { opacity: 1; transform: none; }

/* ============================================================
   SERVIZI: PACCHETTI CON PREZZI
   ============================================================ */
.packs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; align-items: stretch; }
.pack {
  position: relative; display: grid; grid-template-rows: subgrid; grid-row: span 6; row-gap: 0; /* righe allineate tra le card */
  padding: 28px 24px 24px; border: 1px solid var(--line); border-radius: 22px; background: var(--bg-2);
  transition: border-color .3s, transform .4s cubic-bezier(.2,.7,.2,1);
}
.pack:hover { border-color: rgba(168, 240, 198, .45); transform: translateY(-4px); }
.pack--main { border-color: var(--accent); background: linear-gradient(180deg, rgba(168,240,198,.08), var(--bg-2) 60%); }
.pack__badge {
  position: absolute; top: -12px; right: 20px; font-size: 10px; letter-spacing: .12em; text-transform: uppercase;
  background: var(--accent); color: var(--accent-ink); padding: 6px 12px; border-radius: 999px;
}
.pack__tag { font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.pack__name { align-self: end; font-family: var(--title); font-weight: 900; font-size: clamp(26px, 2.3vw, 34px); letter-spacing: -.03em; line-height: 1; margin-top: 14px; }
.pack__for { color: var(--muted); font-size: 15px; line-height: 1.45; margin-top: 10px; }
.pack__price { align-self: start; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); }
.pack__price .mono { flex-basis: 100%; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.pack__price b { font-family: var(--title); font-weight: 900; font-size: clamp(34px, 3.2vw, 46px); letter-spacing: -.04em; line-height: 1; color: var(--accent); }
.pack__price small { color: var(--muted); font-size: 15px; }
.pack__list { list-style: none; margin: 22px 0 26px; display: grid; gap: 10px; align-content: start; }
.pack__list li { position: relative; padding-left: 22px; font-size: 15px; line-height: 1.4; }
.pack__list li::before {
  content: ""; position: absolute; left: 0; top: .32em; width: 11px; height: 11px; background: var(--accent);
  clip-path: path("M5.5 0Q6.2 4.8 11 5.5Q6.2 6.2 5.5 11Q4.8 6.2 0 5.5Q4.8 4.8 5.5 0Z"); /* il rombo */
}
.pack__cta { align-self: end; justify-content: center; text-align: center; }


@media (max-width: 1100px) { .packs { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 720px) {
  .packs { grid-template-columns: 1fr; gap: 14px; }
  .pack { padding: 24px 18px 20px; }
}

/* entrata dei pacchetti (pagine interne) */
.inner .pack { opacity: 0; transform: translateY(40px); }
.inner .pack.is-in { opacity: 1; transform: none; transition: opacity .7s ease calc(var(--k, 0) * 120ms), transform .9s cubic-bezier(.2,.7,.2,1) calc(var(--k, 0) * 120ms), border-color .3s; }
.inner .pack.is-in:hover { transform: translateY(-4px); transition-delay: 0s; }
@media (prefers-reduced-motion: reduce) { .inner .pack { opacity: 1; transform: none; } }

/* ============================================================
   CONTATTI: pacchetto o servizio singolo
   ============================================================ */
.choice { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; width: 100%; }
.choice__title { grid-column: 1 / -1; }
.form .choice__opt {
  position: relative; display: flex; flex-direction: column; gap: 4px; cursor: pointer;
  padding: 16px 16px 14px 44px; border: 1px solid var(--line); border-radius: 14px; background: var(--bg);
  transition: border-color .25s, background-color .25s;
}
.form .choice__opt:hover { border-color: rgba(168, 240, 198, .45); }
.form .choice__opt input {
  position: absolute; left: 16px; top: 18px; width: 16px; height: 16px; margin: 0; padding: 0;
  appearance: none; border: 1px solid var(--muted); border-radius: 50%; cursor: pointer;
}
.form .choice__opt input:checked { border-color: var(--accent); background: radial-gradient(circle, var(--accent) 0 4px, transparent 5px); }
.form .choice__opt:has(input:checked) { border-color: var(--accent); background: rgba(168, 240, 198, .06); }
.form .choice__opt input:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.choice__opt b { font-weight: 600; font-size: 16px; }
.choice__opt small { color: var(--muted); font-size: 13px; line-height: 1.35; }
.choice__badge {
  position: absolute; top: -9px; right: 12px; font-style: normal; font-size: 9px; letter-spacing: .12em; text-transform: uppercase;
  background: var(--accent); color: var(--accent-ink); padding: 4px 8px; border-radius: 999px;
}
.inner .form .choice__opt::after { display: none; }
.form .need[hidden] { display: none; }
.form .need select {
  width: 100%; padding-right: 28px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23a8f0c6' stroke-width='1.5'/%3E%3C/svg%3E") right 4px center / 12px 8px no-repeat;
}
@media (max-width: 520px) {
  .choice { grid-template-columns: 1fr; }
  .form .need select { font-size: 16px; }
}

/* servizi singoli: più piccoli dei pacchetti, ma con il loro pulsante */
.singles { margin-top: 40px; }
.singles__head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px 24px; flex-wrap: wrap; margin-bottom: 14px; }
.singles__title { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.singles__note { color: var(--muted); font-size: 14px; }
.singles__list { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.single {
  display: grid; grid-template-rows: auto 1fr auto auto; gap: 6px;
  padding: 18px 18px 16px; border: 1px dashed var(--line); border-radius: 16px;
  transition: border-color .25s, background-color .25s;
}
.single:hover { border-color: rgba(168, 240, 198, .45); border-style: solid; background: var(--bg-2); }
.single h4 { font-size: 16px; font-weight: 600; }
.single p { color: var(--muted); font-size: 13px; line-height: 1.4; }
.single b { margin-top: 8px; font-size: 20px; font-weight: 600; letter-spacing: -.01em; }
.single b small { color: var(--muted); font-size: 13px; font-weight: 400; }
.single__cta { justify-self: start; margin-top: 6px; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid var(--line); padding-bottom: 2px; }
.single__cta:hover, .single:hover .single__cta { color: var(--accent); border-color: var(--accent); }
@media (max-width: 1100px) { .singles__list { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) {
  .singles__list { grid-template-columns: 1fr 1fr; gap: 8px; }
  .single { padding: 14px 12px 12px; }
  .single b { font-size: 17px; }
}
#form { scroll-margin-top: 96px; } /* arrivando da "Richiedi preventivo" il modulo resta sotto il menu */
.specs dd a { color: var(--accent); border-bottom: 1px solid currentColor; }
/* pacchetti: prezzo pieno barrato + risparmio */
.pack__was { color: var(--muted); font-size: 15px; text-decoration-thickness: 1px; }
.pack__save { flex-basis: 100%; margin-top: 6px; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
/* video: listino del long form dentro la card */
.single--video { grid-template-rows: auto auto auto 1fr auto; }
.single__rates { list-style: none; margin-top: 10px; padding-top: 10px; border-top: 1px dashed var(--line); display: grid; gap: 4px; align-content: start; }
.single__rates li { display: flex; justify-content: space-between; gap: 8px; font-size: 13px; color: var(--muted); }
.single__rates li span:last-child { color: var(--fg); font-weight: 600; }
.single__rates-title { font-size: 9.5px !important; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 2px; }
.single__rates-note { font-size: 11.5px !important; margin-top: 4px; }
/* footer: nota sui contenuti generati con IA */
.footer__note { color: inherit; }
