/* Il metodo nasce dalla frase conclusiva delle funzionalità. */
.method-section { position: relative; background: #fff; color: var(--ink); }
.method-stage { position: relative; }
.method-section:not(.method-animated) .features-close { overflow: clip; }
.method-section .features-close p .method-opening { color: var(--ink); }
.method-section .features-close p .method-word { position: relative; display: inline-block; color: var(--pink); white-space: nowrap; transform-origin: 50% 50%; }
.method-manifesto { padding: 0 var(--gutter) clamp(55px, 7vw, 100px); text-align: center; font-size: clamp(25px, 3vw, 42px); font-weight: 600; line-height: 1.08; letter-spacing: -.04em; }
.method-static-word, .method-tagline { display: block; }
.method-static-word { color: var(--pink); font-size: 1.5em; }
.method-lines { display: none; }
.method-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; padding: 0 var(--gutter) clamp(100px, 12vw, 180px); }
.method-card { position: relative; min-width: 0; padding: clamp(22px, 2.3vw, 34px); }
.method-frame { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.method-frame path { fill: none; stroke: var(--green); stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.method-illustration { position: absolute; top: 12px; right: 12px; width: clamp(100px, 10vw, 140px); height: 96px; object-fit: contain; pointer-events: none; }
.method-card-one .method-illustration { width: clamp(100px, 9vw, 118px); height: 104px; }
.method-card-heading { position: relative; display: flex; align-items: center; gap: 12px; min-height: 70px; padding-right: clamp(92px, 8.5vw, 125px); }
.method-card-heading span { flex: none; color: var(--pink); font-size: clamp(37px, 3.3vw, 50px); line-height: .9; font-weight: 600; letter-spacing: -.05em; }
.method-card h3 { margin: 0; font-size: clamp(23px, 2.2vw, 32px); line-height: 1.1; letter-spacing: -.035em; font-weight: 600; }
.method-card-four h3 { font-size: clamp(19px, 1.7vw, 24px); }
.method-card p { margin: 18px 0 0; max-width: 42ch; font-size: 16px; line-height: 1.5; }

/* Solo la versione animata occupa un quadro fisso; la versione statica resta nel flusso. */
.method-animated .method-stage { height: 100svh; overflow: hidden; }
.method-animated .features-close { position: absolute; inset: 0; min-height: 0; align-items: center; }
.method-animated .method-manifesto { position: absolute; z-index: 2; top: 0; right: 0; left: 0; padding: 0; pointer-events: none; }
.method-animated .method-static-word { display: none; }
.method-animated .method-lines { position: absolute; z-index: 1; inset: 0; display: block; width: 100%; height: 100%; pointer-events: none; }
.method-line { stroke: var(--green); stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; }
.method-animated .method-cards { position: absolute; z-index: 2; inset: 0; display: block; padding: 0; pointer-events: none; }
.method-animated .method-card { position: absolute; width: min(30%, 420px); }
.method-animated .method-card-one { top: 5%; left: 5%; }
.method-animated .method-card-two { top: 9%; right: 5%; }
.method-animated .method-card-three { bottom: 7%; left: 8%; }
.method-animated .method-card-four { right: 7%; bottom: 5%; }

@media (max-width: 1100px) {
    .method-cards { grid-template-columns: 1fr; }
    .method-animated .features-close { padding: 60px var(--gutter); }
    .method-animated .method-manifesto { font-size: clamp(20px, 4.7vw, 27px); }
    .method-animated .method-cards { inset: clamp(154px, 19svh, 195px) 24px 20px 38px; display: flex; flex-direction: column; justify-content: space-around; gap: 7px; }
    .method-animated .method-card { position: relative; top: auto; right: auto; bottom: auto; left: auto; width: 100%; padding: 11px 14px; }
    .method-animated .method-illustration { top: 7px; right: 8px; width: 96px; height: 62px; }
    .method-animated .method-card-one .method-illustration { width: 78px; height: 68px; }
    .method-animated .method-card-heading { gap: 10px; min-height: 52px; padding-right: 96px; }
    .method-animated .method-card-heading span { font-size: 30px; }
    .method-animated .method-card h3 { font-size: clamp(19px, 4.8vw, 24px); }
    .method-animated .method-card-four h3 { font-size: clamp(18px, 4.8vw, 24px); }
    .method-animated .method-card p { margin-top: 6px; font-size: 14px; line-height: 1.34; }
}

@media (max-width: 600px) {
    .method-animated .method-card-four .method-illustration { width: 84px; }
    .method-animated .method-card-four .method-card-heading { padding-right: 84px; }
}

@media (min-width: 601px) and (max-width: 1100px) and (min-height: 900px) {
    .method-animated .method-illustration { width: 150px; height: 92px; }
    .method-animated .method-card-one .method-illustration { width: 120px; height: 100px; }
    .method-animated .method-card-heading { min-height: 66px; padding-right: 150px; }
}

@media (max-width: 500px) {
    .method-section:not(.method-animated) .method-card { padding: 20px; }
    .method-section:not(.method-animated) .method-card-heading { min-height: 54px; padding-right: 72px; gap: 8px; }
    .method-section:not(.method-animated) .method-card-heading span { font-size: 32px; }
    .method-section:not(.method-animated) .method-card h3 { font-size: 20px; }
    .method-section:not(.method-animated) .method-card-four h3 { font-size: 17px; }
    .method-section:not(.method-animated) .method-illustration { top: 9px; right: 9px; width: 80px; height: 60px; }
    .method-section:not(.method-animated) .method-card-one .method-illustration { width: 72px; height: 68px; }
    .method-section:not(.method-animated) .method-card-four .method-illustration { width: 72px; }
}
