html.brand-intro-active { overflow: hidden; }
html.brand-intro-active body > :not(.brand-intro) { visibility: hidden; }
.brand-intro {
  position: fixed;
  inset: 0;
  z-index: 2147483646;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #f5efe1;
  opacity: 1;
  outline: none;
  transition: opacity 180ms cubic-bezier(.165, .84, .44, 1);
}
.brand-intro video { position: absolute; inset: 0; display: block; width: 100%; height: 100%; min-width: 0; min-height: 0; max-width: none; max-height: none; object-fit: contain; object-position: center center; }
.brand-intro button {
  position: absolute;
  right: max(24px, env(safe-area-inset-right));
  bottom: max(24px, env(safe-area-inset-bottom));
  padding: 13px 24px;
  border: 1px solid #527a4630;
  border-radius: 43% 57% 48% 52% / 54% 42% 58% 46%;
  color: #264a27;
  background:
    radial-gradient(ellipse at 25% 65%, #91ae6e2b, transparent 70%),
    radial-gradient(ellipse at 75% 25%, #d6c27b26, transparent 75%),
    #f5efe112;
  box-shadow: inset 0 0 12px #74935d12, 0 2px 12px #3b542509;
  backdrop-filter: blur(4px);
  font: 500 14px/1.3 system-ui, sans-serif;
  cursor: pointer;
}
.brand-intro button:hover { border-color: #527a4670; }
.brand-intro button:focus-visible { outline: 2px solid #386b2d; outline-offset: 4px; }
.brand-intro-leaving { opacity: 0; pointer-events: none; }
/* Keep the complete wordmark visible on portrait screens, against the same
   cream background as the film so the fullscreen intro has no letterboxing. */
@media (max-aspect-ratio: 1/1) { .brand-intro video { object-fit: contain; } }
@media (prefers-reduced-motion: reduce) { .brand-intro { transition: none; } }
