/* =========================================================================
   andreacolombo.com — design system del nuovo sito (prototipo)
   Palette del brand, serif editoriale (Fraunces) + Montserrat, griglia a 12
   colonne. Albicocca solo come riempimento: mai testo arancio su crema.
   ========================================================================= */

@font-face { font-family: "Fraunces"; src: url("../fonts/fraunces.woff2") format("woff2"); font-weight: 300 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("../fonts/fraunces-italic.woff2") format("woff2"); font-weight: 300 700; font-style: italic; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("../fonts/montserrat.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("../fonts/montserrat-italic.woff2") format("woff2"); font-weight: 400 700; font-style: italic; font-display: swap; }

:root {
  --crema: #FBF0DE;
  --bianco: #FFFDF8;
  --notte: #1D405A;
  --notte-900: #142F43;
  --albicocca: #F9AD5F;
  --albicocca-600: #F49C45;
  --testo: #3A3A3A;
  --testo-2: #565656;
  --linea: rgba(29, 64, 90, .16);
  --linea-forte: rgba(29, 64, 90, .34);
  --crema-80: rgba(251, 240, 222, .82);
  --crema-60: rgba(251, 240, 222, .6);
  --crema-linea: rgba(251, 240, 222, .22);

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Montserrat", "Helvetica Neue", Arial, sans-serif;

  --fs-hero: clamp(3.6rem, 1.4rem + 9.4vw, 11rem);
  --fs-display: clamp(2.6rem, 1.5rem + 4.6vw, 6rem);
  --fs-h2: clamp(2.1rem, 1.45rem + 2.7vw, 4rem);
  --fs-h3: clamp(1.4rem, 1.15rem + 1vw, 2rem);
  --fs-lead: clamp(1.125rem, 1.02rem + .42vw, 1.375rem);
  --fs-body: 1.0625rem;
  --fs-sm: .875rem;
  --fs-xs: .75rem;

  --container: 1320px;
  --gutter: clamp(1rem, 4.2vw, 4rem);
  --gap: clamp(1rem, 2.2vw, 2rem);
  --section: clamp(4.5rem, 2.8rem + 7vw, 10rem);
  --header-h: 72px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 1.5rem); }
body {
  margin: 0; background: var(--crema); color: var(--testo);
  font: 400 var(--fs-body)/1.7 var(--sans);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--notte); text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { text-decoration-color: var(--albicocca); }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
[role="list"] { list-style: none; }
button { font: inherit; color: inherit; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--notte); outline-offset: 3px; border-radius: 2px; }
.section--navy :focus-visible, .site-footer :focus-visible, .mobile-menu :focus-visible, .hero--dark :focus-visible { outline-color: var(--albicocca); }
main:focus { outline: none; }
main { overflow-x: clip; }

h1, h2, h3, h4 {
  font-family: var(--serif); font-weight: 400; color: var(--notte);
  line-height: 1.06; letter-spacing: -.012em; margin: 0 0 .5em;
  font-optical-sizing: auto; text-wrap: balance;
}
h1 { font-size: var(--fs-display); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); line-height: 1.15; }
h4 { font-size: 1.25rem; line-height: 1.25; }
.h-md { font-size: clamp(1.9rem, 1.35rem + 1.9vw, 3.1rem); line-height: 1.1; }
h1 em, h2 em, h3 em, .serif em { font-style: italic; font-weight: 350; }
.lead { font-size: var(--fs-lead); line-height: 1.6; color: var(--testo); }
.small { font-size: var(--fs-sm); }
strong { font-weight: 600; }

[hidden] { display: none !important; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 200; background: var(--notte); color: var(--crema); padding: .75rem 1.25rem; border-radius: 999px; font-weight: 600; transition: top .2s; }
.skip-link:focus { top: 1rem; }
.icon-sprite { display: none; }
svg use { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
svg .fill { fill: currentColor; }
.placeholder { background: rgba(249, 173, 95, .28); padding: 0 .3em; border-radius: 3px; font-style: normal; color: inherit; }
.section--navy .placeholder, .hero--dark .placeholder { background: rgba(249, 173, 95, .3); }

/* ---------- layout ---------- */
.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: calc(52rem + 2 * var(--gutter)); }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: clamp(2rem, 4vw, 3.5rem); }
.grid > * { grid-column: 1 / -1; min-width: 0; }
@media (min-width: 900px) {
  .c-3 { grid-column: auto / span 3; } .c-4 { grid-column: auto / span 4; } .c-5 { grid-column: auto / span 5; }
  .c-6 { grid-column: auto / span 6; } .c-7 { grid-column: auto / span 7; } .c-8 { grid-column: auto / span 8; }
  .c-9 { grid-column: auto / span 9; } .c-10 { grid-column: auto / span 10; }
  .s-2 { grid-column-start: 2; } .s-3 { grid-column-start: 3; } .s-6 { grid-column-start: 6; } .s-7 { grid-column-start: 7; } .s-8 { grid-column-start: 8; }
  .grid--center { align-items: center; }
  .grid--end { align-items: end; }
}
.section { padding-block: var(--section); position: relative; }
.section--tight { padding-block: calc(var(--section) * .6); }
.section--white { background: var(--bianco); }
.section--navy { background: var(--notte); color: var(--crema-80); }
.section--navy h1, .section--navy h2, .section--navy h3, .section--navy h4 { color: var(--crema); }
.section--navy a:not(.btn) { color: var(--crema); }
.section-head { max-width: 46rem; margin-bottom: clamp(2.5rem, 5vw, 4.5rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--row { max-width: none; display: flex; flex-wrap: wrap; gap: 1.5rem 3rem; align-items: end; justify-content: space-between; }
.section-head--row > div { max-width: 46rem; }
.stack > * + * { margin-top: 1.25rem; }
.measure { max-width: 38rem; }
.rule { height: 2px; width: 3.5rem; background: var(--albicocca); border: 0; margin: 0 0 1.5rem; }

/* ---------- testi piccoli ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .85rem; margin: 0 0 1.25rem;
  font: 600 var(--fs-xs)/1.3 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--notte);
}
.eyebrow::before { content: ""; width: 2.25rem; height: 2px; background: var(--albicocca); flex: none; }
.eyebrow--light, .section--navy .eyebrow, .hero--dark .eyebrow { color: var(--crema); }
.badge { display: inline-block; margin: 0 0 1rem; padding: .3rem .75rem; border-radius: 999px; background: var(--albicocca); color: var(--notte); font: 700 .6875rem/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; }
.badge--outline { background: transparent; border: 1px solid var(--linea-forte); }
.roles { font: 600 var(--fs-sm)/1.5 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--notte); margin: 0; }

/* ---------- pulsanti e link ---------- */
.btn {
  --btn-bg: transparent; --btn-fg: var(--notte); --btn-bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 3.1rem; padding: .8rem 1.65rem; border-radius: 999px;
  background: var(--btn-bg); color: var(--btn-fg); border: 1.5px solid var(--btn-bd);
  font: 600 .9375rem/1.2 var(--sans); letter-spacing: .01em; text-decoration: none; text-align: center;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: none; }
.btn svg { width: 1.15em; height: 1.15em; flex: none; }
.btn--primary { --btn-bg: var(--albicocca); --btn-fg: var(--notte); }
.btn--primary:hover { --btn-bg: var(--albicocca-600); }
.btn--outline { --btn-bd: var(--notte); }
.btn--outline:hover { --btn-bg: var(--notte); --btn-fg: var(--crema); }
.btn--navy { --btn-bg: var(--notte); --btn-fg: var(--crema); --btn-bd: var(--notte); }
.btn--navy:hover { --btn-bg: var(--notte-900); }
.btn--light { --btn-bd: var(--crema); --btn-fg: var(--crema); }
.btn--light:hover { --btn-bg: var(--crema); --btn-fg: var(--notte); }
.btn--sm { min-height: 2.6rem; padding: .55rem 1.2rem; font-size: .875rem; }
.btn--lg { min-height: 3.6rem; padding: 1rem 2rem; font-size: 1rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem 1rem; align-items: center; }
.link-arrow {
  display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; color: var(--notte);
  text-decoration: underline; text-decoration-color: var(--albicocca); text-decoration-thickness: 2px; text-underline-offset: .4em;
}
.link-arrow svg { width: 1.1em; height: 1.1em; transition: transform .25s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }
.section--navy .link-arrow, .hero--dark .link-arrow { color: var(--crema); }
.link-button { background: none; border: 0; padding: 0; color: inherit; font-weight: 600; text-decoration: underline; text-decoration-color: var(--albicocca); text-decoration-thickness: 2px; text-underline-offset: .35em; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; background: var(--crema);
  border-bottom: 1px solid var(--linea);
  transition: transform .4s var(--ease), box-shadow .3s;
}
.site-header.is-hidden { transform: translateY(-100%); }
.site-header.is-scrolled { box-shadow: 0 10px 30px -22px rgba(20, 47, 67, .55); }
.site-header__top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--notte); flex: none; }
.brand__mark { width: 46px; height: auto; }
.brand__name { font: 400 1.35rem/1 var(--serif); letter-spacing: -.01em; white-space: nowrap; }
.header-actions { display: flex; align-items: center; gap: clamp(.5rem, 1.4vw, 1.25rem); }
.header-social { display: none; }
.header-social .social { gap: .15rem; }
.header-social .social a { width: 2.25rem; height: 2.25rem; }
.header-social .social svg { width: 1.2rem; height: 1.2rem; }
.cart-link { position: relative; display: grid; place-items: center; width: 2.6rem; height: 2.6rem; color: var(--notte); border-radius: 50%; }
.cart-link svg { width: 1.45rem; height: 1.45rem; }
.cart-link:hover { background: rgba(29, 64, 90, .07); }
.cart-link__count { position: absolute; top: .1rem; right: .05rem; min-width: 1.15rem; height: 1.15rem; padding: 0 .25rem; border-radius: 999px; background: var(--albicocca); color: var(--notte); font: 700 .6875rem/1.15rem var(--sans); text-align: center; }
.header-cta__short { display: none; }
.menu-toggle { display: inline-flex; align-items: center; gap: .55rem; min-height: 2.6rem; padding: 0 .4rem; background: none; border: 0; color: var(--notte); font: 600 .875rem/1 var(--sans); letter-spacing: .06em; text-transform: uppercase; }
.menu-toggle__bars { position: relative; width: 1.35rem; height: 2px; background: currentColor; transition: background .2s; }
.menu-toggle__bars::before, .menu-toggle__bars::after { content: ""; position: absolute; left: 0; width: 100%; height: 2px; background: currentColor; transition: transform .3s var(--ease); }
.menu-toggle__bars::before { top: -6px; } .menu-toggle__bars::after { top: 6px; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }
.main-nav { display: none; }

@media (max-width: 479px) {
  .brand__name { display: none; }
  .header-cta__long { display: none; }
  .header-cta__short { display: inline; }
  .menu-toggle__label { display: none; }
}
@media (min-width: 480px) and (max-width: 599px) {
  .brand__name { font-size: 1.15rem; }
  .header-cta__long { display: none; }
  .header-cta__short { display: inline; }
}
@media (min-width: 900px) { .header-social { display: block; } }
@media (min-width: 1140px) {
  .menu-toggle { display: none; }
  .main-nav { display: block; border-top: 1px solid var(--linea); }
  .main-nav > ul { display: flex; flex-wrap: wrap; gap: 0 clamp(1rem, 2.1vw, 2.25rem); min-height: 3rem; align-items: center; }
  .main-nav li { position: relative; display: flex; align-items: center; }
  .main-nav a { display: block; padding: .8rem 0; font: 500 .875rem/1.2 var(--sans); letter-spacing: .02em; color: var(--notte); text-decoration: none; }
  .main-nav > ul > li > a { background: linear-gradient(var(--albicocca), var(--albicocca)) left calc(100% - .45rem) / 0 2px no-repeat; transition: background-size .3s var(--ease); }
  .main-nav > ul > li > a:hover, .main-nav a[aria-current="page"] { background-size: 100% 2px; }
  .sub-toggle { display: grid; place-items: center; width: 1.6rem; height: 1.6rem; margin-left: .15rem; padding: 0; background: none; border: 0; color: var(--notte); }
  .sub-toggle svg { width: 1rem; height: 1rem; transition: transform .25s; }
  .sub-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
  .sub-menu { position: absolute; top: 100%; left: -1.25rem; min-width: 15rem; padding: .6rem 0; background: var(--bianco); border: 1px solid var(--linea); border-radius: 6px; box-shadow: 0 24px 40px -28px rgba(20, 47, 67, .5); list-style: none; opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .2s, transform .2s, visibility .2s; }
  .sub-menu a { padding: .6rem 1.25rem; }
  .sub-menu a:hover { background: var(--crema); }
  .has-sub:hover .sub-menu, .has-sub:focus-within .sub-menu, .sub-toggle[aria-expanded="true"] + .sub-menu { opacity: 1; visibility: visible; transform: none; }
}

/* menu mobile */
.mobile-menu { position: fixed; inset: var(--header-h) 0 0; z-index: 49; background: var(--notte); color: var(--crema); overflow-y: auto; overscroll-behavior: contain; }
.mobile-menu[hidden] { display: none; }
.mobile-menu__inner { display: flex; flex-direction: column; gap: 2rem; padding-block: 2rem 3rem; }
.mobile-menu__list { list-style: none; }
.mobile-menu__list a { display: block; padding: .45rem 0; color: var(--crema); text-decoration: none; font: 400 clamp(1.75rem, 6.5vw, 2.4rem)/1.15 var(--serif); }
.mobile-menu__list a[aria-current="page"] { font-style: italic; }
.mobile-menu__list a[aria-current="page"]::after { content: ""; display: inline-block; width: .5em; height: 2px; margin-left: .4em; vertical-align: middle; background: var(--albicocca); }
.mobile-menu__list ul { list-style: none; padding-left: 1.25rem; }
.mobile-menu__list ul a { font-size: 1.35rem; font-family: var(--sans); padding: .2rem 0 .5rem; }
.mobile-menu .btn { align-self: flex-start; }
.mobile-menu .social a { color: var(--crema); border-color: var(--crema-linea); }
body.menu-open { overflow: hidden; }

/* ---------- social ---------- */
.social { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; }
.social a { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 50%; color: var(--notte); border: 1px solid transparent; transition: background .2s, color .2s, border-color .2s; }
.social a:hover { background: rgba(29, 64, 90, .08); }
.social svg { width: 1.35rem; height: 1.35rem; }
.site-footer .social a, .section--navy .social a { color: var(--crema); border-color: var(--crema-linea); }
.site-footer .social a:hover, .section--navy .social a:hover { background: var(--crema); color: var(--notte); }

/* ---------- animazioni allo scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal-stagger > * { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal-stagger.is-in > * { opacity: 1; transform: none; }
.reveal-stagger.is-in > *:nth-child(2) { transition-delay: .08s; } .reveal-stagger.is-in > *:nth-child(3) { transition-delay: .16s; }
.reveal-stagger.is-in > *:nth-child(4) { transition-delay: .24s; } .reveal-stagger.is-in > *:nth-child(5) { transition-delay: .32s; }
.reveal-stagger.is-in > *:nth-child(6) { transition-delay: .4s; } .reveal-stagger.is-in > *:nth-child(n+7) { transition-delay: .48s; }

/* ---------- HERO della Home ---------- */
.hero { position: relative; background: #FFFFFF; color: var(--notte); isolation: isolate; }
.hero__media { display: block; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__inner { position: relative; display: flex; flex-direction: column; }
.hero__claim { font: 400 clamp(1.7rem, 1.1rem + 2.3vw, 3rem)/1.12 var(--serif); letter-spacing: -.012em; color: var(--notte); margin: 0 0 1.5rem; }
.hero__claim span { display: block; }
.hero__claim em { font-style: italic; font-weight: 350; }
.hero__roles { margin-bottom: 1.75rem; }
.hero__tedx { margin-top: 1.25rem; }
.hero__name { margin: 0; font: 400 var(--fs-hero)/.86 var(--serif); letter-spacing: -.035em; color: var(--notte); }
.hero__name span { display: block; }
.hero__name em { font-style: italic; font-weight: 300; }

/* mobile: foto sopra, testi su crema sotto */
@media (max-width: 899px) {
  .hero { background: var(--crema); }
  .hero__media { height: min(68svh, 34rem); overflow: hidden; background: #FFFFFF; }
  .hero__media img { object-position: 50% 10%; }
  .hero__inner { padding-block: 1.75rem 3.5rem; }
  .hero__name { margin: 0 0 1.75rem; font-size: clamp(3.4rem, 16vw, 6.5rem); }
}
/* desktop: foto a tutto schermo, nome gigante in basso a sinistra sulla parete chiara */
@media (min-width: 900px) {
  .hero { min-height: calc(100svh - var(--header-h) - 3rem); display: grid; overflow: hidden; }
  .hero__media { position: absolute; inset: 0; z-index: -1; }
  .hero__media img { object-position: 72% 28%; }
  .hero__inner { min-height: inherit; justify-content: space-between; gap: 3rem; padding-block: clamp(2.5rem, 7vh, 5rem) clamp(2rem, 5vh, 3.5rem); }
  .hero__text { max-width: min(36rem, 40%); }
  .hero__name { order: 2; font-size: clamp(5rem, 2rem + 6.6vw, 10.5rem); max-width: 40%; }
}

/* HERO scuro (pagina Speaker) */
.hero--dark { background: var(--notte-900); color: var(--crema); }
.hero--dark .hero__media { position: relative; }
.hero--dark .hero__media img { filter: grayscale(1) brightness(.62) contrast(1.12); }
.hero--dark .hero__media::after { content: ""; position: absolute; inset: 0; background: var(--notte); mix-blend-mode: multiply; opacity: .55; }
.hero--dark .hero__name { color: var(--crema); }
.hero__sub { font: 400 clamp(1.15rem, 1rem + .6vw, 1.6rem)/1.35 var(--serif); font-style: italic; color: var(--crema); margin: 1.25rem 0 0; max-width: 28rem; }
.hero--speaker .hero__layout { display: grid; gap: 2.5rem; padding-block: 2.5rem 3.5rem; }
@media (max-width: 899px) {
  .hero--speaker .hero__media { height: min(60svh, 30rem); }
  .hero--speaker .hero__media img { object-position: 45% 18%; }
  .hero--speaker .hero__name { margin-bottom: 0; }
  .hero--speaker { background: var(--notte); }
  .hero--speaker .hero__layout { padding-top: 2rem; }
}
@media (min-width: 900px) {
  .hero--speaker { min-height: calc(100svh - var(--header-h) - 3rem); display: grid; }
  .hero--speaker .hero__media { position: absolute; inset: 0; z-index: -1; }
  .hero--speaker .hero__media img { object-position: 40% 22%; }
  .hero--speaker .hero__layout { grid-template-columns: minmax(0, 1fr) minmax(20rem, 26rem); align-items: end; min-height: inherit; padding-block: 4rem; }
  .hero--speaker .hero__name { max-width: none; font-size: clamp(5rem, 2rem + 6vw, 9.5rem); }
}

.hero__headline { margin: 0; font: 400 clamp(2.6rem, 1.4rem + 4.6vw, 6rem)/1 var(--serif); letter-spacing: -.03em; color: var(--crema); max-width: 13ch; text-wrap: balance; }
.hero__headline em { font-style: italic; font-weight: 300; }
.hero__lead { margin: 1.5rem 0 0; max-width: 34rem; font-size: var(--fs-lead); line-height: 1.55; color: var(--crema-80); }

/* card richiesta nella hero Speaker */
.request-card { background: var(--bianco); color: var(--testo); border-radius: 8px; padding: clamp(1.5rem, 3vw, 2.25rem); box-shadow: 0 40px 60px -40px rgba(0, 0, 0, .55); }
.request-card h2 { font-size: 1.6rem; margin-bottom: .35rem; }
.request-card > p { font-size: var(--fs-sm); color: var(--testo-2); margin-bottom: 1.25rem; }
.request-card .btn { width: 100%; }

/* ---------- numeri / contatori ---------- */
.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.5rem var(--gap); list-style: none; }
@media (min-width: 700px) { .stats { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.stat { border-top: 1px solid var(--linea-forte); padding-top: 1.25rem; position: relative; }
.stat::before { content: ""; position: absolute; top: -1px; left: 0; width: 3rem; height: 3px; background: var(--albicocca); }
.stat__num { display: block; font: 400 clamp(2.4rem, 1.5rem + 2.6vw, 3.9rem)/1 var(--serif); letter-spacing: -.03em; color: var(--notte); font-variant-numeric: lining-nums tabular-nums; }
.stat__label { display: block; margin-top: .6rem; font-size: var(--fs-sm); line-height: 1.45; color: var(--testo-2); max-width: 16rem; }
.section--navy .stat { border-color: var(--crema-linea); }
.section--navy .stat__num { color: var(--albicocca); }
.section--navy .stat__label { color: var(--crema-80); }

/* ---------- manifesto (IL PERCHÉ) ---------- */
.manifesto { font: 350 clamp(1.9rem, 1.1rem + 3.3vw, 4.2rem)/1.14 var(--serif); letter-spacing: -.02em; color: var(--crema); margin: 0; text-wrap: pretty; }
.manifesto em { font-style: italic; color: var(--crema); box-shadow: inset 0 -.12em 0 var(--albicocca); }
.manifesto-foot { display: flex; flex-wrap: wrap; gap: 1rem 3rem; align-items: center; justify-content: space-between; margin-top: clamp(2.5rem, 5vw, 4rem); padding-top: 2rem; border-top: 1px solid var(--crema-linea); }
.manifesto-foot p { margin: 0; font: 400 var(--fs-lead)/1.5 var(--serif); font-style: italic; color: var(--crema); }

/* ---------- metodo: timeline orizzontale ---------- */
.timeline { list-style: none; display: grid; gap: 0; position: relative; counter-reset: step; }
.timeline__step { position: relative; padding: 0 0 2.5rem 3.25rem; }
.timeline__step::before { content: ""; position: absolute; left: .55rem; top: .6rem; bottom: -.6rem; width: 2px; background: var(--albicocca); }
.timeline__step:last-child::before { display: none; }
.timeline__dot { position: absolute; left: 0; top: .1rem; width: 1.2rem; height: 1.2rem; border-radius: 50%; background: var(--albicocca); box-shadow: 0 0 0 6px var(--crema); }
.timeline__num { display: block; font: 300 italic 2.4rem/1 var(--serif); color: var(--notte); margin-bottom: .6rem; }
.timeline__title { font-size: 1.5rem; margin-bottom: .5rem; }
.timeline__text { font-size: .95rem; line-height: 1.6; color: var(--testo-2); margin-bottom: .75rem; }
.timeline__step--plus .timeline__dot { background: var(--notte); }
.timeline__step--plus .timeline__num { font-style: normal; }
@media (min-width: 1000px) {
  .timeline { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: var(--gap); }
  .timeline__step { padding: 3.25rem 0 0; }
  .timeline__step::before { left: 0; right: calc(-1 * var(--gap)); top: .55rem; bottom: auto; width: auto; height: 2px; }
  .timeline__dot { top: 0; }
  .timeline__num { font-size: 3.25rem; }
}
.section--white .timeline__dot { box-shadow: 0 0 0 6px var(--bianco); }

/* ---------- Talytha: percorso in 5 tappe ---------- */
.path { list-style: none; display: grid; gap: .75rem; counter-reset: tappa; }
.path__stage { position: relative; padding: 1.4rem 1.5rem; border: 1px solid var(--crema-linea); border-radius: 6px; }
.path__num { display: block; font: 400 2.75rem/1 var(--serif); color: var(--albicocca); margin-bottom: .75rem; }
.path__name { display: block; font: 700 .9375rem/1.2 var(--sans); letter-spacing: .16em; color: var(--crema); }
.path__it { display: block; margin-top: .35rem; font: italic 400 1.05rem/1.3 var(--serif); color: var(--crema-80); }
.path__stage--first { background: rgba(249, 173, 95, .1); border-color: rgba(249, 173, 95, .5); }
.path-ai { display: flex; gap: 1rem; align-items: center; margin-top: .75rem; padding: 1.1rem 1.5rem; border-radius: 6px; background: var(--albicocca); color: var(--notte); }
.path-ai__label { font: 700 .75rem/1.2 var(--sans); letter-spacing: .16em; text-transform: uppercase; white-space: nowrap; }
.path-ai p { margin: 0; font-size: .95rem; line-height: 1.45; font-weight: 500; }
@media (max-width: 759px) {
  .path__stage { display: grid; grid-template-columns: 3.25rem 1fr; column-gap: .75rem; align-items: center; padding: 1rem 1.25rem; }
  .path__num { grid-row: span 2; margin: 0; font-size: 2.2rem; }
  .path-ai { flex-direction: column; align-items: flex-start; gap: .4rem; }
}
@media (min-width: 760px) {
  .path { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .path__stage:not(:last-child)::after { content: ""; position: absolute; top: 50%; right: -.6rem; width: .45rem; height: .45rem; border-top: 2px solid var(--albicocca); border-right: 2px solid var(--albicocca); transform: translateY(-50%) rotate(45deg); }
}

/* ---------- media e foto ---------- */
.photo { position: relative; margin: 0; overflow: hidden; border-radius: 4px; background: #d9d2c6; }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo--tall { aspect-ratio: 4 / 5; }
.photo--wide { aspect-ratio: 3 / 2; }
.photo--square { aspect-ratio: 1; }
.photo figcaption, .caption { margin-top: .75rem; font-size: var(--fs-sm); color: var(--testo-2); }
.photo figcaption { position: absolute; left: 1rem; bottom: 1rem; margin: 0; padding: .35rem .75rem; border-radius: 999px; background: var(--bianco); color: var(--notte); font-weight: 600; font-size: .75rem; letter-spacing: .04em; }
.bleed { width: 100%; }

/* ---------- embed con consenso (YouTube, Spotify, Instagram) ---------- */
.embed { position: relative; border-radius: 6px; overflow: hidden; background: var(--notte); color: var(--crema); }
.embed--video { aspect-ratio: 16 / 9; }
.embed--spotify { min-height: 232px; }
.embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.embed--spotify iframe { position: static; height: 232px; }
.embed__gate { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end; gap: .75rem; padding: clamp(1.25rem, 3vw, 2rem); background-color: var(--notte); }
.embed__poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) brightness(.42); }
.embed--video .embed__gate { background-color: transparent; }
.embed__gate--play { width: 100%; align-items: center; justify-content: center; padding: 0; border: 0; color: inherit; font: inherit; cursor: pointer; }
.embed__gate--play .embed__icon { width: clamp(4rem, 3rem + 3vw, 5.5rem); height: clamp(4rem, 3rem + 3vw, 5.5rem); margin: 0; box-shadow: 0 12px 30px -10px rgba(0, 0, 0, .5); transition: transform .3s var(--ease), background-color .3s; }
.embed__gate--play .embed__icon svg { width: 42%; height: 42%; }
.embed--video .embed__gate--play .embed__icon svg { margin-left: 8%; }
.embed--spotify .embed__gate--play, .embed--instagram .embed__gate--play { position: absolute; inset: 0; background: transparent; }
.embed--spotify, .embed--instagram { position: relative; }
.embed__gate--play:hover .embed__icon, .embed__gate--play:focus-visible .embed__icon { transform: scale(1.08); background: var(--albicocca-600); }
.embed__gate--play:focus-visible { outline: 3px solid var(--albicocca); outline-offset: -6px; }
.embed__gate > * { position: relative; }
.embed--spotify .embed__gate, .embed--instagram .embed__gate { position: relative; min-height: inherit; }
.embed--instagram { min-height: 22rem; }
.embed--instagram.is-loaded { min-height: 0; background: transparent; border-radius: 0; }
.embed__fallback { position: absolute; inset: auto 1.25rem 1.25rem; color: var(--crema); font-weight: 600; }
.embed__icon { display: grid; place-items: center; width: 3.75rem; height: 3.75rem; border-radius: 50%; background: var(--albicocca); color: var(--notte); margin-bottom: auto; }
.embed__icon svg { width: 1.6rem; height: 1.6rem; }
.embed__title { font: 400 clamp(1.2rem, 1rem + .8vw, 1.6rem)/1.2 var(--serif); color: var(--crema); margin: 0; max-width: 32rem; }
.embed__text { margin: 0; font-size: var(--fs-sm); line-height: 1.5; color: var(--crema-80); max-width: 32rem; }
.embed__text a { color: var(--crema); }
.embed__actions { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; align-items: center; }
.embed__actions .link-button { color: var(--crema); font-size: var(--fs-sm); }
.ig-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .5rem; list-style: none; }
.ig-grid a { position: relative; display: block; aspect-ratio: 1; overflow: hidden; border-radius: 4px; }
.ig-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.ig-grid a:hover img { transform: scale(1.04); }
.ig-grid svg { position: absolute; right: .6rem; top: .6rem; width: 1.25rem; height: 1.25rem; color: #fff; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .5)); }

/* ---------- card generiche ---------- */
.cards { display: grid; gap: var(--gap); list-style: none; }
@media (min-width: 640px) { .cards--2, .cards--3, .cards--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .cards--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.card { display: flex; flex-direction: column; padding: clamp(1.5rem, 2.6vw, 2.25rem); border-radius: 6px; background: var(--bianco); border: 1px solid var(--linea); }
.section--white .card { background: var(--crema); }
.section--navy .card { background: transparent; border-color: var(--crema-linea); }
.card h3 { font-size: 1.5rem; }
.card > .badge { align-self: flex-start; }
.card p:last-child { margin-bottom: 0; }
.card__num { font: 300 italic 2.75rem/1 var(--serif); color: var(--notte); margin-bottom: 1.25rem; }
.section--navy .card__num { color: var(--albicocca); font-style: normal; }
.card__foot { margin-top: auto; padding-top: 1.25rem; }
.card--line { background: transparent; border: 0; border-top: 1px solid var(--linea-forte); border-radius: 0; padding: 1.5rem 0 0; }
.section--white .card--line { background: transparent; }
.ticks { list-style: none; display: grid; gap: .55rem; margin: 0 0 1.25rem; }
.ticks li { display: grid; grid-template-columns: 1.25rem 1fr; gap: .6rem; font-size: .95rem; line-height: 1.5; }
.ticks svg { width: 1.2rem; height: 1.2rem; margin-top: .15rem; color: var(--notte); }
.section--navy .ticks svg { color: var(--albicocca); }

/* ---------- libri ---------- */
.book-features { display: grid; gap: clamp(2.5rem, 5vw, 4rem); }
@media (min-width: 900px) { .book-features { grid-template-columns: 1fr 1fr; } }
.book-feature { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(1.25rem, 3vw, 2.5rem); align-items: end; }
.book-feature__cover { display: block; transition: transform .5s var(--ease); }
.book-feature__cover img { width: 100%; box-shadow: 0 30px 50px -30px rgba(20, 47, 67, .65), 0 2px 6px rgba(20, 47, 67, .12); }
.book-feature__cover:hover { transform: translateY(-6px) rotate(-1deg); }
.book-feature__title { font-size: clamp(1.7rem, 1.2rem + 1.6vw, 2.6rem); margin-bottom: .35rem; }
.book-feature__title a { text-decoration: none; color: inherit; }
.book-feature__authors { font-size: var(--fs-sm); font-weight: 600; color: var(--notte); margin-bottom: .75rem; }
.book-feature__sub { font: italic 400 1.1rem/1.45 var(--serif); color: var(--testo); }
.book-feature__price { font: 600 1.15rem/1 var(--sans); color: var(--notte); margin: 1.25rem 0; }
.carousel { position: relative; }
.carousel__track { position: relative; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(12.5rem, 15.5rem); gap: clamp(1.25rem, 2.5vw, 2rem); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 1rem var(--gutter) 2rem; margin-inline: calc(-1 * var(--gutter)); list-style: none; scroll-padding-inline: var(--gutter); }
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__nav { display: flex; gap: .5rem; }
.carousel__btn { display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 50%; border: 1.5px solid var(--notte); background: transparent; color: var(--notte); transition: background .2s, color .2s; }
.carousel__btn:hover { background: var(--notte); color: var(--crema); }
.carousel__btn svg { width: 1.2rem; height: 1.2rem; }
.carousel__btn:disabled { opacity: .35; pointer-events: none; }
.book-card { position: relative; scroll-snap-align: start; display: flex; flex-direction: column; }
.book-card__cover { display: flex; align-items: flex-end; aspect-ratio: 2 / 3; margin-bottom: 1.25rem; }
.book-card__cover img { width: 100%; max-height: 100%; object-fit: contain; object-position: bottom; box-shadow: 0 22px 34px -24px rgba(20, 47, 67, .7); transition: transform .5s var(--ease); }
.book-card__cover--wide img { aspect-ratio: auto; }
.book-card:hover .book-card__cover img { transform: translateY(-5px); }
.book-card__title { font-size: 1.3rem; margin-bottom: .3rem; }
.book-card__title a { color: inherit; text-decoration: none; }
.book-card__meta { font-size: .8125rem; line-height: 1.45; color: var(--testo-2); margin-bottom: .5rem; }
.book-card__price { font-weight: 600; color: var(--notte); margin-bottom: 1rem; }
.book-card .btn { margin-top: auto; align-self: flex-start; }

/* ---------- loghi in movimento ---------- */
.marquee { overflow: hidden; }
.marquee__track { display: flex; width: max-content; animation: marquee 70s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group { display: flex; align-items: center; gap: clamp(3rem, 7vw, 6.5rem); padding-right: clamp(3rem, 7vw, 6.5rem); list-style: none; }
.marquee__group img { height: clamp(2.2rem, 1.6rem + 1.6vw, 3.4rem); width: auto; opacity: .85; }
.marquee__group img.is-wide { height: clamp(1.8rem, 1.3rem + 1.2vw, 2.6rem); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- citazione su foto ---------- */
.quote-photo { position: relative; display: grid; place-items: center; min-height: min(92svh, 56rem); padding: var(--section) var(--gutter); color: var(--crema); text-align: center; isolation: isolate; overflow: hidden; }
.quote-photo img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }
.quote-photo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--notte-900); opacity: .48; }
.quote-photo blockquote { margin: 0; max-width: 58rem; }
.quote-photo p { font: 350 italic clamp(2rem, 1.1rem + 3.8vw, 4.6rem)/1.12 var(--serif); letter-spacing: -.02em; margin: 0 0 1.75rem; color: var(--crema); text-wrap: balance; }
.quote-photo cite { font: 600 .8125rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; font-style: normal; }
.quote-photo cite::before { content: ""; display: inline-block; width: 2rem; height: 2px; margin-right: .85rem; vertical-align: middle; background: var(--albicocca); }

/* ---------- pulsanti social grandi ---------- */
.social-big { display: grid; gap: .75rem; list-style: none; }
.social-big a { display: flex; align-items: center; gap: 1rem; padding: 1rem 1.25rem; border: 1.5px solid var(--notte); border-radius: 999px; color: var(--notte); text-decoration: none; font-weight: 600; transition: background .25s, color .25s; }
.social-big a:hover { background: var(--notte); color: var(--crema); }
.social-big svg { width: 1.5rem; height: 1.5rem; flex: none; }
.social-big span { font-weight: 400; font-size: var(--fs-sm); margin-left: auto; opacity: .8; }
@media (min-width: 560px) and (max-width: 899px) { .social-big { grid-template-columns: 1fr 1fr; } }

/* ---------- newsletter ---------- */
.newsletter { padding-block: calc(var(--section) * .75); }
.newsletter__card { display: grid; gap: 2.5rem; padding: clamp(1.75rem, 5vw, 4.5rem); background: var(--bianco); border: 1px solid var(--linea); border-radius: 10px; }
@media (min-width: 900px) { .newsletter__card { grid-template-columns: 5fr 6fr; gap: 5rem; align-items: center; } }
.newsletter__intro h2 { font-size: clamp(2rem, 1.4rem + 2.2vw, 3.4rem); }

/* ---------- moduli ---------- */
.form { display: grid; gap: 1.1rem; }
.form__row { display: grid; gap: 1.1rem; }
@media (min-width: 640px) { .form__row--2 { grid-template-columns: 1fr 1fr; } .form__row--3 { grid-template-columns: repeat(3, 1fr); } }
.field { display: grid; gap: .4rem; }
.field label, .field legend { font: 600 .8125rem/1.3 var(--sans); letter-spacing: .02em; color: var(--notte); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 3.1rem; padding: .75rem 1rem; border: 1px solid var(--linea-forte); border-radius: 6px;
  background: var(--bianco); color: var(--testo); font-size: 1rem; transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 8rem; resize: vertical; line-height: 1.55; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231D405A' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M6.5 9.5l5.5 5.5 5.5-5.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .9rem center; background-size: 1.1rem; padding-right: 2.6rem; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--notte); box-shadow: 0 0 0 3px rgba(29, 64, 90, .18); }
.field [aria-invalid="true"] { border-color: #A3392B; box-shadow: 0 0 0 3px rgba(163, 57, 43, .14); }
.field__hint { font-size: .8125rem; color: var(--testo-2); }
.field__error, .check__error { font-size: .8125rem; font-weight: 600; color: #A3392B; }
.section--white .field input, .section--white .field select, .section--white .field textarea { background: #fff; }
.check { display: grid; grid-template-columns: 1.4rem 1fr; gap: .7rem; align-items: start; font-size: .9rem; line-height: 1.5; }
.check input { width: 1.25rem; height: 1.25rem; margin: .1rem 0 0; accent-color: var(--notte); }
.check .check__error { grid-column: 2; }
.form__status { margin: 0; font-weight: 600; color: var(--notte); }
.form__status:empty { display: none; }
.form__status.is-ok { padding: 1rem 1.25rem; border-radius: 6px; background: rgba(29, 64, 90, .07); }
.form__note { font-size: .8125rem; color: var(--testo-2); margin: 0; }

/* ---------- sottonavigazione interna (Speaker) ---------- */
.subnav { position: sticky; top: 0; z-index: 40; background: var(--bianco); border-bottom: 1px solid var(--linea); transition: top .4s var(--ease); }
body.header-visible .subnav { top: var(--header-stack, var(--header-h)); }
.subnav ul { display: flex; gap: clamp(1.25rem, 3vw, 2.75rem); overflow-x: auto; scrollbar-width: none; list-style: none; white-space: nowrap; }
.subnav ul::-webkit-scrollbar { display: none; }
.subnav a { display: block; padding: 1rem 0; font: 600 .8125rem/1.2 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--notte); text-decoration: none; border-bottom: 2px solid transparent; }
.subnav a:hover, .subnav a.is-active { border-color: var(--albicocca); }
.subnav li.is-cta { margin-left: auto; }

/* ---------- passi (come funziona) ---------- */
.steps { list-style: none; display: grid; gap: var(--gap); counter-reset: passo; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.steps li { counter-increment: passo; padding-top: 1.5rem; border-top: 1px solid var(--linea-forte); }
.steps li::before { content: "0" counter(passo); display: block; font: 300 italic 3rem/1 var(--serif); color: var(--notte); margin-bottom: 1rem; }
.section--navy .steps li { border-color: var(--crema-linea); }
.section--navy .steps li::before { color: var(--albicocca); font-style: normal; }
.note { display: flex; gap: 1rem; align-items: flex-start; margin-top: 2.5rem; padding: 1.25rem 1.5rem; border-left: 3px solid var(--albicocca); background: rgba(249, 173, 95, .12); font: italic 400 1.1rem/1.5 var(--serif); color: var(--notte); }
.section--navy .note { color: var(--crema); background: rgba(249, 173, 95, .1); }

/* ---------- galleria eventi ---------- */
.gallery { display: grid; gap: .75rem; grid-template-columns: repeat(2, minmax(0, 1fr)); list-style: none; }
.gallery li { position: relative; overflow: hidden; border-radius: 4px; aspect-ratio: 4 / 3; }
.gallery li.is-tall { grid-row: span 2; aspect-ratio: auto; }
.gallery li.is-wide { grid-column: span 2; aspect-ratio: 16 / 9; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.gallery li:hover img { transform: scale(1.03); }
@media (min-width: 900px) { .gallery { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.logo-card { display: grid; place-items: center; padding: clamp(1.5rem, 3vw, 2.5rem); border: 1px solid var(--linea); border-radius: 8px; background: #fff; transition: box-shadow .25s; }
.logo-card:hover { box-shadow: 0 18px 34px -24px rgba(20, 47, 67, .5); }
.logo-card img { width: min(100%, 16rem); }
.fido-logo { display: block; width: 11rem; margin-bottom: 1.25rem; }
.logo-row { display: flex; flex-wrap: wrap; gap: 2rem clamp(2.5rem, 6vw, 5rem); align-items: center; list-style: none; }
.logo-row img { height: clamp(2rem, 1.5rem + 1.4vw, 3rem); width: auto; opacity: .85; }
.logo-row img.is-wide { height: clamp(1.6rem, 1.2rem + 1vw, 2.4rem); }
.logo-row--all { gap: 2rem clamp(2rem, 4.5vw, 3.75rem); }
.logo-row--all img { width: auto; max-width: 13rem; object-fit: contain; }
@media (max-width: 599px) { .logo-row--all { gap: 1.5rem 2rem; } .logo-row--all img { max-width: 9rem; } }
.embed--todo .embed__gate { border: 1px dashed rgba(249, 173, 95, .6); border-radius: 6px; }
.section--navy .embed { background: var(--notte-900); }
.section--navy .caption { margin-top: .75rem; }

/* ---------- media, contatti ---------- */
.video-grid { display: grid; gap: 2rem var(--gap); }
@media (min-width: 700px) { .video-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .video-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.video-grid figure { margin: 0; }
.video-grid figcaption { margin-top: .75rem; font: 400 1.15rem/1.3 var(--serif); color: var(--notte); }
.video-grid .embed__title { display: none; }
.video-grid .embed__gate:not(.embed__gate--play) { gap: .5rem; padding: 1rem 1.25rem; }
.media-list { list-style: none; }
.list-title a { color: inherit; }
.h-sm { font-size: clamp(1.4rem, 1.2rem + .8vw, 1.8rem); margin-bottom: .6rem; }
.callout--light { margin-top: 2.5rem; font-size: 1rem; line-height: 1.65; }
.prose .callout h2 { margin-top: 0; padding-top: 0; border-top: 0; }
.list-title { margin: 0 0 .5rem; font: 600 .75rem/1.3 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--notte); }
.more { border-top: 1px solid var(--linea-forte); }
.more summary { display: inline-flex; align-items: center; gap: .6rem; padding: 1.1rem 0; cursor: pointer; list-style: none; font-weight: 600; color: var(--notte); text-decoration: underline; text-decoration-color: var(--albicocca); text-decoration-thickness: 2px; text-underline-offset: .4em; }
.more summary::-webkit-details-marker { display: none; }
.more summary::after { content: ""; width: .55rem; height: .55rem; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-25%) rotate(45deg); transition: transform .25s var(--ease); }
.more[open] summary::after { transform: translateY(15%) rotate(-135deg); }
.more[open] summary { margin-bottom: 0; }
.media-list li { padding: 1.5rem 0; border-top: 1px solid var(--linea-forte); }
.media-list h3 { font-size: 1.4rem; margin: 0; }
.media-list a { color: inherit; text-decoration: none; }
.contact-list { list-style: none; display: grid; gap: 1.25rem; margin-top: 1.5rem; }
.contact-list li { display: grid; grid-template-columns: 1.5rem 1fr; gap: .9rem; line-height: 1.5; }
.contact-list svg { width: 1.4rem; height: 1.4rem; color: var(--notte); margin-top: .1rem; }
.social-big--light a { border-color: var(--crema); color: var(--crema) !important; }
.social-big--light a:hover { background: var(--crema); color: var(--notte) !important; }
.manifesto-text p { max-width: 40rem; }

/* ---------- eventi ---------- */
.events { list-style: none; }
.event-card { display: grid; grid-template-columns: auto 1fr; gap: 1.25rem 1.75rem; align-items: start; padding: 1.75rem 0; border-top: 1px solid var(--linea-forte); }
.event-card__date { display: grid; place-items: center; min-width: 5.5rem; margin: 0; padding: .9rem .5rem; border-radius: 6px; background: var(--notte); color: var(--crema); text-align: center; }
.event-card__day { font: 400 2.2rem/1 var(--serif); color: var(--albicocca); }
.event-card__month { font: 600 .6875rem/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; }
.event-card h3 { font-size: 1.5rem; margin-bottom: .5rem; }
.event-card__meta { display: flex; flex-wrap: wrap; gap: .4rem 1.25rem; list-style: none; font-size: var(--fs-sm); color: var(--testo-2); margin-bottom: 1rem; }
.event-card__meta li { display: inline-flex; align-items: center; gap: .4rem; }
.event-card__meta svg { width: 1.05rem; height: 1.05rem; color: var(--notte); }
@media (min-width: 900px) { .event-card { grid-template-columns: auto 1fr auto; align-items: center; } .event-card .btn { justify-self: end; } }
.past-grid { display: grid; gap: var(--gap); list-style: none; }
@media (min-width: 640px) { .past-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .past-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.past-item .photo { aspect-ratio: 4 / 3; margin-bottom: 0; }
.past-item h3 { font-size: 1.3rem; margin-bottom: .25rem; }
.past-item p { font-size: var(--fs-sm); color: var(--testo-2); margin: 0; }

/* ---------- timeline verticale (riconoscimenti) ---------- */
.years { list-style: none; display: grid; gap: 0; }
.years li { display: grid; grid-template-columns: minmax(5.5rem, 8rem) 1fr; gap: 1.5rem; padding: 1.75rem 0; border-top: 1px solid var(--linea-forte); }
.years__y { font: 300 clamp(2.4rem, 1.8rem + 2vw, 3.6rem)/1 var(--serif); color: var(--notte); }
.section--navy .years li { border-color: var(--crema-linea); }
.section--navy .years__y { color: var(--albicocca); }
.years h3 { font-size: 1.4rem; margin-bottom: .35rem; }
.years p { margin: 0; }

/* ---------- testimonianze (spazi da compilare) ---------- */
.testimonial { margin: 0; padding: 2rem; border-radius: 6px; border: 1px dashed var(--linea-forte); }
.testimonial p { font: italic 400 1.25rem/1.45 var(--serif); color: var(--notte); }
.testimonial footer { font-size: var(--fs-sm); color: var(--testo-2); }

/* ---------- pagina speaker ---------- */
.big-question { margin: clamp(3rem, 6vw, 5rem) 0 0; max-width: 28ch; font: 350 italic clamp(1.6rem, 1.1rem + 2vw, 2.6rem)/1.2 var(--serif); color: var(--crema); }
.big-question--dark { color: var(--notte); max-width: 32ch; }
.claim { margin: 1.5rem 0; font: 400 italic clamp(1.4rem, 1.1rem + 1.2vw, 2rem)/1.3 var(--serif); color: var(--notte); }
.rows { list-style: none; margin: 1rem 0 0; }
.rows li { padding: 1.15rem 0; border-top: 1px solid var(--linea); font-size: .95rem; line-height: 1.6; color: var(--testo-2); }
.rows li:last-child { border-bottom: 1px solid var(--linea); }
.rows strong { display: block; margin-bottom: .2rem; font: 400 1.25rem/1.3 var(--serif); color: var(--notte); }
.callout { margin-top: clamp(2.5rem, 5vw, 4rem); padding: clamp(1.5rem, 3vw, 2.25rem) clamp(1.5rem, 3vw, 2.5rem); border-left: 4px solid var(--albicocca); border-radius: 0 8px 8px 0; background: var(--crema); }
.callout h3 { font-size: 1.5rem; margin-bottom: .5rem; }
.callout p { margin: 0; max-width: 52rem; }
.stats--compact { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.stats--compact .stat__num { font-size: clamp(1.8rem, 1.3rem + 1.6vw, 2.8rem); }
@media (min-width: 1000px) { .steps--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 640px) and (max-width: 999px) { .steps--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.mini-steps { list-style: none; counter-reset: mini; display: grid; gap: .6rem; margin: 1.5rem 0; }
.mini-steps li { counter-increment: mini; display: grid; grid-template-columns: 2rem 1fr; gap: .6rem; align-items: baseline; font-size: .95rem; }
.mini-steps li::before { content: counter(mini); display: grid; place-items: center; width: 1.6rem; height: 1.6rem; border-radius: 50%; background: var(--albicocca); color: var(--notte); font: 700 .8rem/1 var(--sans); }
.faq details { border-bottom: 1px solid var(--linea-forte); }
.faq details:first-child { border-top: 1px solid var(--linea-forte); }
.faq summary { position: relative; padding: 1.35rem 3rem 1.35rem 0; cursor: pointer; list-style: none; font: 400 1.3rem/1.3 var(--serif); color: var(--notte); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: .5rem; top: 50%; width: .7rem; height: .7rem; border-right: 2px solid var(--notte); border-bottom: 2px solid var(--notte); transform: translateY(-70%) rotate(45deg); transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { margin: 0 0 1.35rem; max-width: 40rem; }
.sticky-cta { display: none; }
@media (max-width: 899px) {
  .sticky-cta { display: flex; position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 45; box-shadow: 0 10px 30px -10px rgba(20, 47, 67, .55); transition: opacity .3s var(--ease), transform .3s var(--ease); }
  .js .sticky-cta:not(.is-visible) { opacity: 0; transform: translateY(150%); pointer-events: none; }
  .has-sticky-cta .site-footer { padding-bottom: 6rem; }
}

/* ---------- articolo ---------- */
.article-hero h1 { max-width: none; font-size: clamp(2.4rem, 1.5rem + 3.6vw, 4.6rem); }
.article-hero .lead { max-width: none; font-family: var(--serif); font-style: italic; }
.article-body { padding-top: clamp(3rem, 6vw, 5rem); }
.article-body .prose { font-size: 1.125rem; line-height: 1.8; }
.article-body .prose > p:first-child::first-letter { float: left; margin: .08em .1em 0 0; font: 400 4.2em/.8 var(--serif); color: var(--notte); }
.pullquote { margin: 2.5rem 0; padding: 1.5rem 0; border-block: 1px solid var(--linea-forte); }
.pullquote p { margin: 0; font: 400 clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem)/1.2 var(--serif); color: var(--notte); }
.article-sign { margin-top: 2rem; font: italic 400 1.4rem/1 var(--serif); color: var(--notte); }

/* ---------- metodo: pagina ---------- */
.method-step__num { margin: 0; font: 300 italic clamp(6rem, 3rem + 10vw, 13rem)/.8 var(--serif); color: var(--notte); letter-spacing: -.04em; }
.section--navy .method-step__num { color: var(--albicocca); font-style: normal; }
@media (min-width: 900px) { .method-step__num { position: sticky; top: calc(var(--header-h) + 5rem); } }
.formula { margin: 1.75rem 0; padding: 1.25rem 1.5rem; border-radius: 6px; background: var(--notte); color: var(--crema); font: 400 1.15rem/1.5 var(--serif); }
.formula span { display: block; color: var(--albicocca); font-style: italic; }

/* ---------- pagine interne: intestazione ---------- */
.page-hero { padding-block: clamp(3.5rem, 8vw, 7rem) clamp(3rem, 6vw, 5rem); }
.page-hero h1 { max-width: 16ch; }
.page-hero .lead { max-width: 40rem; }
.page-hero--split .grid { align-items: end; }

/* ---------- blog ---------- */
.post-meta { font: 600 .75rem/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--testo-2); margin-bottom: .75rem; }
.post-feature { padding-bottom: clamp(2.5rem, 5vw, 4rem); margin-bottom: clamp(2.5rem, 5vw, 4rem); border-bottom: 1px solid var(--linea-forte); }
.post-feature__title { font-size: clamp(2.2rem, 1.4rem + 3vw, 4.4rem); max-width: 20ch; }
.post-feature__title a, .post-item__title a { color: inherit; text-decoration: none; }
.post-feature__title a:hover, .post-item__title a:hover { text-decoration: underline; text-decoration-color: var(--albicocca); text-decoration-thickness: 2px; }
.post-feature__excerpt { font-size: var(--fs-lead); max-width: 44rem; }
.post-list { list-style: none; display: grid; gap: 0 var(--gap); }
@media (min-width: 900px) { .post-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.post-item { padding: 1.75rem 0; border-top: 1px solid var(--linea); }
.post-item__title { font-size: clamp(1.35rem, 1.1rem + .8vw, 1.8rem); margin-bottom: .6rem; }
.post-item__excerpt { font-size: .95rem; color: var(--testo-2); margin: 0; }
.pagination { display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: center; justify-content: space-between; margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--linea-forte); font-size: var(--fs-sm); }

.pagination ol { display: flex; flex-wrap: wrap; gap: .35rem; list-style: none; align-items: center; }
.pagination ol a, .pagination ol span { display: grid; place-items: center; min-width: 2.5rem; height: 2.5rem; padding: 0 .5rem; border-radius: 999px; font-weight: 600; color: var(--notte); text-decoration: none; }
.pagination ol a:hover { background: rgba(29, 64, 90, .08); }
.pagination ol span[aria-current] { background: var(--notte); color: var(--crema); }
.pagination__step { display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; color: var(--notte); text-decoration: underline; text-decoration-color: var(--albicocca); text-decoration-thickness: 2px; text-underline-offset: .4em; }
.pagination__step svg { width: 1.1em; height: 1.1em; }
@media (max-width: 599px) { .pagination { justify-content: center; } .pagination > span:empty { display: none; } }
.post-nav { display: grid; gap: 1rem; margin-top: clamp(3rem, 6vw, 4.5rem); padding-top: 2rem; border-top: 1px solid var(--linea-forte); }
@media (min-width: 700px) { .post-nav { grid-template-columns: 1fr 1fr; } }
.post-nav__link { display: grid; gap: .4rem; padding: 1.25rem 1.4rem; border: 1px solid var(--linea); border-radius: 8px; background: var(--crema); text-decoration: none; transition: border-color .2s, box-shadow .2s; }
.post-nav__link:hover { border-color: var(--notte); box-shadow: 0 16px 30px -24px rgba(20, 47, 67, .6); }
.post-nav__link--next { text-align: right; }
.post-nav__dir { display: inline-flex; align-items: center; gap: .4rem; font: 600 .75rem/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--testo-2); }
.post-nav__link--next .post-nav__dir { justify-content: flex-end; }
.post-nav__dir svg { width: 1em; height: 1em; }
.post-nav__title { font: 400 1.15rem/1.3 var(--serif); color: var(--notte); }
.article-body .post-nav { font-size: 1rem; line-height: 1.5; }

/* ---------- pagine legali ---------- */
.legal { display: grid; gap: 3rem; }
@media (min-width: 1000px) { .legal { grid-template-columns: 18rem minmax(0, 1fr); gap: 5rem; align-items: start; } .toc { position: sticky; top: calc(var(--header-h) + 5rem); max-height: calc(100vh - var(--header-h) - 7rem); overflow: auto; } }
.toc { padding: 1.5rem; border-radius: 8px; background: var(--bianco); border: 1px solid var(--linea); }
.toc p { margin-bottom: .75rem; }
.toc ol { list-style: none; display: grid; gap: .1rem; }
.toc a { display: block; padding: .35rem 0; font-size: .875rem; line-height: 1.35; color: var(--notte); text-decoration: none; }
.toc a:hover { text-decoration: underline; text-decoration-color: var(--albicocca); }
.toc__l3 a { padding-left: 1rem; font-size: .8125rem; color: var(--testo-2); }
.prose { max-width: 46rem; }
.prose h2 { font-size: clamp(1.7rem, 1.3rem + 1.4vw, 2.4rem); margin-top: 2.5em; padding-top: 1rem; border-top: 1px solid var(--linea); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.35rem; margin-top: 2em; }
.prose h4 { font-family: var(--sans); font-size: 1rem; font-weight: 600; margin-top: 1.5em; }
.prose ul, .prose ol { padding-left: 1.25rem; margin: 0 0 1em; }
.prose li { margin-bottom: .35em; }
.prose table { width: 100%; border-collapse: collapse; font-size: .9rem; margin-bottom: 1.5em; }
.prose th, .prose td { text-align: left; padding: .5rem; border-bottom: 1px solid var(--linea); vertical-align: top; }
.prose a { word-break: break-word; }

/* ---------- footer ---------- */
.site-footer { background: var(--notte); color: var(--crema-80); padding-block: clamp(4rem, 8vw, 7rem) 2rem; }
.site-footer a:not(.btn) { color: var(--crema); text-decoration: none; }
.site-footer a:not(.btn):hover { text-decoration: underline; text-decoration-color: var(--albicocca); }
.site-footer__claim { display: flex; flex-wrap: wrap; gap: 2rem 4rem; align-items: end; justify-content: space-between; padding-bottom: clamp(3rem, 6vw, 5rem); border-bottom: 1px solid var(--crema-linea); }
.site-footer__quote { margin: 0; font: 400 clamp(2rem, 1.3rem + 2.8vw, 4rem)/1.08 var(--serif); letter-spacing: -.02em; color: var(--crema); }
.site-footer__quote em { font-style: italic; font-weight: 350; }
.site-footer__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem 1.5rem; padding-block: clamp(3rem, 6vw, 4.5rem); }
.site-footer__brand, .site-footer__follow { grid-column: 1 / -1; }
@media (min-width: 1100px) { .site-footer__brand, .site-footer__follow { grid-column: auto; } }
@media (min-width: 700px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .site-footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 3rem; } }
.site-footer__brand img { width: min(17rem, 100%); margin-bottom: 1.25rem; }
.site-footer__brand p { font-size: .95rem; max-width: 22rem; }
.site-footer__title { font: 600 .75rem/1.2 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--crema); margin-bottom: 1.1rem; }
.site-footer__nav ul { list-style: none; display: grid; gap: .45rem; }
.site-footer__nav a { font-size: .95rem; }
.site-footer__small { font-size: .875rem; margin-top: 1rem; }
.site-footer__legal { display: flex; flex-wrap: wrap; gap: 1rem 2rem; justify-content: space-between; align-items: center; padding-top: 1.75rem; border-top: 1px solid var(--crema-linea); font-size: .8125rem; }
.site-footer__legal p { margin: 0; }
.site-footer__legal ul { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; list-style: none; }
.site-footer__legal .link-button { color: var(--crema); font-weight: 400; text-decoration-thickness: 1px; }

/* ---------- banner e preferenze cookie ---------- */
.cookie-banner { position: fixed; z-index: 90; left: 50%; bottom: clamp(.75rem, 2vw, 1.5rem); width: min(100% - 1.5rem, 72rem); transform: translateX(-50%); background: var(--bianco); color: var(--testo); border: 1px solid var(--linea); border-radius: 10px; box-shadow: 0 30px 70px -30px rgba(20, 47, 67, .55); }
.cookie-banner[hidden] { display: none; }
.cookie-banner__inner { position: relative; display: grid; gap: 1.25rem; padding: 1.5rem 3.5rem 1.5rem 1.5rem; }
@media (min-width: 900px) { .cookie-banner__inner { grid-template-columns: 1fr auto; align-items: center; gap: 2.5rem; padding: 1.75rem 4rem 1.75rem 2rem; } }
.cookie-banner h2 { font-size: 1.35rem; margin-bottom: .35rem; }
.cookie-banner p { font-size: .875rem; line-height: 1.55; margin: 0; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: .6rem 1rem; align-items: center; }
.cookie-banner__actions .btn { min-width: 8.5rem; }
.cookie-banner__close, .cookie-modal__close { position: absolute; top: .75rem; right: .75rem; display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border: 0; border-radius: 50%; background: transparent; color: var(--notte); }
.cookie-banner__close:hover, .cookie-modal__close:hover { background: rgba(29, 64, 90, .08); }
.cookie-banner__close svg, .cookie-modal__close svg { width: 1.25rem; height: 1.25rem; }
.cookie-modal { position: fixed; inset: 0; z-index: 95; display: grid; place-items: center; padding: 1rem; background: rgba(20, 47, 67, .55); }
.cookie-modal[hidden] { display: none; }
.cookie-modal__dialog { position: relative; width: min(100%, 40rem); max-height: calc(100svh - 2rem); overflow: auto; padding: clamp(1.5rem, 4vw, 2.5rem); border-radius: 10px; background: var(--bianco); }
.cookie-modal h2 { font-size: 1.8rem; }
.cookie-modal p { font-size: .9rem; }
.consent-cat { border: 0; margin: 1.5rem 0; padding: 0; }
.consent-cat__row { display: flex; gap: 1.5rem; justify-content: space-between; align-items: center; padding: 1.1rem 0; border-top: 1px solid var(--linea); }
.consent-cat__name { margin: 0 0 .2rem; font-weight: 600; color: var(--notte); }
.consent-cat__desc { margin: 0; font-size: .8125rem !important; color: var(--testo-2); }
.cookie-modal__actions { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: flex-end; }
.switch { position: relative; flex: none; width: 3.1rem; height: 1.75rem; }
.switch input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.switch label { position: absolute; inset: 0; border-radius: 999px; background: #C9CDD1; transition: background .2s; pointer-events: none; }
.switch label::after { content: ""; position: absolute; top: .2rem; left: .2rem; width: 1.35rem; height: 1.35rem; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); transition: transform .2s var(--ease); }
.switch input:checked + label { background: var(--notte); }
.switch input:checked + label::after { transform: translateX(1.35rem); }
.switch input:focus-visible + label { outline: 3px solid var(--notte); outline-offset: 2px; }
.switch--locked label { background: var(--linea-forte); }
.switch--locked input:checked + label { background: rgba(29, 64, 90, .45); }

/* ---------- utilità ---------- */
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; } .mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; }
.center { text-align: center; }
.divider { border: 0; border-top: 1px solid var(--linea-forte); margin: 0; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal, .js .reveal-stagger > * { opacity: 1; transform: none; }
  .marquee__track { animation: none; flex-wrap: wrap; }
}
@media print {
  .site-header, .mobile-menu, .cookie-banner, .cookie-modal, .subnav { display: none !important; }
  .js .reveal, .js .reveal-stagger > * { opacity: 1; transform: none; }
}
