/* v2 — layout "designer's flex": nero profondo, rosso acceso, card scure */

:root {
  --bg: #0B0B0C;
  --surface: #141416;
  --surface-2: #1B1B1E;
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .14);
  --text: #F5F5F4;
  --muted: #9A9A9F;
  --red: #E8192C;
  --red-deep: #B80F1F;
  --radius: 20px;
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1180px;
  --f-display: "Inter Tight", system-ui, sans-serif;
  --f-head: "Space Grotesk", system-ui, sans-serif;
  --f-body: "Inter", system-ui, sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.6 var(--f-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body::before { /* bagliore rosso di fondo */
  content: "";
  position: fixed; inset: 0;
  pointer-events: none; z-index: -1;
  background:
    radial-gradient(60vw 40vw at 50% -10%, rgba(232, 25, 44, .16), transparent 70%),
    radial-gradient(40vw 30vw at 100% 100%, rgba(232, 25, 44, .06), transparent 70%);
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
.red { color: var(--red); }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 8px; }

/* ---------- bottoni ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .8em 1.4em;
  border-radius: 999px;
  font: 600 15px/1 var(--f-body);
  border: 1px solid transparent;
  transition: transform .3s var(--ease), background .3s, box-shadow .3s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn--sm { padding: .62em 1.1em; font-size: 13px; }
.btn--red { background: var(--red); color: #fff; box-shadow: 0 8px 30px -8px rgba(232, 25, 44, .7); }
.btn--red:hover { background: #ff2438; }
.btn--white { background: #fff; color: var(--red-deep); }
.btn--ghost { border-color: rgba(255, 255, 255, .5); color: #fff; }

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 14px; left: 50%; z-index: 50;
  transform: translateX(-50%);
  display: flex; align-items: center; gap: 28px;
  padding: 6px 6px 6px 8px;
  background: rgba(20, 20, 22, .72);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border: 1px solid var(--line);
  border-radius: 999px;
  width: min(560px, calc(100% - 32px));
  justify-content: space-between;
}
.nav__id { display: flex; align-items: center; gap: 10px; font: 600 14px var(--f-head); padding-right: 6px; }
.nav__id img { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; object-position: top; background: var(--red); }
.nav__links { display: flex; align-items: center; gap: 22px; font-size: 14px; color: #d8d8da; }
.nav__links > a:not(.btn):hover { color: #fff; }
.nav__burger { display: none; width: 38px; height: 38px; border: 0; border-radius: 50%; background: var(--surface-2); cursor: pointer; position: relative; }
.nav__burger span { position: absolute; left: 12px; right: 12px; height: 2px; background: #fff; border-radius: 2px; transition: transform .3s var(--ease), top .3s; }
.nav__burger span:first-child { top: 15px; }
.nav__burger span:last-child { top: 21px; }
.nav.is-open .nav__burger span:first-child { top: 18px; transform: rotate(45deg); }
.nav.is-open .nav__burger span:last-child { top: 18px; transform: rotate(-45deg); }
.nav__drop {
  position: absolute; top: calc(100% + 8px); left: 0; right: 0;
  display: grid; gap: 4px; padding: 10px;
  background: rgba(20, 20, 22, .95); border: 1px solid var(--line); border-radius: 22px;
  opacity: 0; transform: translateY(-8px); pointer-events: none;
  transition: opacity .3s, transform .3s var(--ease);
}
.nav__drop a:not(.btn) { padding: 10px 12px; border-radius: 12px; font-weight: 500; }
.nav__drop a:not(.btn):hover { background: var(--surface-2); }
.nav.is-open .nav__drop { opacity: 1; transform: none; pointer-events: auto; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  padding: 110px var(--gutter) 28px;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: 1fr auto auto;
  max-width: 1440px; margin: 0 auto;
  overflow: hidden;
  /* alone rosso dietro titolo e Memoji (sta sotto il testo, non lo colora) */
  background: radial-gradient(closest-side, rgba(232, 25, 44, .28), transparent) center 55% / min(60vw, 760px) min(60vw, 760px) no-repeat;
}
.hero__title {
  grid-column: 1 / -1;
  margin: 0; align-self: center;
  font: 900 min(15vw, 210px)/.84 var(--f-display);
  letter-spacing: -.045em;
  text-align: center;
  display: flex; flex-direction: column; align-items: flex-start;
  justify-self: center;
  position: relative;
}
.hero__l1, .hero__l2 { white-space: nowrap; }
.hero__l1 { color: #fff; line-height: .78; }
.hero__l1, .hero__l2 { display: block; position: relative; }
.hero__l1 { z-index: 1; }
.hero__l2 { z-index: 3; }
.hero__l2 { color: var(--red); font-size: .74em; }
.hero__title .ch { display: inline-block; transform: translateY(105%); opacity: 0; transition: transform .9s var(--ease), opacity .9s; }
.hero__title .word { display: inline-block; overflow: hidden; padding-bottom: .04em; }
.is-loaded .hero__title .ch { transform: none; opacity: 1; }

.hero__avatar {
  position: absolute; z-index: 2;
  left: 50%; top: 54%;
  width: min(46vw, 600px); aspect-ratio: 640 / 558;
  padding: 0; border: 0; background: none; cursor: pointer;
  transform: translate(-50%, -40%) scale(.6) rotate(-8deg);
  opacity: 0;
  transition: transform 1.1s cubic-bezier(.34, 1.56, .64, 1) .45s, opacity .6s .45s;
  -webkit-tap-highlight-color: transparent;
}
.is-loaded .hero__avatar { transform: translate(-50%, -50%) scale(1); opacity: 1; }
.hero__avatar img {
  width: 100%; height: 100%; object-fit: contain;
  /* solo il bordo inferiore sfuma, per non mostrare il taglio */
  -webkit-mask-image: linear-gradient(#000 96%, transparent 100%);
          mask-image: linear-gradient(#000 96%, transparent 100%);
  transition: scale .5s cubic-bezier(.34, 1.56, .64, 1);
  pointer-events: none;
}
.hero__avatar:hover img { scale: 1.04; }
.hero__track { position: absolute; inset: 0; width: 100%; height: 100%; display: none; pointer-events: none;
  -webkit-mask-image: linear-gradient(#000 96%, transparent 100%); mask-image: linear-gradient(#000 96%, transparent 100%); }
.hero__avatar.is-tracking img { visibility: hidden; }
.hero__avatar.is-tracking .hero__track { display: block; }
.hero__avatar.is-pop img { animation: memo-pop .6s cubic-bezier(.34, 1.56, .64, 1); }
@keyframes memo-pop { 40% { scale: .92; } 100% { scale: 1; } }
.hero__avatar.is-floating { animation: memo-float 5s ease-in-out infinite; transform-origin: 50% 100%; }
@keyframes memo-float {
  0%, 100% { translate: 0 0; rotate: 0deg; }
  50% { rotate: 1deg; }
}

/* memoji sparse nel sito */
.peek { width: 84px; height: auto; margin: 0 0 -6px -6px; filter: drop-shadow(0 12px 20px rgba(0, 0, 0, .5)); transition: transform .5s cubic-bezier(.34, 1.56, .64, 1); }
.services__left:hover .peek { transform: rotate(-6deg) scale(1.06); }
.inline-memo { display: inline-block; width: .8em; height: auto; vertical-align: -.12em; transform-origin: bottom center; }
.is-in .inline-memo { animation: memo-wiggle 1s cubic-bezier(.34, 1.56, .64, 1) .5s both; }
@keyframes memo-wiggle { 0% { transform: scale(0) rotate(-30deg); } 60% { transform: scale(1.15) rotate(8deg); } 100% { transform: none; } }
.cta-card__memo { width: 84px; height: auto; margin: -70px 0 0 -6px; filter: drop-shadow(0 12px 18px rgba(0, 0, 0, .35)); }
.speak__memo { width: 34px; height: auto; margin-left: -12px; }

.hero__sub {
  grid-column: 1; grid-row: 2;
  max-width: 260px; margin: 0; z-index: 3;
  font: 500 15px/1.45 var(--f-body); color: #d9d9db;
}
.hero__cta { grid-column: 2; grid-row: 2; align-self: end; z-index: 3; }
.hero__proof { display: flex; align-items: center; gap: 12px; }
.hero > .hero__proof { grid-column: 1 / -1; grid-row: 3; margin-top: 34px; z-index: 3; }
.faces { display: flex; }
.faces img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; border: 2px solid var(--bg); margin-left: -9px; }
.faces img:first-child { margin-left: 0; }
.stars { display: block; color: #FFB400; font-size: 12px; letter-spacing: 1px; line-height: 1.2; }
.hero__proof-txt { font-size: 13px; color: #d9d9db; }

.marquee {
  grid-column: 1 / -1; grid-row: 4;
  margin-top: 22px; overflow: hidden; z-index: 3;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee__track { display: flex; gap: 56px; width: max-content; animation: marquee 32s linear infinite; }
.marquee span { font: 700 17px var(--f-head); color: #77777c; letter-spacing: -.01em; text-transform: uppercase; white-space: nowrap; }
@keyframes marquee { to { transform: translateX(calc(-50% - 28px)); } }

/* ---------- sezioni ---------- */
.section { max-width: var(--max); margin: 0 auto; padding: clamp(80px, 12vw, 140px) var(--gutter) 0; }
.h2 { font: 700 clamp(34px, 5vw, 56px)/1.05 var(--f-head); letter-spacing: -.03em; margin: 0 0 36px; }
.h3 { font: 700 20px var(--f-head); margin: 40px 0 14px; }

.reveal { opacity: 0; transform: translateY(40px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- progetti ---------- */
.projects { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.project { display: block; }
.project:nth-child(even) { transition-delay: .12s; }
.project__media {
  position: relative; aspect-ratio: 16 / 11;
  border-radius: var(--radius); overflow: hidden;
  background: var(--surface); border: 1px solid var(--line);
}
.project__media img, .project__media video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform .8s var(--ease), opacity .5s;
}
.project__media video { opacity: 0; }
.project:hover .project__media img { transform: scale(1.05); }
.project:hover .project__media video.is-playing { opacity: 1; }
.project__meta { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding: 14px 4px 0; }
.project__meta h3 { margin: 0; font: 700 18px var(--f-head); }
.project__meta p { margin: 2px 0 0; font-size: 13px; color: var(--muted); }
.project__go { font-size: 12px; color: var(--muted); white-space: nowrap; padding-top: 4px; transition: color .3s; }
.project__go i, .link-more i { font-style: normal; color: var(--red); }
.project:hover .project__go { color: #fff; }
.link-more { display: table; margin: 38px auto 0; font-size: 14px; color: #d9d9db; }
.link-more:hover { color: #fff; }

.quote { margin: 90px auto 0; max-width: 680px; text-align: center; }
.quote blockquote { margin: 0; font: 500 clamp(18px, 2.2vw, 24px)/1.45 var(--f-head); letter-spacing: -.01em; }
.quote figcaption { display: inline-flex; align-items: center; gap: 10px; margin-top: 20px; text-align: left; }
.quote figcaption img, .review figcaption img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; }
.quote b, .review b { display: block; font-size: 14px; }
.quote small, .review small { display: block; font-size: 12px; color: var(--muted); }

/* ---------- cinematico ---------- */
.cine__sub { margin: -20px 0 32px; color: var(--muted); max-width: 520px; }
.cine__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.cine__item { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; background: var(--surface); border: 1px solid var(--line); }
.cine__item--big { grid-column: 1 / -1; }
.cine__item video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform 1.2s var(--ease); }
.cine__item:hover video { transform: scale(1.03); }
@media (max-width: 700px) { .cine__grid { grid-template-columns: 1fr; } }

/* ---------- servizi ---------- */
.services { display: grid; grid-template-columns: 1fr 1.05fr; gap: 48px; align-items: center; }
.tools__label { color: var(--muted); font-size: 14px; margin: 0 0 12px; }
.tools { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.tools li {
  width: 48px; height: 48px; display: grid; place-items: center;
  border-radius: 14px; background: var(--surface); border: 1px solid var(--line-2);
  font: 700 15px var(--f-head); color: #e8e8ea;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
  transition: transform .3s var(--ease), border-color .3s;
}
.tools li:hover { transform: translateY(-4px) scale(1.06); }
.tools svg { width: 20px; height: 20px; color: #D97757; }
.tools li:has(img) { background: none; border: 0; box-shadow: none; }
.tools img { width: 100%; height: 100%; object-fit: contain; border-radius: 12px; }
.tools li.tools__ai { background: #330000; border: 0; color: #FF9A00; font: 700 25px var(--f-display); letter-spacing: -.02em; border-radius: 11px; width: 46px; height: 46px; margin: 1px; }

.svc { list-style: none; margin: 0; padding: 0; position: relative; }
.svc__card {
  position: relative;
  padding: 22px 24px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line-2);
  margin-top: -14px;
  cursor: pointer;
  transition: background .45s var(--ease), transform .45s var(--ease), box-shadow .45s, border-color .45s;
  box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .8);
}
.svc__card:first-child { margin-top: 0; }
.svc__card:nth-child(odd) { transform: rotate(-1.2deg); }
.svc__card:nth-child(even) { transform: rotate(1deg) translateX(14px); }
.svc__card h3 { margin: 0 0 6px; font: 700 18px var(--f-head); display: flex; align-items: center; gap: 10px; }
.svc__ico { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 8px; background: rgba(232, 25, 44, .14); color: var(--red); font-size: 12px; transition: background .45s, color .45s; }
.svc__card p { margin: 0; font-size: 14px; line-height: 1.5; color: #b9b9bd; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .5s var(--ease), opacity .4s, margin .4s; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .5s var(--ease), opacity .4s, margin .4s; }
.chips span { font-size: 12px; padding: 5px 11px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .35); }
.svc__card.is-active {
  z-index: 2;
  background: linear-gradient(160deg, #ff2b3e, var(--red) 45%, var(--red-deep));
  border-color: rgba(255, 255, 255, .2);
  box-shadow: 0 30px 60px -20px rgba(232, 25, 44, .55);
  transform: rotate(0) scale(1.04);
}
.svc__card.is-active p { max-height: 120px; opacity: 1; margin-top: 8px; color: #fff; }
.svc__card.is-active .chips { max-height: 90px; opacity: 1; margin-top: 16px; }
.svc__card.is-active .svc__ico { background: rgba(255, 255, 255, .2); color: #fff; }

/* ---------- chi sono ---------- */
.about__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: start; }
.about__photo {
  position: relative; border-radius: var(--radius); overflow: hidden;
  background: var(--surface);
  aspect-ratio: 4 / 4.4;
}
.about__photo img {
  width: 100%; height: 100%; object-fit: cover;
}
.about__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 60%, rgba(0, 0, 0, .45)); }
.about__socials { position: absolute; right: 14px; bottom: 14px; z-index: 1; display: flex; gap: 8px; }
.about__socials a { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; background: rgba(0, 0, 0, .45); backdrop-filter: blur(8px); }
.about__socials svg { width: 17px; height: 17px; }
.about__name { margin: 18px 0 2px; font: 700 22px var(--f-head); }
.about__role { margin: 0; color: var(--muted); font-size: 15px; }
.about__text > p { margin: 0 0 18px; color: #cfcfd2; font-size: 16px; }
.about__text .signature { font: 400 64px/1 "Mrs Saint Delafield", cursive; color: var(--red) !important; margin: 4px 0 0 !important; transform: rotate(-6deg); transform-origin: left; }
.history { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.history li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 18px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.history b { display: block; font: 600 15px var(--f-head); }
.history small { color: var(--muted); font-size: 12px; }
.history span { font-size: 12px; color: var(--muted); white-space: nowrap; }
.history li span { color: #fff; display: inline-flex; align-items: center; gap: 6px; }
.history li span::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--red); box-shadow: 0 0 10px var(--red); }

/* ---------- recensioni ---------- */
.reviews__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 36px; }
.reviews__head .h2 { margin: 0; }
.reviews {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(280px, 1fr);
  gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding-bottom: 8px; cursor: grab; scrollbar-width: none;
}
.reviews::-webkit-scrollbar { display: none; }
.review {
  margin: 0; scroll-snap-align: start;
  display: flex; flex-direction: column; gap: 14px;
  padding: 24px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line);
  transition: border-color .3s, transform .4s var(--ease);
}
.review:hover { border-color: rgba(232, 25, 44, .5); transform: translateY(-4px); }
.review figcaption { display: flex; align-items: center; gap: 10px; }

/* ---------- faq ---------- */
.faq { display: grid; grid-template-columns: 1.35fr 1fr; gap: 32px; align-items: start; }
.faq details { border-radius: 16px; background: var(--surface); border: 1px solid var(--line); margin-bottom: 10px; transition: border-color .3s; }
.faq details[open] { border-color: var(--line-2); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; gap: 14px;
  padding: 18px 20px; font: 600 15px var(--f-head);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary span { font-size: 12px; color: var(--muted); }
.faq summary::after { content: "+"; margin-left: auto; font-size: 20px; line-height: 1; color: var(--muted); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); color: var(--red); }
.faq details p { margin: 0; padding: 0 20px 20px 50px; color: #b9b9bd; font-size: 14px; }
.cta-card {
  position: sticky; top: 100px;
  padding: 28px; border-radius: 24px;
  background: linear-gradient(160deg, #ff2b3e, var(--red) 45%, var(--red-deep));
  box-shadow: 0 30px 70px -25px rgba(232, 25, 44, .6);
  transform: rotate(1.5deg);
}
.cta-card h3 { font: 700 24px/1.2 var(--f-head); margin: 18px 0 12px; letter-spacing: -.02em; }
.cta-card p { margin: 0 0 22px; font-size: 14px; color: rgba(255, 255, 255, .9); }
.cta-card__btns { display: flex; gap: 10px; flex-wrap: wrap; }

/* ---------- footer ---------- */
.footer { max-width: var(--max); margin: clamp(90px, 14vw, 160px) auto 0; padding: 0 var(--gutter); overflow: hidden; }
.footer__title { font: 700 clamp(32px, 5vw, 54px)/1.08 var(--f-head); letter-spacing: -.03em; margin: 0 0 48px; }
.footer__row { display: flex; flex-wrap: wrap; gap: 24px 64px; padding-bottom: 28px; border-bottom: 1px solid var(--line-2); }
.footer small { display: block; font-size: 12px; color: var(--muted); margin-bottom: 4px; }
.footer__row a, .footer__row span { font-weight: 500; font-size: 15px; }
.footer__row a:hover { color: var(--red); }
.footer__bottom { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; padding-top: 24px; }
.footer__bottom nav { display: flex; gap: 22px; font-weight: 500; font-size: 15px; }
.footer__bottom nav a:hover { color: var(--red); }
.footer__legal { margin: 0; font-size: 12px; color: var(--muted); }
.footer__legal a { text-decoration: underline; }
.footer__giant {
  margin: 40px 0 -0.24em; white-space: nowrap; text-align: center;
  font: 900 min(12.2vw, 136px)/1 var(--f-display);
  letter-spacing: -.05em; color: var(--red);
  text-shadow: 0 0 60px rgba(232, 25, 44, .35);
  user-select: none;
}

/* ---------- form contatti ---------- */
.lead { margin: 0 0 56px; padding: clamp(20px, 3vw, 32px); border-radius: 24px; background: var(--surface); border: 1px solid var(--line-2); scroll-margin-top: 90px; transition: border-color .4s, box-shadow .4s; }
.lead.is-focus { border-color: var(--red); box-shadow: 0 0 0 4px rgba(232, 25, 44, .18); }
.lead__hp { position: absolute; left: -9999px; }
.lead__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.lead__f { display: grid; gap: 6px; font-size: 13px; color: var(--muted); }
.lead__f--full { grid-column: 1 / -1; }
.lead__f input, .lead__f select, .lead__f textarea {
  width: 100%; padding: 13px 14px; border-radius: 12px;
  background: var(--bg); border: 1px solid var(--line-2); color: var(--text);
  font: 400 15px var(--f-body); outline: none; transition: border-color .25s;
}
.lead__f textarea { resize: vertical; min-height: 110px; }
.lead__f select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, #999 50%), linear-gradient(135deg, #999 50%, transparent 50%); background-position: calc(100% - 20px) 55%, calc(100% - 15px) 55%; background-size: 5px 5px; background-repeat: no-repeat; }
.lead__f input:focus, .lead__f select:focus, .lead__f textarea:focus { border-color: var(--red); }
.lead__f input::placeholder, .lead__f textarea::placeholder { color: #66666b; }
.lead__foot { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 18px; }
.lead__foot .btn:disabled { opacity: .6; transform: none; }
.lead__status { margin: 0; font-size: 14px; color: var(--muted); }
.lead__status.is-ok { color: #4ade80; }
.lead__status.is-err { color: #ff6b78; }
@media (max-width: 860px) { .lead__grid { grid-template-columns: 1fr; } }

/* ---------- pillola flottante ---------- */
.speak {
  position: fixed; bottom: 18px; left: 50%; z-index: 40;
  transform: translate(-50%, 140%);
  display: flex; align-items: center; gap: 8px;
  padding: 6px 6px 6px 18px;
  background: rgba(20, 20, 22, .82);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--line-2); border-radius: 999px;
  box-shadow: 0 18px 40px -12px rgba(0, 0, 0, .8);
  transition: transform .6s var(--ease);
}
.speak.is-visible { transform: translate(-50%, 0); }
.speak__txt { line-height: 1.2; margin-right: 6px; white-space: nowrap; }
.speak__txt b { display: block; font-size: 13px; }
.speak__txt small { font-size: 11px; color: var(--muted); }
.speak__btn { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: var(--surface-2); transition: transform .3s var(--ease); }
.speak__btn:hover { transform: scale(1.08); }
.speak__btn--red { background: var(--red); }
.speak__btn svg { width: 17px; height: 17px; }

/* ---------- responsive ---------- */
@media (max-width: 860px) {
  .nav__links { display: none; }
  .nav__burger { display: block; }
  .hero { grid-template-columns: 1fr; padding-top: 96px; background-position: center 30%; background-size: 90vw 90vw; }
  .hero__title { font-size: 21vw; align-self: start; margin-top: 16vh; }
  .hero__l2 { font-size: .62em; }
  .hero__avatar { width: 68vw; top: 36%; }
  .footer__giant { font-size: 10.8vw; }
  .hero__sub { grid-row: 2; margin-top: 18px; }
  .hero__cta { grid-column: 1; grid-row: 3; justify-self: start; margin-top: 16px; }
  .hero > .hero__proof { grid-row: 4; margin-top: 26px; }
  .marquee { grid-row: 5; }
  .projects { grid-template-columns: 1fr; }
  .services, .about__grid, .faq { grid-template-columns: 1fr; }
  .svc__card:nth-child(even) { transform: rotate(.8deg) translateX(6px); }
  .cta-card { position: static; transform: none; }
  .faq details p { padding-left: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal, .hero__title .ch { opacity: 1 !important; transform: none !important; }
  .hero__avatar { opacity: 1 !important; transform: translate(-50%, -50%) !important; }
}

/* ---------- preloader ---------- */
.is-preloading { overflow: hidden; }
.pre {
  position: fixed; inset: 0; z-index: 100;
  background: #F4F3EF; color: #0B0B0C;
  display: grid; place-items: center;
  transition: transform 1s cubic-bezier(.77, 0, .18, 1), border-radius 1s cubic-bezier(.77, 0, .18, 1);
}
.pre.is-done { transform: translateY(-100%); border-radius: 0 0 50% 50% / 0 0 12vh 12vh; }
.pre__stage { position: relative; height: min(46vh, 400px); aspect-ratio: 480 / 762; display: grid; place-items: center; }
.pre__char, .pre__video { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.pre__name { position: absolute; left: var(--gutter); bottom: 28px; margin: 0; font: 800 clamp(22px, 3vw, 34px)/1 var(--f-display); letter-spacing: -.03em; }
.pre__name small { display: block; margin-top: 6px; font: 500 12px var(--f-body); letter-spacing: 0; color: #6b6b70; }
.pre__count {
  position: absolute; right: var(--gutter); bottom: 4px; margin: 0;
  font: 300 clamp(90px, 16vw, 220px)/.85 var(--f-display); letter-spacing: -.06em;
  font-variant-numeric: tabular-nums;
}
.pre__count sup { font-size: .2em; font-weight: 500; vertical-align: top; margin-left: .05em; color: var(--red); }
@media (max-width: 860px) { .pre__name { bottom: auto; top: 28px; } }
@media (prefers-reduced-motion: reduce) { .pre { display: none; } }
