:root {
    --green: #BAFF6E;
    --pink: #FF3264;
    --paper: #F7F7F4;
    --ink: #151515;
    --gutter: clamp(24px, 4.2vw, 80px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: clip; background: var(--ink); color: var(--ink); font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; -webkit-font-smoothing: antialiased; }
::selection { color: var(--ink); background: var(--green); }
a { color: inherit; }
a:focus-visible { outline: 2px solid var(--pink); outline-offset: 6px; }
.hero { position: relative; z-index: 2; background: var(--paper); }
.hero-stage { position: relative; min-height: 720px; height: 100svh; isolation: isolate; background: var(--paper); }
.hero-dark { position: absolute; inset: 0; z-index: -1; background: var(--ink); opacity: 0; pointer-events: none; }
.site-header { position: absolute; z-index: 3; top: 0; left: 0; width: 100%; display: flex; justify-content: space-between; align-items: flex-start; padding: 28px var(--gutter); }
.site-brand { display: block; text-decoration: none; }
.site-brand img { width: 126px; height: auto; display: block; }
.site-contact { display: inline-flex; align-items: center; gap: 22px; padding: 11px 0 8px; border-bottom: 1px solid currentColor; font-size: 13px; font-weight: 600; text-decoration: none; }
.site-contact span { font-size: 17px; line-height: 1; }
.hero-copy { position: absolute; z-index: 2; top: 25%; left: var(--gutter); width: 62%; pointer-events: none; }
.hero-category, .vision-label { margin: 0 0 28px; font-size: 10px; font-weight: 700; letter-spacing: .15em; line-height: 1.4; text-transform: uppercase; }
.hero-category { display: flex; align-items: center; gap: 11px; }
.hero-category span { width: 7px; height: 7px; flex: none; background: var(--pink); border-radius: 50%; }
.hero-title { margin: 0; font-size: clamp(55px, 6.15vw, 118px); line-height: .98; letter-spacing: -.055em; font-weight: 600; }
.hero-reveal { display: block; color: var(--pink); font-size: .82em; line-height: 1.02; }
.hero-word-mask {
    display: inline-block;
    overflow: hidden;
    vertical-align: top;
    padding-bottom: .07em;
    margin-bottom: -.07em;
    padding-right: 6px;
}
.hero-word { display: inline-block; }
@media (prefers-reduced-motion: no-preference) { .motion-ready .hero-word { transform: translateY(115%); } }
.hero-description { max-width: 100%; width: 600px; margin: 32px 0 0; font-size: clamp(15px, 1.12vw, 18px); line-height: 1.5; letter-spacing: -.015em; }
.hero-description p { margin: 0; }
.hero-description p + p { margin-top: .8em; }
@media (prefers-reduced-motion: no-preference) { .motion-ready .hero-description { opacity: 0; } }
/* Lo stesso SVG supera il bordo della hero: il suo tracciato entra realmente nella sezione successiva. */
.hero-art { position: absolute; z-index: 1; width: min(57vw, 930px); right: 0; top: 12%; color: var(--ink); pointer-events: none; }
@media (prefers-reduced-motion: no-preference) { .motion-ready .hero-art { visibility: hidden; } }
.hero-svg { display: block; width: 100%; height: auto; overflow: visible; }
.hero-svg-mobile { display: none; }
.hero-grid { opacity: .13; }
.hero-line { stroke: var(--green); stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; }
.symbol-drawing, .hero-branch { stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.hero-node { fill: var(--paper); stroke: var(--pink); stroke-width: 2; }
.hero-symbol text { fill: currentColor; font: 700 9px "Helvetica Neue", Helvetica, Arial, sans-serif; letter-spacing: 2px; }
.hero-bottom { position: absolute; z-index: 2; bottom: 35px; left: var(--gutter); right: var(--gutter); display: flex; justify-content: space-between; align-items: flex-end; }
.hero-scroll { display: inline-flex; align-items: center; gap: 13px; font-size: 12px; font-weight: 600; text-decoration: none; }
.scroll-icon { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid currentColor; border-radius: 50%; font-size: 17px; }
.vision { position: relative; z-index: 1; min-height: max(130svh, calc(min(142.5vw, 2325px) - 95svh)); padding-top: clamp(100px, 14svh, 180px); color: var(--paper); background: var(--ink); overflow: clip; }
/* Il testo accompagna il disegno mentre la scena scorre. */
.vision-inner { position: sticky; top: clamp(50px, 12svh, 120px); padding: 0 var(--gutter); }
.vision-description { max-width: 100%; width: 600px; margin: clamp(30px, 3vw, 48px) 0 0; font-size: clamp(16px, 1.25vw, 24px); line-height: 1.55; letter-spacing: -.01em; padding-bottom: 120px;}
.vision-description p { margin: 0; }
.vision-description p + p { margin-top: .85em; }
.vision-frame-portrait, .vision-sketch-portrait { display: none; }
.vision-frame { stroke: var(--green); stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; }
.vision-sketch path, .vision-sketch circle { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.sketch-person { stroke: #aaa9a2; stroke-width: 1.7; }
.sketch-garment { stroke: var(--paper); stroke-width: 2; }
.sketch-marks { stroke: var(--pink); stroke-width: 2; }
@media (prefers-reduced-motion: no-preference) { .motion-ready .vision-description p { opacity: 0; } .motion-ready .vision-frame, .motion-ready .vision-sketch { visibility: hidden; } }
.vision h2 { position: relative; z-index: 1; margin: 0; font-size: clamp(48px, 7.3vw, 148px); line-height: .98; letter-spacing: -.055em; font-weight: 600; }
.vision h2 span { color: var(--pink); }
@media (hover: hover) and (pointer: fine) { .site-contact:hover, .hero-scroll:hover { color: #ad1740; } }
@media (max-width: 1100px) and (min-width: 701px) {
    .hero-copy { top: 27%; width: 72%; }
    .hero-title { font-size: clamp(57px, 7vw, 78px); }
    .hero-reveal { max-width: 48vw; }
    .hero-art { width: 58vw; right: 0; top: 22%; }
    .vision { min-height: max(130svh, calc(134.705vw - 78svh + 80px)); }
}
@media (min-width: 701px) and (max-aspect-ratio: 1/1) {
    .vision-frame-standard, .vision-sketch-standard { display: none; }
    .vision-frame-portrait, .vision-sketch-portrait { display: inline; }
    .vision { min-height: max(110svh, calc(214.455vw - 78svh + 80px)); }
}
@media (min-width: 701px) and (max-width: 900px) {
    .hero-description { max-width: 42vw; }
}
@media (min-width: 701px) and (max-height: 719px) {
    .hero-stage { min-height: 0; height: 100svh; }
    .hero-copy { top: 22%; }
    .hero-title { font-size: min(clamp(55px, 6.15vw, 118px), 10svh); }
    .hero-description { margin-top: 20px; }
    .vision-inner { top: clamp(24px, 8svh, 70px); }
    .vision h2 { font-size: min(clamp(48px, 7.3vw, 148px), 13svh); }
}
@media (max-width: 700px) {
    html { scroll-behavior: auto; }
    .hero-stage { min-height: 0; height: auto; padding: 120px var(--gutter) 34px; }
    .site-header { padding-top: 20px; }
    .site-brand img { width: 105px; }
    .site-contact { font-size: 12px; gap: 14px; padding-top: 8px; }
    .hero-copy { position: relative; top: auto; left: auto; width: auto; }
    .hero-category { margin-bottom: 23px; max-width: 270px; font-size: 9px; letter-spacing: .12em; }
    .hero-title { font-size: clamp(42px, 10.5vw, 68px); line-height: 1; letter-spacing: -.055em; }
    .hero-description { width: 100%; max-width: 360px; margin-top: 24px; font-size: 15px; line-height: 1.5; }
    .hero-art { position: relative; top: auto; right: auto; width: 100%; max-width: 400px; height: min(125vw, 500px); margin: 12px auto 0; }
    .hero-svg { position: absolute; top: 0; left: 0; }
    .hero-svg-desktop { display: none; }
    .hero-svg-mobile { display: block; }
    .hero-bottom { position: relative; bottom: auto; left: auto; right: auto; }
    .hero-scroll { font-size: 11px; }
    .vision { min-height: max(100svh, min(1600px, calc(395vw - 174px))); padding-top: 0; }
    .vision-inner { position: relative; top: auto; padding: clamp(100px, calc(428.6vw - 1271.5px), 650px) var(--gutter) 0; }
    .vision h2 { font-size: clamp(43px, 11vw, 70px); }
    .vision-description { max-width: min(360px, calc(100% - 60px)); margin-top: 28px; font-size: 16px; }
}
@media (max-width: 360px) { .hero-stage { padding-top: 108px; } .hero-title { font-size: 40px; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; } }
