/* The year anchors the reading; the real mattress remains the largest subject. */
#opening.opening{--hero-look-x:0px;--hero-look-y:0px;padding:0;justify-content:center;background:#e7d9c6;color:#3c3026}
#opening.opening .hero-media{background:#e7d9c6;overflow:hidden}
#opening.opening .hero-scene{transform:none!important;will-change:auto;animation:none}
#opening.opening .hero-plane{inset:-1px;transform:translate3d(var(--hero-look-x),var(--hero-look-y),0) scale(1.025);transition:transform 750ms cubic-bezier(.2,.65,.3,1);will-change:transform}
#opening.opening .hero-scene img{object-fit:cover;object-position:50% 50%;filter:none;animation:none;transform:none}
#opening.opening::after{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background:linear-gradient(90deg,rgba(242,234,222,.32),rgba(242,234,222,.08) 34%,rgba(242,234,222,0) 53%)} /* taste-skill-ignore: neutral photographic scrim keeps the left wall readable. */
#opening.opening .chapter-content{position:relative;top:auto;left:auto;max-width:none;width:40%;margin:0 0 3svh var(--gutter);align-self:flex-start;padding:0}
#opening.opening h1{display:flex;align-items:baseline;gap:18px;font-family:"Songti SC","SimSun",serif;font-weight:400;line-height:1;letter-spacing:-.055em;white-space:nowrap}
#opening.opening .hero-origin{font-size:clamp(25px,2.15vw,34px);line-height:1.4;letter-spacing:.03em}
#opening.opening .hero-year{font-size:clamp(88px,8.8vw,140px);font-weight:400;line-height:1;letter-spacing:-.055em;font-variant-numeric:lining-nums}
#opening.opening .hero-provenance{font-size:14px;line-height:1.8;margin:33px 0 0;color:#5b4938}
#opening.opening .chapter-description{font-family:"Songti SC","SimSun",serif;font-size:clamp(22px,1.9vw,29px);font-weight:400;line-height:1.7;letter-spacing:-.025em;max-width:none;margin-top:13px;color:#3c3026;white-space:nowrap}
#opening.opening .chapter-link{display:inline-flex;align-items:center;justify-content:space-between;gap:40px;min-height:48px;min-width:188px;font-size:13px;line-height:1.8;margin-top:30px;padding:11px 19px;background:#4c3b2c;color:#faf3e8;transition:background 200ms,gap 200ms}
#opening.opening .chapter-link:hover{gap:48px;background:#36291f}
#opening.opening .chapter-link:focus-visible{outline-color:#49392c}
#opening.opening .hero-daylight{position:absolute;inset:-3%;z-index:2;pointer-events:none;overflow:hidden;transform:translate3d(calc(var(--hero-look-x) * .45),calc(var(--hero-look-y) * .45),0);transition:transform 1s ease-out}
#opening.opening .hero-daylight>div{position:absolute;inset:-6%;animation-play-state:paused!important;will-change:transform,opacity}
#opening.opening .hero-light-wash{background:linear-gradient(115deg,rgba(255,241,208,.38),rgba(255,245,216,.1) 35%,transparent 67%);mix-blend-mode:soft-light;animation:hero-daylight-breathe 15s ease-in-out infinite alternate}
#opening.opening .hero-window-light{background:linear-gradient(123deg,transparent 22%,rgba(255,244,210,.02) 24%,rgba(255,244,210,.4) 27%,rgba(255,244,210,.08) 31%,transparent 33%,transparent 37%,rgba(255,244,210,.34) 40%,rgba(255,244,210,.02) 45%,transparent 47%,transparent 51%,rgba(255,244,210,.23) 54%,transparent 60%);mix-blend-mode:soft-light;filter:blur(10px);animation:hero-window-drift 19s ease-in-out infinite alternate}
#opening.opening .hero-window-shadow{right:31%;background:linear-gradient(123deg,transparent 20%,rgba(53,40,26,.14) 25%,transparent 31%,transparent 35%,rgba(53,40,26,.11) 39%,transparent 45%);mix-blend-mode:multiply;filter:blur(11px);animation:hero-shadow-drift 19s ease-in-out infinite alternate}
#opening.opening[data-motion-active="true"] .hero-daylight>div{animation-play-state:running!important} /* taste-skill-ignore: moving neutral light/shadow on the existing photograph is explicitly requested by the user. */
#opening.opening .hero-window-light{clip-path:polygon(0 0,56% 0,56% 35%,100% 100%,0 100%)}
@keyframes hero-daylight-breathe{from{opacity:.3;transform:translate3d(-10px,0,0)}to{opacity:.8;transform:translate3d(12px,5px,0)}}
@keyframes hero-window-drift{from{opacity:.35;transform:translate3d(-16px,-5px,0) rotate(-.3deg)}to{opacity:.95;transform:translate3d(19px,9px,0) rotate(.35deg)}}
@keyframes hero-shadow-drift{from{opacity:.55;transform:translate3d(-13px,-4px,0)}to{opacity:.2;transform:translate3d(15px,8px,0)}}
body[data-hero-visible="true"]{--foreground:#49392c}
body[data-hero-visible="true"] .wordmark{color:#564533}
body[data-hero-visible="true"] .wordmark-logo{filter:brightness(.85)}
body[data-hero-visible="true"] .navigation{color:#f6f0e6}
body[data-hero-visible="true"] .navigation a{opacity:.83}
body[data-hero-visible="true"] .navigation a:is(:hover,[aria-current]){opacity:1}
body[data-hero-visible="true"] :is(.chapter-index,.page-controls){color:#faf5ec}
body[data-hero-visible="true"] .page-footer{background:transparent;color:#30251c}
@media(min-width:761px) and (max-width:1100px){
 #opening.opening .chapter-content{width:47%;margin-bottom:8svh}
 #opening.opening h1{gap:14px}#opening.opening .hero-origin{font-size:25px}#opening.opening .hero-year{font-size:92px}
 #opening.opening .hero-provenance{font-size:13px;margin-top:25px}
 #opening.opening .chapter-description{font-size:23px;line-height:1.7;margin-top:11px}
 #opening.opening .chapter-link{font-size:12px;margin-top:25px;min-width:176px}
 #opening.opening .hero-scene img{object-position:53% 50%}
}
@media(min-width:761px) and (max-width:1100px) and (max-aspect-ratio:1/1){
 #opening.opening .chapter-content{position:absolute;top:16svh;margin:0 0 0 var(--gutter);width:50%}
 body[data-hero-visible="true"] .header{background:linear-gradient(180deg,rgba(237,226,209,.96),rgba(237,226,209,.8) 75%,rgba(237,226,209,0))}
 body[data-hero-visible="true"][data-hero-view="close"] .navigation{color:#49392c}
}
@media(max-width:760px){
 #opening.opening{justify-content:flex-start;min-height:100svh}
 #opening.opening .hero-media{top:29%;background:#e7d9c6}
 #opening.opening .hero-scene img{object-position:62% 50%}
 #opening.opening::after{background:linear-gradient(180deg,#e7d9c6 0%,#e7d9c6 27%,rgba(231,217,198,.93) 35%,rgba(231,217,198,.28) 48%,rgba(231,217,198,0) 61%)} /* taste-skill-ignore: neutral portrait photo scrim maintains text contrast. */
 #opening.opening .chapter-content{position:relative;top:auto;left:auto;width:calc(100% - var(--gutter) - 42px);margin:clamp(124px,15svh,150px) 0 0 var(--gutter)}
 #opening.opening h1{gap:13px}#opening.opening .hero-origin{font-size:21px}#opening.opening .hero-year{font-size:clamp(74px,20vw,90px)}
 #opening.opening .hero-provenance{font-size:12px;margin-top:20px}
 #opening.opening .chapter-description{font-size:21px;line-height:1.65;margin-top:10px;letter-spacing:-.035em}
 #opening.opening .chapter-link{font-size:12px;margin-top:20px;min-height:44px;min-width:166px;padding:9px 15px}
 #opening.opening .hero-window-light{filter:blur(8px)}
 body[data-hero-visible="true"] :is(.navigation,.menu-toggle){color:#49392c}
 body[data-hero-visible="true"] .navigation.is-open{background:#e7d9c6}
 body[data-hero-visible="true"] .page-footer{color:#f6f0e6;background:linear-gradient(180deg,transparent,rgba(40,28,20,.22))}
}
@media(max-height:580px) and (min-width:761px){
 #opening.opening .chapter-content{width:42%;margin-bottom:0}
 #opening.opening .hero-origin{font-size:22px}#opening.opening .hero-year{font-size:76px}
 #opening.opening .hero-provenance{font-size:12px;margin-top:18px}
 #opening.opening .chapter-description{font-size:20px;line-height:1.55;margin-top:8px}
 #opening.opening .chapter-link{font-size:12px;margin-top:19px;min-height:44px}
}
@media(prefers-reduced-motion:reduce){
 #opening.opening .hero-plane{transition:none;transform:scale(1.025);will-change:auto}
 #opening.opening .hero-daylight{transition:none;transform:none}
 #opening.opening .hero-daylight>div{animation:none!important;will-change:auto}
 #opening.opening .hero-window-light{opacity:.35}#opening.opening .hero-window-shadow{opacity:.25}#opening.opening .hero-light-wash{opacity:.35}
 #opening.opening .chapter-link{transition:none}
}
