/* The preparation screen uses the same source wordmark and HOME geometry. */
.site-loader { display: none; }
html[data-preload=preparing], html[data-preload=preparing] body { overflow: hidden; }
html[data-preload=preparing] body > :not(.site-loader):not(script):not(noscript) { visibility: hidden; }
html[data-preload=preparing] :is(.brand-letter, .home-wordmark, .opening-camera, .opening-camera img, .palm-scene, .line > span) { animation: none !important; }
html[data-preload=preparing] .site-loader, html[data-preload=ready] .site-loader {
  display: grid; position: fixed; inset: 0; z-index: 10000; place-items: center;
  background: #eeeee8; color: #233a2e; opacity: 1;
  transition: opacity 360ms var(--ease-reveal);
}
html[data-preload=ready] .site-loader { opacity: 0; pointer-events: none; }
.loader-content { width: min(66vw, 310px); text-align: center; }
.loader-wordmark { display: block; width: 100%; height: auto; }
.loader-home { display: block; width: 52px; height: auto; margin: 13px auto 0; }
.loader-home path:not([fill="#e81b3e"]) { fill: #233a2e; }
.loader-status { margin: 58px -20px 20px; font-size: 11px; line-height: 1.5; letter-spacing: .035em; }
.loader-track { position: relative; height: 1px; background: #233a2e20; overflow: hidden; }
.loader-track::after { content: ''; position: absolute; inset: 0; background: #233a2e; transform: scaleX(var(--loaded, 0)); transform-origin: left; transition: transform 250ms ease-out; }
.loader-count { display: block; margin-top: 12px; font-size: 10px; font-variant-numeric: tabular-nums; letter-spacing: .12em; }
.loader-continue { display: block; margin: 27px auto 0; padding: 11px 20px; border: 1px solid #233a2e40; border-radius: 10px; font-size: 11px; background: transparent; color: inherit; cursor: pointer; }
.loader-continue[hidden], .site-loader[hidden] { display: none !important; }
.room-panel::after { content: ''; position: absolute; inset: 0; z-index: 3; border-radius: inherit; background: #000; opacity: var(--scene-dim, 0); pointer-events: none; }
/* Retain the choreography, but do not hold every offscreen image on a GPU layer. */
:is(.opening-frame, .opening-brand, .opening-bottom, .opening-camera img, .palm-scene, .word-reveal .word, .floating-photo, .room-panel, .room-panel > img, .room-panel > picture > img, .table-frame) { will-change: auto; }
.opening.is-motion-visible :is(.opening-frame, .opening-camera img, .palm-scene) { will-change: transform; }
.opening.is-motion-visible :is(.opening-brand, .opening-bottom) { will-change: transform, opacity; }
.opening:not(.is-motion-visible) :is(.opening-camera, .opening-camera img, .palm-scene) { animation-play-state: paused; }
.manifesto.is-motion-visible .floating-photo { will-change: transform; }
.room-journey.is-motion-visible :is(.room-panel, .room-panel > img, .room-panel > picture > img) { will-change: transform; }
.table-chapter.is-motion-visible .table-frame { will-change: clip-path; }
body[data-motion=reduced] .room-panel::after { opacity: 0; }
body[data-motion=reduced] :is(.opening-frame, .opening-brand, .opening-bottom, .opening-camera img, .palm-scene, .floating-photo, .room-panel, .room-panel > img, .room-panel > picture > img, .table-frame) { will-change: auto; }
body.modal-open :is(.opening-camera, .opening-camera img, .palm-scene) { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) { .site-loader, .loader-track::after { transition: none !important; } }
