/* js/brighten.js — the home page brightening through the first-visit helix */
.qlit{position:fixed;inset:0;z-index:-1;pointer-events:none;opacity:0}
.qlit canvas{position:absolute;inset:0;width:100%;height:100%;display:block}
.dna__thread{background:linear-gradient(var(--td),rgba(var(--q-ink-rgb,238,242,248),.5),rgba(var(--q-ink-rgb,238,242,248),.08))!important}
html.q-lit .vt.is-dna .is-on .vt__aura{opacity:.22}
html.q-lit .bb-nav:not(.is-open),html.q-lit .bb-nav:not(.is-open) a:not(.bb-nav__cta){color:var(--ds-color-text)}
html.q-lit .bb-nav:not(.is-open) .bb-nav__menu,html.q-lit .bb-nav:not(.is-open) .bb-nav__motion{border-color:rgba(var(--q-ink-rgb),.5);background:transparent}
html.q-lit .bb-nav::before{opacity:0}
/* the page stays light to the end: the closing's photo takes a champagne scrim and dark ink */
html.q-lit .closing::after{background:linear-gradient(to right,rgba(var(--q-rgb),.92) 0,rgba(var(--q-rgb),.78) 40%,rgba(var(--q-rgb),0) 72%)}
html.q-lit .closing .bb-h1,html.q-lit .closing .bb-h1 em{color:var(--ds-color-text)}
html.q-lit .closing p,html.q-lit .closing .trust,html.q-lit .closing .trust a{color:var(--ds-color-text-2)}
html.q-lit .closing .bb-label{color:var(--ds-color-slate)}
/* home: Why sits straight on the page's ground, no paper band */
.page[data-route="home"] #why{background:transparent;border-top:0;border-bottom:0}
/* the closing's violet sauna photo, graded gold on the light page: a soft warm monochrome under a #C49A62 colour wash */
html.q-lit .closing picture{display:block;position:absolute;inset:0;z-index:-2}
html.q-lit .closing .closing__bg{filter:grayscale(1) sepia(.45) brightness(1.12) contrast(.85)}
html.q-lit .closing picture::after{content:"";position:absolute;inset:0;background:#C49A62;mix-blend-mode:color;opacity:.55}
/* and its top edge melts into the page: an eased fade over the photo's first ~40%, no line where the image starts */
html.q-lit .closing picture{-webkit-mask-image:linear-gradient(to bottom,transparent 0,rgba(0,0,0,.08) 8%,rgba(0,0,0,.3) 17%,rgba(0,0,0,.62) 27%,rgba(0,0,0,.88) 36%,#000 44%);mask-image:linear-gradient(to bottom,transparent 0,rgba(0,0,0,.08) 8%,rgba(0,0,0,.3) 17%,rgba(0,0,0,.62) 27%,rgba(0,0,0,.88) 36%,#000 44%)}
/* the section under it is painted with --ds-color-ink, which is the dark ink once the page is light: let the page show through */
html.q-lit .closing{background:transparent}
