/* Brand opening and supplied reference video. Later demo effects remain separate. */
html.start-opening, html.start-opening body { background: #fff; }
html.start-opening body { overflow: hidden; }
html.start-opening #app { visibility: hidden; }
.start-experience {
  --onb-ink: #11100f;
  --start-reveal-ease: cubic-bezier(.22, 1, .36, 1);
  position: fixed;
  inset: 0;
  z-index: 140;
  background: #fff;
  color: #11100f;
  overflow: auto;
  overscroll-behavior: contain;
  font-family: var(--sans, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);
}
.start-experience[hidden], .start-actions[hidden] { display: none; }
.start-brand-position {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  transform: translateY(-50%);
  transition: top 1000ms cubic-bezier(.22,.8,.25,1), transform 1000ms cubic-bezier(.22,.8,.25,1);
}
.start-brand-title {
  margin: 0 auto;
  width: fit-content;
  max-width: calc(100% - 32px);
  font-family: var(--serif, Didot, "Bodoni MT", "Times New Roman", serif);
  font-size: clamp(26px, 9.2vw, 58px);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -.045em;
  text-align: center;
  transform-origin: top center;
  transition: transform 1000ms cubic-bezier(.22,.8,.25,1);
}
.start-line { display: block; white-space: nowrap; }
.start-second { margin-top: .48em; }
.start-word { display: inline-block; opacity: 0; transform: translateY(15px); transition: opacity 800ms var(--start-reveal-ease), transform 800ms var(--start-reveal-ease); }
.start-word.is-visible { opacity: 1; transform: translateY(0); }
.start-space { white-space: pre; }
.start-wordmark { display: inline-block; transition: letter-spacing 420ms ease; }
.start-experience.is-branded .start-wordmark { letter-spacing: -.065em; }
.start-brand-gap { display: inline-block; width: .22em; overflow: hidden; vertical-align: bottom; transition: width 420ms ease; }
.start-pink { color: #11100f; transition: color 400ms ease-in-out; }
.start-experience.is-branded .start-brand-gap { width: 0; }
.start-experience.is-branded .start-pink { color: #e93e6b; }
.start-experience.is-emphasizing .start-wordmark { animation: start-brand-emphasis 480ms cubic-bezier(.22,.8,.25,1) both; }
.start-experience.is-settled .start-brand-position { top: max(24px, calc(env(safe-area-inset-top) + 16px)); transform: translateY(0); }
.start-experience.is-settled .start-brand-title { transform: scale(.88); }
.start-actions { position: absolute; bottom: max(24px, calc(env(safe-area-inset-bottom) + 16px)); left: 50%; transform: translateX(-50%); width: min(540px, calc(100% - 48px)); display: grid; gap: 12px; }
.start-actions [data-start-action] { animation: start-actions-enter 800ms var(--start-reveal-ease) backwards; }
.start-actions [data-start-action="signIn"] { animation-delay: 160ms; }
.start-actions .onb-primary { min-height: 58px; }
.start-sign-in { min-height: 44px; border: 0; background: transparent; padding: 8px 0; color: #817870; font: inherit; font-size: 13px; cursor: pointer; }
.start-sign-in span { color: #11100f; font-weight: 650; text-decoration: underline; text-underline-offset: 3px; }
.start-status { margin: 0; color: #6f6258; font-size: 12px; line-height: 1.5; text-align: center; }
.start-status:empty { display: none; }
.start-actions button:focus-visible { outline: 2px solid #11100f; outline-offset: 4px; }
.start-actions button:disabled { opacity: .5; cursor: wait; }
.start-reference { position: absolute; top: 190px; height: max(80px, min(480px, calc(100dvh - 360px))); aspect-ratio: 2 / 3; left: 50%; transform: translateX(-50%); opacity: 0; visibility: hidden; pointer-events: none; border-radius: 22px; overflow: hidden; box-shadow: 0 8px 24px rgba(42,32,25,.065); transition: opacity 800ms var(--start-reveal-ease); }
.start-reference.is-visible { opacity: 1; visibility: visible; }
.start-reference-canvas { position: absolute; top: 0; left: 50%; height: 100%; transform: translateX(-50%); }
.start-reference-image { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.start-reference-video { position: relative; display: block; width: 100%; height: 100%; object-fit: contain; opacity: 0; }
.start-reference.has-video-frame .start-reference-video { opacity: 1; }
.start-video-play { position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); min-height: 44px; padding: 10px 18px; border: 0; border-radius: 10px; background: #fff; color: #11100f; font: inherit; white-space: nowrap; cursor: pointer; }
.start-video-play[hidden] { display: none; }
@keyframes start-brand-emphasis { 0%, 100% { transform: translateY(0) scale(1); } 45% { transform: translateY(-5px) scale(1.025); } }
@keyframes start-actions-enter { from { opacity: 0; transform: translateY(15px); } to { opacity: 1; transform: translateY(0); } }
@media (max-height: 450px) { .start-experience.is-settled .start-brand-position { top: 24px; } .start-actions { bottom: 12px; gap: 3px; } }
@media (prefers-reduced-motion: reduce) {
  .start-brand-position, .start-brand-title, .start-brand-gap, .start-pink, .start-wordmark, .start-word, .start-reference { transition: none; }
  .start-experience.is-emphasizing .start-wordmark, .start-actions [data-start-action] { animation: none; }
}
