@font-face {
  font-family: "Archivo";
  src: url("/assets/fonts/archivo-var-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "Space Mono";
  src: url("/assets/fonts/spacemono-latin.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

:root {
  --ink: #0c0b0f;
  --paper: #f3eee5;
  --paper-2: #e8e0d4;
  --violet: #4a1bb4;
  --lilac: #bba5ff;
  --orange: #ff6b19;
  --yellow: #ffc90b;
  --white: #fffdf8;
  --line: rgba(12, 11, 15, 0.18);
  --section-line: rgba(12, 11, 15, 0.30);
  --pad: clamp(22px, 4vw, 68px);
  --header-h: clamp(76px, 4.6vw, 94px);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: "Archivo", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.45;
}

body::selection { color: var(--white); background: var(--violet); }

a { color: inherit; text-decoration: none; }

img { max-width: 100%; }

:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 4px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 200;
  top: 12px;
  left: 12px;
  padding: 11px 16px;
  color: var(--white);
  background: var(--ink);
  border-radius: 999px;
  transform: translateY(-180%);
  transition: transform .2s ease;
}

.skip-link:focus { transform: translateY(0); }

button, input { font: inherit; }

.progress {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: 3px;
  pointer-events: none;
}

.progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
}

.site-header {
  position: absolute;
  z-index: 20;
  top: 0;
  left: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: 100%;
  height: var(--header-h);
  padding: 0 var(--pad);
  color: var(--white);
  transition: background .25s ease, color .25s ease, transform .25s ease;
}

.site-header.is-fixed {
  position: fixed;
  color: var(--ink);
  background: rgba(243, 238, 229, .94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  width: max-content;
  font-size: 1.2rem;
  font-weight: 900;
  letter-spacing: -.07em;
}

.brand--logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: clamp(112px, 7vw, 138px);
  height: clamp(44px, 2.8vw, 52px);
  padding: 8px 12px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--white);
}

.brand--logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  mix-blend-mode: normal;
}

.brand--logo picture { display: block; width: 100%; height: 100%; }
.manifesto__brand { display: block; }

.site-footer .brand--footer { width: 165px; height: 60px; background: var(--violet); }

.site-header nav { display: flex; gap: clamp(18px, 2vw, 34px); }

.site-header nav a {
  position: relative;
  font-size: clamp(.8rem, .55vw, .95rem);
  font-weight: 680;
  letter-spacing: .025em;
}

.site-header nav a::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 2px;
  content: "";
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .2s ease;
}

.site-header nav a:hover::after,
.site-header nav a[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

.site-header > .button { min-height: clamp(44px, 2.5vw, 48px); padding-inline: clamp(19px, 1.35vw, 25px); justify-self: end; font-size: clamp(.78rem, .52vw, .88rem); }

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 12px;
  border: 0;
  border-radius: 50%;
  color: var(--ink);
  background: var(--white);
  cursor: pointer;
}

.menu-toggle > span:not(.sr-only) {
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  background: currentColor;
  transition: transform .2s ease;
}

.menu-toggle.is-open > span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-toggle.is-open > span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  z-index: 19;
  inset: 0;
  padding: calc(var(--header-h) + 54px) var(--pad) 40px;
  color: var(--white);
  background: var(--violet);
}

.mobile-menu[hidden] { display: none; }
.mobile-menu nav { display: grid; gap: 8px; }
.mobile-menu nav a { font-size: clamp(2.4rem, 10vw, 4.7rem); font-weight: 520; line-height: 1; letter-spacing: -.06em; }
.mobile-menu nav a[aria-current="page"] { color: var(--yellow); }
.mobile-menu > .button { margin-top: 36px; }
.mobile-menu > p { position: absolute; right: var(--pad); bottom: 26px; left: var(--pad); margin: 0; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.28); font-family: "Space Mono", monospace; font-size: .54rem; text-transform: uppercase; }
.menu-open { overflow: hidden; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 750;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, color .2s ease;
}

.button:hover { transform: translateY(-2px); }
.button--small { min-height: 42px; padding: 0 18px; }
.button--light { color: var(--ink); background: var(--white); }
.is-fixed .button--light { color: var(--white); background: var(--ink); }
.button--dark { color: var(--white); background: var(--ink); }
.button--orange { color: var(--ink); background: var(--orange); }

.eyebrow, .section-kicker {
  margin: 0 0 28px;
  font-family: "Space Mono", monospace;
  font-size: .66rem;
  line-height: 1.2;
  letter-spacing: .11em;
  text-transform: uppercase;
}

h1, h2, h3, p { margin-top: 0; }

h1, h2 {
  margin-bottom: 0;
  font-size: clamp(3rem, 7.5vw, 8.3rem);
  font-weight: 430;
  line-height: .88;
  letter-spacing: -.075em;
}

h1 em, h2 em {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -.06em;
}

.hero {
  --hero-glow-x: 66%;
  --hero-glow-y: 42%;
  --hero-ring-x: 0px;
  --hero-ring-y: 0px;
  --hero-copy-x: 0px;
  --hero-copy-y: 0px;
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  padding: calc(var(--header-h) + 7vh) var(--pad) 6vh;
  color: var(--white);
  background:
    radial-gradient(circle at var(--hero-glow-x) var(--hero-glow-y), rgba(187,165,255,.22), transparent 26%),
    linear-gradient(135deg, #4a1bb4 0%, #4e1fba 48%, #3d148d 100%);
  isolation: isolate;
}

.hero::before {
  position: absolute;
  z-index: -2;
  inset: 0;
  content: "";
  pointer-events: none;
  opacity: .3;
  background-image: repeating-linear-gradient(90deg, transparent 0 3px, rgba(255,255,255,.025) 4px);
  mix-blend-mode: soft-light;
}

.hero__rings, .waitlist__rings {
  position: absolute;
  z-index: -1;
  width: min(62vw, 860px);
  aspect-ratio: 1;
  border: 1px solid rgba(255,255,255,.17);
  border-radius: 50%;
  background: repeating-radial-gradient(circle, transparent 0 42px, rgba(255,255,255,.08) 43px 44px);
}

.hero__rings {
  top: 52%;
  left: 63%;
  transform: translate(calc(-50% + var(--hero-ring-x)), calc(-50% + var(--hero-ring-y)));
  transition: transform .45s cubic-bezier(.2,.7,.2,1);
}

.hero__rings::before, .hero__rings::after,
.waitlist__rings::before, .waitlist__rings::after {
  position: absolute;
  content: "";
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 50%;
}

.hero__rings::before, .waitlist__rings::before { inset: 12%; }
.hero__rings::after, .waitlist__rings::after { inset: 28%; }

.hero__copy {
  position: relative;
  z-index: 4;
  width: min(55vw, 760px);
  pointer-events: none;
  transform: translate3d(var(--hero-copy-x), var(--hero-copy-y), 0);
  transition: transform .5s cubic-bezier(.2,.7,.2,1);
}

.hero__copy a,
.hero__copy button { pointer-events: auto; }

.hero h1 { font-size: clamp(3.15rem, 6.9vw, 7.5rem); }

.hero h1 em { color: var(--yellow); }

.hero__intro {
  width: min(520px, 90%);
  margin: 30px 0 0;
  font-size: clamp(1rem, 1.3vw, 1.2rem);
  color: rgba(255,255,255,.83);
}

.hero__actions { display: flex; align-items: center; gap: 28px; margin-top: 34px; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: .8rem;
  font-weight: 700;
}

.text-link span { font-size: 1rem; }

.hero__media {
  --hero-note-lift: 0px;
  --hero-note-one-opacity: .42;
  --hero-note-two-opacity: .92;
  position: absolute;
  z-index: 3;
  right: var(--pad);
  bottom: 24px;
  width: clamp(360px, 44vw, 760px);
  height: calc(100% - var(--header-h) - 40px);
  pointer-events: none;
  opacity: 0;
  transform: translate3d(0, 12px, 0) scale(.96);
  transform-origin: 56% 74%;
  transition: opacity .65s ease, transform .34s cubic-bezier(.16,.72,.22,1);
  will-change: transform;
}

.hero__media.is-entered {
  opacity: 1;
  transform: none;
}

.hero__video-shell {
  position: absolute;
  inset: 0;
  overflow: visible;
}

.hero__video-shell::after {
  display: none;
}

.hero__fallback {
  position: absolute;
  z-index: 1;
  inset: 8px;
  width: calc(100% - 16px);
  height: calc(100% - 16px);
  object-fit: contain;
  object-position: center;
  opacity: 1;
}

/* La nuova mascotte ufficiale accompagna il saluto con un movimento leggero. */
.hero__fallback { animation: myvsty-hero-breathe 5.4s ease-in-out infinite; }
@keyframes myvsty-hero-breathe {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -8px; }
}
html[data-motion="off"] .hero__fallback { animation: none; }

.hero__media::after {
  position: absolute;
  z-index: -1;
  right: 19%;
  bottom: 15%;
  width: 52%;
  height: 7%;
  content: "";
  border-radius: 50%;
  background: rgba(31,8,73,.3);
  filter: blur(22px);
  transform: scaleX(var(--hero-shadow, 1));
}

.hero__note {
  position: absolute;
  z-index: 4;
  padding: 10px 15px;
  border-radius: 999px;
  color: var(--ink);
  background: var(--white);
  font-family: "Space Mono", monospace;
  font-size: .62rem;
  text-transform: uppercase;
  box-shadow: 0 10px 30px rgba(20,6,55,.18);
  transition: transform .38s cubic-bezier(.2,.7,.2,1), opacity .3s ease;
}

.hero__note--one {
  top: 24%;
  left: 4%;
  opacity: var(--hero-note-one-opacity);
  transform: translate3d(var(--hero-note-one-x, 0px), calc(var(--hero-note-one-y, 0px) + var(--hero-note-lift)), 0) rotate(-5deg);
}

.hero__note--two {
  top: 43%;
  right: 1%;
  opacity: var(--hero-note-two-opacity);
  transform: translate3d(var(--hero-note-two-x, 0px), var(--hero-note-two-y, 0px), 0) rotate(4deg);
}

.hero__palm-ui {
  --palm-opacity: 0;
  --palm-shift-x: 30px;
  --palm-shift-y: 14px;
  --palm-scale: .76;
  position: absolute;
  z-index: 8;
  top: 38%;
  left: -15%;
  width: clamp(210px, 17vw, 252px);
  pointer-events: none;
  opacity: var(--palm-opacity);
  transform: translate3d(var(--palm-shift-x), var(--palm-shift-y), 0) scale(var(--palm-scale));
  transform-origin: right center;
  transition: opacity .16s linear, transform .18s cubic-bezier(.16,.72,.22,1);
  will-change: opacity, transform;
}

.hero__palm-ui.is-palm-open,
.hero__palm-ui:focus-within { pointer-events: auto; }

.hero__palm-card {
  position: relative;
  padding: 17px;
  border: 1px solid rgba(12,11,15,.88);
  border-radius: 19px;
  color: var(--ink);
  background: rgba(255,253,248,.96);
  box-shadow: 0 18px 44px rgba(28,7,68,.28);
  backdrop-filter: blur(14px);
}

.hero__palm-card::after {
  position: absolute;
  top: 50%;
  right: -23px;
  width: 23px;
  height: 1px;
  content: "";
  background: var(--yellow);
  box-shadow: 0 0 14px rgba(255,201,11,.8);
}

.hero__palm-kicker {
  display: block;
  color: var(--violet);
  font-family: "Space Mono", monospace;
  font-size: .48rem;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.hero__palm-card strong {
  display: block;
  margin-top: 9px;
  font-size: 1.05rem;
  line-height: 1.03;
  letter-spacing: -.035em;
}

.hero__palm-card > p {
  margin: 8px 0 14px;
  color: rgba(12,11,15,.62);
  font-size: .68rem;
  line-height: 1.38;
}

.hero__palm-choices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; }

.hero__palm-choices button {
  min-width: 0;
  min-height: 31px;
  padding: 0 7px;
  border: 1px solid rgba(12,11,15,.18);
  border-radius: 999px;
  color: var(--ink);
  background: transparent;
  font-family: "Space Mono", monospace;
  font-size: .45rem;
  text-transform: uppercase;
  cursor: pointer;
  transition: color .18s ease, border-color .18s ease, background .18s ease, transform .18s ease;
}

.hero__palm-choices button:hover { transform: translateY(-2px); }
.hero__palm-choices button.is-active { color: var(--white); border-color: var(--violet); background: var(--violet); }

.hero__palm-card.is-switching { animation: palm-card-pop .28s cubic-bezier(.16,.72,.22,1); }

.hero__palm-spark {
  position: absolute;
  z-index: 2;
  top: 50%;
  right: -38px;
  width: 30px;
  height: 30px;
  transform: translateY(-50%);
  pointer-events: none;
}

.hero__palm-spark i {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 0 12px rgba(255,201,11,.9);
  animation: palm-spark 1.5s ease-in-out infinite;
}

.hero__palm-spark i:nth-child(2) { animation-delay: -.5s; }
.hero__palm-spark i:nth-child(3) { animation-delay: -1s; }

@keyframes palm-card-pop {
  50% { transform: translateY(-4px) scale(1.025); }
}

@keyframes palm-spark {
  0%, 100% { opacity: .2; transform: translate(-50%, -50%) scale(.5); }
  50% { opacity: 1; transform: translate(calc(-50% + 9px), calc(-50% - 10px)) scale(1); }
}

.hero__outline {
  position: absolute;
  z-index: 1;
  bottom: -2vw;
  left: 50%;
  margin: 0;
  width: 4.5047915em;
  transform: translateX(-50%);
  font-size: clamp(6rem, 17vw, 20rem);
  font-weight: 800;
  line-height: .72;
  white-space: nowrap;
}

/* Archivo 800 in tracciati: spazio uniforme fra i contorni a ogni larghezza,
   compresi il trattino e le coppie diagonali Y/V. */
.hero__outline svg { display: block; width: 100%; height: auto; }

.hero__caption {
  position: absolute;
  z-index: 5;
  right: var(--pad);
  bottom: 28px;
  max-width: 250px;
  margin: 0;
  font-family: "Space Mono", monospace;
  font-size: .58rem;
  line-height: 1.5;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.problem { padding: clamp(90px, 12vw, 180px) var(--pad) clamp(70px, 9vw, 130px); }

.problem__grid { display: grid; grid-template-columns: 1.5fr .65fr; gap: 8vw; align-items: end; }

.problem h2 { font-size: clamp(3rem, 6.4vw, 7.1rem); }
.problem h2 em {
  display: block;
  margin-top: .08em;
  color: var(--violet);
}
.problem__copy { padding-bottom: 8px; font-size: clamp(1rem, 1.35vw, 1.22rem); }
.problem__answer { margin: 30px 0 0; font-weight: 730; }

.friction-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 76px 0 0;
  padding: 0;
  list-style: none;
}

.friction-list li {
  padding: 14px 18px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-family: "Space Mono", monospace;
  font-size: .68rem;
}

.profile-flow {
  position: relative;
  padding: clamp(90px, 11vw, 170px) var(--pad) 0;
  background: var(--paper);
}

.profile-flow::before,
.cinema::before {
  position: absolute;
  top: 0;
  right: var(--pad);
  left: var(--pad);
  height: 1px;
  content: "";
  background: var(--section-line);
}

.profile-flow__header {
  max-width: 1180px;
  margin: 0 auto clamp(90px, 11vw, 160px);
  text-align: center;
}

.profile-flow__header h2 {
  font-size: clamp(3rem, 6.6vw, 7.2rem);
}

.profile-flow__header h2 em { color: var(--violet); }

.profile-step {
  display: grid;
  grid-template-columns: minmax(300px, .78fr) minmax(520px, 1.22fr);
  gap: clamp(48px, 8vw, 130px);
  align-items: center;
  border-top: 1px solid var(--section-line);
  opacity: 0;
  transform: translateY(42px);
  transition: opacity .75s ease, transform .75s cubic-bezier(.2,.7,.2,1);
}

.profile-step.is-visible { opacity: 1; transform: translateY(0); }

.profile-step--reverse {
  grid-template-columns: minmax(520px, 1.22fr) minmax(300px, .78fr);
}

.profile-step--reverse .profile-step__copy { order: 2; }
.profile-step--reverse .product-scene { order: 1; }

.profile-step__number {
  display: block;
  margin-bottom: 24px;
  font-size: clamp(5.6rem, 10vw, 10rem);
  font-weight: 760;
  line-height: .8;
  letter-spacing: -.08em;
}

.profile-step__eyebrow {
  margin-bottom: 18px;
  color: var(--violet);
  font-family: "Space Mono", monospace;
  font-size: .64rem;
  letter-spacing: .14em;
}

.profile-step__copy h3 {
  margin-bottom: 24px;
  font-size: clamp(2.5rem, 4.6vw, 5.3rem);
  font-weight: 500;
  line-height: .94;
  letter-spacing: -.065em;
}

.profile-step__copy > p:not(.profile-step__eyebrow) {
  max-width: 610px;
  color: rgba(12,11,15,.67);
  font-size: clamp(1rem, 1.3vw, 1.2rem);
}

.profile-step__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}

.profile-step__facts li {
  padding: 10px 13px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-family: "Space Mono", monospace;
  font-size: .52rem;
  text-transform: uppercase;
}

.profile-step__copy > .image-disclosure {
  margin: 18px 0 0;
  color: #625d66;
  font-family: "Archivo", sans-serif;
  font-size: .75rem;
  line-height: 1.4;
}

.product-scene {
  --scene-tilt-x: 0deg;
  --scene-tilt-y: 0deg;
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 34px;
  background: #e8ddff;
  box-shadow: inset 0 0 0 1px rgba(74,27,180,.09);
  transform: perspective(1200px) rotateX(var(--scene-tilt-x)) rotateY(var(--scene-tilt-y));
  transform-style: preserve-3d;
  transition: transform .55s cubic-bezier(.2,.7,.2,1), box-shadow .35s ease;
  will-change: transform;
}

.product-scene.is-tilting {
  box-shadow: inset 0 0 0 1px rgba(74,27,180,.12), 0 28px 75px rgba(46,21,74,.12);
  transition-duration: .14s;
}

.product-scene::before {
  position: absolute;
  width: 72%;
  aspect-ratio: 1;
  content: "";
  border: 1px solid rgba(74,27,180,.14);
  border-radius: 50%;
  box-shadow: 0 0 0 70px rgba(74,27,180,.045), 0 0 0 140px rgba(74,27,180,.035);
}

.phone {
  position: relative;
  z-index: 2;
  width: min(52%, 330px);
  min-width: 285px;
  min-height: 555px;
  padding: 28px 22px 22px;
  overflow: hidden;
  border: 9px solid var(--ink);
  border-radius: 42px;
  color: var(--ink);
  background: var(--white);
  box-shadow: 0 34px 70px rgba(46,21,74,.22);
}

.phone::before {
  position: absolute;
  top: 8px;
  left: 50%;
  width: 34%;
  height: 16px;
  content: "";
  border-radius: 0 0 12px 12px;
  background: var(--ink);
  transform: translateX(-50%);
}

.phone__bar { display: flex; justify-content: space-between; margin: 6px 0 48px; font-family: "Space Mono", monospace; font-size: .46rem; }
.phone__step { margin-bottom: 13px; color: var(--violet); font-family: "Space Mono", monospace; font-size: .49rem; letter-spacing: .08em; }
.phone h4 { margin: 0 0 28px; font-size: 2.05rem; line-height: .95; letter-spacing: -.055em; }
.phone__field { display: flex; justify-content: space-between; align-items: center; margin-top: 11px; padding: 15px; border: 1px solid var(--line); border-radius: 14px; }
.phone__field span { color: rgba(12,11,15,.56); font-size: .72rem; }
.phone__field b { font-size: .8rem; }
.phone__button { margin-top: 28px; padding: 15px; border-radius: 999px; color: var(--white); background: var(--violet); text-align: center; font-size: .72rem; font-weight: 700; }

.float-card, .profile-ticket, .match-badge {
  position: absolute;
  z-index: 3;
  padding: 17px;
  border: 1px solid rgba(12,11,15,.1);
  border-radius: 17px;
  background: rgba(255,253,248,.96);
  box-shadow: 0 18px 45px rgba(46,21,74,.16);
}

.float-card span, .profile-ticket span, .match-badge span { display: block; margin-bottom: 6px; color: rgba(12,11,15,.5); font-family: "Space Mono", monospace; font-size: .45rem; letter-spacing: .08em; }
.float-card b, .profile-ticket b { font-size: .9rem; }
.float-card p { margin: 4px 0 0; color: rgba(12,11,15,.55); font-size: .66rem; }
.float-card--taste { top: 14%; right: 4%; transform: rotate(4deg); }
.float-card--taste div { display: flex; gap: 4px; margin-top: 12px; }
.float-card--taste i { padding: 5px 7px; border-radius: 999px; background: var(--paper-2); font-size: .48rem; font-style: normal; }
.float-card--photo { bottom: 11%; left: 3%; transform: rotate(-4deg); }

.product-scene--profile { background: #f0e1c9; }
.phone--result { text-align: center; }
.result-ring { display: grid; width: 142px; aspect-ratio: 1; margin: 0 auto 23px; place-items: center; border: 1px solid rgba(74,27,180,.35); border-radius: 50%; background: repeating-radial-gradient(circle, transparent 0 17px, rgba(74,27,180,.09) 18px 19px); }
.result-ring span { display: grid; width: 68px; aspect-ratio: 1; place-items: center; border-radius: 50%; color: var(--white); background: var(--violet); font-size: 1.7rem; font-weight: 760; letter-spacing: -.08em; }
.phone__summary { max-width: 240px; margin: 0 auto 22px; color: rgba(12,11,15,.6); font-size: .74rem; }
.palette-row { display: flex; justify-content: center; gap: 8px; }
.palette-row i { width: 36px; height: 36px; border-radius: 50%; background: var(--tone); }
.profile-ticket--one { top: 18%; left: 4%; transform: rotate(-5deg); }
.profile-ticket--two { right: 3%; bottom: 27%; transform: rotate(5deg); }
.profile-ticket--three { bottom: 10%; left: 8%; transform: rotate(-2deg); }

.product-scene--outfit {
  background: #d9c9ff;
}

.outfit-preview {
  position: relative;
  z-index: 2;
  width: min(82%, 850px);
  padding: 10px;
  border-radius: 25px;
  background: var(--white);
  box-shadow: 0 34px 80px rgba(46,21,74,.2);
}

.outfit-preview__top { display: flex; justify-content: space-between; padding: 14px; font-family: "Space Mono", monospace; font-size: .53rem; }
.outfit-preview__items { display: grid; grid-template-columns: 1.15fr .84fr 1fr; gap: 8px; min-height: 300px; }
.outfit-piece { position: relative; min-width: 0; margin: 0; overflow: hidden; border-radius: 16px; background: #f1ece3; }
.outfit-piece::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 54%, rgba(14,12,18,.72)); pointer-events: none; }
.outfit-piece img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s cubic-bezier(.2,.72,.2,1); }
.outfit-piece--jacket img, .outfit-piece--pants img { padding: 7%; object-fit: contain; }
.outfit-piece--complete img { object-position: 50% 54%; }
.outfit-piece:hover img { transform: scale(1.035); }
.outfit-piece figcaption { position: absolute; z-index: 2; right: 14px; bottom: 13px; left: 14px; display: grid; gap: 3px; color: var(--white); text-align: left; }
.outfit-piece figcaption span { font-family: "Space Mono", monospace; font-size: .43rem; letter-spacing: .04em; }
.outfit-piece figcaption b { font-size: .74rem; }
.outfit-preview__why { display: grid; grid-template-columns: .35fr 1fr; gap: 22px; padding: 20px 14px 12px; text-align: left; }
.outfit-preview__why span { color: var(--violet); font-family: "Space Mono", monospace; font-size: .5rem; }
.outfit-preview__why p { margin: 0; font-size: .82rem; }
/* nella colonna piu' stretta l'angolo in alto a destra e' occupato dal
   contesto ("Universita + sera"): il bollino scende in basso a sinistra, dove
   la scena e' libera */
.match-badge { bottom: 5%; left: 3%; width: 130px; transform: rotate(-4deg); }
.match-badge b { color: var(--violet); font-size: 2rem; line-height: 1; }

.cinema {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 520px) minmax(0, 850px);
  gap: clamp(40px, 4vw, 100px);
  align-items: center;
  justify-content: center;
  min-height: auto;
  padding: clamp(100px, 8vw, 145px) var(--pad);
  background: var(--paper);
}

.cinema h2 { font-size: clamp(3.4rem, 4.6vw, 5.5rem); }
.cinema h2 em { color: var(--violet); }
.cinema__copy > p:not(.section-kicker) { max-width: 590px; margin: 34px 0; font-size: clamp(1.04rem, .9vw, 1.3rem); line-height: 1.58; }

.brand-section { position: relative; padding: clamp(88px, 8vw, 132px) var(--pad); overflow: hidden; color: var(--white); background: #28231f; }
.brand-section__inner { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(390px, .75fr); gap: clamp(60px, 7vw, 150px); align-items: center; width: min(100%, 1720px); margin-inline: auto; }
.brand-section__mark { position: absolute; right: -7%; bottom: -48%; color: transparent; font-size: min(48vw, 800px); font-weight: 800; line-height: .75; -webkit-text-stroke: 1px rgba(255,255,255,.09); }
.brand-section__copy { position: relative; z-index: 2; }
.brand-section h2 { font-size: clamp(3.2rem, 5.2vw, 6rem); }
.brand-section h2 em { color: var(--orange); }
.brand-section__copy > p:not(.section-kicker) { max-width: 680px; margin: 34px 0; color: rgba(255,255,255,.72); font-size: clamp(1rem, 1vw, 1.25rem); line-height: 1.6; }
.brand-section__principles { position: relative; z-index: 2; display: grid; gap: 0; margin: 0; border-bottom: 1px solid rgba(255,255,255,.22); }
.brand-section__principles div { display: grid; grid-template-columns: 46px 1fr; gap: 18px; align-items: start; padding: clamp(22px, 2vw, 30px) 0; border-top: 1px solid rgba(255,255,255,.22); }
.brand-section__principles dt { padding-top: 5px; color: var(--orange); font-family: "Space Mono", monospace; font-size: .66rem; }
.brand-section__principles dd { margin: 0; color: rgba(255,255,255,.94); font-size: clamp(1.25rem, 1.45vw, 1.65rem); font-weight: 650; line-height: 1.18; letter-spacing: -.025em; }

.waitlist { position: relative; min-height: 68vh; overflow: hidden; padding: clamp(70px, 8vw, 120px) var(--pad); color: var(--white); background: var(--orange); isolation: isolate; }
.waitlist__rings { z-index: -1; top: 50%; right: -10%; transform: translateY(-50%); }
.waitlist__inner { position: relative; z-index: 3; width: min(76%, 1120px); }
.waitlist h2 { font-size: clamp(3rem, 6.4vw, 7rem); }
.waitlist h2 em { color: var(--ink); }
.waitlist__name { white-space: nowrap; }
.waitlist__form { width: min(660px, 100%); margin-top: 38px; }
.waitlist__form label { display: block; margin-bottom: 9px; font-family: "Space Mono", monospace; font-size: .55rem; text-transform: uppercase; }
.waitlist__form .waitlist__field { display: grid; grid-template-columns: 1fr auto; padding: 5px; background: var(--white); border-radius: 999px; }
.waitlist__form input { min-width: 0; padding: 0 20px; border: 0; outline: 0; background: transparent; }
.waitlist__form > p { margin: 10px 4px 0; font-family: "Space Mono", monospace; font-size: .5rem; }
.waitlist__mascot { position: absolute; z-index: 2; right: 2vw; bottom: -12%; width: min(28vw, 430px); max-height: 74vh; object-fit: contain; object-position: bottom; filter: drop-shadow(0 20px 40px rgba(92,25,0,.2)); }

footer { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: 120px; padding: 0 var(--pad); color: rgba(255,255,255,.62); background: var(--ink); font-size: .65rem; }
footer p { margin: 0; font-family: "Space Mono", monospace; }
footer > a:last-child { justify-self: end; }

/* Polishing pass + shared multi-page system */
[data-reveal]:not(.profile-step) {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1);
}

[data-reveal].is-visible:not(.profile-step) { opacity: 1; transform: translateY(0); }

.profile-flow { padding-top: clamp(85px, 9vw, 130px); }
.profile-flow__header { margin-bottom: clamp(68px, 7vw, 100px); }
.profile-step { min-height: auto; padding: clamp(72px, 7vw, 108px) 0; }
.profile-step--final { padding-bottom: clamp(90px, 9vw, 130px); }
.product-scene { min-height: 580px; }

.fashion-film {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
  gap: 0;
  width: 100%;
  max-width: 850px;
  margin-inline: auto;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--section-line);
  border-radius: 24px;
  color: var(--ink);
  background: var(--white);
  box-shadow: 0 12px 32px rgba(32,18,44,.06);
  isolation: isolate;
}

.fashion-film__visual { display: grid; grid-template-rows: 1fr auto; min-width: 0; border-right: 1px solid var(--line); }
.fashion-film__body-picker { display: grid; gap: 10px; }
.fashion-film__body-picker > div { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.fashion-film__body-picker button {
  display: grid;
  grid-template-columns: 12px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  min-width: 0;
  min-height: 52px;
  padding: 10px;
  border: 1px solid var(--section-line);
  border-radius: 12px;
  color: var(--ink);
  text-align: left;
  background: transparent;
  cursor: pointer;
  touch-action: manipulation;
  transition: color .2s ease, border-color .2s ease, background .2s ease;
}
.fashion-film__body-picker button::before { content: ""; width: 12px; height: 18px; background: currentColor; opacity: .7; clip-path: inset(0 2px); }
.fashion-film__body-picker button[data-visible-shape="triangolo"]::before { clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.fashion-film__body-picker button[data-visible-shape="triangolo-inverso"]::before { clip-path: polygon(0 0, 100% 0, 50% 100%); }
.fashion-film__body-picker button[data-visible-shape="clessidra"]::before { clip-path: polygon(0 0, 100% 0, 65% 50%, 100% 100%, 0 100%, 35% 50%); }
.fashion-film__body-picker button[data-visible-shape="trapezio"]::before { clip-path: polygon(0 0, 100% 0, 78% 100%, 22% 100%); }
.fashion-film__body-picker button[data-visible-shape="ovale"]::before { clip-path: ellipse(48% 50% at 50% 50%); }
.fashion-film__body-picker button b { font-size: .8125rem; font-weight: 600; line-height: 1.25; }
.fashion-film__body-picker button:hover { color: var(--violet); border-color: var(--violet); background: var(--paper); }
.fashion-film__body-picker button.is-active { color: var(--white); border-color: var(--violet); background: var(--violet); }
.fashion-film__body-picker button.is-active::before { opacity: 1; }
.fashion-film__body-picker button:focus-visible,
.fashion-film__gender-picker button:focus-visible { outline: 2px solid var(--violet); outline-offset: 3px; }
.fashion-film__screen { position: relative; min-width: 0; width: 100%; height: 100%; aspect-ratio: 2 / 3; overflow: hidden; background: #180d14; }
.fashion-film__images { position: absolute; inset: 0; overflow: hidden; background: #100d14; }
.fashion-film__images::after { content: ""; position: absolute; z-index: 3; top: 0; bottom: 0; left: 0; width: 2px; background: var(--lilac); opacity: 0; transform: translateX(-8px); pointer-events: none; }
.fashion-film__images.is-changing::after { animation: look-scan .62s cubic-bezier(.7,0,.25,1); }
.fashion-film__image { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: contain; background: #180d14; }
.fashion-film__image--current { z-index: 0; }
.fashion-film__image--incoming { z-index: 1; clip-path: inset(0 100% 0 0); }
.fashion-film__images.is-changing .fashion-film__image--incoming { animation: look-reveal .62s cubic-bezier(.7,0,.25,1) forwards; }
.fashion-film__disclosure { position: absolute; z-index: 4; right: 16px; bottom: 16px; color: rgba(255,255,255,.8); font: 400 .75rem/1.3 "Archivo", sans-serif; }
@keyframes look-reveal { to { clip-path: inset(0); } }
@keyframes look-scan { 0% { left: 0; opacity: 0; } 8%, 88% { opacity: 1; } 100% { left: 100%; opacity: 0; } }
.fashion-film__caption { display: grid; gap: 5px; padding: 20px 24px; border-top: 1px solid var(--line); background: var(--paper); }
.fashion-film__caption span { color: var(--violet); font-family: "Space Mono", monospace; font-size: .65rem; letter-spacing: .07em; }
.fashion-film__caption b { font: italic 400 clamp(1.65rem, 2.2vw, 2.35rem)/1.05 Georgia, "Times New Roman", serif; letter-spacing: -.035em; }
.fashion-film__rail { display: flex; min-width: 0; gap: 22px; padding: clamp(20px, 2vw, 30px); flex-direction: column; }
.fashion-film__rail-intro p { margin: 0 0 15px; color: var(--violet); font-family: "Space Mono", monospace; font-size: .65rem; letter-spacing: .06em; }
.fashion-film__rail-intro strong { display: block; font-size: clamp(1.4rem, 1.8vw, 1.8rem); font-weight: 600; line-height: 1.12; letter-spacing: -.045em; }
.fashion-film__rail-intro em { color: var(--violet); font-family: Georgia, "Times New Roman", serif; font-weight: 400; font-size: 1.12em; }
.fashion-film__rail-intro span { display: block; margin-top: 12px; color: #59534f; font-size: .875rem; line-height: 1.45; }
.fashion-film__gender-picker { display: grid; gap: 10px; }
.fashion-film__body-picker > span,
.fashion-film__gender-picker > span,
.fashion-film__context > p,
.fashion-film__reason > p { margin: 0; color: var(--violet); font-family: "Space Mono", monospace; font-size: .65rem; letter-spacing: .06em; }
.fashion-film__gender-picker > div { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.fashion-film__gender-picker button { min-height: 46px; padding: 10px; border: 1px solid var(--section-line); border-radius: 999px; color: var(--ink); font: 600 .9375rem/1 "Archivo", sans-serif; background: transparent; cursor: pointer; touch-action: manipulation; transition: color .2s ease, border-color .2s ease, background .2s ease; }
.fashion-film__gender-picker button:hover { color: var(--violet); border-color: var(--violet); background: var(--paper); }
.fashion-film__gender-picker button.is-active { color: var(--white); border-color: var(--violet); background: var(--violet); }
.fashion-film__context { display: grid; gap: 8px; }
.fashion-film__context > div { display: flex; flex-wrap: wrap; column-gap: 7px; row-gap: 3px; }
.fashion-film__context span { color: #59534f; font-size: .8125rem; line-height: 1.4; }
.fashion-film__context span + span::before { content: "·"; margin-right: 7px; }
.fashion-film__reason { display: grid; gap: 10px; padding-top: 19px; border-top: 1px solid var(--section-line); }
.fashion-film__reason > span { color: #59534f; font-size: .9375rem; line-height: 1.5; }

.faq-section {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 8vw;
  padding: clamp(90px, 11vw, 165px) var(--pad);
  background: var(--white);
}

.faq-section__intro { position: sticky; top: 130px; align-self: start; }
.faq-section h2 { font-size: clamp(3rem, 5.6vw, 6.3rem); }
.faq-section h2 em { color: var(--violet); }
.faq-list { border-top: 1px solid var(--ink); }
.faq-list details { border-bottom: 1px solid var(--ink); }
.faq-list summary { display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: center; padding: 26px 0; font-size: clamp(1.15rem, 1.6vw, 1.5rem); font-weight: 680; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary span { display: grid; width: 34px; height: 34px; place-items: center; border: 1px solid var(--ink); border-radius: 50%; transition: transform .25s ease, color .25s ease, background .25s ease; }
.faq-list details[open] summary span { color: var(--white); background: var(--violet); transform: rotate(45deg); }
.faq-list details > p { max-width: 650px; margin: -4px 52px 28px 0; color: rgba(12,11,15,.65); }

.consent-row { display: grid !important; grid-template-columns: auto 1fr; gap: 10px; align-items: start; margin: 16px 4px 0; font-family: "Archivo", sans-serif !important; font-size: .72rem !important; line-height: 1.45; text-transform: none !important; }
.consent-row input { width: 17px; height: 17px; margin: 1px 0 0; accent-color: var(--ink); }
.consent-row a { text-decoration: underline; text-underline-offset: 3px; }

.site-footer {
  display: grid;
  grid-template-columns: 1.5fr .7fr .8fr;
  gap: clamp(40px, 8vw, 130px);
  min-height: 0;
  padding: 72px var(--pad) 28px;
  color: rgba(255,255,255,.7);
  background: var(--ink);
  font-size: .78rem;
}

.site-footer__brand > p { margin: 22px 0 0; font-family: "Archivo", sans-serif; font-size: .9rem; line-height: 1.55; }
.site-footer__ai { display: block; margin-top: 18px; color: rgba(255,255,255,.7); font: 400 .75rem/1.4 "Archivo", sans-serif; }
.site-footer nav { display: grid; align-content: start; gap: 10px; }
.site-footer nav p { margin: 0 0 10px; color: var(--orange); font-family: "Space Mono", monospace; font-size: .52rem; letter-spacing: .08em; text-transform: uppercase; }
.site-footer nav a:hover { color: var(--white); }
.site-footer__bottom { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 24px; margin-top: 36px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.18); font-family: "Space Mono", monospace; font-size: .5rem; letter-spacing: .05em; text-transform: uppercase; }

/* Secondary pages */
.site-header--solid { position: fixed; color: var(--ink); background: rgba(243,238,229,.94); border-bottom: 1px solid var(--line); backdrop-filter: blur(16px); }
.site-header--solid .button--light { color: var(--white); background: var(--ink); }

.page-hero {
  position: relative;
  display: grid;
  min-height: min(860px, 88svh);
  align-items: end;
  overflow: hidden;
  padding: calc(var(--header-h) + clamp(90px, 10vw, 150px)) var(--pad) clamp(68px, 7vw, 110px);
  color: var(--white);
  background: var(--violet);
  isolation: isolate;
}

.page-hero::before { position: absolute; z-index: -1; top: 50%; right: -12vw; width: min(72vw, 980px); aspect-ratio: 1; content: ""; border: 1px solid rgba(255,255,255,.17); border-radius: 50%; background: repeating-radial-gradient(circle, transparent 0 44px, rgba(255,255,255,.08) 45px 46px); transform: translateY(-50%); }
.page-hero--orange { color: var(--ink); background: var(--orange); }
.page-hero--ink { background: var(--ink); }
.page-hero__grid { display: grid; grid-template-columns: 1.25fr .55fr; gap: 7vw; align-items: end; }
.page-hero__copy { position: relative; z-index: 2; }
.page-hero h1 { max-width: 1120px; font-size: clamp(3.5rem, 7.5vw, 8.4rem); }
.page-hero h1 em { color: var(--yellow); }
.page-hero--orange h1 em { color: var(--violet); }
.page-hero__lead { max-width: 630px; margin: 34px 0 0; color: rgba(255,255,255,.72); font-size: clamp(1.05rem, 1.5vw, 1.32rem); }
.page-hero--orange .page-hero__lead { color: rgba(12,11,15,.68); }
.page-hero__aside { position: relative; z-index: 2; align-self: end; }
.page-hero__aside img { display: block; width: min(100%, 360px); max-height: 56vh; margin-left: auto; object-fit: contain; filter: drop-shadow(0 25px 42px rgba(26,5,68,.22)); }
.page-hero__aside--method img { width: min(108%, 390px); transform: translateY(5%) rotate(-2deg); }
.page-hero__aside--partner img { width: min(122%, 460px); max-height: 62vh; transform: translate(10%, 10%) rotate(2deg); }
.page-hero__aside--about img { width: min(96%, 340px); transform: translateY(7%) rotate(-3deg); }
.page-hero__aside--contact img { width: min(138%, 510px); max-height: 67vh; transform: translate(18%, 11%) rotate(-5deg); }

.content-section { padding: clamp(90px, 10vw, 150px) var(--pad); }
.content-section--cream { background: var(--paper); }
.content-section--white { background: var(--white); }
.content-section--ink { color: var(--white); background: var(--ink); }
.content-section--violet { color: var(--white); background: var(--violet); }

.section-head { display: grid; grid-template-columns: .78fr 1.22fr; gap: 8vw; align-items: start; margin-bottom: clamp(58px, 7vw, 100px); }
.section-head h2 { font-size: clamp(3rem, 6vw, 6.7rem); }
.section-head h2 em { color: var(--violet); }
.content-section--ink .section-head h2 em,
.content-section--violet .section-head h2 em { color: var(--orange); }
.section-head__lead { max-width: 590px; margin: 12px 0 0; color: rgba(12,11,15,.65); font-size: clamp(1rem, 1.35vw, 1.2rem); }
.content-section--ink .section-head__lead,
.content-section--violet .section-head__lead { color: rgba(255,255,255,.64); }

.about-team__head { grid-template-columns: 1fr; gap: 18px; margin-bottom: 42px; }
.about-team__head h2 { max-width: none; white-space: nowrap; font-size: clamp(1.6rem, 7.7vw, 5.2rem); line-height: 1.05; }
.about-team__head .section-head__lead { margin: 0; }
.about-team__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(24px, 5vw, 80px);
  margin: 0;
  padding: 0;
  list-style: none;
}
.about-team__list li { min-width: 0; padding: 24px 0 28px; border-top: 1px solid rgba(255,255,255,.28); }
.about-team__list h3 { margin: 0 0 7px; font-size: clamp(1.55rem, 2.4vw, 2.5rem); line-height: 1.08; letter-spacing: -.04em; }
.about-team__list p { margin: 0; color: var(--orange); font-family: "Space Mono", monospace; font-size: .65rem; line-height: 1.45; }
.about-team__contact { margin: 20px 0 0; }

.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); }
.content-card { min-height: 330px; padding: 28px; background: var(--white); }
.content-section--cream .content-card { background: var(--paper); }
.content-section--ink .card-grid,
.content-section--violet .card-grid { background: rgba(255,255,255,.22); }
.content-section--ink .content-card { background: var(--ink); }
.content-section--violet .content-card { background: var(--violet); }
.content-card__number { display: block; margin-bottom: 90px; color: var(--violet); font-family: "Space Mono", monospace; font-size: .58rem; }
.content-section--ink .content-card__number,
.content-section--violet .content-card__number { color: var(--orange); }
.content-card h3 { margin-bottom: 16px; font-size: clamp(1.55rem, 2.2vw, 2.2rem); line-height: 1.02; letter-spacing: -.04em; }
.content-card p { margin-bottom: 0; color: rgba(12,11,15,.62); }
.content-section--ink .content-card p,
.content-section--violet .content-card p { color: rgba(255,255,255,.62); }
.content-card__eyebrow { margin: 0 0 18px !important; color: var(--violet) !important; font-family: "Space Mono", monospace; font-size: .53rem; letter-spacing: .06em; text-transform: uppercase; }

.split-copy { display: grid; grid-template-columns: 1fr 1fr; gap: 8vw; }
.split-copy h2 { font-size: clamp(3rem, 5.7vw, 6.4rem); }
.split-copy h2 em { color: var(--violet); }
.split-copy__body { align-self: end; }
.split-copy__body p { max-width: 630px; font-size: clamp(1rem, 1.25vw, 1.15rem); }
.split-copy__body strong { color: var(--violet); }

.numbered-flow { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid currentColor; }
.number-card { min-height: 310px; padding: 28px 28px 0 0; border-right: 1px solid currentColor; }
.number-card + .number-card { padding-left: 28px; }
.number-card:last-child { border-right: 0; }
.number-card span { color: var(--orange); font-family: "Space Mono", monospace; font-size: .58rem; }
.number-card h3 { margin: 115px 0 12px; font-size: clamp(1.5rem, 2.2vw, 2.2rem); line-height: 1; letter-spacing: -.04em; }
.number-card p { max-width: 330px; color: rgba(12,11,15,.62); }
.content-section--ink .number-card p,
.content-section--violet .number-card p { color: rgba(255,255,255,.62); }

.principle-list { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); }
.principle-list article { padding: clamp(28px, 4vw, 54px); background: var(--paper); }
.principle-list h3 { margin-bottom: 16px; font-size: clamp(1.4rem, 2.2vw, 2.1rem); letter-spacing: -.04em; }
.principle-list p { max-width: 580px; margin: 0; color: rgba(12,11,15,.62); }

.quote-panel { display: grid; grid-template-columns: .85fr 1.15fr; gap: 8vw; align-items: center; }
.quote-panel__media { position: relative; min-height: 620px; overflow: hidden; background: #d9c9ff; }
.quote-panel__media img { position: absolute; inset: 5% 7% 0; width: 86%; height: 95%; object-fit: contain; filter: drop-shadow(0 28px 46px rgba(40,18,74,.18)); }
.quote-panel__media--origin { background: linear-gradient(145deg, #d9c9ff 0%, #bba5ff 62%, #ffb38a 100%); }
.quote-panel__media--origin img { inset: 2% -3% -3%; width: 106%; height: 101%; }
.quote-panel blockquote { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.2rem, 4.3vw, 5rem); line-height: 1.02; letter-spacing: -.045em; }
.quote-panel cite { display: block; margin-top: 32px; font-family: "Space Mono", monospace; font-size: .58rem; font-style: normal; letter-spacing: .08em; text-transform: uppercase; }

.manifesto p { max-width: 680px; margin: 38px auto 0; font-size: clamp(1rem, 1.35vw, 1.22rem); }

.contact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.contact-card { position: relative; min-height: 340px; padding: 30px; overflow: hidden; border: 1px solid var(--line); background: var(--white); transition: border-color .22s ease, color .22s ease, background .22s ease, transform .22s ease; }
.contact-card::after { position: absolute; right: 24px; bottom: 20px; content: "↗"; color: var(--violet); font-size: 2rem; transition: transform .2s ease; }
.contact-card:hover,
.contact-card:focus-visible { border-color: var(--violet); background: #eee8ff; transform: translateY(-4px); }
.contact-card:hover::after,
.contact-card:focus-visible::after { transform: translate(4px, -4px); }
.contact-card span { color: var(--violet); font-family: "Space Mono", monospace; font-size: .54rem; letter-spacing: .07em; text-transform: uppercase; }
.contact-card h2 { max-width: 500px; margin: 105px 0 12px; font-size: clamp(1.8rem, 3vw, 3.1rem); line-height: 1; letter-spacing: -.05em; }
.contact-card p { max-width: 520px; margin: 0; color: rgba(12,11,15,.62); }
.contact-note { margin: 34px 0 0; padding: 18px 0; border-top: 1px solid var(--line); font-family: "Space Mono", monospace; font-size: .58rem; }

.legal-page { display: grid; grid-template-columns: minmax(230px, .38fr) minmax(0, 1fr); gap: 8vw; align-items: start; }
.legal-toc { position: sticky; top: 120px; padding: 24px; border: 1px solid var(--line); background: var(--white); }
.legal-toc > p { color: var(--violet); font-family: "Space Mono", monospace; font-size: .55rem; letter-spacing: .08em; text-transform: uppercase; }
.legal-toc ol { display: grid; gap: 10px; margin: 20px 0 0; padding-left: 20px; font-size: .78rem; }
.legal-toc a:hover { color: var(--violet); }
.legal-copy { max-width: 860px; }
.legal-copy section { scroll-margin-top: 110px; padding: 0 0 68px; margin-bottom: 68px; border-bottom: 1px solid var(--line); }
.legal-copy section:last-child { margin-bottom: 0; border-bottom: 0; }
.legal-copy h2 { margin-bottom: 24px; font-size: clamp(2rem, 3.4vw, 3.8rem); line-height: 1; letter-spacing: -.05em; }
.legal-copy p, .legal-copy li { color: rgba(12,11,15,.7); font-size: 1rem; line-height: 1.72; }
.legal-copy a { color: var(--violet); text-decoration: underline; text-underline-offset: 3px; }
.doc-meta { margin-top: 24px; font-family: "Space Mono", monospace; font-size: .56rem; letter-spacing: .05em; text-transform: uppercase; }

.page-cta { position: relative; overflow: hidden; padding: clamp(100px, 12vw, 180px) var(--pad); background: var(--orange); }
.page-cta h2 { position: relative; z-index: 2; max-width: 1050px; font-size: clamp(3.2rem, 7vw, 7.8rem); }
.page-cta h2 em { color: var(--violet); }
.page-cta p { position: relative; z-index: 2; max-width: 650px; margin: 30px 0; }
.page-cta img { position: absolute; right: 1vw; bottom: -24%; width: min(30vw, 430px); max-height: 92%; object-fit: contain; opacity: .85; }

.motion-toggle {
  position: fixed;
  z-index: 90;
  right: 14px;
  bottom: 14px;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 0 13px;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 999px;
  color: var(--white);
  background: rgba(12,11,15,.88);
  font-family: "Space Mono", monospace;
  font-size: .48rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  backdrop-filter: blur(12px);
  cursor: pointer;
}

.motion-toggle span { width: 7px; height: 7px; border-radius: 50%; background: var(--orange); }
.motion-toggle[aria-pressed="false"] span { background: rgba(255,255,255,.35); }
.motion-off *, .motion-off *::before, .motion-off *::after { animation-play-state: paused !important; transition-duration: .01ms !important; }
.motion-off .hero__palm-ui { pointer-events: auto; opacity: 1 !important; transform: translate3d(0,0,0) scale(1) !important; }

@media (max-width: 1180px) {
  .cinema { grid-template-columns: 1fr; gap: 40px; }
  .cinema__copy { max-width: 660px; }
  .fashion-film { width: min(760px, 100%); }
}

@media (max-width: 980px) {
  .site-header { grid-template-columns: 1fr auto auto; gap: 10px; }
  .site-header nav { display: none; }
  .menu-toggle { display: block; }
  .hero { min-height: min(920px, 100svh); padding-top: 130px; }
  .hero__copy { width: 100%; }
  .hero__media { right: var(--pad); bottom: 24px; width: 54vw; height: 50vh; }
  .hero__palm-ui { top: 35%; left: -15%; }
.hero__outline { bottom: 4vw; }
  .hero__caption { display: none; }
  .problem__grid, .cinema { grid-template-columns: 1fr; }
  .problem__copy { max-width: 600px; }
  .profile-step, .profile-step--reverse { grid-template-columns: 1fr; min-height: auto; }
  .profile-step--reverse .profile-step__copy { order: 1; }
  .profile-step--reverse .product-scene { order: 2; }
  .product-scene { min-height: 620px; }
  .profile-step--final .profile-step__copy { text-align: left; }
  .profile-step--final .profile-step__facts { justify-content: flex-start; }
  .profile-step--final .profile-step__copy > p:not(.profile-step__eyebrow) { margin-left: 0; }
  .cinema { min-height: 0; }
  .fashion-film { width: min(720px, 100%); margin: 0 auto; }

  .brand-section__inner { grid-template-columns: 1fr; gap: 54px; padding: clamp(58px, 9vw, 82px); }
  .waitlist__inner { width: 86%; }
  .waitlist__mascot { right: -7vw; width: 34vw; opacity: .82; }
  .faq-section { grid-template-columns: 1fr; }
  .faq-section__intro { position: static; }
  .site-footer { grid-template-columns: 1.3fr .8fr .9fr; }
  .page-hero__grid, .section-head, .split-copy, .quote-panel { grid-template-columns: 1fr; }
  /* la mascotte torna nel flusso, sotto il testo: vedi la nota in fondo */
  .page-hero__aside {
    position: static;
    width: min(230px, 42vw);
    margin: 30px 0 0 auto;
    opacity: 1;
  }
  .page-hero__aside img {
    width: 100%;
    max-height: 250px;
    object-fit: contain;
    object-position: bottom right;
  }
  .section-head__lead { margin-top: 24px; }
  .card-grid { grid-template-columns: 1fr 1fr; }
  .card-grid .content-card:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .quote-panel__media { min-height: 520px; }
  .legal-page { grid-template-columns: 1fr; }
  .legal-toc { position: static; }
}

@media (max-width: 680px) {

  .site-header { grid-template-columns: 1fr auto; }
  .site-header > .button { min-height: 38px; padding: 0 13px; font-size: .68rem; }
  .site-header .header-cta { display: none; }
  /* colonna unica: l'altezza la decide il contenuto, non un numero fisso */
  .hero {
    display: flex;
    flex-direction: column;
    padding-top: calc(var(--header-h) + 34px);
    padding-bottom: 34px;
  }

  .hero__actions { align-items: stretch; flex-direction: column; }
  .hero__actions .button { text-align: center; }

  /* il video esce dal posizionamento assoluto e prende il suo posto in
     colonna, alto quanto basta a vedere la mascotte */
  .hero__media {
    position: relative;
    right: auto;
    bottom: auto;
    order: 3;
    pointer-events: auto;
  }

  /* il pannello scende sotto la mascotte, a tutta larghezza e leggibile */
  .hero__palm-ui {
    margin-top: 12px;
  }

  .hero__note { display: none; }
.hero__outline { bottom: 20px; font-size: 37vw; }
  .problem__grid { display: block; }

  .profile-flow { padding-right: 16px; padding-left: 16px; }

  .profile-step { gap: 38px; }

  .phone { padding-right: 17px; padding-left: 17px; }

  .float-card--photo { bottom: 4%; left: 1%; }
  .profile-ticket { padding: 12px; }

  .profile-ticket--two { right: 1%; bottom: 19%; }
  .profile-ticket--three { bottom: 4%; left: 4%; }

  .outfit-preview__why { grid-template-columns: 1fr; }
  .match-badge { top: 1%; right: 1%; }

  .faq-list details > p { margin-right: 0; }
  /* sul telefono bastano il titolo, il campo e la mascotte: 900 px fissi
     facevano una schermata intera di arancione */

  .waitlist__inner { width: 100%; }
  .waitlist__form .waitlist__field { grid-template-columns: 1fr; padding: 6px; border-radius: 25px; }

  .waitlist__mascot { right: -14vw; bottom: -7%; width: 72vw; max-height: 430px; opacity: .65; }
  footer { grid-template-columns: 1fr auto; gap: 18px; padding-top: 28px; padding-bottom: 28px; }
  footer p { grid-column: 1 / -1; grid-row: 2; }
  .site-footer { grid-template-columns: 1fr 1fr; padding-top: 56px; }
  .site-footer__brand { grid-column: 1 / -1; }
  .site-footer__brand > p { grid-column: auto; grid-row: auto; }
  .site-footer nav p { grid-column: auto; grid-row: auto; }
  .site-footer__bottom { grid-column: 1 / -1; flex-wrap: wrap; }
  /* L'altezza non e' piu' fissa: la decide il contenuto, cosi' su uno
     schermo basso non resta mezzo schermo vuoto e su uno alto niente si
     schiaccia. */
  .page-hero { padding-top: calc(var(--header-h) + 64px); padding-bottom: 54px; }

  .page-hero__copy { align-self: start; }

  .page-hero__aside {
    width: min(190px, 46vw);
    margin-top: 26px;
  }
  .page-hero__aside img { max-height: 210px; }
  /* le varianti servivano solo a spostare fuori schermo figure diverse:
     ora stanno tutte nello stesso posto e non serve piu' distinguerle */
  .page-hero__aside--method,
  .page-hero__aside--partner,
  .page-hero__aside--about,
  .page-hero__aside--contact,
  .page-hero__aside--privacy,
  .page-hero__aside--terms { right: auto; width: min(190px, 46vw); opacity: 1; }

  /* Le varianti allargavano l immagine fino al 138% e la ruotavano fuori dal
     riquadro: sul desktop e una scelta, sul telefono la faceva uscire dallo
     schermo. Qui contano solo i confini. */
  .page-hero__aside--method img,
  .page-hero__aside--partner img,
  .page-hero__aside--about img,
  .page-hero__aside--contact img,
  .page-hero__aside--privacy img,
  .page-hero__aside--terms img { width: 100%; max-height: 210px; transform: none; }
  .card-grid, .principle-list, .contact-grid { grid-template-columns: 1fr; }
  .card-grid .content-card:last-child:nth-child(odd) { grid-column: auto; }

  .numbered-flow { grid-template-columns: 1fr; }
  .number-card, .number-card + .number-card { border-right: 0; border-bottom: 1px solid currentColor; }
  .number-card:last-child { border-bottom: 0; }
  .number-card h3 { margin-top: 72px; }

  .contact-card h2 { margin-top: 78px; }

  .page-cta img { right: -18vw; width: 68vw; opacity: .35; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
.product-scene { transform: none !important; }
}

/* --------------------------------------------------- waitlist: stati e antispam
   L'honeypot resta nel flusso ma fuori schermo: display:none lo renderebbe
   invisibile anche ai bot, che e' esattamente cio' che non vogliamo. */
.waitlist__form .form-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.waitlist__form .form-error {
  margin: 10px 4px 0; font-family: "Archivo", sans-serif; font-size: .78rem;
  line-height: 1.45; text-transform: none; color: var(--orange);
}
.waitlist__form .form-error[hidden] { display: none; }
.waitlist__form .form-status {
  margin: 14px 4px 0; font-family: "Archivo", sans-serif; font-size: .78rem;
  line-height: 1.45; text-transform: none; color: rgba(255, 253, 248, .72); min-height: 1.2em;
}
.waitlist__form .form-status[data-kind="ok"] { color: var(--yellow); }
.waitlist__form .form-status[data-kind="error"] { color: var(--orange); }
.waitlist__form .form-note {
  margin: 16px 4px 0; font-family: "Space Mono", monospace; font-size: .5rem;
  text-transform: uppercase; letter-spacing: .06em; opacity: .68;
}
.waitlist__form .vsty-turnstile { margin: 18px 4px 0; min-height: 0; background: none; padding: 0; border-radius: 0; }
.waitlist__form .vsty-turnstile[hidden] { display: none; }
.waitlist__form[data-availability="closed"] .waitlist__field { opacity: .55; }
.waitlist__form input[aria-invalid="true"] { outline: 2px solid var(--orange); outline-offset: 2px; border-radius: 999px; }

.contact-pec {
  margin: 26px auto 0; max-width: 1180px; padding: 0 var(--pad);
  font-family: "Archivo", sans-serif; font-size: .85rem;
  line-height: 1.5; letter-spacing: 0; opacity: .78;
}
.contact-pec a { text-decoration: underline; text-underline-offset: 3px; }

/* ------------------------------------------------------------- manifesto
   Il claim del progetto, promosso a sezione propria fra l'apertura e il
   problema. Fondo scuro: sta fra il viola dell'hero e il beige della pagina
   e da' lo stacco che serve a una frase che deve restare in testa. */
.manifesto {
  display: grid;
  place-items: center;
  gap: clamp(26px, 3vw, 44px);
  padding: clamp(96px, 13vw, 190px) var(--pad);
  text-align: center;
  color: var(--white);
  background: var(--ink);
}

.manifesto__logo {
  display: block;
  width: clamp(180px, 22vw, 320px);
  height: auto;
}

.manifesto h2 {
  /* le due righe sono quelle scritte nel testo: la larghezza deve bastare a
     tenere insieme la prima, altrimenti "mettere" cade da sola */
  max-width: min(1180px, 94vw);
  margin: 0;
  font-size: clamp(2.1rem, 5.4vw, 5.6rem);
  line-height: 1.02;
  letter-spacing: -.045em;
}

.manifesto h2 em { color: var(--yellow); }

@media (max-width: 680px) {
  .manifesto h2 { max-width: 100%; font-size: clamp(1.9rem, 8.4vw, 2.6rem); }
}

@media (max-width: 680px) {
  /* In colonna il pannello e' contenuto, non un fumetto che esce dalla mano:
     le variabili che lo facevano apparire col gesto qui non servono e lo
     renderebbero invisibile finche' il filmato non arriva al punto giusto. */
  .hero__palm-ui {
    --palm-opacity: 1;
    --palm-shift-x: 0px;
    --palm-shift-y: 0px;
    --palm-scale: 1;
  }
  .hero__palm-spark { display: none; }
  .hero__palm-card { width: 100%; }

  .hero__palm-choices button { flex: 1; padding: 0 10px; }

  /* la mascotte resta dentro il suo riquadro, senza sbordare */
  .hero__video-shell, .hero__fallback { max-width: 100%; object-fit: contain; object-position: bottom center; }
}

@media (max-width: 680px) {
  .hero__media {
    display: flex;
    flex-direction: column;
    height: auto;
  }

  /* il guscio del filmato smette di occupare tutto il contenitore e prende
     un'altezza sua, cosi' quello che viene dopo sta davvero dopo */
  .hero__video-shell {
    position: relative;
    inset: auto;
    /* quanto basta a vedere la mascotte intera senza lasciare vuoto:
       misurato, non scelto a occhio */
    height: 220px;
  }
  .hero__fallback {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: bottom center;
  }

  /* la firma gigante resta uno sfondo e non finisce sopra il pannello */
  .hero__outline { z-index: 0; }

  /* gli scostamenti erano tarati sul posizionamento assoluto: ora che
     l elemento sta nel flusso lo spostavano fuori dallo schermo a sinistra */
  .hero__palm-ui {
    z-index: 4;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
  }
}

/* Comando Movimento nascosto su richiesta: resta nel DOM per non rompere il
   codice che lo aggiorna, ma non si vede. Il rispetto di
   prefers-reduced-motion e' indipendente da questo pulsante. */
.motion-toggle { display: none !important; }

@media (max-width: 680px) {
  /* Le mascotte decorative dentro le sezioni erano larghe il 68-72% dello
     schermo, spostate fuori a destra e sbiadite: restavano tagliate a meta
     dietro il testo, che e esattamente cio che l owner segnalava come
     "mascotte orribili". Su una colonna sola non c e posto per una figura
     di sfondo e un testo leggibile: vince il testo.
     Il marchio resta comunque, perche ogni pagina ha la sua mascotte
     nell intestazione, intera e ordinata. */
  .waitlist__mascot { display: none; }
  .page-cta img { display: none; }
}

@media (max-width: 680px) {
  /* Ogni passaggio aveva una scena con 620 px di altezza minima: con il testo
     sopra faceva circa 1150 px a passaggio, cioe cinque schermate per la sola
     sezione dei tre passi. Il contenuto delle scene sta comodamente in meno. */

  .profile-step { padding: 42px 0; }
  .profile-flow { padding-top: clamp(56px, 9vw, 90px); }
  .profile-flow__header { margin-bottom: clamp(44px, 8vw, 70px); }
}

@media (max-width: 680px) {
  /* I titoli di sezione stavano fra 48 e 54 px su uno schermo largo 390: una
     parola come "Lavoriamo" riempiva la riga da sola, e i titoli finivano su
     quattro righe da una parola ciascuna. Il manifesto, gia a 33 px, sta su
     due righe con nove parole: e la misura giusta per questa larghezza. */
  .problem h2,
  .profile-flow__header h2,
  .cinema h2,
  .brand-section h2,
  .faq-section h2,
  .waitlist h2,
  .page-cta h2,
  .section-head h2,
  .split-copy h2 {
    font-size: clamp(1.85rem, 8.4vw, 2.35rem);
    line-height: 1.06;
    letter-spacing: -.035em;
  }
}

/* ------------------------------------------- telefono in orizzontale
   Girando il telefono la larghezza supera i 680 px e si attiva il layout da
   desktop, ma l altezza scende a 390: l intestazione fissa si mangia un sesto
   dello schermo e le sezioni pensate per essere alte quanto la finestra
   diventano illeggibili. Qui conta l altezza, non la larghezza. */
@media (max-height: 500px) and (orientation: landscape) {
  /* l intestazione scorre con la pagina invece di restare incollata */
  .site-header { position: absolute; }

  /* niente altezze legate alla finestra: la decide il contenuto */
  .hero,
  .page-hero,
  .manifesto,
  .waitlist,
  .cinema,
  .brand-section,
  .profile-step { min-height: auto; }

  .hero { padding-top: calc(var(--header-h) + 26px); padding-bottom: 30px; }
  .page-hero { padding-top: calc(var(--header-h) + 30px); padding-bottom: 36px; }
  .manifesto { padding-top: 54px; padding-bottom: 54px; }
  .waitlist { padding-top: 46px; padding-bottom: 46px; }

  /* le figure decorative non hanno spazio: restano fuori */
  .waitlist__mascot,
  .page-cta img,
  .hero__outline { display: none; }

}

/* ======================================================= esperienza mobile
   Il telefono non e' una versione stretta del desktop. Qui ogni sezione ha
   un solo centro visivo, le demo restano leggibili e le decorazioni che non
   spiegano nulla non consumano scorrimento. Il desktop non entra in questo
   blocco e conserva composizione e proporzioni originali. */
.profile-flow__hint,
.page-hero__mobile-action { display: none; }

@media (max-width: 680px) {
  :root {
    --header-h: 58px;
    --pad: 20px;
  }

  .site-header {
    height: var(--header-h);
    padding-inline: 16px;
  }

  .brand--logo {
    width: 108px;
    height: 42px;
    padding: 7px 11px;
  }

  .menu-toggle {
    width: 42px;
    height: 42px;
  }

  .eyebrow,
  .section-kicker {
    margin-bottom: 16px;
    font-size: .56rem;
  }

  /* Apertura: promessa, spiegazione, azione e una micro-demo. La mascotte
     animata e la firma gigante spariscono: su 320-430 px erano riempimento. */
  .hero {
    min-height: auto;
    padding: calc(var(--header-h) + 26px) var(--pad) 26px;
  }

  .hero__copy { width: 100%; }

  .hero h1 {
    max-width: 12ch;
    font-size: clamp(2.35rem, 11.7vw, 3.15rem);
    line-height: .93;
    letter-spacing: -.06em;
  }

  .hero__intro {
    width: 100%;
    max-width: 35rem;
    margin-top: 18px;
    font-size: .94rem;
    line-height: 1.48;
  }

  .hero__actions {
    gap: 12px;
    margin-top: 22px;
  }

  .hero__actions .button { min-height: 50px; }
  .hero__actions .text-link { min-height: 30px; }

  .hero__media {
    width: 100%;
    margin-top: 16px;
    opacity: 1;
    transform: none !important;
  }

  .hero__video-shell,
  .hero__note,
  .hero__outline { display: none; }

  .hero__palm-ui {
    position: relative;
    inset: auto;
    width: 100%;
    margin: 0;
    pointer-events: auto;
    opacity: 1;
    transform: none !important;
  }

  .hero__palm-card {
    padding: 16px;
    border-color: rgba(12,11,15,.3);
    border-radius: 18px;
    box-shadow: 0 16px 36px rgba(28,7,68,.18);
  }

  .hero__palm-card::after,
  .hero__palm-spark { display: none; }

  .hero__palm-card strong {
    margin-top: 6px;
    font-size: 1rem;
  }

  .hero__palm-card > p {
    display: block;
    margin: 6px 0 12px;
    font-size: .78rem;
  }

  .hero__palm-choices { gap: 6px; margin-top: 0; }
  .hero__palm-choices button { min-height: 38px; padding-inline: 5px; font-size: .52rem; }

  /* Una battuta breve fra viola e beige; il secondo logo non aggiunge
     informazione dopo quello dell'header. */
  body[data-page="home"] .manifesto {
    gap: 18px;
    padding: 48px var(--pad);
  }

  body[data-page="home"] .manifesto__logo { display: block; width: min(62vw, 250px); }
  body[data-page="home"] .manifesto h2 { font-size: clamp(1.85rem, 8.2vw, 2.35rem); }

  /* Il problema e' gia' chiaro nel titolo: resta la risposta, non la sua
     seconda spiegazione, e solo tre dubbi rappresentativi. */
  .problem { padding: 54px var(--pad) 58px; }
  .problem h2 { font-size: clamp(2rem, 9.3vw, 2.65rem); }
  .problem__copy { margin-top: 22px; padding: 0; }
  .problem__copy > p:first-child { display: none; }
  .problem__answer { margin: 0; font-size: .96rem; line-height: 1.5; }
  .friction-list { gap: 7px; margin-top: 24px; }
  .friction-list li { padding: 9px 12px; font-size: .52rem; }
  .friction-list li:nth-child(n + 4) { display: none; }

  /* I tre passaggi diventano tre schede a scorrimento orizzontale. La
     sequenza rimane completa, ma attraversarla non costa quattro-sei
     schermate verticali. La scheda successiva resta visibile di taglio. */
  .profile-flow {
    padding: 54px 0 58px;
    overflow: hidden;
  }

  .profile-flow::before { right: var(--pad); left: var(--pad); }

  .profile-flow__header {
    max-width: none;
    margin: 0;
    padding-inline: var(--pad);
    text-align: left;
  }

  .profile-flow__header h2 { font-size: clamp(2rem, 9.3vw, 2.65rem); }

  .profile-flow__hint {
    display: flex;
    justify-content: space-between;
    margin: 20px var(--pad) 12px;
    color: rgba(12,11,15,.58);
    font-family: "Space Mono", monospace;
    font-size: .55rem;
    letter-spacing: .05em;
    text-transform: uppercase;
  }

  .profile-flow__hint span { color: var(--violet); font-size: .9rem; line-height: .7; }

  .profile-flow__track {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 0 var(--pad) 14px;
    scroll-padding-inline: var(--pad);
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    overscroll-behavior-inline: contain;
  }

  .profile-flow__track::-webkit-scrollbar { display: none; }

  .profile-step,
  .profile-step--reverse {
    display: flex;
    width: auto;
    min-width: 0;
    min-height: 0;
    flex: 0 0 min(86vw, 370px);
    flex-direction: column;
    gap: 18px;
    padding: 22px;
    border: 1px solid rgba(74,27,180,.16);
    border-radius: 26px;
    background: var(--white);
    opacity: 1;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    transform: none;
  }

  .profile-step--reverse .profile-step__copy,
  .profile-step--final .profile-step__copy { order: 1; }

  .profile-step--reverse .product-scene,
  .profile-step--final .product-scene { order: 2; }

  .profile-step__number {
    margin-bottom: 10px;
    color: var(--violet);
    font-size: 2.6rem;
    line-height: .8;
  }

  .profile-step__eyebrow { margin-bottom: 10px; font-size: .52rem; }

  .profile-step__copy h3 {
    margin-bottom: 0;
    font-size: clamp(1.55rem, 7.2vw, 1.95rem);
    line-height: 1;
    letter-spacing: -.05em;
  }

  .profile-step__copy > p:not(.profile-step__eyebrow) { display: none; }
  .profile-step--final .profile-step__copy > .image-disclosure { display: block; margin-top: 12px; }

  .profile-step__facts {
    gap: 5px;
    margin-top: 16px;
  }

  .profile-step__facts li { padding: 7px 9px; font-size: .43rem; }

  .product-scene {
    width: 100%;
    min-height: 278px;
    margin-top: auto;
    border-radius: 20px;
    transform: none !important;
  }

  .product-scene::before {
    width: 62%;
    box-shadow: 0 0 0 44px rgba(74,27,180,.04), 0 0 0 88px rgba(74,27,180,.025);
  }

  .phone {
    width: 74%;
    min-width: 0;
    min-height: 0;
    height: 252px;
    padding: 18px 13px 12px;
    border-width: 6px;
    border-radius: 28px;
    box-shadow: 0 20px 42px rgba(46,21,74,.18);
  }

  .phone::before { top: 5px; height: 11px; }
  .phone__bar { margin: 2px 0 19px; font-size: .34rem; }
  .phone__step { margin-bottom: 8px; font-size: .36rem; }
  .phone h4 { margin-bottom: 13px; font-size: 1.35rem; }
  .phone__field { margin-top: 6px; padding: 8px 9px; border-radius: 10px; }
  .phone__field span,
  .phone__field b { font-size: .57rem; }
  .phone__button { margin-top: 12px; padding: 8px; font-size: .55rem; }

  .float-card,
  .profile-ticket { padding: 10px; border-radius: 12px; }
  .float-card b,
  .profile-ticket b { font-size: .68rem; }
  .float-card span,
  .profile-ticket span { font-size: .34rem; }
  .float-card--taste { top: 5%; right: 3%; }
  .float-card--taste div,
  .float-card--photo,
  .profile-ticket--two,
  .profile-ticket--three,
  .match-badge { display: none; }

  .profile-ticket--one { top: 7%; left: 3%; }
  .result-ring { width: 78px; margin-bottom: 12px; }
  .result-ring span { width: 40px; font-size: 1rem; }
  .phone--result h4 { margin-bottom: 8px; font-size: 1.25rem; }
  .phone__summary { margin-bottom: 11px; font-size: .55rem; }
  .palette-row { gap: 5px; }
  .palette-row i { width: 23px; height: 23px; }

  .product-scene--outfit { min-height: 278px; }
  .outfit-preview { width: 100%; padding: 7px; border-radius: 18px; }
  .outfit-preview__top { padding: 8px; font-size: .4rem; }
  .outfit-preview__items {
    grid-template-columns: 1.12fr .88fr;
    grid-template-rows: 88px 88px;
    gap: 5px;
    min-height: 176px;
  }
  .outfit-piece--jacket { grid-row: 1 / 3; }
  .outfit-piece { border-radius: 10px; }
  .outfit-piece img { object-fit: contain; }
  .outfit-piece--complete img { object-fit: contain; }
  .outfit-piece figcaption { right: 7px; bottom: 7px; left: 7px; }
  .outfit-piece figcaption span { font-size: .3rem; }
  .outfit-piece figcaption b { font-size: .48rem; }
  .outfit-preview__why { display: none; }

  /* Digital Fit: genere e corporatura precedono l'unica immagine dominante;
     contesto e spiegazione restano, ma senza logo e testi duplicati. */
  .cinema {
    gap: 28px;
    padding: 56px var(--pad) 62px;
  }

  .cinema h2 { font-size: clamp(2rem, 9.3vw, 2.65rem); }
  .cinema__copy > p:not(.section-kicker) { margin: 18px 0 0; font-size: .92rem; line-height: 1.48; }

  .fashion-film {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-areas:
      "gender"
      "body"
      "screen"
      "caption"
      "context"
      "reason";
    gap: 0;
    width: 100%;
    max-width: 430px;
    padding: 0;
    border-radius: 20px;
  }

  .fashion-film__visual,
  .fashion-film__rail { display: contents; }

  .fashion-film__gender-picker {
    grid-area: gender;
    gap: 9px;
    margin: 0;
    padding: 18px 16px 0;
  }

  .fashion-film__gender-picker button { min-height: 44px; }

  .fashion-film__body-picker {
    grid-area: body;
    gap: 9px;
    padding: 18px 16px;
  }

  .fashion-film__body-picker > div { gap: 7px; }
  .fashion-film__body-picker button { min-height: 50px; padding: 9px; }
  .fashion-film__body-picker button b { font-size: .8125rem; }

  .fashion-film__screen {
    grid-area: screen;
    height: auto;
    aspect-ratio: 2 / 3;
    max-height: 560px;
  }

  .fashion-film__caption { grid-area: caption; padding: 17px 18px; }
  .fashion-film__caption b { font-size: 1.8rem; }
  .fashion-film__context { grid-area: context; padding: 16px 18px; }

  .fashion-film__reason {
    grid-area: reason;
    margin: 0;
    padding: 17px 0 20px;
    margin-inline: 18px;
  }

  .fashion-film__reason > span { font-size: .875rem; }
  .fashion-film__rail-intro { display: none; }

  /* La home rimanda alla pagina Partner: qui serve una CTA chiara, non una
     seconda pagina Partner compressa nella landing. */
  .brand-section { padding: 56px var(--pad) 58px; }
  .brand-section__inner { gap: 28px; padding: 0; }
  .brand-section__mark { display: none; }
  .brand-section h2 { font-size: clamp(2rem, 9.3vw, 2.65rem); }
  .brand-section__copy > p:not(.section-kicker) { margin: 20px 0 24px; font-size: .92rem; line-height: 1.48; }
  .brand-section__copy .button { width: 100%; }
  .brand-section__principles div { grid-template-columns: 30px 1fr; gap: 10px; padding: 16px 0; }
  .brand-section__principles dt { padding-top: 2px; font-size: .52rem; }
  .brand-section__principles dd { font-size: 1rem; }
  .brand-section__principles dd br { display: none; }

  .faq-section { gap: 28px; padding: 56px var(--pad) 60px; }
  .faq-section h2 { font-size: clamp(2rem, 9.3vw, 2.65rem); }
  .faq-list summary { gap: 14px; padding: 18px 0; font-size: .98rem; line-height: 1.25; }
  .faq-list summary span { width: 30px; height: 30px; }
  .faq-list details > p { margin: -2px 0 20px; font-size: .9rem; line-height: 1.52; }

  .waitlist {
    min-height: auto;
    padding: 54px var(--pad) 58px;
  }
  .waitlist__rings { display: none; }
  .waitlist h2 { font-size: clamp(2rem, 9.3vw, 2.65rem); }
  .waitlist__form { margin-top: 25px; }
  .waitlist__form .waitlist__field { gap: 5px; }
  .waitlist__form input { min-height: 50px; }
  .waitlist__field .button { min-height: 48px; }

  .site-footer {
    gap: 34px 24px;
    padding: 46px var(--pad) 24px;
  }

  /* Le pagine interne aprono con una decisione, non con una mascotte da
     attraversare. Il bottone mobile completa titolo + frase nel primo fold. */
  .page-hero {
    min-height: auto;
    padding: calc(var(--header-h) + 30px) var(--pad) 44px;
  }

  .page-hero h1 {
    max-width: 12ch;
    font-size: clamp(2.25rem, 10.6vw, 3rem);
    line-height: .93;
    letter-spacing: -.055em;
  }

  .page-hero__lead {
    max-width: 38rem;
    margin-top: 19px;
    font-size: .92rem;
    line-height: 1.48;
  }

  .page-hero__aside { display: none; }

  .page-hero__mobile-action {
    display: inline-flex;
    min-height: 48px;
    margin-top: 22px;
    color: var(--ink);
    background: var(--white);
  }

  .page-hero--orange .page-hero__mobile-action,
  body[data-page="termini"] .page-hero__mobile-action { color: var(--white); background: var(--ink); }

  .doc-meta { margin-top: 17px; font-size: .48rem; line-height: 1.5; }

  .content-section { padding: 54px var(--pad) 58px; }
  .section-head { gap: 22px; margin-bottom: 34px; }
  .section-head h2,
  .split-copy h2 { font-size: clamp(2rem, 9.3vw, 2.65rem); }
  .section-head__lead { margin-top: 0; font-size: .94rem; line-height: 1.5; }
  .about-team__head { gap: 14px; margin-bottom: 28px; }
  .about-team__head h2 { font-size: clamp(1.6rem, 7.7vw, 5.2rem); }
  .about-team__head .section-head__lead { margin: 0; }
  .about-team__list { grid-template-columns: 1fr; }
  .about-team__list li { padding: 18px 0 20px; }
  .about-team__list h3 { font-size: 1.55rem; }
  .about-team__contact { margin-top: 18px; }

  .split-copy { gap: 24px; }
  .split-copy__body p { font-size: .94rem; line-height: 1.55; }

  .card-grid { gap: 0; background: transparent; }
  .content-card {
    min-height: 0;
    padding: 24px 0;
    border-bottom: 1px solid var(--line);
  }
  .content-card:first-child { border-top: 1px solid var(--line); }
  .content-card__number { margin-bottom: 22px; }
  .content-card h3 { margin-bottom: 10px; font-size: 1.45rem; }
  .content-card p { font-size: .92rem; line-height: 1.5; }

  .number-card,
  .number-card + .number-card {
    min-height: 0;
    padding: 24px 0;
  }
  .number-card h3 { margin: 22px 0 9px; font-size: 1.45rem; }
  .number-card p { margin-bottom: 0; font-size: .92rem; line-height: 1.5; }

  .principle-list article { padding: 26px 0; border-bottom: 1px solid var(--line); }
  .principle-list article:first-child { border-top: 1px solid var(--line); }
  .principle-list h3 { margin-bottom: 10px; font-size: 1.35rem; }
  .principle-list p { font-size: .92rem; line-height: 1.5; }

  .quote-panel { gap: 28px; }
  .quote-panel__media { min-height: 285px; border-radius: 22px; }
  .quote-panel blockquote { font-size: clamp(1.9rem, 8.6vw, 2.45rem); }
  .quote-panel cite { margin-top: 22px; }

  body[data-page="chi-siamo"] .manifesto { padding: 58px var(--pad); }
  body[data-page="chi-siamo"] .manifesto h2 { font-size: clamp(2rem, 9.3vw, 2.65rem); }
  body[data-page="chi-siamo"] .manifesto p { margin-top: 22px; font-size: .94rem; line-height: 1.5; }

  .page-cta { padding: 56px var(--pad) 60px; }
  .page-cta h2 { font-size: clamp(2rem, 9.3vw, 2.65rem); }
  .page-cta p { margin: 20px 0 24px; font-size: .94rem; line-height: 1.5; }

  .contact-grid { gap: 0; }
  .contact-card {
    min-height: 0;
    padding: 23px 54px 23px 0;
    border-width: 1px 0 0;
    background: transparent;
  }
  .contact-card:last-child { border-bottom-width: 1px; }
  .contact-card::after { right: 8px; bottom: 50%; font-size: 1.45rem; transform: translateY(50%); }
  .contact-card h2 { margin: 13px 0 8px; font-size: 1.45rem; }
  .contact-card p { font-size: .9rem; line-height: 1.48; }
  .contact-pec { margin-top: 24px; padding: 0; }
  .contact-note { margin-top: 24px; }

  /* Il testo legale non viene ridotto o nascosto. Si tolgono solo centinaia
     di pixel di vuoto e l'indice diventa una barra orizzontale consultabile
     durante la lettura. */
  body[data-page="privacy"] .content-section,
  body[data-page="termini"] .content-section { padding-top: 0; }

  .legal-page { gap: 34px; }

  .legal-toc {
    position: sticky;
    z-index: 8;
    top: var(--header-h);
    margin-inline: calc(var(--pad) * -1);
    padding: 10px var(--pad);
    overflow-x: auto;
    border-width: 1px 0;
    box-shadow: 0 8px 24px rgba(12,11,15,.06);
    scrollbar-width: none;
  }

  .legal-toc::-webkit-scrollbar { display: none; }
  .legal-toc > p { display: none; }
  .legal-toc ol {
    display: flex;
    width: max-content;
    gap: 7px;
    margin: 0;
    padding: 0;
    list-style: none;
  }
  .legal-toc a {
    display: block;
    padding: 8px 11px;
    border: 1px solid var(--line);
    border-radius: 999px;
    font-size: .7rem;
    white-space: nowrap;
  }

  .legal-copy section {
    scroll-margin-top: calc(var(--header-h) + 62px);
    margin-bottom: 34px;
    padding-bottom: 34px;
  }
  .legal-copy h2 { margin-bottom: 16px; font-size: 1.75rem; line-height: 1.02; }
  .legal-copy p,
  .legal-copy li { font-size: .94rem; line-height: 1.62; }
  .legal-copy p { margin-bottom: 15px; }
}

@media (max-width: 680px), (max-height: 500px) and (pointer: coarse) {
  .site-footer .brand--footer { width: 140px; height: 50px; }
}

/* In orizzontale l'header non torna fisso quando app.js aggiunge is-fixed.
   Le composizioni passano a due colonne corte; nessun pannello usa 100vh. */
@media (max-height: 500px) and (orientation: landscape) {
  :root { --header-h: 58px; --pad: 24px; }

  .site-header,
  .site-header.is-fixed,
  .site-header.site-header--solid { position: absolute; }

  .hero {
    grid-template-columns: minmax(0, 1.1fr) minmax(250px, .72fr);
    gap: 28px;
    align-items: center;
    padding: calc(var(--header-h) + 24px) var(--pad) 28px;
  }

  .hero__copy { width: 100%; }
  .hero h1 { max-width: 760px; }
  .hero__intro { max-width: 560px; margin-top: 16px; font-size: .85rem; line-height: 1.42; }
  .hero__actions { gap: 14px; margin-top: 18px; }
  .hero__actions .button { min-height: 44px; }

  .hero__media {
    position: relative;
    inset: auto;
    width: 100%;
    height: auto;
    margin: 0;
    opacity: 1;
    transform: none !important;
  }

  .hero__video-shell,
  .hero__note,
  .hero__outline { display: none; }

  .hero__palm-ui {
    position: static;
    width: 100%;
    pointer-events: auto;
    opacity: 1;
    transform: none !important;
  }

  .hero__palm-card { padding: 14px; }
  .hero__palm-card::after,
  .hero__palm-spark { display: none; }
  .hero__palm-card > p { margin-block: 6px 10px; }

  body[data-page="home"] .manifesto { gap: 16px; padding-block: 44px; }
  body[data-page="home"] .manifesto__logo { display: block; width: min(62vw, 250px); }

  .problem { padding-block: 54px; }
  .problem__copy > p:first-child { display: none; }
  .problem__answer { margin-top: 0; }
  .friction-list { margin-top: 24px; }
  .friction-list li:nth-child(n + 4) { display: none; }

  .profile-flow { padding-top: 54px; }
  .profile-flow__header { margin-bottom: 30px; }

  .profile-flow__track {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
  }
  .profile-step,
  .profile-step--reverse {
    display: flex;
    min-height: 0;
    padding: 22px;
    flex-direction: column;
    border: 1px solid var(--line);
    border-radius: 24px;
    opacity: 1;
    transform: none;
  }
  .profile-step__number { margin-bottom: 10px; font-size: 3rem; }
  .profile-step__eyebrow { margin-bottom: 9px; }
  .profile-step__copy h3 { font-size: 1.55rem; }
  .profile-step__copy > p:not(.profile-step__eyebrow) { display: none; }
  .profile-step__facts { gap: 5px; margin-top: 14px; }
  .profile-step__facts li { padding: 6px 8px; font-size: .4rem; }
  .product-scene { width: 100%; min-height: 220px; height: 220px; margin-top: auto; border-radius: 20px; transform: none !important; }
  .phone { width: 68%; min-width: 0; min-height: 0; height: 210px; padding: 15px 11px 10px; border-width: 5px; border-radius: 24px; }
  .phone::before { top: 4px; height: 9px; }
  .phone__bar { margin: 1px 0 15px; font-size: .3rem; }
  .phone__step { margin-bottom: 6px; font-size: .32rem; }
  .phone h4 { margin-bottom: 10px; font-size: 1.08rem; }
  .phone__field { margin-top: 5px; padding: 6px 7px; border-radius: 8px; }
  .phone__field span,
  .phone__field b { font-size: .48rem; }
  .phone__button { margin-top: 9px; padding: 6px; font-size: .48rem; }
  .float-card,
  .profile-ticket { padding: 8px; border-radius: 10px; }
  .float-card b,
  .profile-ticket b { font-size: .58rem; }
  .float-card span,
  .profile-ticket span { font-size: .3rem; }
  .float-card--photo,
  .profile-ticket--two,
  .profile-ticket--three,
  .match-badge { display: none; }
  .result-ring { width: 62px; margin-bottom: 8px; }
  .result-ring span { width: 33px; font-size: .8rem; }
  .phone__summary { margin-bottom: 8px; font-size: .48rem; }
  .palette-row { gap: 4px; }
  .palette-row i { width: 19px; height: 19px; }
  .outfit-preview { width: 95%; padding: 6px; border-radius: 16px; }
  .outfit-preview__top { padding: 6px; font-size: .34rem; }
  .outfit-preview__items { grid-template-rows: 74px 74px; min-height: 148px; gap: 4px; }
  .outfit-piece img { object-fit: contain; }
  .outfit-preview__why { display: none; }

  .cinema { grid-template-columns: minmax(260px, .65fr) minmax(430px, 1fr); gap: 36px; }
  .cinema h2,
  .brand-section h2,
  .faq-section h2,
  .waitlist h2 { font-size: clamp(2.45rem, 5vw, 3.2rem); }
  .fashion-film { max-width: 680px; }
  .fashion-film__rail { gap: 16px; padding: 16px; }
  .fashion-film__rail-intro { display: none; }
  .brand-section__inner { grid-template-columns: 1fr 1fr; padding: 0; }

  .page-hero__aside { display: none; }
  .page-hero__grid { grid-template-columns: 1fr; }
  .page-hero h1 { max-width: 13ch; font-size: clamp(2.5rem, 6vw, 4rem); }
  .page-hero__lead { max-width: 760px; margin-top: 16px; font-size: .86rem; line-height: 1.4; }

  .page-hero__mobile-action {
    display: inline-flex;
    min-height: 42px;
    margin-top: 14px;
    color: var(--ink);
    background: var(--white);
  }
  .page-hero--orange .page-hero__mobile-action,
  body[data-page="termini"] .page-hero__mobile-action { color: var(--white); background: var(--ink); }

  .content-section { padding: 54px var(--pad); }
  .section-head,
  .split-copy { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4vw; }
  .about-team__head { grid-template-columns: 1fr; }
  .section-head { margin-bottom: 38px; }
  .section-head h2,
  .split-copy h2 { font-size: clamp(2.15rem, 4.4vw, 2.65rem); line-height: .98; }
  .section-head__lead { margin-top: 8px; }
  .card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .card-grid .content-card:last-child:nth-child(odd) { grid-column: auto; }
  .content-card { min-height: 230px; padding: 22px; }
  .content-card__number { margin-bottom: 54px; }
  .number-card { min-height: 230px; }
  .number-card h3 { margin-top: 74px; }
  .quote-panel { gap: 5vw; }
  .quote-panel__media { min-height: 300px; }
  .quote-panel blockquote { font-size: clamp(2rem, 4.2vw, 3.2rem); }
  .contact-grid { grid-template-columns: 1fr 1fr; }
  .contact-card { min-height: 215px; padding: 22px; }
  .contact-card h2 { margin: 48px 0 10px; font-size: 1.6rem; }
  .page-cta { padding: 54px var(--pad); }

  body[data-page="privacy"] .content-section,
  body[data-page="termini"] .content-section { padding: 0 var(--pad) 54px; }

  .legal-page { gap: 28px; }
  .legal-toc {
    position: sticky;
    z-index: 8;
    top: 0;
    margin-inline: calc(var(--pad) * -1);
    padding: 8px var(--pad);
    overflow-x: auto;
    border-width: 1px 0;
    box-shadow: 0 8px 24px rgba(12,11,15,.06);
    scrollbar-width: none;
  }
  .legal-toc::-webkit-scrollbar { display: none; }
  .legal-toc > p { display: none; }
  .legal-toc ol { display: flex; width: max-content; gap: 7px; margin: 0; padding: 0; list-style: none; }
  .legal-toc a { display: block; padding: 7px 10px; border: 1px solid var(--line); border-radius: 999px; font-size: .66rem; white-space: nowrap; }
  .legal-copy section { margin-bottom: 32px; padding-bottom: 32px; scroll-margin-top: 54px; }
  .legal-copy h2 { margin-bottom: 14px; font-size: 1.7rem; }
  .legal-copy p,
  .legal-copy li { font-size: .92rem; line-height: 1.58; }
}

/* Mobile: la guida torna accanto a un'azione, mai come sfondo sbiadito.
   Le nuove sorgenti picture non vengono scaricate dal desktop. */
.hero__cta-mascot,
.mobile-mascot,
.mobile-copy { display: none; }
.mascot-action { display: contents; }

@media (max-width: 680px), (max-height: 500px) and (orientation: landscape) {
  .desktop-copy { display: none; }
  .mobile-copy { display: inline; }
  .mobile-mascot { display: block; }
  .mobile-mascot img {
    display: block;
    position: static;
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: contain;
    opacity: 1;
    filter: none;
    transform: none;
  }

  .hero__media,
  .hero__actions .text-link,
  .hero__rings { display: none; }
  .hero__actions { margin-top: 22px; padding-top: clamp(86px, 23vw, 108px); }
  .hero__actions .hero__primary-action {
    position: relative;
    display: flex;
    min-height: 60px;
    justify-content: center;
    padding: 18px 24px;
    overflow: visible;
    color: var(--ink);
    background: var(--orange);
    border: 1px solid rgba(12,11,15,.12);
    box-shadow: 0 6px 0 rgba(12,11,15,.24);
    font-size: 1rem;
    font-weight: 750;
  }
  .hero__cta-mascot {
    display: block;
    position: absolute;
    z-index: 1;
    right: 5%;
    bottom: calc(100% - 2px);
    width: min(90%, 320px);
    aspect-ratio: 780 / 245;
    pointer-events: none;
  }
  .hero__cta-mascot img { display: block; width: 100%; height: 100%; object-fit: contain; }
  .hero__primary-action:hover { background: #ff8c42; }

  .mascot-heading {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(100px, .75fr);
    align-items: center;
    gap: 14px;
  }
  .mascot-heading h2 { font-size: clamp(1.9rem, 8.4vw, 2.4rem); }
  .mascot-heading .mobile-mascot { height: 170px; }
  .mascot-heading .section-kicker { font-size: .5rem; }
  body[data-page="contatti"] .mascot-heading { grid-template-columns: minmax(0, 1fr) 112px; }
  body[data-page="contatti"] .mascot-heading .mobile-mascot { height: 145px; }

  .mascot-action { display: flex; align-items: end; justify-content: space-between; gap: 20px; }
  .mascot-action .mobile-mascot { width: 125px; height: 162px; flex: 0 0 auto; }
  .mascot-action .button { min-height: 50px; margin-bottom: 12px; }
  .page-cta .mobile-mascot img { display: block; position: static; width: 100%; max-height: none; opacity: 1; }
  body[data-page="partner"] section[aria-labelledby="status-title"] { background: var(--white); }

  .quote-panel { grid-template-columns: 150px minmax(0, 1fr); gap: 18px 24px; }
  .quote-panel > div:not(.quote-panel__media) { display: contents; }
  .quote-panel .section-kicker { grid-column: 1 / -1; grid-row: 1; margin: 0; }
  .quote-panel blockquote { grid-column: 1 / -1; grid-row: 2; }
  .quote-panel__media {
    grid-column: 1;
    grid-row: 3;
    min-height: 0;
    height: 140px;
    overflow: visible;
    border-radius: 0;
    background: none;
  }
  .quote-panel__media img { position: static; width: 100%; height: 100%; object-fit: contain; filter: none; }
  .quote-panel cite { grid-column: 2; grid-row: 3; margin: 0; line-height: 1.7; }

  .legal-mascot { width: 100px; height: 130px; margin: 0 0 0 auto; }
  .notfound-mascot { width: 130px; height: 155px; margin: 24px 0 0 auto; }
}

@media (max-height: 500px) and (orientation: landscape) {
  .hero { display: block; }
  .hero__copy { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(250px, .9fr); column-gap: 40px; }
  .hero__copy > .eyebrow { grid-column: 1 / -1; }
  .hero h1 { grid-column: 1; font-size: 2.75rem; }
  .hero__intro { grid-column: 1; }
  .hero__actions { grid-column: 2; grid-row: 2 / 4; align-self: end; margin: 0 0 6px; padding-top: 108px; }
  .hero__actions .hero__primary-action { width: 100%; }
  .mascot-heading { grid-template-columns: minmax(0, 1fr) 125px; }
  .quote-panel { grid-template-columns: 180px minmax(0, 1fr); }
  .quote-panel .section-kicker { grid-column: 2; }
  .quote-panel blockquote { grid-column: 2; }
  .quote-panel__media { grid-row: 1 / 4; height: 190px; }
  .quote-panel cite { grid-column: 2; }
  .notfound-mascot { position: absolute; right: 24px; bottom: 36px; height: 140px; }
  body[data-page="404"] .page-hero__lead { max-width: calc(100% - 170px); }
}
/* Compact language switch: the thumb moves between IT and EN without
   changing the existing header grid or the mobile menu. */
.language-toggle {
  position: absolute;
  top: 50%;
  right: calc(var(--pad) + 190px);
  display: grid;
  grid-template-columns: repeat(2, 40px);
  align-items: center;
  width: 90px;
  height: 42px;
  padding: 4px;
  border: 1px solid rgba(74, 27, 180, .2);
  border-radius: 999px;
  color: var(--ink);
  background: var(--white);
  box-shadow: 0 4px 14px rgba(18, 12, 28, .1);
  font: 700 .7rem "Space Mono", monospace;
  cursor: pointer;
  transform: translateY(-50%);
  isolation: isolate;
}
.language-toggle::before {
  position: absolute;
  z-index: -1;
  top: 4px;
  left: 4px;
  width: 40px;
  height: 32px;
  border-radius: 999px;
  background: var(--violet);
  content: "";
  transition: transform .25s ease;
}
.language-toggle__it,
.language-toggle__en { text-align: center; transition: color .25s ease; }
.language-toggle__it { color: var(--white); }
html[data-locale="en"] .language-toggle::before { transform: translateX(40px); }
html[data-locale="en"] .language-toggle__it { color: var(--ink); }
html[data-locale="en"] .language-toggle__en { color: var(--white); }
/* Al tocco il cursore scorre verso l'altra lingua prima che la pagina si
   ricarichi, e i colori delle due sigle si scambiano con lui. */
html[data-locale="it"] .language-toggle.is-switching::before { transform: translateX(40px); }
html[data-locale="en"] .language-toggle.is-switching::before { transform: none; }
html[data-locale="it"] .language-toggle.is-switching .language-toggle__it,
html[data-locale="en"] .language-toggle.is-switching .language-toggle__en { color: var(--ink); }
html[data-locale="it"] .language-toggle.is-switching .language-toggle__en,
html[data-locale="en"] .language-toggle.is-switching .language-toggle__it { color: var(--white); }
.language-toggle:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
@media (max-width: 980px) {
  .language-toggle { right: calc(var(--pad) + 230px); }
}
@media (max-width: 680px) {
  .language-toggle { right: 72px; width: 90px; height: 40px; }
  .language-toggle::before { height: 30px; }
}
@media (prefers-reduced-motion: reduce) {
  .language-toggle::before,
  .language-toggle__it,
  .language-toggle__en { transition: none; }
}

/* Nota sulla traduzione nelle pagine legali in inglese: e' una frase da
   leggere, non un'etichetta, quindi niente maiuscolo e un corpo leggibile.
   Sta in fondo al file perche' deve vincere sulle regole mobili di .doc-meta. */
.doc-meta--lang {
  max-width: 62ch;
  margin-top: 12px;
  font-size: .72rem;
  line-height: 1.55;
  letter-spacing: 0;
  text-transform: none;
}
.doc-meta--lang a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
