/* PROPOSTA B - "Storia": grafite scuro e argento. Il video resta fermo a sinistra e cambia
   mentre il testo scorre a destra, un capitolo alla volta. */
:root {
    --bg: #0c0c0d; --text: #c9c9c6; --head: #f4f4f2; --mute: #8f8f8c; --paper: #151516; --line: rgba(255, 255, 255, .2);
}
.site-header.scrolled { background: rgba(12, 12, 13, .94); }
.section :focus-visible, .story :focus-visible { outline-color: #fff; }
.paper { background: var(--paper); }
.btn-ink { background: var(--white); border-color: var(--white); color: var(--black); }
.btn-ink:hover { background: transparent; color: var(--white); }
.btn-ink-line { border-color: var(--white); color: var(--white); }
.btn-ink-line:hover { background: var(--white); color: var(--black); }

.story { background: var(--bg); padding-top: clamp(3rem, 8vh, 6rem); }
.story-head { padding-bottom: clamp(1rem, 3vh, 2rem); }
.story-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(1.5rem, 4vw, 4rem); padding: 0 var(--frame-x); align-items: start; }
.story-stage { position: sticky; top: calc(var(--header-h) + 1rem); height: calc(100vh - var(--header-h) - 2rem); height: calc(100svh - var(--header-h) - 2rem); align-self: start; }
.story-media { position: absolute; inset: 0; overflow: hidden; isolation: isolate; border-radius: 4px; border: 1px solid var(--line); background: var(--char); opacity: 0; transition: opacity .9s ease; }
.story-media.on { opacity: 1; }
.story-media .veil { background: linear-gradient(0deg, rgba(10, 10, 10, .65) 0%, transparent 45%); }
.story-chip { position: absolute; left: 1.1rem; bottom: 1.1rem; z-index: 5; font-family: var(--font-roman); font-size: .7rem; letter-spacing: .3em; text-transform: uppercase; color: #fff; background: rgba(10, 10, 10, .7); border: 1px solid rgba(255, 255, 255, .3); padding: .55rem .95rem; }
.story-steps { padding: 0 var(--gutter) 0 0; }
.story-step { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: 4rem 0; border-top: 1px solid var(--line); }
.story-step:first-child { border-top: 0; }
.ss-num { font-family: var(--font-display); font-weight: 500; line-height: .8; font-size: clamp(4rem, 9vw, 8rem); color: transparent; -webkit-text-stroke: 1px var(--head); }
.story-step h3 { font-size: clamp(2.2rem, 4vw, 3.4rem); margin: 1rem 0 1rem; }
.story-step .lead-s { font-family: var(--font-display); font-size: clamp(1.4rem, 2.2vw, 1.8rem); line-height: 1.3; color: var(--head); margin-bottom: 1.75rem; }
.story-step .arena { grid-template-columns: 1fr; padding: 0; gap: 1.25rem; }

@media (max-width: 820px) {
    .story-grid { grid-template-columns: 1fr; gap: 0; }
    .story-stage { top: calc(var(--header-h) + .4rem); height: 38vh; height: 38svh; z-index: 10; margin-bottom: 0; }
    .story-stage::before { content: ''; position: absolute; z-index: -1; left: -1rem; right: -1rem; top: calc(-.4rem - var(--header-h)); bottom: -.9rem; background: var(--bg); }
    .story-steps { padding: 0 .4rem; }
    .story-step { min-height: 75vh; min-height: 75svh; padding: 2.5rem 0; }
    .story-step:first-child { padding-top: 2rem; }
}
