:root {
  --black: #000;
  --ink: #1d1d1f;
  --white: #fff;
  --paper: #f5f5f7;
  --gray: #86868b;
  --gray-2: #6e6e73;
  --line-dark: #424245;
  --tile: #141416;
  --blue: #0071e3;
  --blue-dark: #2997ff;
  --green: #30d158;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --nav-h: 52px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--black); color: #f5f5f7; font-family: var(--font);
  font-size: 17px; line-height: 1.47; letter-spacing: -0.022em;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
:focus-visible { outline: 2px solid var(--blue-dark); outline-offset: 3px; border-radius: 6px; }

.container { width: min(1040px, 100% - 44px); margin: 0 auto; }
.container--narrow { width: min(760px, 100% - 44px); }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--nav-h);
  background: rgba(22, 22, 23, .72); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.nav__inner { height: 100%; width: min(1040px, 100% - 44px); margin: 0 auto; display: flex; align-items: center; gap: 24px; }
.nav__brand { font-size: 21px; font-weight: 600; letter-spacing: -.02em; margin-right: auto; }
.nav__links { display: flex; gap: 26px; font-size: 12px; letter-spacing: -.01em; color: rgba(255, 255, 255, .8); }
.nav__links a:hover { color: #fff; }
.pill {
  font-size: 12px; font-weight: 500; letter-spacing: -.01em; color: #fff; background: var(--blue);
  padding: 5px 13px; border-radius: 980px; transition: background .2s;
}
.pill:hover { background: #0077ed; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; border: 0; cursor: pointer;
  font: 400 17px/1 var(--font); letter-spacing: -.022em; color: #fff; background: var(--blue);
  padding: 12px 22px; border-radius: 980px; transition: background .2s, transform .2s var(--ease);
}
.btn:hover { background: #0077ed; }
.btn:active { transform: scale(.98); }
.btn--large { font-size: 17px; padding: 16px 30px; }
.link { color: var(--blue-dark); font-size: 19px; }
.link:hover { text-decoration: underline; }

/* ---------- Typography ---------- */
.eyebrow { font-size: 17px; font-weight: 600; letter-spacing: -.01em; color: var(--gray); margin-bottom: 10px; }
.eyebrow--green { color: var(--green); }
.eyebrow--blue { color: var(--blue); }
.dark .eyebrow--blue { color: var(--blue-dark); }
.section-title { font-size: clamp(40px, 6.4vw, 80px); line-height: 1.05; font-weight: 700; letter-spacing: -.015em; margin-bottom: 28px; }
.section-title--dark { color: var(--ink); }
.muted { color: var(--gray); }
.muted-dark { color: var(--gray-2); }
.lead { font-size: clamp(19px, 2vw, 24px); line-height: 1.35; color: var(--gray); max-width: 680px; font-weight: 500; }
.lead--dark { color: var(--gray-2); }
.grad {
  background: linear-gradient(90deg, #a8ff78 0%, #30d158 45%, #00c7be 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.grad--cool { background-image: linear-gradient(90deg, #0071e3 0%, #8e44ad 55%, #d63384 100%); }

/* ---------- Sezioni ---------- */
.dark { background: var(--black); color: #f5f5f7; }
.light { background: var(--paper); color: var(--ink); color-scheme: light; }
section:not(.pin) { padding: 150px 0; }

/* Sezioni "pinnate" con canvas sticky */
.pin { position: relative; height: var(--h); }
.pin__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.stage { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }

/* ---------- Hero ---------- */
.hero__copy {
  position: absolute; left: 0; right: 0; top: calc(var(--nav-h) + 7vh); text-align: center; padding: 0 22px;
  will-change: transform, opacity;
}
.hero__eyebrow { font-size: clamp(17px, 1.7vw, 21px); font-weight: 600; color: var(--green); margin-bottom: 8px; }
.hero h1 { font-size: clamp(48px, 9vw, 112px); line-height: 1; font-weight: 700; letter-spacing: -.035em; }
.hero__sub { font-size: clamp(21px, 2.6vw, 32px); line-height: 1.2; font-weight: 600; color: var(--gray); margin-top: 14px; letter-spacing: -.02em; }
.hero__cta { margin-top: 26px; display: flex; gap: 26px; align-items: center; justify-content: center; flex-wrap: wrap; }
.hero__zones { position: absolute; bottom: 30px; left: 0; right: 0; text-align: center; color: var(--gray); font-size: 14px; letter-spacing: .02em; }

/* ---------- Manifesto ---------- */
.statement { padding: 18vh 0 22vh !important; }
.statement__text {
  width: min(980px, 100% - 44px); margin: 0 auto; font-size: clamp(30px, 4.6vw, 56px); line-height: 1.14; font-weight: 700; letter-spacing: -.02em;
}
.statement__text .w { color: #2c2c2e; transition: color .35s; }
.statement__text .w.lit { color: #f5f5f7; }

/* ---------- Callout dei capitoli 3D ---------- */
.callouts { position: absolute; inset: 0; pointer-events: none; }
.callout {
  position: absolute; left: max(22px, calc(50% - 520px)); top: 50%; width: min(380px, 100% - 44px);
  opacity: 0; transform: translateY(calc(-50% + 30px)); transition: opacity .7s var(--ease), transform .9s var(--ease);
}
.callout.on { opacity: 1; transform: translateY(-50%); }
.callout--right { left: auto; right: max(22px, calc(50% - 520px)); }
.callout h3 { font-size: clamp(30px, 3.6vw, 48px); line-height: 1.08; font-weight: 700; letter-spacing: -.02em; margin-bottom: 14px; }
.callout p:not(.eyebrow) { color: var(--gray); font-size: 19px; line-height: 1.42; }
.callouts--dark .callout p:not(.eyebrow) { color: var(--gray-2); }
.callout--title { left: 0; right: 0; width: auto; top: calc(var(--nav-h) + 8vh); text-align: center; transform: translateY(30px); }
.callout--title.on { transform: none; }
.callout--title h2 { font-size: clamp(44px, 7.4vw, 96px); line-height: 1.02; font-weight: 700; letter-spacing: -.03em; }
.bands { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.bands li { font-size: 14px; font-weight: 600; padding: 6px 12px 6px 10px; border-radius: 980px; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.06); display: flex; gap: 7px; align-items: center; }
.bands li::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--c); }

.dots { position: absolute; bottom: 28px; left: 50%; translate: -50% 0; display: flex; gap: 8px; }
.dots i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.28); transition: background .3s, width .4s var(--ease); }
.dots i.on { width: 26px; border-radius: 6px; background: #fff; }
.dots--dark i { background: rgba(0,0,0,.2); }
.dots--dark i.on { background: var(--ink); }

/* ---------- Bento ---------- */
.bento__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tile {
  background: var(--tile); border-radius: 28px; padding: 34px; min-height: 240px; display: flex; flex-direction: column; justify-content: space-between;
  border: 1px solid rgba(255,255,255,.06);
}
.tile--wide { grid-column: span 2; }
.tile__label { font-size: 17px; font-weight: 600; color: var(--gray); }
.tile__big { font-size: clamp(56px, 7vw, 96px); line-height: 1; font-weight: 700; letter-spacing: -.04em; margin-top: 20px; }
.tile__big small { font-size: .4em; letter-spacing: 0; color: var(--gray); }
.tile__note { color: var(--gray); font-size: 15px; margin-top: 10px; }
.tile__claim { font-size: clamp(30px, 3.6vw, 44px); line-height: 1.1; font-weight: 700; letter-spacing: -.02em; margin-top: 30px; }
.tile--claim { background: radial-gradient(120% 140% at 100% 0%, #0f2a1a 0%, var(--tile) 60%); }

/* ---------- NDVI ---------- */
.ndvi__figure { position: relative; margin: 60px 0 0; border-radius: 28px; overflow: hidden; background: #ddd; box-shadow: 0 30px 60px -30px rgba(0,0,0,.35); }
.ndvi__figure canvas { display: block; width: 100%; height: auto; }
.ndvi__tag { position: absolute; top: 18px; left: 18px; font-size: 13px; font-weight: 600; color: #fff; background: rgba(0,0,0,.45); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); padding: 6px 12px; border-radius: 980px; }
.ndvi__tag--right { left: auto; right: 18px; }
.ndvi__legend { display: flex; align-items: center; gap: 12px; justify-content: center; margin-top: 20px; font-size: 14px; color: var(--gray-2); }
.ndvi__legend i { width: 180px; height: 8px; border-radius: 8px; background: linear-gradient(90deg, #d7191c, #fdae61, #ffffbf, #a6d96a, #1a9641); }

/* ---------- Come funziona ---------- */
.how { padding-top: 40px !important; }
.steps { list-style: none; padding: 0; margin: 50px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step { background: #fff; border-radius: 24px; padding: 30px 26px 34px; box-shadow: 0 2px 10px rgba(0,0,0,.04); }
.step__n { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: #fff; font-weight: 600; margin-bottom: 26px; }
.step h3 { font-size: 24px; letter-spacing: -.02em; margin-bottom: 8px; }
.step p { color: var(--gray-2); font-size: 16px; }

/* ---------- Colture ---------- */
.crops__rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(360px, 78vw); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 10px max(22px, calc(50% - 520px)) 30px; scrollbar-width: none;
  scroll-padding-inline: max(22px, calc(50% - 520px));
}
.crops__rail::-webkit-scrollbar { display: none; }
.crop {
  scroll-snap-align: start; height: 460px; border-radius: 28px; padding: 30px; display: flex; flex-direction: column; justify-content: flex-end;
  background: radial-gradient(90% 70% at 70% 25%, color-mix(in srgb, var(--a) 70%, transparent) 0%, transparent 70%), linear-gradient(180deg, var(--b), #0a0a0a);
  border: 1px solid rgba(255,255,255,.06); position: relative; overflow: hidden;
}
.crop::before { content: ""; position: absolute; inset: auto -20% 30% -20%; height: 50%; background: repeating-linear-gradient(100deg, rgba(255,255,255,.06) 0 2px, transparent 2px 26px); transform: perspective(400px) rotateX(55deg); transform-origin: bottom; }
.crop__k { color: rgba(255,255,255,.7); font-size: 15px; font-weight: 600; }
.crop h3 { font-size: 34px; line-height: 1.08; letter-spacing: -.02em; margin-top: 6px; position: relative; }

/* ---------- Zone ---------- */
.zones .section-title { font-size: clamp(40px, 4.8vw, 64px); }
.zones__grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 50px; align-items: center; }
.zones__list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line-dark); }
.zones__list li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line-dark); transition: color .3s; cursor: default; }
.zones__list b { font-size: 24px; font-weight: 600; letter-spacing: -.02em; }
.zones__list span { color: var(--gray); font-size: 14px; text-align: right; }
.zones__list li.on b { color: var(--green); }
.fine { color: var(--gray); margin-top: 20px; }
.map { margin: 0; }
.map svg { width: 100%; height: auto; display: block; overflow: visible; }
#island { fill: url(#islandFill); stroke: #3a3a3c; stroke-width: 1.5; }
.pin-dot .halo { fill: url(#glow); transform-box: fill-box; transform-origin: center; animation: pulse 2.6s var(--ease) infinite; }
.pin-dot .core { fill: var(--green); stroke: #000; stroke-width: 2; }
.pin-dot text { fill: #f5f5f7; font: 600 15px var(--font); letter-spacing: -.01em; }
.pin-dot.on .core { fill: #fff; }
@keyframes pulse { 0% { transform: scale(.4); opacity: 1; } 100% { transform: scale(1.6); opacity: 0; } }

/* ---------- FAQ ---------- */
.faq__list { border-top: 1px solid #d2d2d7; }
.faq details { border-bottom: 1px solid #d2d2d7; }
.faq summary { list-style: none; cursor: pointer; padding: 26px 50px 26px 0; font-size: 22px; font-weight: 600; letter-spacing: -.02em; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; translate: 0 -50%; font-size: 30px; font-weight: 300; color: var(--gray-2); transition: rotate .3s var(--ease); }
.faq details[open] summary::after { rotate: 45deg; }
.faq details p { padding: 0 40px 28px 0; color: var(--gray-2); font-size: 19px; }

/* ---------- Form ---------- */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 40px; }
.field { position: relative; }
.field--full { grid-column: 1 / -1; }
.field input, .field select, .field textarea {
  width: 100%; font: 400 17px/1.3 var(--font); color: #f5f5f7; background: #1c1c1e; border: 1px solid #3a3a3c; border-radius: 14px;
  padding: 26px 16px 10px; appearance: none; -webkit-appearance: none; transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field select { cursor: pointer; }
.field--select::after { content: "⌄"; position: absolute; right: 16px; top: 50%; translate: 0 -60%; color: var(--gray); pointer-events: none; }
.field label { position: absolute; left: 17px; top: 18px; color: var(--gray); font-size: 17px; pointer-events: none; transition: all .2s var(--ease); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue-dark); box-shadow: 0 0 0 3px rgba(41,151,255,.25); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label,
.field select + label { top: 8px; font-size: 12px; }
.field [aria-invalid="true"] { border-color: #ff453a; }
.form__end { grid-column: 1 / -1; display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 10px; }
.form__msg { color: var(--green); font-size: 15px; }
.form__msg.err { color: #ff453a; }
.contact__alt { margin-top: 34px; color: var(--gray); }
.contact__alt a { color: var(--blue-dark); }
.contact__alt a:hover { text-decoration: underline; }

/* ---------- Footer ---------- */
.footer { background: var(--paper); color: var(--gray-2); font-size: 12px; line-height: 1.4; padding: 30px 0 22px; color-scheme: light; }
.footnotes { margin: 0 0 18px; padding-left: 16px; border-bottom: 1px solid #d2d2d7; padding-bottom: 18px; display: grid; gap: 8px; }
.footnotes a { color: var(--blue); }
.footer__bar { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* ---------- Reveal ---------- */
[data-reveal] { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1.2s var(--ease); transition-delay: calc(var(--d, 0) * 80ms); }
[data-reveal].in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 833px) {
  .nav__links { display: none; }
  section:not(.pin) { padding: 100px 0; }
  .bento__grid { grid-template-columns: 1fr 1fr; }
  .zones__grid { grid-template-columns: 1fr; }
  .callout, .callout--right { left: 22px; right: 22px; width: auto; top: auto; bottom: 64px; transform: translateY(30px); }
  .callout.on { transform: none; }
  .callout--title { top: calc(var(--nav-h) + 6vh); bottom: auto; }
  .callout h3 { font-size: 30px; }
  .callout p:not(.eyebrow) { font-size: 16px; }
  /* velo solo dietro il testo, non sopra il drone */
  .callouts::before { content: ""; position: absolute; inset: auto 0 0; height: 40%; background: linear-gradient(transparent, rgba(0,0,0,.8) 45%); opacity: 0; transition: opacity .5s; }
  .callouts--dark::before { background: linear-gradient(rgba(245,245,247,0), rgba(245,245,247,.9) 45%); }
  .callouts:has(.callout.on:not(.callout--title))::before { opacity: 1; }
}
@media (max-width: 600px) {
  .bento__grid, .steps, .form { grid-template-columns: 1fr; }
  .tile--wide { grid-column: auto; }
  .tile { min-height: 190px; padding: 26px; }
  .crop { height: 380px; }
  .faq summary { font-size: 19px; }
  .zones__list span { display: none; }
}

/* su touch il blur dietro la barra è costoso sopra un canvas animato */
@media (pointer: coarse) {
  .nav { background: rgba(22, 22, 23, .94); backdrop-filter: none; -webkit-backdrop-filter: none; }
  .ndvi__tag { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(0,0,0,.6); }
}
.stage { contain: strict; }

@media (prefers-reduced-motion: reduce) {
  html:not(.motion) { scroll-behavior: auto; }
  html:not(.motion) [data-reveal] { opacity: 1; transform: none; transition: none; }
  html:not(.motion) .pin-dot .halo { animation: none; }
}

/* =========================================================
   MOTION
   ========================================================= */
/* righe dei titoli che salgono da una maschera */
[data-lines] .line { display: block; overflow: hidden; padding-bottom: .1em; margin-bottom: -.1em; }
[data-lines] .line > span { display: inline-block; transform: translate3d(0, 108%, 0); transition: transform 1.15s var(--ease); transition-delay: calc(var(--l) * 110ms + var(--ld, 0ms)); }
[data-lines][data-reveal] { opacity: 1; transform: none; }
[data-lines].in .line > span, .in [data-lines] .line > span, .intro .hero [data-lines] .line > span, .callout.on [data-lines] .line > span { transform: none; }
.tile [data-lines] { --ld: 250ms; }
.callout [data-lines] .line > span { transition-duration: .9s; }
.callout:not(.on) [data-lines] .line > span { transition-delay: 0ms; transition-duration: .5s; }

/* testi con una leggera messa a fuoco */
.eyebrow[data-reveal], .lead[data-reveal], .fine[data-reveal], .contact__alt[data-reveal] { filter: blur(6px); transition: opacity 1s var(--ease), transform 1.2s var(--ease), filter 1s var(--ease); transition-delay: calc(var(--d, 0) * 80ms); }
.eyebrow[data-reveal].in, .lead[data-reveal].in, .fine[data-reveal].in, .contact__alt[data-reveal].in { filter: none; }

/* ingresso dell'hero */
html:not(.intro) :is(.hero__eyebrow, .hero__sub, .hero__cta, .hero__zones) { opacity: 0; }
/* fill "backwards": a fine animazione l'opacità torna a seguire lo scroll */
.intro .hero__eyebrow, .intro .hero__sub, .intro .hero__cta, .intro .hero__zones { animation: rise 1.2s var(--ease) backwards; }
.intro .hero__eyebrow { animation-delay: .05s; }
.hero h1 { --ld: 180ms; }
.intro .hero__sub { animation-delay: .55s; }
.intro .hero__cta { animation-delay: .75s; }
.intro .hero__zones { animation-delay: 1.1s; }
@keyframes rise { from { opacity: 0; transform: translate3d(0, 24px, 0); filter: blur(8px); } to { opacity: 1; transform: none; filter: none; } }

/* canvas 3D in dissolvenza quando il modello è pronto */
.stage { opacity: 0; transition: opacity 1.4s var(--ease); }
.stage.ready { opacity: 1; }

/* elementi dei capitoli in sequenza */
.callout > * { opacity: 0; transform: translate3d(0, 18px, 0); transition: opacity .7s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--c) * 90ms + 120ms); }
.callout.on > * { opacity: 1; transform: none; }
.callout:not(.on) > * { transition-delay: 0ms; transition-duration: .35s; }
.bands li { transition: transform .5s var(--ease); }
.callout.on .bands li { animation: chip .7s var(--ease) both; }
.callout.on .bands li:nth-child(1) { animation-delay: .45s; }
.callout.on .bands li:nth-child(2) { animation-delay: .53s; }
.callout.on .bands li:nth-child(3) { animation-delay: .61s; }
.callout.on .bands li:nth-child(4) { animation-delay: .69s; }
@keyframes chip { from { opacity: 0; transform: translate3d(0, 10px, 0) scale(.9); } to { opacity: 1; transform: none; } }

/* riquadri: piccola crescita all'ingresso, numeri tabellari mentre contano */
.tile[data-reveal] { transform: translate3d(0, 50px, 0) scale(.96); }
.tile[data-reveal].in { transform: none; }
.tile__big { font-variant-numeric: tabular-nums; white-space: nowrap; }
.tile:last-child .tile__big { font-size: clamp(44px, 5.2vw, 76px); }
.tile { transition: opacity 1s var(--ease), transform 1.2s var(--ease), border-color .4s; transition-delay: calc(var(--d, 0) * 80ms); }
@media (hover: hover) { .tile.in:hover { transform: translateY(-4px); border-color: rgba(255,255,255,.14); transition-delay: 0ms; transition-duration: .5s; } }

/* passaggi: barra che avanza con lo scroll, numeri che si accendono */
.steps__progress { height: 3px; border-radius: 3px; background: #d2d2d7; margin-top: 50px; overflow: hidden; }
.steps__progress i { display: block; height: 100%; background: linear-gradient(90deg, #30d158, #00c7be); transform-origin: left; transform: scaleX(var(--p, 0)); }
.steps { margin-top: 22px; }
.step { transition: opacity 1s var(--ease), transform .7s var(--ease), box-shadow .6s var(--ease); transition-delay: calc(var(--d, 0) * 80ms), 0ms, 0ms; }
.step__n { transition: background .5s var(--ease), transform .5s var(--ease); }
.step.on { transform: translateY(-6px); box-shadow: 0 18px 40px -20px rgba(0,0,0,.25); }
.step.on .step__n { background: var(--green); transform: scale(1.08); }

/* colture: card che entrano in sequenza */
.crops__rail[data-reveal] { opacity: 1; transform: none; }
.crop { opacity: 0; transform: translate3d(80px, 0, 0); transition: opacity 1s var(--ease), transform 1.2s var(--ease); transition-delay: calc(var(--i) * 90ms); }
.crops__rail.in .crop { opacity: 1; transform: none; }
.crop::after { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 40% at 50% 0%, rgba(255,255,255,.12), transparent); opacity: 0; transition: opacity .5s; }
@media (hover: hover) { .crop:hover::after { opacity: 1; } }

/* mappa: rotta tracciata e pin in sequenza */
#route { fill: none; stroke: #30d158; stroke-width: 2; stroke-linecap: round; stroke-dasharray: var(--len, 600); stroke-dashoffset: var(--len, 600); opacity: .8; transition: stroke-dashoffset 2.6s var(--ease) .3s; }
.map.in #route { stroke-dashoffset: 0; }
.pin-pop { transform-box: fill-box; transform-origin: center; opacity: 0; transform: scale(.4); }
.map.in .pin-pop { animation: pinpop .8s var(--ease) both; animation-delay: calc(var(--i) * .55s + .35s); }
@keyframes pinpop { 0% { opacity: 0; transform: scale(.4); } 60% { opacity: 1; transform: scale(1.15); } 100% { opacity: 1; transform: none; } }
.pin-dot text { transition: fill .3s; }
.pin-dot.on text { fill: var(--green); }

/* FAQ: risposta che scivola */
.faq details[open] p { animation: rise .6s var(--ease) both; }

/* pulsanti: luce che attraversa al passaggio */
.btn { position: relative; overflow: hidden; }
.btn::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%); transform: translateX(-120%); }
@media (hover: hover) { .btn:hover::after { transform: translateX(120%); transition: transform .8s var(--ease); } }

@media (prefers-reduced-motion: reduce) {
  html:not(.motion) [data-lines] .line > span, html:not(.motion) .callout > *, html:not(.motion) .crop, html:not(.motion) .pin-pop,
  html:not(.motion) .hero__eyebrow, html:not(.motion) .hero__sub, html:not(.motion) .hero__cta, html:not(.motion) .hero__zones {
    opacity: 1 !important; transform: none !important; filter: none !important; animation: none !important; transition: none !important;
  }
  html:not(.motion) #route { stroke-dashoffset: 0; transition: none; }
  html:not(.motion) .stage { transition: none; }
}
