/* V4A.2 Editorial Flow — original artwork; locked V3 geometry. */
.v3-home { --flow-light:#e1f1e5; --flow-mid:#98ceb6; --flow-deep:#277d69; --flow-edge:#f1faf2; --flow-wash:color-mix(in srgb,var(--accent) 9%,transparent); }
.v3-home:where([data-theme="dark"] *) { --flow-light:#5b9c89; --flow-mid:#306c5d; --flow-deep:#1c453e; --flow-edge:#8cbfab; --flow-wash:color-mix(in srgb,var(--accent) 9%,transparent); }
@media(prefers-color-scheme:dark){.v3-home:where(:root:not([data-theme]) *){--flow-light:#5b9c89;--flow-mid:#306c5d;--flow-deep:#1c453e;--flow-edge:#8cbfab}}
.v3-home .v2-hero.has-portrait,.v3-home .v2-closing { position:relative; isolation:isolate; }
.v3-home .v4a-system { position:absolute; inset:-4px -12px; width:calc(100% + 24px); height:calc(100% + 8px); z-index:-1; overflow:hidden; pointer-events:none; }
.v3-home .flow-light { stop-color:var(--flow-light); }
.v3-home .flow-mid { stop-color:var(--flow-mid); }
.v3-home .flow-deep { stop-color:var(--flow-deep); }
.v3-home .flow-layer { fill:url(#v4a-flow-fill); stroke:var(--flow-edge); stroke-width:.65; transform-box:fill-box; transform-origin:center; animation:editorial-flow 4.8s ease-in-out; }
.v3-home .flow-layer path { vector-effect:non-scaling-stroke; }
.v3-home .flow-layer path:nth-child(2) { opacity:.76; }
.v3-home .flow-layer path:nth-child(3) { opacity:.66; }
.v3-home .flow-layer path:nth-child(4) { opacity:.52; }
.v3-home .flow-mobile { display:none; }
.v3-home .hero-name { animation:editorial-enter 480ms var(--ease); }
.v3-home .hero-thought { animation:editorial-enter 620ms 80ms var(--ease) backwards; }
.v3-home .v2-actions { animation:editorial-enter 480ms 180ms var(--ease) backwards; }
.v3-home .v2-hero-description { color:var(--ink); }
.v3-home .v2-portrait { position:relative; box-shadow:0 16px 30px -23px color-mix(in srgb,var(--ink) 40%,transparent); }
/* The evidence stage echoes the ribbon's direction, not its visual weight. */
.v3-home .v2-feature { position:relative; background-image:linear-gradient(120deg,transparent 45%,var(--flow-wash)); box-shadow:inset 0 0 0 1px var(--line); transition:box-shadow 220ms var(--ease),background-color 220ms var(--ease); }
.v3-home .v2-feature figure { position:relative; isolation:isolate; background-image:linear-gradient(150deg,transparent 10%,var(--flow-wash)); }
.v3-home .v2-feature figure::before { content:""; position:absolute; inset:12px; z-index:-1; pointer-events:none; border-radius:70% 30% 55% 45%; border-right:18px solid color-mix(in srgb,var(--accent) 12%,transparent); }
.v3-home .v2-feature::before { content:""; position:absolute; top:0; left:0; right:0; height:2px; pointer-events:none; background:linear-gradient(90deg,var(--accent),transparent); transform:scaleX(.18); transform-origin:left; transition:transform 240ms var(--ease); }
.v3-home .v2-feature img { transition:transform 240ms var(--ease),box-shadow 240ms var(--ease); }
.v3-home .v2-feature:focus-within { box-shadow:inset 0 0 0 1px var(--accent); }
.v3-home .v2-feature:focus-within::before { transform:scaleX(1); }
.v3-home .v2-feature:focus-within img { transform:scale(1.025); box-shadow:0 10px 20px -14px color-mix(in srgb,var(--ink) 35%,transparent); }
.v3-home .v2-preview { position:relative; background-image:linear-gradient(145deg,transparent 65%,var(--flow-wash)); transition:background-color 200ms var(--ease),box-shadow 200ms var(--ease); }
.v3-home .v2-preview:focus-visible { background-color:var(--accent-wash); box-shadow:inset 0 -2px var(--accent); }
.v3-home .v2-preview h3 span,.v3-home .v2-card-label span,.v3-home .v2-text-link span,.v3-home .button span { transition:transform 200ms var(--ease); }
.v3-home .v2-preview:focus-visible h3 span,.v3-home .v2-preview:focus-visible .v2-card-label span,.v3-home .v2-text-link:focus-visible span,.v3-home .button:focus-visible span { transform:translateX(4px); }
.v3-home .v2-intro-grid article { position:relative; }
.v3-home .v2-intro-grid article::before { content:""; position:absolute; top:-14px; left:0; width:38px; height:8px; border-top:2px solid var(--accent); border-radius:50%; pointer-events:none; opacity:.6; transform:rotate(-8deg); }
.v3-home .v2-intro-grid article:nth-child(2)::before { transform:rotate(3deg); }
.v3-home .v2-intro-grid article:nth-child(3)::before { transform:rotate(12deg); }
.v3-home .v2-closing::before { content:""; position:absolute; right:0; top:12px; bottom:12px; width:32%; border-radius:55% 35% 50% 45%; border-right:28px solid color-mix(in srgb,var(--accent) 15%,transparent); box-shadow:inset -12px 0 color-mix(in srgb,var(--accent) 6%,transparent); z-index:-1; pointer-events:none; }
@media(hover:hover) and (pointer:fine){
 .v3-home .v2-feature:hover { box-shadow:inset 0 0 0 1px var(--accent); }
 .v3-home .v2-feature:hover::before { transform:scaleX(1); }
 .v3-home .v2-feature:hover img { transform:scale(1.025); box-shadow:0 10px 20px -14px color-mix(in srgb,var(--ink) 35%,transparent); }
 .v3-home .v2-preview:hover { background-color:var(--accent-wash); box-shadow:inset 0 -2px var(--accent); }
 .v3-home .v2-preview:hover h3 span,.v3-home .v2-preview:hover .v2-card-label span,.v3-home .v2-text-link:hover span,.v3-home .button:hover span { transform:translateX(4px); }
}
@media(max-width:650px){
 .v3-home .flow-desktop { display:none; }
 .v3-home .flow-mobile { display:inline; }
 .v3-home .v2-intro-grid article::before { top:-2px; width:32px; }
 .v3-home .v2-closing::before { width:36%; border-right-width:18px; }
}
@keyframes editorial-flow { 0%,100%{transform:none} 45%{transform:translate(-18px,12px) rotate(-1.3deg)} }
@keyframes editorial-enter { from{opacity:.92;transform:translateY(8px)} to{opacity:1;transform:none} }
/* One finite flow gesture: no perpetual autoplay needing an added pause control. */
@media(prefers-reduced-motion:reduce){
 .v3-home .flow-layer,.v3-home .hero-name,.v3-home .hero-thought,.v3-home .v2-actions { animation:none;transform:none;opacity:1; }
 .v3-home .v2-feature img,.v3-home .v2-feature::before,.v3-home .v2-preview h3 span,.v3-home .v2-card-label span,.v3-home .v2-text-link span,.v3-home .button span { transition:none;transform:none!important; }
}
@media(forced-colors:active){.v3-home .v4a-system,.v3-home .v2-feature figure::before,.v3-home .v2-intro-grid article::before,.v3-home .v2-closing::before{display:none}}
