/* The "Sunrise" wordmark (owner's choice, 22 Nov 2026) in the top bar, and the welcome (theme/opening.js).
   The drawing itself is theme/logo/sunrise.js, generated by tools/make-logo.rb; swap the logo there, not here. */

/* ---- top bar: the wordmark replaces the plain word; the h1 keeps the name as text for screen readers and search ---- */
.bar-title.brand { line-height: 0; }
.brand-wm { display: inline-flex; color: var(--ink); transition: opacity .3s ease; }
.orso-wm { display: block; block-size: 36px; inline-size: auto; overflow: visible; }
@media (max-width: 599px) { .brand-wm .orso-wm { block-size: 32px; } }
@media (max-width: 374px) { .brand-wm .orso-wm { block-size: 28px; } }
/* while the welcome plays, its own wordmark stands in for this one (it lands exactly here, then this one shows) */
html.orso-opening .brand-wm { opacity: 0; transition: none; } /* fades in when the welcome ends (UX gate 356, 10) */

/* ---- the welcome (theme/opening.js): the 3D Sunrise film the owner chose, over the whole screen, then the page. The cover is
   the film's own background colour (no seam at the edges); the film's first frame fades in as a picture, and the film, laid
   exactly over it, starts from that frame ---- */
.orso-open { position: fixed; inset: 0; z-index: 2147480000; background: #1B100E; cursor: default; }
.orso-open video, .orso-open img { position: absolute; inset: 0; display: block; inline-size: 100%; block-size: 100%; object-fit: cover; }
.orso-open img { opacity: 0; transition: opacity .2s ease; }
.orso-open img.in { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .orso-open img { transition: none; } }
/* ---- leaving a page for one that plays the welcome (pages.js): the page fades to the film's dark colour first, so the two
   join without a cut (the owner's reference: Option C, landing page to waiting list) ---- */
.orso-leave { position: fixed; inset: 0; z-index: 2147480000; background: #1B100E; opacity: 0; transition: opacity .22s ease; pointer-events: none; }
.orso-leave.on { opacity: 1; }
