/* Tessitura Brera — azienda, concept editorial scrollytelling 2026.
   Inspired by best practices of textile-led, cinematic websites.
   All selectors scoped to the azienda-editoriale page. */
body.azienda-editoriale {--be-green:#17392e;--be-paper:#f2efe7;--be-rose:#e8bba3;--be-rust:#b67e62;}
body.azienda-editoriale .be-main {min-width:0; overflow:clip;}
body.azienda-editoriale .be-film {position:relative;isolation:isolate;background:#142f26;color:#f3f2ec;}
body.azienda-editoriale .be-visual {position:sticky;top:0;height:100vh;height:100svh;min-height:500px;overflow:hidden;margin-bottom:-100vh;margin-bottom:-100svh;background:#19392d url('videos/video-0127-poster.webp') center / cover no-repeat;z-index:0;pointer-events:none;}
body.azienda-editoriale .be-film-video {width:100%;height:100%;object-fit:cover;object-position:63% 48%;position:absolute;inset:0;filter:saturate(.85) contrast(1.04);}
body.azienda-editoriale .be-visual-shade {position:absolute;inset:0;background:linear-gradient(90deg,rgba(13,37,28,.98) 0%,rgba(14,41,31,.95) 29%,rgba(14,41,31,.80) 49%,rgba(14,41,31,.22) 81%,rgba(13,37,28,.13) 100%),linear-gradient(0deg,rgba(8,27,19,.60) 0%,transparent 30%,transparent 68%,rgba(9,29,21,.38) 100%);}
body.azienda-editoriale .be-visual-shade:after {content:"";position:absolute;inset:0;opacity:.12;background:repeating-linear-gradient(90deg,transparent 0,transparent 79px,rgba(255,255,255,.23) 80px,transparent 81px);}
body.azienda-editoriale .be-video-credit {position:absolute;right:3.4%;bottom:30px;color:#fffcf4;display:flex;align-items:center;gap:12px;font-size:9px;font-weight:700;letter-spacing:.15em;text-shadow:0 2px 9px #132c22;}
body.azienda-editoriale .be-video-credit>span:last-child{opacity:.56;}
body.azienda-editoriale .be-signal {background:var(--be-rose);width:7px;height:7px;border-radius:100%;box-shadow:0 0 0 5px #e8bba327;}
body.azienda-editoriale .be-edge-script {position:absolute;top:50%;right:24px;writing-mode:vertical-rl;transform:translateY(-50%) rotate(180deg);color:#fff9;font-size:9px;letter-spacing:.34em;font-weight:700;}
body.azienda-editoriale .be-narrative{position:relative;z-index:2;}
body.azienda-editoriale .be-tools {position:absolute;right:clamp(22px,4.3vw,80px);top:26px;z-index:8;display:flex;gap:21px;align-items:center;}
body.azienda-editoriale .be-tools-label{font-size:9px;letter-spacing:.14em;color:#f7f1e7c9;font-weight:700;}
body.azienda-editoriale .be-tools-label span{color:var(--be-rose);padding:0 6px;}
body.azienda-editoriale .be-pause {min-width:130px;padding:10px 15px;display:flex;align-items:center;justify-content:center;gap:10px;border:1px solid #fff6;border-radius:100px;background:rgba(18,48,36,.45);color:#f8f4ee;backdrop-filter:blur(10px);cursor:pointer;letter-spacing:.06em;font-size:11px;font-weight:700;min-height:40px;transition:background .2s;}
body.azienda-editoriale .be-pause:hover{background:rgba(18,48,36,.9);}
body.azienda-editoriale .be-pause-icon{font-size:17px;line-height:1;}
body.azienda-editoriale .be-scroll-progress {position:absolute;top:0;left:0;height:3px;width:100%;z-index:9;pointer-events:none;background:#fff1;}
body.azienda-editoriale .be-scroll-progress span{display:block;height:100%;width:0;background:var(--be-rose);transition:width .1s linear;}
body.azienda-editoriale .be-chapter-nav {position:sticky;top:calc(50svh - 122px);height:0;width:62px;margin-left:auto;margin-right:clamp(20px,3.7vw,66px);z-index:6;display:flex;flex-direction:column;gap:4px;align-items:flex-end;transform:translateY(0);}
body.azienda-editoriale .be-chapter-nav a{display:flex;gap:12px;align-items:center;color:rgba(255,255,255,.55);font-size:10px;font-weight:700;letter-spacing:.08em;padding:10px 0 10px 8px;min-height:39px;transition:color .25s;}
body.azienda-editoriale .be-chapter-nav a .be-dot{display:block;width:5px;height:5px;border-radius:50%;background:rgba(255,255,255,.42);box-shadow:0 0 0 1px rgba(255,255,255,.17);transition:all .25s;}
body.azienda-editoriale .be-chapter-nav a:hover,body.azienda-editoriale .be-chapter-nav a.is-active{color:#fff;}
body.azienda-editoriale .be-chapter-nav a.is-active .be-dot{background:var(--be-rose);box-shadow:0 0 0 4px rgba(232,187,163,.21);}
body.azienda-editoriale .be-rail-label{writing-mode:vertical-rl;letter-spacing:.23em;color:#fffaed8c;font-size:8px;font-weight:700;transform:translateX(-1px);margin-top:19px;}
body.azienda-editoriale .be-opening {min-height:92svh;position:relative;display:flex;align-items:center;padding:95px clamp(55px,10.4vw,190px) 115px clamp(38px,8.5vw,155px);}
body.azienda-editoriale .be-opening-copy{position:relative;z-index:2;max-width:950px;}
body.azienda-editoriale .be-eyebrow {display:flex;align-items:center;gap:12px;color:var(--be-rose);font-size:10px;letter-spacing:.25em;font-weight:750;white-space:nowrap;}
body.azienda-editoriale .be-eyebrow-line{height:1px;width:35px;background:var(--be-rose);}
body.azienda-editoriale .be-eyebrow-separator{color:#ffffff69;}
body.azienda-editoriale .be-opening h1{margin:38px 0 29px;color:#f6f4ed;font:400 clamp(75px,9vw,146px)/.95 Georgia,serif;letter-spacing:-.073em;text-wrap:balance;}
body.azienda-editoriale .be-opening h1 em{font-weight:400;color:var(--be-rose);}
body.azienda-editoriale .be-opening p{color:#e3e8e0;font-size:clamp(16px,1.4vw,19px);line-height:1.82;max-width:475px;margin:0;}
body.azienda-editoriale .be-discover{margin-top:54px;display:inline-flex;align-items:center;justify-content:space-between;gap:55px;padding-bottom:17px;border-bottom:1px solid #f5efe58c;color:#f7f4eb;letter-spacing:.145em;font-size:11px;font-weight:750;transition:gap .24s ease;}
body.azienda-editoriale .be-discover:hover{gap:70px;}
body.azienda-editoriale .be-discover span{font-size:23px;font-weight:400;line-height:1;}
body.azienda-editoriale .be-opening-counter{position:absolute;top:15%;right:11%;text-align:right;display:flex;flex-direction:column;gap:2px;color:#fff;opacity:.55;}
body.azienda-editoriale .be-opening-counter strong{font-family:Georgia,serif;font-size:48px;font-weight:400;letter-spacing:-.065em;}
body.azienda-editoriale .be-opening-counter span{font-weight:700;font-size:9px;letter-spacing:.22em;}
body.azienda-editoriale .be-opening-foot{position:absolute;left:clamp(38px,8.5vw,155px);bottom:39px;display:flex;align-items:center;gap:26px;font-size:9px;font-weight:700;letter-spacing:.18em;color:#fff9;}
body.azienda-editoriale .be-opening-foot span+span:before{content:"";width:44px;height:1px;background:currentColor;display:inline-block;margin:0 25px 3px 0;}
body.azienda-editoriale .be-chapters{position:relative;}
body.azienda-editoriale .be-chapter{position:relative;min-height:104svh;display:flex;align-items:center;padding:75px clamp(56px,10vw,155px) 90px clamp(40px,8.5vw,155px);scroll-margin-top:0;}
body.azienda-editoriale .be-chapter-content{position:relative;z-index:2;width:min(100%,540px);padding:31px clamp(31px,3.8vw,55px) 31px;background:linear-gradient(135deg,rgba(250,248,242,.85),rgba(243,238,227,.73));border:1px solid rgba(255,255,255,.65);box-shadow:0 27px 78px rgba(6,18,13,.30),inset 0 1px 0 #fff9;-webkit-backdrop-filter:blur(20px) saturate(105%);backdrop-filter:blur(20px) saturate(105%);color:#223d31;opacity:1;transform:translateY(0);transition:opacity .65s ease,transform .75s cubic-bezier(.22,.9,.26,1),box-shadow .3s;}
body.azienda-editoriale .be-chapter.is-entered .be-chapter-content{box-shadow:0 31px 88px rgba(4,19,13,.37),inset 0 1px 0 #fff9;}
body.azienda-editoriale .be-chapter-header{display:flex;align-items:center;justify-content:space-between;gap:18px;padding-bottom:15px;border-bottom:1px solid #b9b9ab77;font-size:10px;font-weight:750;letter-spacing:.18em;color:#b07b61;}
body.azienda-editoriale .be-year-meta{color:#4a6256;}
body.azienda-editoriale .be-chapter-number{font:400 64px/1 Georgia,serif;letter-spacing:-.065em;color:#b78061;margin-top:22px;margin-bottom:10px;}
body.azienda-editoriale .be-chapter-number span{font:700 10px/1 sans-serif;letter-spacing:.17em;color:#859489;margin-left:6px;}
body.azienda-editoriale .be-stage-tag{display:block;font-size:10px;letter-spacing:.16em;font-weight:750;color:#658071;margin-bottom:16px;}
body.azienda-editoriale .be-chapter h2{margin:0 0 21px;font:400 clamp(45px,4.25vw,65px)/1.02 Georgia,serif;letter-spacing:-.058em;color:#1c3c2e;}
body.azienda-editoriale .be-chapter h2 em{font-weight:400;color:#b57959;}
body.azienda-editoriale .be-story-line{width:42px;height:1px;background:#b57959;margin-bottom:18px;}
body.azienda-editoriale .be-chapter p{font-size:15px;line-height:1.79;margin:0 0 12px;color:#465d50;}
body.azienda-editoriale .be-chapter strong{color:#1f4031;font-weight:750;}
body.azienda-editoriale .be-chapter-bottom{display:flex;align-items:center;justify-content:space-between;margin-top:23px;padding-top:16px;border-top:1px solid #b9b9ab77;color:#9f6f58;font-size:9px;font-weight:800;letter-spacing:.16em;}
body.azienda-editoriale .be-chapter-bottom span:last-child{font-size:20px;font-weight:400;color:#597469;}
body.azienda-editoriale .be-chapter-right{justify-content:flex-end;padding-left:clamp(60px,11vw,185px);padding-right:clamp(70px,12vw,210px);}
body.azienda-editoriale .be-chapter-key .be-chapter-content{background:linear-gradient(135deg,rgba(253,249,239,.89),rgba(245,233,219,.80));border-left:3px solid #c18b6e;}
body.azienda-editoriale .be-stage-outline {position:absolute;z-index:1;top:13%;right:11%;font:400 clamp(100px,16vw,255px)/1 Georgia,serif;letter-spacing:-.08em;color:transparent;-webkit-text-stroke:1px rgba(249,245,232,.20);opacity:.75;pointer-events:none;user-select:none;white-space:nowrap;}
body.azienda-editoriale .be-chapter-right .be-stage-outline{left:10%;right:auto;}
body.azienda-editoriale .be-values{background:#f2efe7;color:#203c2f;padding:clamp(78px,10vw,148px) 0 clamp(72px,9vw,126px);}
body.azienda-editoriale .be-values-wrap{max-width:1340px;}
body.azienda-editoriale .be-values-top{display:flex;justify-content:space-between;align-items:center;border-top:1px solid #c9c8bd;padding-top:19px;gap:20px;}
body.azienda-editoriale .be-section-id,.azienda-editoriale .be-values-sign{font-size:10px;letter-spacing:.17em;font-weight:750;color:#a5765e;}
body.azienda-editoriale .be-values-sign{color:#768578;}
body.azienda-editoriale .be-values-sign span{color:#b78468;padding:0 5px;}
body.azienda-editoriale .be-values-heading{display:grid;grid-template-columns:1.4fr .6fr;align-items:end;gap:55px;margin:74px 0 66px;}
body.azienda-editoriale .be-values-heading h2{font:400 clamp(55px,6.6vw,93px)/1.04 Georgia,serif;letter-spacing:-.065em;margin:0;}
body.azienda-editoriale .be-values-heading h2 em{font-weight:400;color:#b17f63;}
body.azienda-editoriale .be-values-heading p{font-size:16px;line-height:1.8;color:#68766b;max-width:320px;margin:0 0 7px;}
body.azienda-editoriale .be-values-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border-top:1px solid #c9c8bd;border-bottom:1px solid #c9c8bd;}
body.azienda-editoriale .be-values-list article{padding:25px 32px 33px 0;}
body.azienda-editoriale .be-values-list article+article{border-left:1px solid #c9c8bd;padding-left:32px;}
body.azienda-editoriale .be-values-index{font-size:11px;font-weight:750;letter-spacing:.15em;color:#b27e60;}
body.azienda-editoriale .be-values-list h3{font:400 clamp(26px,2.7vw,40px)/1.1 Georgia,serif;margin:34px 0 14px;letter-spacing:-.05em;color:#213d31;}
body.azienda-editoriale .be-values-list p{font-size:14px;line-height:1.75;color:#667368;margin:0;max-width:295px;}
body.azienda-editoriale .be-values-close{display:flex;align-items:center;justify-content:center;gap:35px;margin-top:46px;font-size:10px;font-weight:750;letter-spacing:.18em;color:#9b8c7a;}
body.azienda-editoriale .be-values-close i{width:70px;height:1px;background:#a1a99c;}
@media(max-width:1090px){
 body.azienda-editoriale .be-opening {padding-left:6%;padding-right:12%;}
 body.azienda-editoriale .be-opening h1{font-size:clamp(71px,9.2vw,105px);}
 body.azienda-editoriale .be-opening-counter{right:10%;top:18%;}
 body.azienda-editoriale .be-chapter{padding-left:6%;padding-right:12%;}
 body.azienda-editoriale .be-chapter-right{padding-left:12%;padding-right:10%;}
 body.azienda-editoriale .be-stage-outline{font-size:15vw;}
 body.azienda-editoriale .be-opening-foot{left:6%;}
 body.azienda-editoriale .be-chapter-nav{margin-right:16px;}
}
@media(max-width:700px){
 body.azienda-editoriale .be-visual{min-height:0;}
 body.azienda-editoriale .be-film-video {object-position:50% center;}
 body.azienda-editoriale .be-visual-shade{background:linear-gradient(90deg,rgba(9,30,21,.72),rgba(9,30,21,.48)),linear-gradient(0deg,rgba(9,30,21,.55),transparent 43%,rgba(9,30,21,.39));}
 body.azienda-editoriale .be-edge-script,body.azienda-editoriale .be-video-credit>span:last-child,body.azienda-editoriale .be-opening-counter{display:none;}
 body.azienda-editoriale .be-video-credit{right:17px;bottom:18px;font-size:8px;}
 body.azienda-editoriale .be-chapter-nav{display:none;}
 body.azienda-editoriale .be-tools{top:17px;right:17px;}
 body.azienda-editoriale .be-tools-label{display:none;}
 body.azienda-editoriale .be-pause{min-height:37px;padding:9px 12px;min-width:112px;font-size:10px;}
 body.azienda-editoriale .be-opening{min-height:calc(100svh - 70px);padding:65px 23px 90px;}
 body.azienda-editoriale .be-eyebrow{font-size:9px;letter-spacing:.15em;gap:9px;}
 body.azienda-editoriale .be-eyebrow-line{width:22px;}
 body.azienda-editoriale .be-opening h1{font-size:clamp(57px,12vw,82px);margin:31px 0 24px;line-height:.98;}
 body.azienda-editoriale .be-opening p{font-size:15px;line-height:1.75;max-width:330px;}
 body.azienda-editoriale .be-discover{margin-top:45px;gap:30px;font-size:10px;}
 body.azienda-editoriale .be-opening-foot{left:23px;bottom:23px;font-size:8px;gap:9px;}
 body.azienda-editoriale .be-opening-foot span+span:before{width:19px;margin-right:10px;}
 body.azienda-editoriale .be-chapter{min-height:86svh;padding:85px 20px 60px;justify-content:center;}
 body.azienda-editoriale .be-chapter-right{padding:85px 20px 60px;justify-content:center;}
 body.azienda-editoriale .be-chapter-content{width:100%;padding:24px 25px 26px;background:linear-gradient(145deg,rgba(249,247,239,.90),rgba(246,241,233,.83));-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);}
 body.azienda-editoriale .be-chapter-header{font-size:9px;}
 body.azienda-editoriale .be-chapter-number{font-size:58px;margin-top:18px;}
 body.azienda-editoriale .be-stage-tag{font-size:9px;margin-bottom:11px;}
 body.azienda-editoriale .be-chapter h2{font-size:clamp(38px,10.3vw,53px);line-height:1.02;margin-bottom:18px;}
 body.azienda-editoriale .be-chapter p{font-size:14px;line-height:1.72;}
 body.azienda-editoriale .be-chapter-bottom{margin-top:17px;}
 body.azienda-editoriale .be-stage-outline{display:none;}
 body.azienda-editoriale .be-values{padding:76px 0 72px;}
 body.azienda-editoriale .be-values-sign{display:none;}
 body.azienda-editoriale .be-values-heading{display:block;margin:48px 0 44px;}
 body.azienda-editoriale .be-values-heading h2{font-size:clamp(50px,11vw,70px);}
 body.azienda-editoriale .be-values-heading p{margin-top:27px;font-size:15px;}
 body.azienda-editoriale .be-values-list{display:block;}
 body.azienda-editoriale .be-values-list article,body.azienda-editoriale .be-values-list article+article{padding:24px 0 30px;border-left:0;}
 body.azienda-editoriale .be-values-list article+article{border-top:1px solid #c9c8bd;}
 body.azienda-editoriale .be-values-list h3{font-size:34px;margin:21px 0 9px;}
 body.azienda-editoriale .be-values-list p{font-size:14px;max-width:none;}
}
@media(prefers-reduced-motion:reduce){body.azienda-editoriale .be-film-video{display:none;}body.azienda-editoriale .be-chapter-content,body.azienda-editoriale .be-chapter-nav *,body.azienda-editoriale .be-pause{transition:none!important;}body.azienda-editoriale .be-visual{background-size:cover;}}
@media(prefers-reduced-transparency:reduce){body.azienda-editoriale .be-chapter-content{background:#f5f1e9!important;-webkit-backdrop-filter:none;backdrop-filter:none;}}
