:root {
  --ink: #0a1626;
  --graphite: #102a43;
  --paper: #ffffff;
  --mist: #e5e7eb;
  --copper: #f97316;
  --acid: #e5e7eb;
  --steel: #1e3a5f;
  --clay: #c2410c;
  --white: #ffffff;
  --shadow: 0 28px 80px rgba(12, 12, 11, 0.28);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

[id] {
  scroll-margin-top: 112px;
}

body {
  margin: 0;
  font-family: Montserrat, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: #0d2138;
  overflow-x: hidden;
  cursor: default;
}

body::selection {
  color: var(--ink);
  background: var(--acid);
}

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

button,
input {
  font: inherit;
}

.site-loader {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 18px;
  color: var(--mist);
  background:
    radial-gradient(circle at 50% 45%, rgba(229, 231, 235, 0.18), transparent 24%),
    #07111e;
  pointer-events: none;
  animation: loaderExit 0.55s cubic-bezier(0.7, 0, 0.2, 1) 0.55s forwards;
}

.site-loader span {
  display: grid;
  place-items: center;
  width: 82px;
  height: 82px;
  color: var(--ink);
  background: linear-gradient(135deg, var(--acid), var(--copper));
  border-radius: 50%;
  font-weight: 900;
  box-shadow: 0 0 70px rgba(229, 231, 235, 0.28);
}

.site-loader strong {
  font-size: 0.78rem;
  text-transform: uppercase;
}

.site-loader i {
  width: 240px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--acid), var(--copper), transparent);
  transform-origin: left center;
  animation: loaderLine 0.75s cubic-bezier(0.2, 0.8, 0.2, 1) infinite;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 80;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--acid), var(--copper), var(--steel));
  transform: scaleX(var(--page-progress, 0));
  transform-origin: left center;
}

.cursor-light {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 2;
  width: 420px;
  height: 420px;
  pointer-events: none;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(229, 231, 235, 0.18), rgba(249, 115, 22, 0.1) 34%, transparent 68%);
  opacity: 0.7;
  transform: translate3d(calc(var(--mouse-x, 50vw) - 50%), calc(var(--mouse-y, 50vh) - 50%), 0);
  mix-blend-mode: screen;
}

.noise {
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
  opacity: 0.075;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.65'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

#blueprint {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.42;
}

.site-header {
  position: fixed;
  top: 30px;
  left: 50%;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 26px;
  width: min(1260px, calc(100vw - 80px));
  min-height: 68px;
  padding: 10px 14px 10px 18px;
  color: rgba(241, 245, 249, 0.94);
  background:
    linear-gradient(90deg, rgba(229, 231, 235, 0.08), transparent 48%, rgba(249, 115, 22, 0.08)),
    rgba(12, 28, 46, 0.82);
  border: 1px solid rgba(229, 231, 235, 0.16);
  border-radius: 12px;
  transform: translateX(-50%);
  backdrop-filter: blur(12px);
  transition: background 0.3s ease, box-shadow 0.3s ease, color 0.3s ease;
}

.site-header.is-scrolled {
  color: rgba(241, 245, 249, 0.96);
  background: rgba(13, 30, 48, 0.88);
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.22);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
  white-space: nowrap;
}

h1,
h2,
h3,
.brand,
.header-cta,
.btn {
  font-family: Montserrat, system-ui, sans-serif;
}

.brand-logo-img {
  display: block;
  height: 42px;
  width: auto;
}

nav {
  display: flex;
  justify-content: center;
  gap: clamp(12px, 2.1vw, 28px);
  font-size: 0.86rem;
  font-weight: 500;
}

nav a {
  opacity: 0.82;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

nav a:hover {
  opacity: 1;
  transform: translateY(-2px);
}

/* ===== Menu a tendina "Magazine" (categorie articoli) ===== */
.nav-drop {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-drop-top {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.nav-caret {
  font-size: 0.7em;
  transition: transform 0.25s ease;
}

.nav-drop:hover .nav-caret,
.nav-drop:focus-within .nav-caret {
  transform: rotate(180deg);
}

/* Ponte invisibile: mantiene l'hover mentre il mouse scende sul menu */
.nav-drop::after {
  content: "";
  position: absolute;
  top: 100%;
  left: -12px;
  right: -12px;
  height: 18px;
}

.nav-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  min-width: 238px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px;
  background: rgba(12, 28, 46, 0.98);
  border: 1px solid rgba(229, 231, 235, 0.16);
  border-radius: 12px;
  box-shadow: 0 26px 64px rgba(0, 0, 0, 0.45);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  z-index: 60;
}

.nav-drop:hover .nav-menu,
.nav-drop:focus-within .nav-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav-menu a {
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 0.85rem;
  white-space: nowrap;
  opacity: 0.85;
}

.nav-menu a:hover {
  opacity: 1;
  transform: none;
  background: rgba(249, 115, 22, 0.16);
}

.nav-menu-all {
  margin-top: 5px;
  padding-top: 12px;
  border-top: 1px solid rgba(229, 231, 235, 0.12);
  color: var(--copper);
  font-weight: 700;
}

/* Su mobile: categorie annidate e sempre visibili nel menu a scomparsa */
@media (max-width: 620px) {
  .nav-drop {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }
  .nav-drop::after {
    content: none;
  }
  .nav-caret {
    display: none;
  }
  .nav-menu {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    min-width: 0;
    gap: 0;
    margin: 2px 0 6px 6px;
    padding: 2px 0 4px 12px;
    background: none;
    border: none;
    border-left: 2px solid rgba(249, 115, 22, 0.35);
    box-shadow: none;
  }
  .nav-menu a {
    white-space: normal;
    opacity: 0.7;
    font-size: 0.92rem;
  }
  .nav-menu-all {
    border-top: none;
    padding-top: 10px;
    opacity: 0.95;
  }
  .site-header nav {
    max-height: 76vh;
    overflow-y: auto;
  }
}

.header-cta,
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 0;
  border-radius: 7px;
  cursor: pointer;
  font-weight: 800;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.header-cta,
.btn.primary {
  color: #ffffff;
  background: linear-gradient(135deg, #fb923c 0%, #f97316 55%, #ea580c 100%);
  box-shadow: 0 14px 38px rgba(249, 115, 22, 0.35);
}

.btn.ghost {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.header-cta::after,
.btn::after {
  content: "";
  position: absolute;
  inset: -2px;
  z-index: -1;
  background: linear-gradient(110deg, transparent 0 34%, rgba(255, 255, 255, 0.58) 46%, transparent 58% 100%);
  transform: translateX(-105%);
  transition: transform 0.65s cubic-bezier(0.2, 0.9, 0.2, 1);
}

.header-cta:hover::after,
.btn:hover::after {
  transform: translateX(105%);
}

.section {
  position: relative;
  z-index: 1;
  padding: clamp(84px, 10vw, 150px) max(20px, calc((100vw - 1180px) / 2));
}

.hero {
  display: block;
  min-height: 100svh;
  margin: 0;
  padding: 132px max(40px, calc((100vw - 1320px) / 2)) 58px;
  color: var(--white);
  overflow: hidden;
  background:
    radial-gradient(circle at 76% 53%, rgba(34, 86, 140, 0.26), transparent 31%),
    radial-gradient(circle at 64% 74%, rgba(249, 115, 22, 0.22), transparent 23%),
    linear-gradient(135deg, #0c2138 0%, #16344f 48%, #0a1c30 100%);
}

.hero-frame {
  position: absolute;
  inset: 104px max(24px, calc((100vw - 1320px) / 2)) 34px;
  z-index: 6;
  pointer-events: none;
  border: 0;
  opacity: 0.72;
}

.hero-frame span {
  position: absolute;
  width: 84px;
  height: 84px;
  border-color: rgba(229, 231, 235, 0.34);
}

.hero-frame span:nth-child(1) {
  top: -1px;
  left: -1px;
  border-top: 1px solid;
  border-left: 1px solid;
}

.hero-frame span:nth-child(2) {
  top: -1px;
  right: -1px;
  border-top: 1px solid;
  border-right: 1px solid;
}

.hero-frame span:nth-child(3) {
  bottom: -1px;
  left: -1px;
  border-bottom: 1px solid;
  border-left: 1px solid;
}

.hero-frame span:nth-child(4) {
  right: -1px;
  bottom: -1px;
  border-right: 1px solid;
  border-bottom: 1px solid;
}

#hero-system {
  position: absolute;
  inset: 0;
  z-index: 4;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.55;
}

.hero-status {
  position: absolute;
  left: max(24px, calc((100vw - 1240px) / 2));
  bottom: 42px;
  z-index: 7;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 42px;
  padding: 8px 14px 8px 10px;
  color: rgba(226, 232, 240, 0.84);
  background: rgba(12, 28, 46, 0.85);
  border: 1px solid rgba(229, 231, 235, 0.16);
  border-radius: 999px;
}

.hero-status span {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 9px;
  color: var(--ink);
  background: linear-gradient(135deg, var(--acid), var(--copper));
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-status b {
  font-size: 0.82rem;
}

.hero-media,
.hero-scrim {
  position: absolute;
  inset: 0;
}

.hero-media {
  z-index: 2;
  overflow: hidden;
  will-change: transform;
}

.hero-media::before {
  content: "";
  position: absolute;
  inset: 6% 0 0 34%;
  background-image:
    linear-gradient(30deg, rgba(229, 231, 235, 0.11) 12%, transparent 12% 88%, rgba(229, 231, 235, 0.11) 88%),
    linear-gradient(150deg, rgba(229, 231, 235, 0.09) 12%, transparent 12% 88%, rgba(229, 231, 235, 0.09) 88%);
  background-size: 118px 204px;
  opacity: 0.38;
  mask-image: radial-gradient(circle at 54% 48%, black, transparent 74%);
  animation: hexDrift 14s linear infinite;
}

.hero-builder {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: 64% center;
  filter: saturate(1.02) contrast(1.12) brightness(0.6);
  opacity: 0.78;
  animation: heroPhotoDrift 18s ease-in-out infinite alternate;
  will-change: transform;
}

.hero-blueprint {
  position: absolute;
  inset: 14% max(20px, calc((100vw - 1280px) / 2)) 8%;
  z-index: 4;
  width: min(1280px, calc(100vw - 40px));
  height: auto;
  margin: auto;
  pointer-events: none;
  opacity: 0.42;
  mix-blend-mode: screen;
}

.hero-blueprint path,
.hero-blueprint circle {
  fill: none;
  stroke: rgba(229, 231, 235, 0.72);
  stroke-width: 1.25;
  vector-effect: non-scaling-stroke;
  filter: drop-shadow(0 0 8px rgba(229, 231, 235, 0.35));
}

.hero-blueprint path {
  stroke-dasharray: 620;
  stroke-dashoffset: 620;
  animation: blueprintTrace 5.8s cubic-bezier(0.2, 0.8, 0.2, 1) infinite;
}

.hero-blueprint path:nth-child(2) {
  animation-delay: 0.6s;
}

.hero-blueprint path:nth-child(3) {
  animation-delay: 1.1s;
}

.hero-blueprint path:nth-child(4) {
  animation-delay: 1.55s;
}

.hero-blueprint circle {
  fill: rgba(249, 115, 22, 0.76);
  stroke: rgba(254, 215, 170, 0.75);
  animation: nodePulse 2.2s ease-in-out infinite;
}

.hero-orb {
  position: absolute;
  z-index: 1;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(4px);
}

.orb-one {
  left: 43%;
  right: auto;
  bottom: 20%;
  width: 460px;
  height: 460px;
  background: radial-gradient(circle, rgba(229, 231, 235, 0.24), transparent 66%);
  animation: pulseOrb 4.2s ease-in-out infinite;
}

.orb-two {
  left: 36%;
  right: auto;
  bottom: 2%;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(249, 115, 22, 0.22), transparent 68%);
  animation: pulseOrb 5.4s ease-in-out infinite reverse;
}

.hero-scrim {
  z-index: 1;
  background:
    radial-gradient(circle at 62% 36%, rgba(229, 231, 235, 0.12), transparent 31%),
    radial-gradient(circle at 82% 80%, rgba(249, 115, 22, 0.18), transparent 23%),
    linear-gradient(90deg, rgba(6, 16, 28, 0.99) 0%, rgba(6, 16, 28, 0.9) 29%, rgba(6, 16, 28, 0.42) 58%, rgba(6, 16, 28, 0.58) 100%),
    linear-gradient(0deg, rgba(6, 16, 28, 0.92), transparent 48%);
}

.hero-content {
  position: absolute;
  left: max(40px, calc((100vw - 1320px) / 2));
  bottom: clamp(108px, 16vh, 160px);
  z-index: 5;
  display: block;
  width: min(760px, 58vw);
  margin: 0;
  padding-top: 0;
  padding-left: 0;
  will-change: transform;
}

.hero-rail {
  position: absolute;
  right: clamp(30px, 7vw, 130px);
  top: 17vh;
  z-index: 1;
  display: grid;
  gap: 10px;
  color: rgba(229, 231, 235, 0.56);
  font-size: clamp(4rem, 8vw, 9.4rem);
  font-weight: 900;
  line-height: 0.86;
  text-align: right;
  text-transform: uppercase;
  opacity: 0.1;
  mix-blend-mode: screen;
  will-change: transform;
}

.hero-index {
  position: absolute;
  left: max(40px, calc((100vw - 1320px) / 2));
  top: 132px;
  z-index: 7;
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(226, 232, 240, 0.62);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-index span {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  color: var(--ink);
  background: linear-gradient(135deg, var(--acid), var(--copper));
  border-radius: 7px;
}

.hero-index b {
  font-weight: 900;
}

.eyebrow,
.section-kicker {
  margin: 0 0 16px;
  color: var(--copper);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin-bottom: 22px;
  color: transparent;
  background: linear-gradient(95deg, #ffffff 0%, #ffffff 46%, #fdba74 84%, #f97316 114%);
  -webkit-background-clip: text;
  background-clip: text;
  font-size: clamp(1.55rem, 2.7vw, 2.45rem);
  line-height: 1.12;
  letter-spacing: -0.005em;
  text-wrap: balance;
  text-align: left;
  text-shadow: 0 0 42px rgba(229, 231, 235, 0.08);
  overflow-wrap: normal;
  word-break: keep-all;
}

h2 {
  font-size: clamp(2.35rem, 5.5vw, 5.7rem);
  line-height: 0.94;
  letter-spacing: 0;
  text-wrap: balance;
}

h3 {
  font-size: clamp(1.2rem, 2vw, 1.72rem);
  line-height: 1.05;
}

/* Titolo hero: corto e d'impatto, più grande del generico h1 */
.hero-content h1 {
  max-width: 15ch;
  margin-bottom: 20px;
  font-size: clamp(2.1rem, 4.6vw, 3.7rem);
  line-height: 1.02;
  letter-spacing: -0.015em;
}

/* Riga-promessa sotto il titolo */
.hero-lead {
  max-width: 600px;
  margin: 0 0 20px;
  color: #fff;
  font-size: clamp(1.1rem, 1.55vw, 1.4rem);
  font-weight: 600;
  line-height: 1.42;
}

.hero-lead strong {
  color: var(--copper);
  font-weight: 700;
}

.hero-copy {
  max-width: 620px;
  color: rgba(226, 232, 240, 0.88);
  font-size: clamp(1rem, 1.18vw, 1.13rem);
  line-height: 1.62;
}

/* Blocco "Cos'è Imprenditore Edile" — chiarezza subito dopo l'hero */
.home-what {
  text-align: center;
}

.home-what-head {
  max-width: 780px;
  margin: 0 auto;
}

.home-what h2 {
  margin-bottom: 20px;
  color: #fff;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.08;
}

.home-what-lead {
  color: rgba(226, 232, 240, 0.82);
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  line-height: 1.72;
}

.home-what-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: clamp(40px, 6vw, 66px) 0 0;
  text-align: left;
}

.home-what-card {
  padding: clamp(24px, 3vw, 34px);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.03)),
    rgba(13, 30, 48, 0.55);
  border: 1px solid rgba(229, 231, 235, 0.14);
  border-radius: 12px;
}

.home-what-card .num {
  display: block;
  margin-bottom: 14px;
  color: var(--copper);
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.home-what-card h3 {
  margin-bottom: 10px;
  color: #fff;
  font-size: clamp(1.15rem, 1.6vw, 1.42rem);
}

.home-what-card p {
  color: rgba(226, 232, 240, 0.72);
  font-size: 1rem;
  line-height: 1.62;
}

.home-what-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: clamp(36px, 5vw, 52px);
}

@media (max-width: 860px) {
  .home-what-grid {
    grid-template-columns: 1fr;
  }
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 30px 0 0;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  width: min(680px, 100%);
  margin-top: 18px;
}

.hero-manifesto {
  position: absolute;
  right: max(40px, calc((100vw - 1320px) / 2));
  bottom: 94px;
  z-index: 7;
  display: grid;
  gap: 12px;
  width: min(360px, 30vw);
  color: rgba(226, 232, 240, 0.9);
  will-change: transform;
}

.hero-manifesto::before {
  content: "";
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, rgba(229, 231, 235, 0.86), rgba(249, 115, 22, 0.64), transparent);
}

.hero-manifesto span {
  color: var(--copper);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-manifesto p {
  margin: 0;
  color: rgba(241, 245, 249, 0.86);
  font-size: clamp(1.15rem, 1.65vw, 1.8rem);
  font-weight: 800;
  line-height: 1.08;
  text-wrap: balance;
}

.hero-proof span {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 8px 15px;
  color: rgba(226, 232, 240, 0.86);
  background: linear-gradient(180deg, rgba(16, 38, 58, 0.72), rgba(16, 38, 58, 0.38));
  border: 1px solid rgba(229, 231, 235, 0.24);
  border-radius: 7px;
}

.hero-proof strong {
  margin-right: 8px;
  color: var(--acid);
  font-size: 0.86rem;
}

.scroll-cue {
  position: absolute;
  right: clamp(18px, 5vw, 72px);
  bottom: 44px;
  display: grid;
  place-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-hud {
  position: absolute;
  z-index: 5;
  display: none;
  gap: 12px;
  max-width: 260px;
  color: rgba(226, 232, 240, 0.9);
  font-weight: 600;
  line-height: 1.42;
  will-change: transform;
}

.hero-hud p {
  margin: 0;
}

.hero-hud-left {
  display: none;
}

.hero-hud-left span {
  width: 6px;
  height: 70px;
  background: linear-gradient(var(--acid), var(--copper));
  border-radius: 999px;
}

.hero-hud-right {
  right: max(24px, calc((100vw - 1180px) / 2));
  bottom: 11vh;
  width: min(320px, 26vw);
  padding: 22px;
  text-align: left;
  background:
    linear-gradient(145deg, rgba(229, 231, 235, 0.12), transparent 44%),
    rgba(12, 28, 46, 0.58);
  border: 1px solid rgba(229, 231, 235, 0.2);
  border-radius: 14px;
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.28);
}

.hero-hud-right span {
  color: var(--acid);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-hud-right strong {
  color: var(--mist);
  font-family: Montserrat, system-ui, sans-serif;
  font-size: clamp(3.2rem, 5vw, 5.8rem);
  line-height: 0.92;
}

.hero-hud-right p {
  color: rgba(226, 232, 240, 0.68);
}

.scroll-cue span {
  width: 2px;
  height: 62px;
  background: linear-gradient(var(--acid), transparent);
  animation: cue 1.5s ease-in-out infinite;
}

.intro-strip {
  position: relative;
  z-index: 2;
  color: var(--paper);
  background: #0a1c30;
  overflow: hidden;
}

.control-room {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(28px, 6vw, 86px);
  align-items: end;
  padding: clamp(88px, 10vw, 140px) max(20px, calc((100vw - 1180px) / 2));
  color: var(--mist);
  background:
    radial-gradient(circle at 72% 16%, rgba(229, 231, 235, 0.14), transparent 24%),
    radial-gradient(circle at 18% 86%, rgba(249, 115, 22, 0.13), transparent 28%),
    linear-gradient(180deg, #0a1c30 0%, #15314c 100%);
  overflow: hidden;
}

.control-room::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(229, 231, 235, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(229, 231, 235, 0.055) 1px, transparent 1px);
  background-size: 76px 76px;
  mask-image: radial-gradient(circle at 65% 40%, black, transparent 72%);
}

.control-heading,
.control-grid {
  position: relative;
  z-index: 2;
}

.control-heading h2 {
  max-width: 620px;
  font-size: clamp(2.4rem, 4.8vw, 5.8rem);
}

.control-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.control-card {
  min-height: 300px;
  padding: clamp(20px, 2.6vw, 34px);
  color: rgba(226, 232, 240, 0.92);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.035)),
    rgba(13, 30, 48, 0.62);
  border: 1px solid rgba(229, 231, 235, 0.16);
  border-radius: 10px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.24);
}

.control-card.featured {
  transform: translateY(-28px);
  border-color: rgba(249, 115, 22, 0.38);
  background:
    linear-gradient(145deg, rgba(249, 115, 22, 0.16), transparent 42%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04)),
    rgba(13, 30, 48, 0.7);
}

.control-card span {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 76px;
  color: var(--ink);
  background: linear-gradient(135deg, var(--acid), var(--copper));
  border-radius: 50%;
  font-family: Montserrat, system-ui, sans-serif;
  font-weight: 800;
}

.control-card strong {
  display: block;
  margin-bottom: 14px;
  font-family: Montserrat, system-ui, sans-serif;
  font-size: clamp(1.25rem, 1.7vw, 2rem);
  line-height: 1;
}

.control-card p {
  margin-bottom: 0;
  color: rgba(226, 232, 240, 0.68);
  line-height: 1.55;
}

.scroll-theater {
  position: relative;
  z-index: 3;
  height: 220vh;
  color: var(--paper);
  background: var(--ink);
}

.theater-sticky {
  position: sticky;
  top: 0;
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(28px, 7vw, 92px);
  min-height: 100vh;
  padding: clamp(92px, 10vw, 150px) max(20px, calc((100vw - 1180px) / 2));
  overflow: hidden;
}

.theater-bg,
.theater-bg span {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.theater-bg {
  background:
    linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 68px 68px;
  transform: translate3d(calc(var(--theater-progress, 0) * -90px), calc(var(--theater-progress, 0) * -60px), 0);
}

.theater-bg span:nth-child(1) {
  background: radial-gradient(circle at 24% 48%, rgba(229, 231, 235, 0.22), transparent 24%);
  transform: scale(calc(1 + var(--theater-progress, 0) * 0.3));
}

.theater-bg span:nth-child(2) {
  background: radial-gradient(circle at 84% 46%, rgba(249, 115, 22, 0.3), transparent 22%);
  transform: translateX(calc(var(--theater-progress, 0) * -22vw));
}

.theater-bg span:nth-child(3) {
  background: conic-gradient(from calc(var(--theater-progress, 0) * 240deg), transparent, rgba(148, 163, 184, 0.2), transparent 34%);
  opacity: 0.88;
}

.theater-copy {
  position: relative;
  z-index: 2;
  max-width: 540px;
  transform: translateY(calc((var(--theater-progress, 0) - 0.5) * -90px));
}

.theater-copy p:last-child {
  color: rgba(226, 232, 240, 0.7);
  font-size: clamp(1.02rem, 1.45vw, 1.22rem);
  line-height: 1.65;
}

.theater-cards {
  position: relative;
  z-index: 2;
  height: min(620px, 70vh);
  perspective: 1400px;
}

.theater-card {
  position: absolute;
  inset: 50% auto auto 50%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  width: min(520px, 82vw);
  min-height: 390px;
  padding: clamp(24px, 3vw, 38px);
  color: var(--ink);
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.96), rgba(226, 232, 240, 0.86)),
    var(--paper);
  border: 1px solid rgba(229, 231, 235, 0.18);
  border-radius: 8px;
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.36);
  transform:
    translate(-50%, -50%)
    translateX(calc((var(--i, 0) - 1) * 46px))
    translateY(calc((var(--i, 0) - 1) * 34px))
    translateZ(calc((2 - var(--i, 0)) * -90px))
    rotateY(calc((var(--i, 0) - 1) * -9deg))
    rotateZ(calc((var(--i, 0) - 1) * 2deg));
  opacity: 0.42;
  transition: opacity 0.2s ease;
  will-change: transform, opacity;
}

.theater-card span {
  position: absolute;
  top: 24px;
  left: 24px;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  background: linear-gradient(135deg, var(--acid), var(--copper));
  border-radius: 7px;
  font-weight: 900;
}

.theater-card h3 {
  max-width: 360px;
  font-size: clamp(2.1rem, 4vw, 4.8rem);
  line-height: 0.92;
}

.theater-card p {
  max-width: 390px;
  margin-bottom: 0;
  color: rgba(10, 22, 38, 0.68);
  line-height: 1.55;
}

.marquee {
  display: flex;
  width: 100%;
  padding: 18px 0;
}

.marquee-track {
  display: flex;
  min-width: max-content;
  gap: 28px;
  animation: marquee 22s linear infinite;
}

.marquee span {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  font-size: clamp(1.1rem, 2vw, 1.7rem);
  font-weight: 900;
  text-transform: uppercase;
}

.marquee span::after {
  content: "";
  width: 9px;
  height: 9px;
  background: var(--copper);
  border-radius: 50%;
}

.community,
.experience {
  color: var(--mist);
  background:
    radial-gradient(circle at 82% 12%, rgba(229, 231, 235, 0.12), transparent 26%),
    radial-gradient(circle at 12% 82%, rgba(249, 115, 22, 0.11), transparent 28%),
    linear-gradient(180deg, #102a43, #0a1c30);
}

.community {
  min-height: 116vh;
  overflow: hidden;
  padding-top: clamp(108px, 10vw, 148px);
  background:
    linear-gradient(180deg, rgba(12, 26, 42, 0.72), rgba(12, 26, 42, 0.96)),
    radial-gradient(circle at 74% 18%, rgba(249, 115, 22, 0.22), transparent 24%),
    radial-gradient(circle at 42% 62%, rgba(229, 231, 235, 0.18), transparent 34%),
    #0a1c30;
}

.community::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(229, 231, 235, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(229, 231, 235, 0.06) 1px, transparent 1px);
  background-size: 96px 96px;
  mask-image: radial-gradient(circle at 52% 58%, black, transparent 76%);
  transform: translateY(calc(var(--page-progress, 0) * -120px));
}

.community::after {
  content: "";
  position: absolute;
  inset: 18% -10% auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(229, 231, 235, 0.62), rgba(249, 115, 22, 0.55), transparent);
  box-shadow: 0 0 38px rgba(229, 231, 235, 0.26);
}

.community > * {
  position: relative;
  z-index: 2;
}

.community .reveal {
  opacity: 1;
  transform: none;
}

.community-word {
  position: absolute;
  inset: 4% auto auto 50%;
  z-index: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(229, 231, 235, 0.16);
  font-size: clamp(8rem, 22vw, 25rem);
  font-weight: 900;
  line-height: 0.8;
  opacity: 0.58;
  transform: translateX(-50%) translateY(calc(var(--page-progress, 0) * -140px));
  pointer-events: none;
}

.community-head {
  display: grid;
  grid-template-columns: minmax(360px, 0.9fr) minmax(300px, 0.72fr);
  gap: clamp(30px, 7vw, 98px);
  align-items: end;
}

.community-title-block h2 {
  max-width: 720px;
  color: #ffffff;
  font-size: clamp(2.75rem, 5.2vw, 6.8rem);
  line-height: 0.9;
  text-shadow: 0 18px 70px rgba(0, 0, 0, 0.34);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.72fr);
  gap: clamp(28px, 7vw, 92px);
  align-items: start;
}

.stacked-copy {
  color: rgba(226, 232, 240, 0.72);
  font-size: clamp(1.05rem, 1.5vw, 1.22rem);
  line-height: 1.7;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: clamp(44px, 7vw, 86px);
}

.feature-card,
.experience-panel {
  border-radius: 8px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.feature-card {
  min-height: 310px;
  padding: clamp(22px, 3vw, 34px);
  color: rgba(226, 232, 240, 0.92);
  background:
    linear-gradient(145deg, rgba(229, 231, 235, 0.08), transparent 42%),
    rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(229, 231, 235, 0.15);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
  transform-style: preserve-3d;
  will-change: transform;
}

.feature-card:hover {
  border-color: rgba(249, 115, 22, 0.52);
  box-shadow: var(--shadow);
}

.feature-card .icon {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 54px;
  color: var(--ink);
  background: linear-gradient(135deg, var(--acid), var(--copper));
  border-radius: 7px;
  font-weight: 900;
}

.feature-card p,
.experience-panel p,
.timeline-item p,
.join p {
  color: rgba(226, 232, 240, 0.66);
  line-height: 1.6;
}

.community-command {
  position: relative;
  display: grid;
  grid-template-columns: minmax(220px, 0.68fr) minmax(430px, 1.42fr) minmax(220px, 0.68fr);
  gap: clamp(18px, 2.2vw, 28px);
  min-height: 650px;
  margin-top: clamp(26px, 4vw, 56px);
  align-items: start;
  will-change: transform;
}

.community-command::before {
  content: "";
  position: absolute;
  inset: 12% 10%;
  background: radial-gradient(circle, rgba(229, 231, 235, 0.16), transparent 68%);
  filter: blur(26px);
  pointer-events: none;
}

.community-side {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 18px;
  align-content: start;
  min-height: 500px;
  padding: clamp(42px, 6vw, 84px) 0 0;
}

.feed-label {
  display: inline-flex;
  align-items: center;
  align-self: start;
  width: max-content;
  min-height: 34px;
  padding: 0 12px;
  color: var(--ink);
  background: linear-gradient(135deg, var(--acid), var(--copper));
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 0 14px 42px rgba(229, 231, 235, 0.18);
}

.community-side h3 {
  max-width: 360px;
  margin: 0;
  color: var(--white);
  font-size: clamp(1.8rem, 3vw, 3.35rem);
  line-height: 0.94;
  text-wrap: balance;
}

.community-side p {
  max-width: 330px;
  margin: 0;
  color: rgba(226, 232, 240, 0.66);
  font-size: clamp(1rem, 1.15vw, 1.08rem);
  line-height: 1.6;
}

.signal-list {
  display: grid;
  gap: 0;
  width: min(330px, 100%);
  margin-top: 22px;
  border-top: 1px solid rgba(229, 231, 235, 0.2);
}

.signal-list span {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 48px;
  color: rgba(226, 232, 240, 0.86);
  border-bottom: 1px solid rgba(229, 231, 235, 0.16);
  font-weight: 900;
  text-transform: uppercase;
}

.signal-list span::after {
  content: "";
  position: absolute;
  right: 0;
  width: 8px;
  height: 8px;
  background: var(--copper);
  border-radius: 50%;
  box-shadow: 0 0 18px rgba(249, 115, 22, 0.5);
}

.side-proof {
  display: grid;
  gap: 8px;
  width: min(330px, 100%);
  margin-top: 24px;
  padding: 22px 0 0;
  border-top: 1px solid rgba(229, 231, 235, 0.22);
}

.side-proof strong {
  color: var(--acid);
  font-size: clamp(1.4rem, 2vw, 2.25rem);
  line-height: 0.95;
}

.side-proof span {
  color: rgba(226, 232, 240, 0.68);
  line-height: 1.5;
}

.community-map {
  position: relative;
  z-index: 2;
  display: block;
  min-height: min(760px, 78vh);
  color: rgba(226, 232, 240, 0.94);
  background: none;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
  backdrop-filter: none;
}

.community-map::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 50%, rgba(229, 231, 235, 0.18), transparent 44%),
    conic-gradient(from 40deg, rgba(229, 231, 235, 0.05), rgba(249, 115, 22, 0.19), rgba(229, 231, 235, 0.08), rgba(249, 115, 22, 0.04));
  border: 1px solid rgba(229, 231, 235, 0.2);
  border-radius: 50%;
  filter: blur(0.2px);
  opacity: 0.78;
  transform: perspective(950px) rotateX(64deg) rotateZ(calc(var(--page-progress, 0) * -140deg));
}

.community-map::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(249, 115, 22, 0.72), transparent);
  box-shadow: 0 0 30px rgba(249, 115, 22, 0.3);
  transform: rotate(-12deg);
}

.map-topline,
.map-badges {
  position: absolute;
  z-index: 4;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 0;
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.map-topline {
  display: none;
}

.map-topline b {
  color: var(--copper);
}

#community-map {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
}

.map-badges {
  left: 8%;
  right: 8%;
  bottom: 4%;
  align-items: center;
  border-top: 0;
}

.map-badges span {
  color: rgba(226, 232, 240, 0.72);
}

.community-ticker {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: clamp(44px, 6vw, 86px);
  padding-top: 22px;
  border-top: 1px solid rgba(229, 231, 235, 0.18);
  color: rgba(226, 232, 240, 0.56);
  font-size: clamp(1rem, 2vw, 1.75rem);
  font-weight: 900;
  text-transform: uppercase;
}

.method {
  display: grid;
  grid-template-columns: minmax(320px, 0.82fr) minmax(0, 1fr);
  gap: clamp(32px, 7vw, 92px);
  align-items: center;
  color: var(--paper);
  background:
    linear-gradient(135deg, rgba(194, 65, 12, 0.2), transparent 34%),
    var(--graphite);
  overflow: hidden;
  min-height: 100vh;
}

.method::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(circle at 30% 45%, black, transparent 66%);
}

.method-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 520px;
}

.orbit {
  position: absolute;
  width: min(78vw, 520px);
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  animation: spin 16s linear infinite;
}

.orbit::before,
.orbit::after {
  content: "";
  position: absolute;
  inset: 13%;
  border: 1px solid rgba(229, 231, 235, 0.24);
  border-radius: 50%;
}

.orbit::after {
  inset: 28%;
  border-color: rgba(148, 163, 184, 0.34);
  animation: spin 8s linear infinite reverse;
}

.orbit span {
  position: absolute;
  width: 15px;
  height: 15px;
  background: var(--acid);
  border-radius: 50%;
  box-shadow: 0 0 35px rgba(229, 231, 235, 0.65);
}

.orbit span:nth-child(1) { top: -7px; left: 50%; }
.orbit span:nth-child(2) { right: 9%; top: 72%; background: var(--copper); }
.orbit span:nth-child(3) { bottom: 12%; left: 12%; background: var(--steel); }
.orbit span:nth-child(4) { top: 27%; left: 5%; background: var(--white); }

.core {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: min(270px, 62vw);
  aspect-ratio: 1;
  color: var(--ink);
  background: radial-gradient(circle at 35% 20%, var(--white), var(--acid));
  border-radius: 50%;
  box-shadow: 0 0 90px rgba(229, 231, 235, 0.28);
}

.core strong {
  font-size: clamp(4rem, 10vw, 7.5rem);
  line-height: 0.9;
}

.core small {
  margin-top: -38px;
  font-weight: 900;
}

.method h2 {
  max-width: 760px;
}

.timeline {
  display: grid;
  gap: 12px;
  margin-top: 36px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 148px 1fr;
  gap: 18px;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.17);
}

.timeline-item span {
  color: var(--acid);
  font-weight: 900;
  text-transform: uppercase;
}

.timeline-item p {
  margin-bottom: 0;
  color: rgba(226, 232, 240, 0.72);
}

.section-heading {
  width: min(890px, 100%);
}

.experience-board {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 16px;
  margin-top: 46px;
}

.experience-panel {
  min-height: 250px;
  padding: clamp(22px, 3vw, 34px);
  color: rgba(226, 232, 240, 0.92);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.035)),
    rgba(16, 38, 58, 0.62);
  border: 1px solid rgba(229, 231, 235, 0.14);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.22);
  will-change: transform;
}

.experience-panel.large {
  grid-row: span 2;
  min-height: 518px;
  color: var(--white);
  background:
    linear-gradient(160deg, rgba(10, 22, 38, 0.94), rgba(10, 22, 38, 0.5)),
    url("./assets/hero-imprenditore-edile.jpg") center / cover;
}

.experience-panel.large p,
.experience-panel.dark p {
  color: rgba(255, 255, 255, 0.76);
}

.experience-panel.dark {
  color: var(--white);
  background: var(--clay);
}

.panel-top {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: clamp(42px, 8vw, 120px);
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
}

.panel-top b {
  color: var(--copper);
}

.dark .panel-top b,
.large .panel-top b {
  color: var(--acid);
}

.experience-panel:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
}

.manifesto {
  color: var(--paper);
  background: var(--ink);
  overflow: hidden;
  display: grid;
  align-content: center;
}

.manifesto-line {
  font-size: clamp(2.6rem, 9vw, 8rem);
  line-height: 0.92;
  font-weight: 900;
  text-transform: uppercase;
  transform-origin: left center;
  will-change: transform;
}

.manifesto-line:nth-child(2) {
  color: var(--acid);
  text-align: right;
}

.manifesto-line:nth-child(3) {
  color: var(--copper);
}

.join {
  min-height: 92vh;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 14% 12%, rgba(229, 231, 235, 0.28), transparent 24%),
    radial-gradient(circle at 78% 84%, rgba(249, 115, 22, 0.2), transparent 28%),
    var(--paper);
}

.join-box {
  width: min(920px, 100%);
  padding: clamp(28px, 6vw, 72px);
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(10, 22, 38, 0.12);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.join h2 {
  margin-bottom: 22px;
}

.signup {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
  gap: 10px;
  margin-top: 34px;
}

label {
  display: grid;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

input {
  width: 100%;
  min-height: 54px;
  padding: 0 14px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid rgba(10, 22, 38, 0.18);
  border-radius: 7px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input:focus {
  border-color: var(--copper);
  box-shadow: 0 0 0 4px rgba(194, 65, 12, 0.13);
}

.signup .btn {
  align-self: end;
  min-height: 54px;
}

footer {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 26px max(20px, calc((100vw - 1180px) / 2));
  color: var(--paper);
  background: var(--ink);
  font-weight: 900;
}

.reveal {
  opacity: 0;
  transform: translateY(34px) scale(0.98);
  transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0) scale(1);
}

@keyframes heroDrift {
  from { transform: scale(1.08) translate3d(0, 0, 0); }
  to { transform: scale(1.14) translate3d(-2.2%, 1.4%, 0); }
}

@keyframes builderFloat {
  0%, 100% { transform: translate3d(-50%, 0, 0) rotate(-1deg) scale(1); }
  50% { transform: translate3d(calc(-50% - 18px), -24px, 0) rotate(1.2deg) scale(1.025); }
}

@keyframes heroPhotoDrift {
  from { transform: scale(1.03) translate3d(0, 0, 0); }
  to { transform: scale(1.09) translate3d(-1.4%, 1.1%, 0); }
}

@keyframes blueprintTrace {
  0% { stroke-dashoffset: 620; opacity: 0; }
  20% { opacity: 1; }
  58% { stroke-dashoffset: 0; opacity: 1; }
  100% { stroke-dashoffset: -620; opacity: 0; }
}

@keyframes nodePulse {
  0%, 100% { opacity: 0.32; transform: scale(0.9); transform-origin: center; }
  50% { opacity: 1; transform: scale(1.45); transform-origin: center; }
}

@keyframes pulseOrb {
  0%, 100% { transform: scale(0.88); opacity: 0.66; }
  50% { transform: scale(1.18); opacity: 1; }
}

@keyframes hexDrift {
  to { background-position: 118px 204px; }
}

@keyframes cue {
  0%, 100% { transform: scaleY(0.55); opacity: 0.45; }
  50% { transform: scaleY(1); opacity: 1; }
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes loaderLine {
  from { transform: scaleX(0); opacity: 0.45; }
  to { transform: scaleX(1); opacity: 1; }
}

@keyframes loaderExit {
  to {
    opacity: 0;
    visibility: hidden;
    transform: scale(1.02);
  }
}

@media (max-width: 920px) {
  .site-header {
    grid-template-columns: 1fr auto;
    border-radius: 999px;
  }

  nav {
    display: none;
  }

  .split,
  .community-head,
  .method,
  .experience-board,
  .theater-sticky,
  .control-room {
    grid-template-columns: 1fr;
  }

  .hero,
  .community-command {
    grid-template-columns: 1fr;
  }

  .hero-stage {
    min-height: 500px;
  }

  .control-grid {
    grid-template-columns: 1fr;
  }

  .control-card,
  .control-card.featured {
    min-height: 240px;
    transform: none;
  }

  .control-card span {
    margin-bottom: 42px;
  }

  .scroll-theater {
    height: auto;
  }

  .theater-sticky {
    position: relative;
    min-height: auto;
  }

  .theater-cards {
    display: grid;
    height: auto;
    gap: 14px;
    perspective: none;
  }

  .theater-card {
    position: relative;
    inset: auto;
    width: 100%;
    min-height: 290px;
    opacity: 1 !important;
    transform: none !important;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .community-map {
    min-height: 520px;
  }

  .method-visual {
    min-height: 380px;
  }

  .signup {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1180px) {
  .hero-hud-left {
    display: none;
  }
}

@media (max-width: 620px) {
  .site-header {
    top: 10px;
    width: calc(100vw - 20px);
    min-height: 56px;
    padding: 9px;
    border-radius: 10px;
  }

  .brand-logo-img {
    height: 32px;
  }

  .header-cta {
    min-height: 42px;
    padding: 0 12px;
    font-size: 0.83rem;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: 94svh;
    padding-top: 96px;
    padding-bottom: 36px;
  }

  .hero-frame {
    display: none;
  }

  .hero-content {
    display: block;
    width: calc(100vw - 64px);
    min-height: auto;
    padding-top: 116px;
  }

  .hero-rail,
  .hero-index,
  .cursor-light,
  .hero-hud,
  .hero-blueprint,
  .hero-stage,
  .hero-manifesto,
  #hero-system,
  .hero-status {
    display: none;
  }

  .community-command {
    gap: 12px;
  }

  .community-title-block h2 {
    font-size: clamp(3rem, 14vw, 4.6rem);
    line-height: 0.88;
  }

  .community-map {
    grid-template-rows: auto minmax(330px, 48vh) auto;
    min-height: 450px;
  }

  .community-side {
    min-height: auto;
    padding: 0;
  }

  .map-badges {
    flex-wrap: wrap;
  }

  .community-ticker {
    flex-wrap: wrap;
    justify-content: flex-start;
    font-size: 1rem;
  }

  .hero-builder {
    inset: 0;
    width: 100%;
    height: 100%;
    object-position: 68% center;
    opacity: 0.72;
    filter: saturate(1.02) contrast(1.06) brightness(0.78);
  }

  .theater-sticky {
    padding-top: 82px;
    padding-bottom: 82px;
  }

  .theater-card h3 {
    font-size: clamp(2rem, 11vw, 3.3rem);
  }

  .hero-scrim {
    background:
      radial-gradient(circle at 80% 12%, rgba(229, 231, 235, 0.18), transparent 28%),
      linear-gradient(90deg, rgba(8, 18, 30, 0.96) 0%, rgba(8, 18, 30, 0.72) 58%, rgba(8, 18, 30, 0.2) 100%),
      linear-gradient(0deg, rgba(8, 18, 30, 0.78), transparent 58%);
  }

  h1 {
    margin-bottom: 16px;
    max-width: 100%;
    justify-self: start;
    font-size: clamp(1.45rem, 6vw, 2rem);
    line-height: 1.16;
    text-align: left;
  }

  .hero-content h1 {
    margin-bottom: 14px;
    font-size: clamp(2rem, 9vw, 2.9rem);
    line-height: 1.03;
  }

  .hero-lead {
    font-size: 1.06rem;
    line-height: 1.4;
  }

  .eyebrow {
    margin-bottom: 12px;
    font-size: 0.7rem;
  }

  .hero-copy {
    color: rgba(226, 232, 240, 0.9);
    font-size: 0.98rem;
    line-height: 1.48;
  }

  .hero-actions {
    margin: 20px 0 14px;
  }

  .scroll-cue {
    display: none;
  }

  .hero-proof {
    display: none;
  }

  .control-room {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .control-heading h2 {
    font-size: clamp(2.25rem, 11vw, 3.6rem);
  }

  .timeline-item {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .experience-panel.large {
    min-height: 420px;
  }

  .panel-top {
    margin-bottom: 52px;
  }

  footer {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ===== Sezioni conversione (CRO) ===== */
.hero-reassure {
  margin: 14px 0 0;
  color: rgba(226, 232, 240, 0.6);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.audience,
.proof-band,
.voices,
.faq {
  position: relative;
  z-index: 2;
  color: var(--mist);
}

.proof-band {
  background: linear-gradient(180deg, #102a43, #0a1c30);
}

.audience {
  background:
    radial-gradient(circle at 16% 12%, rgba(229, 231, 235, 0.12), transparent 26%),
    radial-gradient(circle at 86% 88%, rgba(249, 115, 22, 0.12), transparent 28%),
    linear-gradient(180deg, #0a1c30, #102a43);
}

.voices {
  background:
    radial-gradient(circle at 80% 14%, rgba(229, 231, 235, 0.1), transparent 26%),
    linear-gradient(180deg, #102a43, #0a1c30);
}

.faq {
  background: linear-gradient(180deg, #0a1c30, #102a43);
}

/* Riprova sociale / numeri */
.proof-note {
  width: min(720px, 100%);
  margin: 0 0 clamp(28px, 4vw, 50px);
  color: rgba(226, 232, 240, 0.66);
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  line-height: 1.6;
}

.proof-title {
  max-width: 760px;
  margin: 0 0 clamp(28px, 4vw, 50px);
  font-size: clamp(1.9rem, 3.6vw, 3.2rem);
  line-height: 1.04;
}

.proof-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.proof-stat {
  padding: clamp(22px, 3vw, 36px);
  border: 1px solid rgba(229, 231, 235, 0.16);
  border-radius: 12px;
  background: rgba(13, 30, 48, 0.55);
}

.proof-stat b {
  display: block;
  color: transparent;
  background: linear-gradient(120deg, #e5e7eb, var(--acid) 55%, var(--copper));
  -webkit-background-clip: text;
  background-clip: text;
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1;
}

.proof-stat span {
  display: block;
  margin-top: 12px;
  color: rgba(226, 232, 240, 0.66);
  line-height: 1.5;
}

/* Per chi è / non è */
.audience-head {
  width: min(820px, 100%);
  margin-bottom: clamp(34px, 5vw, 60px);
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.audience-col {
  padding: clamp(24px, 3vw, 40px);
  border: 1px solid rgba(229, 231, 235, 0.16);
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
    rgba(13, 30, 48, 0.6);
}

.audience-col.no {
  border-color: rgba(249, 115, 22, 0.26);
}

.audience-col h3 {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 20px;
  font-size: clamp(1.3rem, 2vw, 1.85rem);
}

.audience-col h3 .tag {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 900;
}

.audience-col.yes h3 .tag {
  background: linear-gradient(135deg, var(--acid), #e5e7eb);
}

.audience-col.no h3 .tag {
  background: linear-gradient(135deg, var(--copper), var(--clay));
}

.audience-col ul {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.audience-col li {
  position: relative;
  padding-left: 30px;
  color: rgba(226, 232, 240, 0.82);
  line-height: 1.5;
}

.audience-col li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
}

.audience-col.yes li::before {
  background: radial-gradient(circle at 50% 50%, var(--acid) 0 36%, rgba(229, 231, 235, 0.2) 38%);
}

.audience-col.no li::before {
  background: radial-gradient(circle at 50% 50%, var(--copper) 0 36%, rgba(249, 115, 22, 0.2) 38%);
}

/* Voci / testimonianze */
.voices-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: clamp(34px, 5vw, 56px);
}

.voice {
  display: grid;
  gap: 18px;
  align-content: space-between;
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid rgba(229, 231, 235, 0.16);
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
    rgba(13, 30, 48, 0.6);
}

.voice .rating {
  color: var(--copper);
  letter-spacing: 3px;
  font-size: 0.95rem;
}

.voice p {
  margin: 0;
  color: rgba(241, 245, 249, 0.9);
  font-size: clamp(1.04rem, 1.4vw, 1.2rem);
  line-height: 1.55;
}

.voice-by {
  color: rgba(226, 232, 240, 0.6);
  font-weight: 800;
  font-size: 0.86rem;
}

/* FAQ */
.faq-list {
  display: grid;
  gap: 12px;
  width: min(880px, 100%);
  margin-top: clamp(28px, 4vw, 46px);
}

.faq-item {
  border: 1px solid rgba(229, 231, 235, 0.16);
  border-radius: 12px;
  background: rgba(13, 30, 48, 0.5);
  overflow: hidden;
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: clamp(18px, 2.4vw, 26px);
  list-style: none;
  cursor: pointer;
  color: rgba(241, 245, 249, 0.94);
  font-weight: 800;
  font-size: clamp(1.02rem, 1.5vw, 1.22rem);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  flex: none;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--acid), var(--copper));
  color: var(--ink);
  font-weight: 900;
  transition: transform 0.25s ease;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item p {
  margin: 0;
  padding: 0 clamp(18px, 2.4vw, 26px) clamp(20px, 2.4vw, 26px);
  color: rgba(226, 232, 240, 0.7);
  line-height: 1.65;
}

/* Join: cosa succede dopo + privacy */
.privacy-note {
  margin: 16px 0 0;
  color: rgba(10, 22, 38, 0.55);
  font-size: 0.8rem;
  font-weight: 500;
  line-height: 1.5;
  text-transform: none;
}

.join-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 26px;
}

.join-step {
  display: grid;
  gap: 6px;
  padding: 18px;
  border: 1px solid rgba(10, 22, 38, 0.1);
  border-radius: 10px;
  background: rgba(10, 22, 38, 0.04);
}

.join-step b {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
}

.join-step b i {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--acid), var(--copper));
  color: var(--ink);
  font-style: normal;
  font-weight: 900;
  font-size: 0.82rem;
}

.join-step span {
  color: rgba(10, 22, 38, 0.66);
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.45;
  text-transform: none;
}

@media (max-width: 920px) {
  .proof-stats,
  .audience-grid,
  .voices-grid,
  .join-steps {
    grid-template-columns: 1fr;
  }
}

/* ===== Founder ===== */
.founder {
  position: relative;
  z-index: 2;
  color: var(--ink);
  background:
    radial-gradient(circle at 82% 14%, rgba(249, 115, 22, 0.14), transparent 30%),
    radial-gradient(circle at 12% 88%, rgba(30, 58, 95, 0.12), transparent 30%),
    linear-gradient(180deg, #ffffff, #e5e7eb);
}

.founder .section-kicker {
  color: var(--clay);
}

.founder-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}

.founder-photo {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 5;
  border: 1px solid rgba(10, 22, 38, 0.12);
  border-radius: 14px;
  background:
    linear-gradient(160deg, rgba(30, 58, 95, 0.12), rgba(249, 115, 22, 0.12)),
    #ffffff;
  box-shadow: 0 28px 70px rgba(8, 22, 38, 0.18);
  overflow: hidden;
}

.founder-photo span {
  color: rgba(10, 22, 38, 0.4);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.founder-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.founder-copy h2 {
  margin-bottom: 18px;
}

.founder-copy p {
  color: rgba(10, 22, 38, 0.72);
  font-size: clamp(1.05rem, 1.4vw, 1.22rem);
  line-height: 1.7;
}

.founder-sign {
  margin-top: 18px;
  color: var(--clay);
  font-weight: 800;
}

/* ===== Footer links ===== */
.footer-links {
  display: flex;
  align-items: center;
  gap: 18px;
}

.footer-links a {
  opacity: 0.85;
  transition: opacity 0.2s ease;
}

.footer-links a:hover {
  opacity: 1;
}

.privacy-note a {
  color: var(--clay);
  text-decoration: underline;
}

/* ===== WhatsApp float ===== */
.wa-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 70;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  color: #fff;
  background: #25d366;
  border-radius: 50%;
  box-shadow: 0 12px 32px rgba(37, 211, 102, 0.4);
  transition: transform 0.2s ease;
}

.wa-float:hover {
  transform: scale(1.08);
}

/* ===== Cookie banner ===== */
.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 18px;
  z-index: 90;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 22px;
  width: min(880px, calc(100vw - 32px));
  padding: 16px 20px;
  transform: translateX(-50%);
  color: rgba(241, 245, 249, 0.92);
  background: rgba(13, 30, 48, 0.92);
  border: 1px solid rgba(229, 231, 235, 0.2);
  border-radius: 14px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.4);
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner p {
  flex: 1 1 320px;
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.5;
}

.cookie-banner a {
  color: var(--acid);
  text-decoration: underline;
}

.cookie-actions {
  display: flex;
  gap: 10px;
}

.cookie-actions .btn {
  min-height: 42px;
  padding: 0 18px;
}

/* ===== Nav toggle (mobile) ===== */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 0 auto;
  background: rgba(241, 245, 249, 0.9);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

body.nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

body.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

body.nav-open .nav-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 920px) {
  .founder-grid {
    grid-template-columns: 1fr;
  }

  .founder-photo {
    max-width: 320px;
  }

  .nav-toggle {
    display: flex;
  }

  .site-header {
    grid-template-columns: 1fr auto auto;
  }

  .site-header nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 14px;
    background: rgba(13, 30, 48, 0.96);
    border: 1px solid rgba(229, 231, 235, 0.16);
    border-radius: 14px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  }

  body.nav-open .site-header nav {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .site-header nav a {
    width: 100%;
    padding: 10px 12px;
    font-size: 1rem;
  }
}

/* Fix contrasto: testo scuro nella sezione iscrizione (sfondo chiaro) */
.join p {
  color: rgba(10, 22, 38, 0.72);
}

/* ===== Pagine Storie di Successo ===== */
.sub-main {
  padding-top: clamp(112px, 14vh, 144px);
}

.stories-hero {
  padding-bottom: clamp(18px, 3vw, 28px);
}

.stories-title,
.story-article h1 {
  max-width: 18ch;
  margin-bottom: 18px;
  color: #ffffff;
  -webkit-text-fill-color: #ffffff;
  background: none;
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1.03;
  letter-spacing: -0.01em;
  text-shadow: none;
}

.story-article h1 {
  max-width: 22ch;
}

.stories-lead {
  max-width: 720px;
  color: rgba(226, 232, 240, 0.78);
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  line-height: 1.6;
}

.stories-lead strong {
  color: #ffffff;
}

.stories-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.story-card {
  display: block;
  overflow: hidden;
  color: inherit;
  background: rgba(13, 30, 48, 0.6);
  border: 1px solid rgba(229, 231, 235, 0.14);
  border-radius: 14px;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.story-card:hover {
  transform: translateY(-6px);
  border-color: rgba(249, 115, 22, 0.5);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.story-cover {
  position: relative;
  aspect-ratio: 16 / 10;
  background-size: cover;
  background-position: center;
}

.story-badges {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.story-badge {
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
}

.story-badge.video {
  color: #ffffff;
  background: rgba(249, 115, 22, 0.92);
}

.story-badge.book {
  color: #ffffff;
  background: rgba(16, 42, 67, 0.92);
  border: 1px solid rgba(229, 231, 235, 0.3);
}

.story-body {
  padding: 22px;
}

.story-meta {
  color: var(--copper);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.story-body h3 {
  margin: 10px 0 8px;
  color: #ffffff;
  font-size: clamp(1.2rem, 1.7vw, 1.5rem);
  line-height: 1.1;
}

.story-body p {
  margin: 0 0 14px;
  color: rgba(226, 232, 240, 0.7);
  line-height: 1.5;
}

.story-link {
  color: var(--copper);
  font-weight: 800;
  font-size: 0.9rem;
}

/* Pagina singola storia */
.story-article {
  max-width: 820px;
  margin: 0 auto;
}

.story-back {
  display: inline-block;
  margin-bottom: 22px;
  color: var(--copper);
  font-weight: 800;
  text-decoration: none;
}

.story-back:hover {
  text-decoration: underline;
}

.story-author {
  margin: -6px 0 24px;
  color: rgba(226, 232, 240, 0.6);
  font-weight: 700;
}

.story-video {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  margin: 8px 0 28px;
  overflow: hidden;
  background: #000;
  border: 1px solid rgba(229, 231, 235, 0.14);
  border-radius: 14px;
}

.story-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.story-content p {
  margin: 0 0 20px;
  color: rgba(226, 232, 240, 0.85);
  font-size: clamp(1.05rem, 1.4vw, 1.18rem);
  line-height: 1.75;
}

.story-content h2 {
  margin: 44px 0 14px;
  color: #fff;
  font-size: clamp(1.35rem, 2.2vw, 1.7rem);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.story-content strong {
  color: #fff;
  font-weight: 700;
}

.story-content a {
  color: var(--copper);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(249, 115, 22, 0.45);
  text-underline-offset: 3px;
  transition: text-decoration-color 0.2s ease;
}

.story-content a:hover {
  text-decoration-color: var(--copper);
}

/* Riquadro partner/promo: fondo chiaro perché i loghi navy restino leggibili */
.promo-box {
  margin: clamp(36px, 5vw, 56px) 0 0;
  padding: clamp(24px, 4vw, 40px);
  text-align: center;
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid rgba(229, 231, 235, 0.35);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.25);
}

.promo-box img {
  max-width: min(320px, 80%);
  height: auto;
}

.promo-box p {
  max-width: 52ch;
  margin: 16px auto 20px;
  color: #33415c;
  font-size: 1.02rem;
  line-height: 1.65;
}

.promo-box p a {
  color: var(--copper);
  font-weight: 700;
}

.story-faq {
  margin-top: clamp(40px, 6vw, 64px);
}

.story-faq > h2 {
  margin: 0 0 18px;
  color: #fff;
  font-size: clamp(1.35rem, 2.2vw, 1.7rem);
  font-weight: 800;
}

.story-book-note {
  margin-top: 28px;
  padding: 16px 18px;
  color: rgba(226, 232, 240, 0.9);
  background: rgba(249, 115, 22, 0.1);
  border: 1px solid rgba(249, 115, 22, 0.3);
  border-radius: 12px;
}

.story-book-note strong {
  color: #ffffff;
}

.stories-cta-box {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(32px, 5vw, 56px);
  text-align: center;
  background:
    radial-gradient(circle at 50% 0%, rgba(249, 115, 22, 0.14), transparent 60%),
    rgba(13, 30, 48, 0.6);
  border: 1px solid rgba(229, 231, 235, 0.14);
  border-radius: 16px;
}

.stories-cta-box h2 {
  margin-bottom: 14px;
  color: #ffffff;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
}

.stories-cta-box p {
  max-width: 520px;
  margin: 0 auto 24px;
  color: rgba(226, 232, 240, 0.75);
  line-height: 1.6;
}

.stories-cta-box p strong {
  color: #ffffff;
}

.stories-empty {
  grid-column: 1 / -1;
  color: rgba(226, 232, 240, 0.6);
}

@media (max-width: 920px) {
  .stories-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== Sezione teaser Storie + libro (home) ===== */
.stories-teaser {
  position: relative;
  z-index: 2;
  color: var(--mist);
  background:
    radial-gradient(circle at 16% 18%, rgba(249, 115, 22, 0.12), transparent 30%),
    linear-gradient(180deg, #0a1c30, #102a43);
}

.stories-teaser-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: center;
}

.stories-teaser-copy h2 {
  margin-bottom: 18px;
  color: #ffffff;
}

.stories-teaser-copy > p {
  max-width: 560px;
  color: rgba(226, 232, 240, 0.74);
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  line-height: 1.65;
}

.stories-teaser-copy > p strong {
  color: #ffffff;
}

.stories-teaser-book {
  display: grid;
  place-items: center;
  perspective: 1200px;
}

.book {
  width: min(300px, 72%);
  aspect-ratio: 3 / 4;
  transform: rotateY(-16deg) rotateX(4deg);
  border-radius: 4px 10px 10px 4px;
  box-shadow: 28px 38px 80px rgba(0, 0, 0, 0.5);
}

.book-cover {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
  height: 100%;
  padding: 28px 26px 24px 34px;
  overflow: hidden;
  color: #ffffff;
  background: linear-gradient(135deg, #16344f, #102a43 60%, #0a1c30);
  border-left: 8px solid #f97316;
  border-radius: 4px 10px 10px 4px;
}

.book-cover::before {
  content: "";
  position: absolute;
  right: -34px;
  top: -34px;
  width: 130px;
  height: 130px;
  background: radial-gradient(circle, rgba(249, 115, 22, 0.45), transparent 70%);
}

.book-kicker {
  position: relative;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(226, 232, 240, 0.72);
}

.book-title {
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  font-weight: 900;
  line-height: 1.1;
}

.book-foot {
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--copper);
}

@media (max-width: 920px) {
  .stories-teaser-inner {
    grid-template-columns: 1fr;
  }
  .stories-teaser-book {
    order: -1;
  }
  .book {
    width: min(230px, 62%);
  }
}

/* ===== Articolo storia — versione magazine ===== */
.story-cover-hero {
  position: relative;
  aspect-ratio: 21 / 9;
  margin: 0 0 28px;
  background-size: cover;
  background-position: center;
  border-radius: 16px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
}

.story-cover-hero .story-badge.book {
  position: absolute;
  top: 16px;
  left: 16px;
}

.story-head {
  margin-bottom: 28px;
}

.story-head h1 {
  margin-bottom: 10px;
}

.story-head .story-author {
  margin: 0 0 18px;
}

.story-share {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  color: #ffffff;
  background: rgba(13, 30, 48, 0.6);
  border: 1px solid rgba(229, 231, 235, 0.2);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.share-btn:hover {
  border-color: var(--copper);
  transform: translateY(-2px);
}

.story-results {
  margin: 0 0 28px;
  padding: clamp(22px, 3vw, 30px);
  background:
    radial-gradient(circle at 100% 0%, rgba(249, 115, 22, 0.14), transparent 60%),
    rgba(13, 30, 48, 0.6);
  border: 1px solid rgba(249, 115, 22, 0.28);
  border-radius: 14px;
}

.story-results-title {
  margin: 0 0 14px;
  color: var(--copper);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.story-results ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.story-results li {
  position: relative;
  padding-left: 30px;
  color: #ffffff;
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  font-weight: 700;
  line-height: 1.4;
}

.story-results li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, var(--copper) 0 40%, rgba(249, 115, 22, 0.25) 42%);
}

.story-related-section {
  max-width: 1180px;
}

.story-related-title {
  margin-bottom: 24px;
  color: #ffffff;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
}

/* ===== Hub — storia in evidenza ===== */
.story-featured {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  margin-bottom: 28px;
  overflow: hidden;
  color: inherit;
  background: rgba(13, 30, 48, 0.6);
  border: 1px solid rgba(229, 231, 235, 0.14);
  border-radius: 16px;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.story-featured:hover {
  border-color: rgba(249, 115, 22, 0.5);
  transform: translateY(-4px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.story-featured-cover {
  position: relative;
  min-height: 320px;
  background-size: cover;
  background-position: center;
}

.story-featured-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(26px, 3.5vw, 44px);
}

.story-featured-body h2 {
  margin: 10px 0 12px;
  color: #ffffff;
  font-size: clamp(1.6rem, 2.6vw, 2.4rem);
  line-height: 1.05;
}

.story-featured-body p {
  max-width: 48ch;
  margin: 0 0 16px;
  color: rgba(226, 232, 240, 0.74);
  line-height: 1.55;
}

.story-badge.featured {
  align-self: flex-start;
  margin-bottom: 12px;
  color: #ffffff;
  background: var(--copper);
}

@media (max-width: 760px) {
  .story-featured {
    grid-template-columns: 1fr;
  }
  .story-featured-cover {
    min-height: 200px;
  }
}

/* ===== Fascia libro ===== */
.book-band {
  background: linear-gradient(180deg, #102a43, #0a1c30);
}

.book-band-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: center;
}

.book-band-art {
  display: grid;
  place-items: center;
  perspective: 1200px;
}

.book-band-copy h2 {
  margin-bottom: 16px;
  color: #ffffff;
}

.book-band-copy > p {
  max-width: 520px;
  margin-bottom: 22px;
  color: rgba(226, 232, 240, 0.74);
  line-height: 1.65;
}

@media (max-width: 920px) {
  .book-band-inner {
    grid-template-columns: 1fr;
  }
  .book-band-art {
    order: -1;
  }
}

/* ===== Atmosfera di sfondo pagine Storie ===== */
.page-sub {
  position: relative;
}

.page-sub::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 80% 4%, rgba(249, 115, 22, 0.13), transparent 32%),
    radial-gradient(circle at 6% 92%, rgba(30, 58, 95, 0.55), transparent 44%),
    linear-gradient(rgba(229, 231, 235, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(229, 231, 235, 0.06) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 72px 72px, 72px 72px;
  -webkit-mask-image: radial-gradient(circle at 62% 14%, black, transparent 84%);
  mask-image: radial-gradient(circle at 62% 14%, black, transparent 84%);
}

.page-sub .sub-main,
.page-sub footer {
  position: relative;
  z-index: 1;
}

.stories-hero {
  position: relative;
  overflow: hidden;
}

.stories-hero-word {
  position: absolute;
  right: -1%;
  top: -22%;
  z-index: -1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(229, 231, 235, 0.1);
  font-size: clamp(7rem, 20vw, 19rem);
  font-weight: 900;
  line-height: 0.8;
  letter-spacing: -0.02em;
  pointer-events: none;
  user-select: none;
}

/* Overlay copertine per profondità */
.story-cover::after,
.story-featured-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 22, 38, 0) 42%, rgba(10, 22, 38, 0.55));
}

.story-badges {
  z-index: 2;
}

.story-cover-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(10, 22, 38, 0.12), rgba(10, 22, 38, 0) 32%, rgba(10, 22, 38, 0.5));
}

.story-cover-hero .story-badge.book {
  z-index: 2;
}

/* Lead del corpo articolo (primo paragrafo in evidenza) */
.story-content p:first-of-type {
  color: #ffffff;
  font-size: clamp(1.18rem, 1.7vw, 1.4rem);
  line-height: 1.62;
}

/* Sezioni storie: un filo di profondità */
.stories-list-section {
  position: relative;
  z-index: 1;
}

/* ===== Pagine generiche (chi siamo, libro, contatti, candidati) ===== */
.page-title {
  max-width: 20ch;
  margin-bottom: 18px;
  color: #ffffff;
  -webkit-text-fill-color: #ffffff;
  background: none;
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1.03;
  letter-spacing: -0.01em;
  text-shadow: none;
}

.page-lead {
  max-width: 720px;
  color: rgba(226, 232, 240, 0.78);
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  line-height: 1.6;
}

.page-lead strong {
  color: #ffffff;
}

.page-section h2 {
  color: #ffffff;
}

.page-prose {
  max-width: 760px;
}

.page-prose p {
  margin: 0 0 18px;
  color: rgba(226, 232, 240, 0.82);
  font-size: clamp(1.05rem, 1.4vw, 1.18rem);
  line-height: 1.75;
}

.page-prose p strong {
  color: #ffffff;
}

.feature-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.feature-box {
  padding: clamp(24px, 3vw, 34px);
  background: rgba(13, 30, 48, 0.6);
  border: 1px solid rgba(229, 231, 235, 0.14);
  border-radius: 14px;
}

.feature-box .num {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  color: #ffffff;
  font-weight: 900;
  background: linear-gradient(135deg, #fb923c, #f97316);
  border-radius: 50%;
}

.feature-box h3 {
  margin: 0 0 10px;
  color: #ffffff;
  font-size: clamp(1.2rem, 1.7vw, 1.5rem);
}

.feature-box p {
  margin: 0;
  color: rgba(226, 232, 240, 0.7);
  line-height: 1.55;
}

@media (max-width: 920px) {
  .feature-3 {
    grid-template-columns: 1fr;
  }
}

/* Contatti */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 56px);
  align-items: start;
}

.contact-form {
  display: grid;
  gap: 14px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  min-height: 54px;
  padding: 14px;
  color: #ffffff;
  background: rgba(13, 30, 48, 0.6);
  border: 1px solid rgba(229, 231, 235, 0.18);
  border-radius: 8px;
  outline: none;
  font: inherit;
  transition: border-color 0.2s ease;
}

.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--copper);
}

.contact-info {
  display: grid;
  gap: 16px;
  align-content: start;
}

.contact-card {
  padding: 20px;
  background: rgba(13, 30, 48, 0.6);
  border: 1px solid rgba(229, 231, 235, 0.14);
  border-radius: 12px;
}

.contact-card b {
  display: block;
  margin-bottom: 4px;
  color: #ffffff;
}

.contact-card a {
  color: var(--copper);
}

@media (max-width: 760px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

/* Libro: anteprima contenuti */
.libro-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: center;
}

@media (max-width: 920px) {
  .libro-hero-inner {
    grid-template-columns: 1fr;
  }
  .libro-hero-inner .book-band-art {
    order: -1;
  }
}

/* ===== Magazine: filtri categoria + badge ===== */
.mag-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: clamp(24px, 3vw, 36px);
}

.mag-filter {
  padding: 8px 16px;
  color: rgba(226, 232, 240, 0.82);
  background: rgba(13, 30, 48, 0.6);
  border: 1px solid rgba(229, 231, 235, 0.16);
  border-radius: 999px;
  font: inherit;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.mag-filter:hover {
  border-color: var(--copper);
}

.mag-filter.is-active {
  color: #ffffff;
  background: linear-gradient(135deg, #fb923c, #f97316);
  border-color: transparent;
}

.story-badge.cat {
  color: #ffffff;
  background: rgba(16, 42, 67, 0.92);
  border: 1px solid rgba(249, 115, 22, 0.5);
}

/* ===== Newsletter band ===== */
.newsletter-band {
  position: relative;
  z-index: 1;
  background:
    radial-gradient(circle at 90% 10%, rgba(249, 115, 22, 0.14), transparent 45%),
    linear-gradient(180deg, #102a43, #0a1c30);
}

.newsletter-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(24px, 5vw, 56px);
  align-items: center;
}

.newsletter-copy h2 {
  margin-bottom: 10px;
  color: #ffffff;
  font-size: clamp(1.5rem, 2.6vw, 2.2rem);
}

.newsletter-copy p {
  color: rgba(226, 232, 240, 0.72);
  line-height: 1.55;
}

.newsletter-form {
  display: flex;
  gap: 10px;
}

.newsletter-form input {
  flex: 1;
  min-width: 0;
  min-height: 52px;
  padding: 0 16px;
  color: #ffffff;
  background: rgba(7, 17, 30, 0.7);
  border: 1px solid rgba(229, 231, 235, 0.2);
  border-radius: 8px;
  outline: none;
  font: inherit;
}

.newsletter-form input:focus {
  border-color: var(--copper);
}

.newsletter-form .btn {
  min-height: 52px;
  white-space: nowrap;
}

@media (max-width: 760px) {
  .newsletter-inner {
    grid-template-columns: 1fr;
  }
  .newsletter-form {
    flex-direction: column;
  }
}

/* ===== Eventi ===== */
.eventi-list {
  display: grid;
  gap: 14px;
}

.evento-card {
  display: grid;
  grid-template-columns: 200px 1fr auto;
  gap: clamp(16px, 3vw, 32px);
  align-items: center;
  padding: clamp(20px, 2.6vw, 28px);
  background: rgba(13, 30, 48, 0.6);
  border: 1px solid rgba(229, 231, 235, 0.14);
  border-radius: 14px;
}

.evento-when {
  display: grid;
  gap: 8px;
  align-content: start;
}

.evento-tipo {
  justify-self: start;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  color: #ffffff;
}

.evento-tipo.online {
  background: rgba(16, 42, 67, 0.92);
  border: 1px solid rgba(229, 231, 235, 0.3);
}

.evento-tipo.live {
  background: linear-gradient(135deg, #fb923c, #f97316);
}

.evento-data {
  color: rgba(226, 232, 240, 0.7);
  font-weight: 700;
  font-size: 0.9rem;
}

.evento-main h3 {
  margin: 0 0 6px;
  color: #ffffff;
  font-size: clamp(1.15rem, 1.7vw, 1.45rem);
}

.evento-luogo {
  margin: 0 0 8px;
  color: var(--copper);
  font-weight: 700;
  font-size: 0.85rem;
}

.evento-main p {
  margin: 0;
  color: rgba(226, 232, 240, 0.7);
  line-height: 1.5;
}

@media (max-width: 760px) {
  .evento-card {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .evento-cta .btn {
    width: 100%;
  }
}

/* ===== Riprova sociale (stile OSA) ===== */
.social-proof {
  position: relative;
  z-index: 2;
  color: var(--mist);
  background: linear-gradient(180deg, #0a1c30, #102a43);
}

.proof-numbers {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  text-align: center;
}

.proof-num {
  padding: clamp(22px, 3vw, 34px) 16px;
  background: rgba(13, 30, 48, 0.5);
  border: 1px solid rgba(229, 231, 235, 0.14);
  border-radius: 14px;
}

.proof-num b {
  display: block;
  color: transparent;
  background: linear-gradient(120deg, #ffffff, var(--copper));
  -webkit-background-clip: text;
  background-clip: text;
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  line-height: 1;
}

.proof-num span {
  display: block;
  margin-top: 10px;
  color: rgba(226, 232, 240, 0.7);
  font-size: 0.92rem;
}

@media (max-width: 760px) {
  .proof-numbers {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ===== Footer ricco (home) ===== */
.site-footer {
  display: block;
  font-weight: 500;
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
  padding-bottom: 26px;
  border-bottom: 1px solid rgba(229, 231, 235, 0.12);
}

.footer-brand img {
  height: 40px;
  width: auto;
  margin-bottom: 14px;
}

.footer-brand p {
  max-width: 38ch;
  margin: 0;
  color: rgba(226, 232, 240, 0.6);
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(2, auto);
  gap: 10px 32px;
}

.footer-nav a {
  color: rgba(226, 232, 240, 0.78);
  font-size: 0.92rem;
  font-weight: 600;
  transition: color 0.2s ease;
}

.footer-nav a:hover {
  color: var(--copper);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  padding-top: 22px;
  color: rgba(226, 232, 240, 0.5);
  font-size: 0.85rem;
  font-weight: 600;
}

@media (max-width: 620px) {
  .footer-top {
    grid-template-columns: 1fr;
  }
}

/* ===== Feed Magazine in home ===== */
.home-magazine {
  position: relative;
  z-index: 2;
  color: var(--mist);
  background: linear-gradient(180deg, #0a1c30, #0d2138);
}

.home-mag-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 18px;
  margin-bottom: clamp(24px, 3vw, 36px);
}

.home-mag-head h2 {
  color: #ffffff;
  max-width: 18ch;
}

.home-mag-head .btn {
  white-space: nowrap;
}

/* Chip categoria in home */
.home-mag-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: clamp(22px, 3vw, 32px);
}

.home-mag-cats a {
  padding: 7px 15px;
  color: rgba(226, 232, 240, 0.82);
  background: rgba(13, 30, 48, 0.6);
  border: 1px solid rgba(229, 231, 235, 0.16);
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 700;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.home-mag-cats a:hover {
  color: #ffffff;
  border-color: var(--copper);
}

/* ===== Pagina di ringraziamento (grazie.html) ===== */
.grazie-hero {
  text-align: center;
}

.grazie-hero .page-title,
.grazie-hero .page-lead {
  margin-left: auto;
  margin-right: auto;
}

.grazie-hero .page-lead {
  max-width: 46ch;
}

.grazie-check {
  width: 88px;
  height: 88px;
  margin: 0 auto clamp(20px, 3vw, 28px);
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #fb923c, #f97316);
  box-shadow: 0 20px 50px rgba(249, 115, 22, 0.35);
  animation: grazie-pop 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.grazie-check svg {
  width: 46px;
  height: 46px;
  fill: none;
  stroke: #0a1c30;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@keyframes grazie-pop {
  from {
    opacity: 0;
    transform: scale(0.6);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.grazie-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: clamp(24px, 4vw, 34px);
}

@media (prefers-reduced-motion: reduce) {
  .grazie-check {
    animation: none;
  }
}

/* =========================================================
   OTTIMIZZAZIONE MOBILE
   Aree di tocco >= 44px (linee guida Apple/Google) e leggibilità.
   Le micro-etichette maiuscole (kicker, badge) restano piccole per scelta.
   ========================================================= */
@media (max-width: 760px) {
  /* Chip categorie e filtri: comodi da toccare */
  .home-mag-cats a,
  .mag-filter {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 11px 16px;
    font-size: 0.9rem;
  }
  .home-mag-cats,
  .mag-filters {
    gap: 12px;
  }

  /* Pulsanti condividi */
  .share-btn {
    min-height: 44px;
    padding: 11px 18px;
    font-size: 0.9rem;
  }
  .story-share {
    gap: 10px;
  }

  /* Footer: link con area di tocco reale (erano ~15px) */
  .footer-nav {
    gap: 2px 28px;
  }
  .footer-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    font-size: 1rem;
  }
  .footer-links {
    flex-wrap: wrap;
    gap: 4px 20px;
  }
  .footer-links a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    font-size: 0.95rem;
  }

  /* Corpo articolo: interlinea un filo più ariosa in lettura lunga */
  .story-content p {
    line-height: 1.7;
  }

  /* Link "torna indietro": area di tocco piena */
  .story-back {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }

  /* Campi form >= 16px: evita lo zoom automatico di iOS Safari al focus.
     Selettori specifici per battere il "font: inherit" dei form. */
  .contact-form input,
  .contact-form textarea,
  .newsletter-form input,
  .signup input,
  .signup textarea,
  input,
  textarea,
  select {
    font-size: 16px;
  }

  /* Link dentro le contact-card: area di tocco piena */
  .contact-card a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }
}

@media (max-width: 620px) {
  /* Voci del menu di navigazione: più comode */
  .site-header nav a {
    display: flex;
    align-items: center;
    min-height: 46px;
    padding: 13px 12px;
  }

  /* CTA header a 44px pieni, su una sola riga */
  .header-cta {
    min-height: 44px;
    white-space: nowrap;
  }

  /* Logo: area di tocco 44px (l'immagine resta 32px) */
  .brand {
    display: flex;
    align-items: center;
    min-height: 44px;
  }

  /* Etichette vicine al testo: più leggibili */
  .eyebrow {
    font-size: 0.76rem;
  }
  .story-meta {
    font-size: 0.82rem;
  }

  /* Card "Cos'è": un filo più compatte in verticale */
  .home-what-card {
    padding: 22px;
  }
}
