/* FOURI V5 – clear Lab, immersive product stories. Applied last after editorial-v4. */
:root{--v5-ink:#142522;--v5-accent:#d4ee58;--v5-paper:#f1f3eb;--v5-line:#cdd7cf}
.v5-label{display:block;font:650 11px/1.45 Consolas,"Courier New",monospace;letter-spacing:.16em;text-transform:uppercase}
.v5-accent{color:#789543}
/* CONCISE LAB: a clear narrative instead of another 10-product catalog */
.v5-lab-page{background:var(--v5-paper);overflow:hidden}
.v5-lab-hero{min-height:min(680px,82svh);position:relative;isolation:isolate;display:flex;align-items:flex-end;background:#102721;color:#f4f7f0;overflow:hidden}
.v5-lab-hero:before{content:"";inset:0;position:absolute;z-index:-2;background:linear-gradient(112deg,#051e1b 12%,#143a2c 56%,#265447)}
.v5-lab-hero-glow{position:absolute;width:min(85vw,870px);aspect-ratio:1;border:1px solid #b9e7b02b;border-radius:50%;right:-15%;top:-53%;z-index:-1;box-shadow:0 0 0 9vw #b9e7b009,0 0 0 18vw #b9e7b009,0 0 0 27vw #b9e7b006;pointer-events:none}
.v5-lab-head{padding-top:150px;padding-bottom:115px;position:relative;width:min(1480px,calc(100% - 100px))}
.v5-lab-head .v5-label{color:var(--v5-accent)}
.v5-lab-head h1{font-size:clamp(73px,10.3vw,165px);letter-spacing:-.095em;line-height:.86;font-weight:900;margin:31px 0 32px;max-width:1270px}
.v5-lab-head h1 em{font-style:normal;color:var(--v5-accent)}
.v5-lab-head p{max-width:675px;font-size:clamp(17px,1.5vw,21px);line-height:1.6;color:#d4e3d7}
.v5-lab-actions{display:flex;align-items:center;flex-wrap:wrap;gap:28px;margin-top:32px}
.v5-lab-link{color:#fff;font-weight:650;font-size:13px;border-bottom:1px solid #d6e9d6;padding-bottom:8px}
.v5-lab-hero-number{position:absolute;bottom:23px;right:3.5%;color:#a2c0a7;font:600 10px Consolas,monospace;letter-spacing:.15em}
.v5-principles{padding-top:clamp(85px,10vw,160px);padding-bottom:clamp(85px,10vw,145px)}
.v5-section-header{display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,440px);gap:20px 65px;align-items:end;margin-bottom:60px}
.v5-section-header .v5-label{grid-column:1/-1;color:#587168}
.v5-section-header h2{font-size:clamp(53px,6vw,98px);line-height:.95;font-weight:830;letter-spacing:-.076em;color:var(--v5-ink);max-width:870px}
.v5-section-header>p{font-size:16px;line-height:1.7;color:#4d655b;max-width:440px}
.v5-principle-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.v5-principle-grid article{padding:clamp(26px,3.6vw,55px);min-height:310px;display:flex;flex-direction:column;background:#e2eae0;border:1px solid #d3dfd2;transition:background .2s}
.v5-principle-grid article:hover{background:#d7e8d6}
.v5-principle-grid article>span{font:650 11px Consolas,monospace;letter-spacing:.13em;color:#4b6d58}
.v5-principle-grid h3{font-size:clamp(25px,2.5vw,40px);font-weight:750;line-height:1.03;letter-spacing:-.05em;margin:42px 0 17px;color:#132d25}
.v5-principle-grid p{color:#476159;line-height:1.65;font-size:14px}
.v5-format{background:#e7ede2;padding:clamp(85px,9vw,145px) 0}
.v5-format-heading{display:grid;grid-template-columns:minmax(0,1fr) minmax(270px,430px);gap:30px;align-items:end;margin-bottom:42px}
.v5-format-heading .v5-label{color:#54715b;margin-bottom:20px}
.v5-format-heading h2{font-size:clamp(56px,6vw,100px);letter-spacing:-.081em;line-height:.94;max-width:940px;color:#152f28}
.v5-format-heading h2 em{font-style:normal;color:#779744}
.v5-format-heading>p{font-size:16px;line-height:1.7;color:#405e53}
.v5-format .lab-block{padding:clamp(20px,3vw,48px);background:#f6f8f3;border:1px solid #cad5c8;box-shadow:0 25px 85px #102d1d0b;scroll-margin-top:120px}
.v5-format .lab-heading h2{font-size:clamp(26px,3vw,47px);line-height:1.05;letter-spacing:-.055em}
.v5-format .lab-heading p{max-width:490px;font-size:13px}
.v5-format .lab-notice{font-size:12px;line-height:1.65;opacity:.75;margin-bottom:24px}
.v5-format .explorer-grid{gap:18px}
.v5-format .model-disclosure{margin-top:22px;border:1px solid #cbdacb;padding:15px 20px;background:#eff3eb}
.v5-format .model-disclosure>summary{font-weight:700;cursor:pointer}
.v5-format .scene{min-height:310px}
.v5-facts{padding-top:clamp(90px,9vw,140px);padding-bottom:clamp(90px,9vw,140px)}
.v5-facts-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}
.v5-facts-grid article{border-top:2px solid #264e3a;padding:27px 25px 26px 0;color:#294437}
.v5-facts-grid article span{display:block;color:#66826c;font:700 11px Consolas,monospace;letter-spacing:.15em;margin-bottom:29px}
.v5-facts-grid article strong{display:block;font-size:27px;letter-spacing:-.045em;margin-bottom:14px}
.v5-facts-grid article p{line-height:1.6;color:#496052;font-size:14px}
.v5-lab-next{background:#112b24;color:#f8faf1;padding:clamp(85px,9vw,150px) 0}
.v5-lab-next-inner{display:grid;grid-template-columns:minmax(0,1fr) 270px;gap:85px;align-items:end}
.v5-lab-next .v5-label{color:#cce46d}
.v5-lab-next h2{font-size:clamp(50px,6.4vw,95px);line-height:.95;font-weight:850;letter-spacing:-.08em;margin:28px 0}
.v5-lab-next p{color:#bcd5c3;font-size:16px;line-height:1.75;max-width:650px}
.v5-lab-next-links{display:grid}
.v5-lab-next-links a{color:#fff;padding:21px 0;border-bottom:1px solid #ffffff3d;font-size:15px;font-weight:700;display:flex;justify-content:space-between}
/* V5 home: prominent complete ten-product portfolio, no duplicate numbered link list */
.ed-home .v5-portfolio-section{padding:0 0 95px;background:#102923;color:#f0f6ed}
.ed-home .v5-portfolio-section>.section{padding-top:95px}
.ed-home .v5-portfolio-section .section-head h2{font-size:clamp(48px,6.3vw,96px);line-height:.95;letter-spacing:-.076em}
.ed-home .v5-portfolio-section .section-head h2 em{color:var(--v5-accent);font-style:normal}
.ed-home .v5-portfolio-section .section-head p{color:#c7daca}
.ed-home .v5-portfolio-section .product-access{background:#224538;border-color:#3d6554;color:#ecf2e5}
.ed-home .v5-portfolio-section .product-access p{color:#d0e2d3}
.ed-home .v5-portfolio-section .product-filter{margin:50px 0 36px}
.ed-home .v5-portfolio-section .product-filter button{background:#1b3b30;border-color:#426356;color:#dce9dc}
.ed-home .v5-portfolio-section .product-filter button[aria-pressed=true]{background:#d4ee58;color:#183125;border-color:#d4ee58}
.ed-home .v5-portfolio-section .product-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.ed-home .v5-portfolio-section .v5-rich-card{background:#e8efe6;color:#1b3127;border:0;overflow:hidden;position:relative;min-width:0;transition:transform .26s ease, box-shadow .26s ease}
.ed-home .v5-rich-card:hover{transform:translateY(-5px);box-shadow:0 21px 43px #0006}
.ed-home .v5-rich-card:nth-child(1),.ed-home .v5-rich-card:nth-child(6){grid-column:span 2;display:grid;grid-template-columns:1.2fr .8fr}
.ed-home .v5-rich-card:nth-child(1) .product-visual,.ed-home .v5-rich-card:nth-child(6) .product-visual{height:100%;min-height:350px}
.ed-home .v5-rich-card .product-visual{display:block;position:relative;height:260px;overflow:hidden}
.ed-home .v5-rich-card .product-visual img{width:100%;height:100%;object-fit:cover;transition:transform .4s ease}
.ed-home .v5-rich-card:hover .product-visual img{transform:scale(1.035)}
.ed-home .v5-rich-card .card-body{padding:clamp(24px,2.4vw,37px);display:flex;flex-direction:column;align-items:flex-start;gap:7px}
.ed-home .v5-rich-card h3{font-size:clamp(27px,3vw,46px);letter-spacing:-.06em;line-height:1.02;margin:12px 0 8px}
.ed-home .v5-rich-card .card-body p{font-size:14px;color:#405b4a;line-height:1.5}
.ed-home .v5-rich-card .card-link{margin-top:auto;padding-top:21px;font-weight:750;color:#1d4c36}
.ed-home .v5-rich-card .status{color:#346344}
.ed-home .v5-rich-card .v5-card-index{position:absolute;left:18px;top:19px;padding:8px 10px;color:white;font:650 10px Consolas,monospace;letter-spacing:.14em;background:#17382bba}
/* Product deep dives: visual editorial story, clear purpose, personal demos unchanged */
.v5-enriched-product{overflow:clip}
.v5-product-story{padding-top:clamp(90px,10vw,155px);padding-bottom:clamp(80px,9vw,135px);color:#173127}
.v5-product-story-title{max-width:1100px}
.v5-product-story-title .v5-label{color:#638473}
.v5-product-story-title h2{font-size:clamp(53px,7vw,118px);letter-spacing:-.085em;line-height:.95;font-weight:850;margin:22px 0 24px;max-width:1050px}
.v5-product-story-title>p{font-size:clamp(17px,1.6vw,24px);line-height:1.55;color:#436052;max-width:730px}
.v5-product-story-columns{display:grid;grid-template-columns:1fr 1.3fr;gap:65px;margin-top:clamp(65px,8vw,125px);padding-top:30px;border-top:1px solid var(--line)}
.v5-product-story-columns article{min-width:0}.v5-product-story-columns .v5-label{color:#668476;margin-bottom:29px}
.v5-product-story-columns article>p{max-width:420px;font-size:clamp(21px,2.25vw,33px);line-height:1.3;letter-spacing:-.035em;font-weight:600}
.v5-product-story-columns ol{list-style:none;display:grid;margin:0;padding:0}
.v5-product-story-columns li{display:grid;grid-template-columns:60px 1fr;gap:16px;padding:14px 0 17px;border-bottom:1px solid #c8d3c8;align-items:baseline}
.v5-product-story-columns li span{color:#78917c;font:650 12px Consolas,monospace}
.v5-product-story-columns li strong{font-size:clamp(18px,1.8vw,25px);font-weight:700;letter-spacing:-.035em}
.v5-demo-entry{margin-top:clamp(20px,5vw,75px);padding-bottom:20px}
.v5-demo-entry .v5-label{color:#58745e}
.v5-demo-entry h2{font-size:clamp(44px,5.8vw,90px);letter-spacing:-.08em;line-height:1;margin:18px 0 17px}
.v5-demo-entry p{color:#4d6558;font-size:15px;max-width:720px;line-height:1.65}
.v5-enriched-product .v5-demo-highlight{margin-top:28px!important;margin-bottom:clamp(65px,8vw,115px)!important}
.v5-enriched-product .v5-detail-layout{background:#f0f3e9;padding-block:clamp(70px,8vw,120px)!important}
.v5-enriched-product .v5-detail-layout .detail-copy>h2:first-of-type{font-size:clamp(36px,4vw,60px)}
/* Comfortable breakpoints */
@media(max-width:1050px){
.v5-section-header,.v5-format-heading{grid-template-columns:1fr;gap:20px}.v5-principle-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.v5-principle-grid article{padding:28px;min-height:320px}
.ed-home .v5-portfolio-section .product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.ed-home .v5-rich-card:nth-child(1),.ed-home .v5-rich-card:nth-child(6){grid-column:span 2}
}
@media(max-width:760px){
.v5-lab-head{width:calc(100% - 34px);padding:130px 0 80px}.v5-lab-hero{min-height:550px}.v5-lab-head h1{font-size:clamp(56px,12vw,85px);letter-spacing:-.085em}.v5-lab-head p{font-size:16px}.v5-lab-hero-number{font-size:9px}.v5-lab-actions{gap:18px}
.v5-principles,.v5-facts{padding-top:80px;padding-bottom:80px}.v5-principle-grid,.v5-facts-grid{grid-template-columns:1fr;gap:10px}.v5-principle-grid article{min-height:unset;padding:28px 26px}.v5-principle-grid h3{margin:23px 0 12px}.v5-section-header{margin-bottom:32px}.v5-section-header h2{font-size:clamp(49px,10.5vw,78px)}.v5-format{padding-block:75px}.v5-format-heading h2{font-size:clamp(48px,10.2vw,70px)}.v5-format .lab-block{padding:16px}.v5-format .scene{min-height:230px}.v5-lab-next-inner{grid-template-columns:1fr;gap:24px}.v5-lab-next-links{margin-top:22px}
.ed-home .v5-portfolio-section>.section{padding-top:72px}.ed-home .v5-portfolio-section .product-grid{grid-template-columns:1fr;gap:12px}.ed-home .v5-rich-card:nth-child(1),.ed-home .v5-rich-card:nth-child(6){grid-column:auto;display:block}.ed-home .v5-rich-card:nth-child(1) .product-visual,.ed-home .v5-rich-card:nth-child(6) .product-visual{min-height:unset;height:270px}.ed-home .v5-rich-card .product-visual{height:235px}.ed-home .v5-rich-card .card-body{padding:27px}
.v5-product-story{padding-top:78px;padding-bottom:65px}.v5-product-story-title h2{font-size:clamp(52px,10.4vw,80px)}.v5-product-story-columns{grid-template-columns:1fr;gap:35px;margin-top:60px}.v5-product-story-columns article>p{font-size:25px}.v5-product-story-columns ol{margin-top:-12px}.v5-demo-entry{margin-top:35px}.v5-demo-entry h2{font-size:clamp(47px,10vw,75px)}
}
@media(max-width:390px){.v5-lab-head h1{font-size:52px}.v5-lab-actions .ed-btn{min-width:175px;gap:10px}.v5-product-story-title h2{font-size:49px}.v5-format-heading h2{font-size:46px}}
@media(prefers-reduced-motion:reduce){.v5-rich-card,.v5-rich-card img,.v5-principle-grid article{transition:none!important}.ed-home .v5-rich-card:hover{transform:none!important}}
