/* V31 – logo journey and unobtrusive interaction polish. The poster and form rules are unchanged. */
.site-header .site-brand{width:auto;min-width:100px;align-self:stretch;display:flex;align-items:center;opacity:0;transform:translateY(-5px) scale(.97);transform-origin:left center;transition:opacity .16s ease, transform .26s ease;pointer-events:none}
.site-header.v31-brand-settled .site-brand{opacity:1;transform:none;pointer-events:auto}
.v31-flying-logo{position:fixed;left:0;top:0;z-index:52;pointer-events:none;opacity:0;transform-origin:top left;will-change:transform,opacity;transition:none;contain:layout style}
.v31-flying-logo img{display:block;width:100%;height:auto;filter:drop-shadow(0 2px 6px rgba(12,30,80,.13))}
/* The photo is still fully clickable, but has no badge or emoji overlay. */
.v30-zoom-icon{display:none!important}
.v30-photo-open:active img{filter:saturate(1.08) brightness(1.04)!important}
.v29-photo{transition:box-shadow .45s cubic-bezier(.2,.7,.2,1)}
.v29-photo:has(.v30-photo-open:hover){box-shadow:0 20px 36px rgba(44,43,100,.20)}
/* The dock chapter label now reacts visibly to every scroll-activated section. */
.v30-chapter-title.v31-title-switch{animation:v31TitleSlide .36s cubic-bezier(.2,.75,.2,1)}
@keyframes v31TitleSlide{0%{opacity:.35;transform:translateY(5px)}100%{opacity:1;transform:translateY(0)}}
/* Quiet tactile feedback on the existing four interactive highlights. */
.v30-highlight-trigger{position:relative;-webkit-tap-highlight-color:transparent}
.v30-highlight-trigger:active .v29-icon{transform:scale(.93)!important;filter:drop-shadow(0 0 12px #ffbc9a88)}
.v30-highlight-detail[data-open="true"] .v30-highlight-detail-inner{animation:v31DetailAppear .42s ease both}
@keyframes v31DetailAppear{from{opacity:.4;transform:translateY(-6px)}to{opacity:1;transform:none}}
/* Photo switching inside existing lightbox; no badges on source photographs. */
.v31-lightbox-switch{display:flex;align-items:center;justify-content:center;gap:26px;margin:14px 0 0}
.v31-lightbox-switch button{border:1px solid rgba(255,224,195,.42);color:#ffead5;background:rgba(255,255,255,.06);width:37px;height:37px;border-radius:50%;font-size:19px;cursor:pointer;transition:transform .2s ease,background .2s ease}
.v31-lightbox-switch button:hover{transform:scale(1.09);background:rgba(255,255,255,.16)}
.v31-lightbox-switch button:active{transform:scale(.94)}
.v31-lightbox-switch span{font:italic 12px Georgia,serif;letter-spacing:.18em;color:#fff9}
.v30-lightbox img.v31-photo-switching{animation:v31LightboxSwitch .36s ease both}
@keyframes v31LightboxSwitch{0%{opacity:.4;transform:translateY(5px) scale(.98)}100%{opacity:1;transform:none}}
/* Image reveal: softer arrival without additional blocks, background changes or decoration. */
@media(prefers-reduced-motion:no-preference){
 .motion-ready .v29-split .v29-photo{clip-path:inset(0 0 10% 0 round 25px);opacity:.72;transition:clip-path .9s cubic-bezier(.17,.7,.2,1),opacity .8s ease,box-shadow .45s ease}
 .motion-ready .v29-split.is-visible .v29-photo{clip-path:inset(0 0 0 0 round 25px);opacity:1}
}
@media(max-width:780px){.site-header .site-brand{min-width:93px}.v31-flying-logo img{filter:drop-shadow(0 1px 4px rgba(10,29,71,.15))}.v31-lightbox-switch{margin:9px 0 0;gap:22px}.v31-lightbox-switch button{width:34px;height:34px}}
@media(prefers-reduced-motion:reduce){.site-header .site-brand,.v31-lightbox-switch button,.v29-photo{transition:none!important}.v30-chapter-title.v31-title-switch,.v30-lightbox img.v31-photo-switching,.v30-highlight-detail[data-open="true"] .v30-highlight-detail-inner{animation:none!important}}
