/* Original Sollami vineyard photographs, treated in CSS to preserve original files. */
:root{--vineyard-photo:url('assets/filari.jpg');--vineyard-filter:saturate(.65);--vineyard-wash:rgba(255,254,250,.8);--vineyard-clear:rgba(255,254,250,.58);--vineyard-panel:rgba(255,254,250,.88)}
[data-scene="famiglia"]{--vineyard-photo:url('assets/filari.jpg');--vineyard-filter:grayscale(1) contrast(.85);--vineyard-wash:rgba(255,255,255,.83);--vineyard-clear:rgba(255,255,255,.6)}
[data-scene="territorio"]{--vineyard-photo:url('assets/autunno.jpg');--vineyard-filter:saturate(.6)}
[data-scene="vendemmia"]{--vineyard-photo:url('assets/grappoli.jpg');--vineyard-filter:saturate(.5)}
[data-scene="vini"]{--vineyard-photo:url('assets/pergola.jpg');--vineyard-filter:saturate(.45)}
[data-scene="prymisir"]{--vineyard-photo:url('assets/uva-rossa.jpg');--vineyard-filter:saturate(.5)}
[data-scene="furiana"]{--vineyard-photo:url('assets/filari.jpg');--vineyard-filter:saturate(.5)}
[data-scene="puntara-santa"],[data-scene="don-michele"]{--vineyard-photo:url('assets/autunno.jpg');--vineyard-filter:saturate(.35)}
[data-scene="contatti"]{--vineyard-photo:url('assets/paesaggio-sera.jpg');--vineyard-filter:saturate(.6)}
body:has(.page-vineyard){isolation:isolate}.page-vineyard{position:fixed;inset:0;z-index:-1;pointer-events:none;background:var(--color-paper)}
.page-vineyard:before,.page-vineyard:after{content:'';position:absolute;inset:0}
.page-vineyard:before{background-image:var(--vineyard-photo);background-size:cover;background-position:center;filter:var(--vineyard-filter)}
.page-vineyard:after{background:linear-gradient(90deg,var(--vineyard-wash),var(--vineyard-clear) 65%,var(--vineyard-wash))}
body:has(.page-vineyard) .editorial-row,body:has(.page-vineyard) .editorial-row.reverse{background:var(--vineyard-panel)}
body:has(.page-vineyard) .editorial-heading,body:has(.page-vineyard) .section-intro{background:transparent}
body:has(.page-vineyard) .wine-story,body:has(.page-vineyard) .tasting{background:var(--vineyard-panel)}
body:has(.page-vineyard) .detail-intro{background:var(--vineyard-panel);padding:30px}
body:has(.page-vineyard) .prymisir-copy{background:var(--vineyard-panel);padding:30px}
body[data-scene="famiglia"] .editorial-hero .hero-image{filter:grayscale(1)}
.chapter:not(.opening-chapter){isolation:isolate;background:var(--color-paper)}
.chapter:not(.opening-chapter):before,.chapter:not(.opening-chapter):after{content:'';position:absolute;inset:0;z-index:-1;pointer-events:none}
.chapter:not(.opening-chapter):before{background-image:var(--vineyard-photo);background-size:cover;background-position:center;filter:var(--vineyard-filter)}
.chapter:not(.opening-chapter):after{background:linear-gradient(90deg,var(--vineyard-wash) 0%,var(--vineyard-wash) 30%,var(--vineyard-clear) 65%,var(--vineyard-wash) 100%)}
#famiglia,#storia{--vineyard-photo:url('assets/filari.jpg');--vineyard-filter:grayscale(1) contrast(.85);--vineyard-wash:rgba(255,255,255,.84);--vineyard-clear:rgba(255,255,255,.55)}
#territorio{--vineyard-photo:url('assets/autunno.jpg');--vineyard-filter:saturate(.55)}
#vendemmia{--vineyard-photo:url('assets/grappoli.jpg');--vineyard-filter:saturate(.45)}
#vini{--vineyard-photo:url('assets/pergola.jpg');--vineyard-filter:saturate(.4)}
#contatti{--vineyard-photo:url('assets/paesaggio-sera.jpg')}
.family-composition figcaption{background:rgba(255,255,255,.8);padding:7px 10px;margin-top:3px;color:var(--color-ink)}
.chapter .wine-selection{background:var(--vineyard-panel);padding:12px}.contact-sheet{background:var(--vineyard-panel)}
@media(max-width:760px){.chapter:not(.opening-chapter):after{background:linear-gradient(180deg,var(--vineyard-wash) 0%,var(--vineyard-wash) 38%,var(--vineyard-clear) 80%,var(--vineyard-wash))}.page-vineyard:after{background:rgba(255,254,250,.82)}body:has(.page-vineyard) .prymisir-copy,body:has(.page-vineyard) .detail-intro{padding:24px 18px}.chapter .wine-selection{padding:6px}}
/* Shared horizontal alignment for logo, navigation and menu control. */
.estate-header{--header-height:112px;height:var(--header-height)}
.estate-nav{align-items:center}
.estate-nav>a:not(.estate-brand){align-self:center;margin-bottom:0;padding:12px 0}
.estate-brand{position:relative;width:160px;height:70px;align-self:center;display:flex;align-items:center;justify-content:center}
.estate-brand img{width:160px;height:auto;max-width:none;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}
.estate-header .menu-toggle{top:50%;transform:translateY(-50%);left:24px;height:44px;min-height:44px;align-items:center;margin:0}
:root{--header-height:112px}
@media(max-width:760px){:root{--header-height:94px}.estate-header{--header-height:94px}.estate-brand{width:140px;height:68px}.estate-brand img{width:140px}.estate-header .menu-toggle{left:20px;top:50%}}
/* The original logo includes extra white space below the lettering. */
.estate-brand img{transform:translate(-50%,-32%)}
