/* ══════════════════════════════════════════════
   PAGINA — CHI SONO
   Riproduce assets/images/sezioni/sezione-chisono.png
══════════════════════════════════════════════ */
.chisono { background: var(--dark); color: #fff; }
.chisono .container { max-width: 1320px; }

.chisono .label {
    font-family: var(--fd); font-weight: 800; font-size: 11px; letter-spacing: .2em;
    text-transform: uppercase; color: var(--gold); margin-bottom: 16px;
}
.chisono .cs-h2 {
    font-family: var(--fd); font-weight: 900; font-size: clamp(28px,3.6vw,46px);
    line-height: .98; text-transform: uppercase; color: #fff; letter-spacing: -.01em;
}
.chisono .gold { color: var(--gold); }
.chisono .cs-sub {
    font-family: var(--fb); font-size: 16px; line-height: 1.7; color: rgba(255,255,255,.5);
    max-width: 560px; margin-top: 18px;
}

/* ══════════════════════════════════════════════
   SCROLL ANIMATIONS
   Si appoggia al sistema .reveal del tema (.visible / .is-inview).
   Pulite, mai "cheap".
══════════════════════════════════════════════ */
.chisono .reveal { transition: opacity .7s cubic-bezier(.22,.61,.36,1), transform .7s cubic-bezier(.22,.61,.36,1); }

/* contenitore .cs-stagger: i figli entrano a cascata */
.chisono .cs-stagger.reveal { opacity: 1; transform: none; transition: none; }
.chisono .cs-stagger > * {
    opacity: 0; transform: translateY(22px);
    transition: opacity .7s cubic-bezier(.22,.61,.36,1), transform .7s cubic-bezier(.22,.61,.36,1);
    will-change: opacity, transform;
}
.chisono .cs-stagger.is-inview > * { opacity: 1; transform: none; }
.chisono .cs-stagger.is-inview > *:nth-child(1)  { transition-delay: .04s; }
.chisono .cs-stagger.is-inview > *:nth-child(2)  { transition-delay: .10s; }
.chisono .cs-stagger.is-inview > *:nth-child(3)  { transition-delay: .16s; }
.chisono .cs-stagger.is-inview > *:nth-child(4)  { transition-delay: .22s; }
.chisono .cs-stagger.is-inview > *:nth-child(5)  { transition-delay: .28s; }
.chisono .cs-stagger.is-inview > *:nth-child(6)  { transition-delay: .34s; }
.chisono .cs-stagger.is-inview > *:nth-child(7)  { transition-delay: .40s; }
.chisono .cs-stagger.is-inview > *:nth-child(8)  { transition-delay: .46s; }

@media (prefers-reduced-motion: reduce) {
    .chisono .reveal,
    .chisono .cs-stagger > * { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ── 01 · HERO ── */
.cs-hero {
    position: relative; overflow: hidden; padding-block: 150px 80px;
    @media (max-width: 900px) { padding-block: 120px 64px; }
    .cs-hero-grid {
        position: absolute; inset: 0; z-index: 0; pointer-events: none;
        background-image: linear-gradient(rgba(254,192,59,.022) 1px, transparent 1px),
                          linear-gradient(90deg, rgba(254,192,59,.022) 1px, transparent 1px);
        background-size: 52px 52px;
    }
    .cs-hero-glow {
        position: absolute; top: 30%; right: 6%; width: 620px; height: 620px; max-width: 60vw; z-index: 0;
        background: radial-gradient(circle, rgba(252,139,0,.26) 0%, rgba(252,139,0,.06) 45%, transparent 70%);
        pointer-events: none;
    }
    .container { position: relative; z-index: 1; }
    .cs-hero-in { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }

    .cs-hero-h {
        font-family: var(--fd); font-weight: 900; font-size: clamp(34px,4vw,54px);
        line-height: .96; text-transform: uppercase; color: #fff; margin-bottom: 22px; letter-spacing: -.01em;
    }
    .cs-hero-lead { font-family: var(--fb); font-size: 16.5px; line-height: 1.72; color: rgba(255,255,255,.52); max-width: 500px; margin-bottom: 16px; }
    .cs-hero-text .btn { margin-top: 14px; }

    /* media: foto + card timeline */
    .cs-hero-media { position: relative; }
    .cs-hero-photo {
        border-radius: var(--rl); overflow: hidden; border: 1px solid rgba(255,255,255,.08);
        background: var(--dark-2);
        img { width: 100%; height: 460px; object-fit: cover; object-position: center top; display: block; }
    }
    .cs-hero-card {
        position: absolute; left: -22px; bottom: 30px;
        background: rgba(15,15,15,.86); backdrop-filter: blur(10px);
        border: 1px solid rgba(255,255,255,.1); border-radius: var(--rm); padding: 18px 22px;
        display: flex; flex-direction: column; gap: 12px; min-width: 190px;
        box-shadow: 0 20px 50px rgba(0,0,0,.45);
        .cs-hc-row { display: flex; align-items: baseline; gap: 12px; }
        .cs-hc-year { font-family: var(--fd); font-weight: 900; font-size: 24px; color: #fff; line-height: 1; }
        .cs-hc-label { font-family: var(--fb); font-size: 13px; color: rgba(255,255,255,.5); }
        .cs-hc-sep { height: 1px; background: rgba(255,255,255,.1); }
    }

    @media (max-width: 900px) {
        .cs-hero-in { grid-template-columns: 1fr; gap: 40px; }
        .cs-hero-photo img { height: 380px; }
        .cs-hero-card { left: 12px; }
    }
}

/* ── 02 · TIMELINE ── */
.cs-svolta { padding-block: 70px; border-top: 1px solid rgba(255,255,255,.06); }
.cs-timeline {
    display: grid; grid-template-columns: repeat(6,1fr); gap: 0; margin-top: 46px; position: relative;
    &::before { content: ''; position: absolute; top: 17px; left: 6%; right: 6%; height: 1px; background: linear-gradient(90deg, transparent, rgba(254,192,59,.4), transparent); }
    @media (max-width: 980px) { grid-template-columns: repeat(3,1fr); row-gap: 38px; &::before { display: none; } }
    @media (max-width: 560px) { grid-template-columns: repeat(2,1fr); }
}
.cs-tl-step {
    position: relative; text-align: center; padding: 0 10px;
    .cs-tl-dot {
        width: 36px; height: 36px; border-radius: 50%; background: var(--dark-2);
        border: 1px solid rgba(254,192,59,.3); display: inline-flex; align-items: center; justify-content: center;
        position: relative; z-index: 1; margin-bottom: 16px;
        svg { width: 18px; height: 18px; }
    }
    .cs-tl-y { font-family: var(--fd); font-weight: 800; font-size: 12px; letter-spacing: .08em; color: var(--gold); margin-bottom: 6px; }
    .cs-tl-t { font-family: var(--fd); font-weight: 800; font-size: 14px; color: #fff; line-height: 1.2; margin-bottom: 4px; }
    .cs-tl-d { font-family: var(--fb); font-size: 12px; color: rgba(255,255,255,.42); line-height: 1.4; }
}

/* ── 03 · ESPERIENZA ── */
.cs-exp { padding-block: 70px; }
.cs-exp-head { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center;
    @media (max-width: 720px) { grid-template-columns: 1fr; }
}
.cs-bignum { display: flex; align-items: baseline; gap: 12px;
    .cs-bignum-n { font-family: var(--fd); font-weight: 900; font-size: clamp(90px,12vw,150px); line-height: .8; background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
    .cs-bignum-l { font-family: var(--fd); font-weight: 800; font-size: 22px; text-transform: uppercase; color: rgba(255,255,255,.5); }
}
.cs-exp-strip {
    display: flex; flex-wrap: wrap; gap: 10px; margin-top: 40px;
    .cs-feat {
        display: inline-flex; align-items: center; gap: 9px; padding: 11px 16px;
        background: var(--dark-2); border: 1px solid rgba(255,255,255,.07); border-radius: 100px;
        font-family: var(--fd); font-weight: 700; font-size: 13px; color: rgba(255,255,255,.72);
        .cs-feat-ico { width: 18px; height: 18px; svg { width: 18px; height: 18px; } }
    }
}

/* ── 04 · CONDIVISO ── */
.cs-share { padding-block: 70px; border-top: 1px solid rgba(255,255,255,.06); }
.cs-share-stats {
    display: flex; gap: 48px; margin-top: 34px; flex-wrap: wrap;
    .cs-stat { .cs-stat-n { font-family: var(--fd); font-weight: 900; font-size: 40px; line-height: 1; color: #fff; }
        .cs-stat-l { font-family: var(--fb); font-size: 13px; color: rgba(255,255,255,.45); margin-top: 6px; } }
}
.cs-talks {
    display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin-top: 40px;
    @media (max-width: 820px) { grid-template-columns: 1fr; }
}
.cs-talk {
    background: var(--dark-2); border: 1px solid rgba(255,255,255,.07); border-radius: var(--rm); overflow: hidden;
    transition: border-color var(--t), transform var(--t);
    &:hover { border-color: rgba(254,192,59,.4); transform: translateY(-4px); }
    .cs-talk-img { aspect-ratio: 16/10; overflow: hidden; img { width: 100%; height: 100%; object-fit: cover; display: block; } }
    .cs-talk-body { padding: 16px 18px 18px; }
    .cs-talk-t { font-family: var(--fd); font-weight: 800; font-size: 16px; color: #fff; }
    .cs-talk-r { font-family: var(--fd); font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); margin-top: 6px; }
}

/* ── 05 · FUORI DALL'UFFICIO ── */
.cs-out { padding-block: 70px; }
.cs-out-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
    @media (max-width: 900px) { grid-template-columns: 1fr; gap: 36px; }
}
.cs-map { margin-top: 26px; svg { width: 150px; height: auto; } }
.cs-out-photos {
    display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
    img { width: 100%; height: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--rm); border: 1px solid rgba(255,255,255,.07); display: block; }
}

/* ── 06 · INSEGNO ── */
.cs-teach { padding-block: 40px 70px; }
.cs-teach-panel {
    position: relative; overflow: hidden; border-radius: var(--rl);
    background: linear-gradient(150deg, var(--dark-3), var(--dark-2));
    border: 1px solid rgba(255,255,255,.08); padding: 56px 48px;
    .cs-teach-glow { position: absolute; top: -40%; right: -10%; width: 480px; height: 480px; background: radial-gradient(circle, rgba(252,139,0,.22), transparent 65%); pointer-events: none; }
    .cs-teach-in { position: relative; z-index: 1; }
    .cs-sub { max-width: 640px; }
}

/* ── 07 · VALORI ── */
.cs-values { padding-block: 70px; border-top: 1px solid rgba(255,255,255,.06); }
.cs-values-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin-top: 40px;
    @media (max-width: 820px) { grid-template-columns: 1fr; }
}
.cs-val {
    background: var(--dark-2); border: 1px solid rgba(255,255,255,.07); border-radius: var(--rm); padding: 28px 26px;
    transition: border-color var(--t), transform var(--t);
    &:hover { border-color: rgba(254,192,59,.4); transform: translateY(-4px); }
    .cs-val-ico { width: 48px; height: 48px; border-radius: 14px; background: var(--gold-dim); border: 1px solid rgba(254,192,59,.25); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 18px; svg { width: 24px; height: 24px; } }
    .cs-val-t { font-family: var(--fd); font-weight: 900; font-size: 19px; text-transform: uppercase; color: #fff; margin-bottom: 10px; }
    .cs-val-d { font-family: var(--fb); font-size: 14px; line-height: 1.6; color: rgba(255,255,255,.5); }
}

/* ── 08 · COSA FACCIO OGGI ── */
.cs-today { padding-block: 70px; }
.cs-today-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 36px;
    @media (max-width: 720px) { grid-template-columns: 1fr; }
}
.cs-today-item {
    display: flex; gap: 16px; padding: 22px 24px;
    background: var(--dark-2); border: 1px solid rgba(255,255,255,.07); border-radius: var(--rm);
    .cs-today-ico { width: 40px; height: 40px; flex-shrink: 0; border-radius: 12px; background: var(--gold-dim); border: 1px solid rgba(254,192,59,.25); display: inline-flex; align-items: center; justify-content: center; svg { width: 20px; height: 20px; } }
    .cs-today-t { font-family: var(--fd); font-weight: 800; font-size: 16px; color: #fff; margin-bottom: 5px; }
    .cs-today-d { font-family: var(--fb); font-size: 13.5px; line-height: 1.55; color: rgba(255,255,255,.45); }
}

/* ── 09 · GALLERY ── */
.cs-gallery { padding-block: 40px 70px; }
.cs-gallery-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; margin-top: 40px;
    @media (max-width: 820px) { grid-template-columns: repeat(2,1fr); }
}
.cs-gal-item { aspect-ratio: 1; border-radius: var(--rm); overflow: hidden; border: 1px solid rgba(255,255,255,.07);
    img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform var(--t); }
    &:hover img { transform: scale(1.06); }
}

/* ── 10 · CTA FINALE ── */
.cs-cta { padding-block: 40px 90px; }
.cs-cta-panel {
    position: relative; overflow: hidden; border-radius: var(--rl);
    background: linear-gradient(150deg, var(--dark-4), var(--dark-2));
    border: 1px solid rgba(255,255,255,.08);
    display: grid; grid-template-columns: 1.2fr .8fr; align-items: stretch;
    @media (max-width: 860px) { grid-template-columns: 1fr; }
}
.cs-cta-glow { position: absolute; top: -30%; left: 30%; width: 520px; height: 520px; background: radial-gradient(circle, rgba(252,139,0,.22), transparent 65%); pointer-events: none; }
.cs-cta-left { position: relative; z-index: 1; padding: 52px 48px; }
.cs-cta-h { font-family: var(--fd); font-weight: 900; font-size: clamp(26px,3vw,40px); line-height: 1; text-transform: uppercase; color: #fff; margin-bottom: 18px; }
.cs-cta-p { font-family: var(--fb); font-size: 16px; line-height: 1.7; color: rgba(255,255,255,.5); max-width: 460px; margin-bottom: 26px; }
.cs-cta-stat { display: flex; align-items: center; gap: 14px; margin-top: 30px; flex-wrap: wrap;
    .cs-cta-stat-n { font-family: var(--fd); font-weight: 900; font-size: 34px; color: var(--gold); line-height: 1; }
    .cs-cta-stat-l { font-family: var(--fb); font-size: 13px; color: rgba(255,255,255,.45); }
    .cs-cta-badge { margin-left: auto; font-family: var(--fd); font-weight: 800; font-size: 10px; letter-spacing: .16em; color: var(--dark); background: var(--grad-gold); padding: 6px 12px; border-radius: 100px; }
}
.cs-cta-photo { position: relative; z-index: 1; min-height: 320px;
    img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top;
        -webkit-mask-image: linear-gradient(to right, transparent, #000 30%);
        mask-image: linear-gradient(to right, transparent, #000 30%); }
    @media (max-width: 860px) { min-height: 300px; img { mask-image: linear-gradient(to bottom, #000 60%, transparent); -webkit-mask-image: linear-gradient(to bottom, #000 60%, transparent); } }
}
