/* A visible, interactive page with a brief golden brand entrance. */
.pub.ivme-arriving .brand { animation: ivme-logo-arrive 1000ms cubic-bezier(.16,1,.3,1) both; }
.pub.ivme-arriving .header-campaign { animation: ivme-copy-arrive 800ms 100ms cubic-bezier(.16,1,.3,1) both; }
.pub.ivme-arriving .form-aside { animation: ivme-panel-arrive 900ms 80ms cubic-bezier(.16,1,.3,1) both; }
.pub.ivme-arriving .form-card { animation: ivme-panel-arrive 1000ms 180ms cubic-bezier(.16,1,.3,1) both; }
.pub.ivme-arriving .form-card.mascot-framed:after { transform-origin: left; animation: ivme-gold-reveal 1200ms 300ms cubic-bezier(.16,1,.3,1) both; }
.pub.ivme-arriving .form-aside h1 em { background-size: 100% 100%; animation: ivme-highlight 1100ms 200ms ease-out both; }
@keyframes ivme-logo-arrive { from { opacity: .7; transform: translateY(5px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes ivme-copy-arrive { from { opacity: .7; transform: translateX(-8px); } to { opacity: 1; transform: none; } }
@keyframes ivme-panel-arrive { from { opacity: .8; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes ivme-gold-reveal { from { transform: scaleX(.2); opacity: .5; } to { transform: scaleX(1); opacity: 1; } }
@keyframes ivme-highlight { from { background-size: 20% 100%; } to { background-size: 100% 100%; } }
@media(prefers-reduced-motion:reduce) {
  .pub.ivme-arriving :is(.brand,.header-campaign,.form-aside,.form-card) { animation: ivme-gentle-arrive 350ms ease-out both; }
  .pub.ivme-arriving .form-card.mascot-framed:after,.pub.ivme-arriving .form-aside h1 em { animation: none; }
  @keyframes ivme-gentle-arrive { from { opacity: .88; } to { opacity: 1; } }
}

/* The supplied transparent film plays within the information card, beside the form. */
.welcome-logo-film { position: relative; width: 100%; height: 172px; margin: -8px 0 20px; overflow: hidden; background: transparent; }
.welcome-logo-film > img { position: absolute; width: 100%; height: 100%; object-fit: contain; transition: opacity .25s ease; }
.welcome-logo-film > video { position: absolute; top: 50%; left: 50%; width: 165%; max-width: none; height: auto; transform: translate(-50%,-50%); opacity: 0; background: transparent; pointer-events: none; transition: opacity .25s ease; filter: drop-shadow(0 1px 0 #667181); }
.welcome-logo-film.is-playing > video { opacity: 1; }
.welcome-logo-film.is-playing > img { opacity: 0; }
@media(max-width:760px) { .welcome-logo-film { height: 150px; margin-bottom: 16px; } }

/* Full-screen brand opening, with a visible skip action and an automatic exit. */
.ivme-opening { position: fixed; inset: 0; z-index: 100000; display: grid; place-items: center; background: transparent; color: #141414; border: 0; pointer-events: none; opacity: 1; transition: opacity .4s ease,visibility .4s ease; animation: ivme-opening-failsafe .01s 12.5s forwards; }

.ivme-opening-content { width: min(700px,90vw); text-align: center; margin-top: -20px; }
.ivme-opening-stage { width: 100%; height: clamp(200px,36vw,390px); position: relative; overflow: hidden; }
.ivme-opening-poster { position: absolute; width: 100%; height: 100%; inset: 0; object-fit: contain; transition: opacity .2s ease; }
.ivme-opening .ivme-opening-animation { position: absolute; top: 50%; left: 50%; width: 165%; max-width: none; height: auto; transform: translate(-50%,-50%); opacity: 0; background: transparent; filter: url(#ivme-black-ink); transition: opacity .2s ease; }
.ivme-opening.is-playing .ivme-opening-animation { opacity: 1; }
.ivme-opening.is-playing .ivme-opening-poster { opacity: 0; }
.ivme-opening-tagline { margin: 25px 0 12px; font-size: clamp(20px,2.5vw,29px); letter-spacing: -.035em; color: #263144; }
.ivme-opening-tagline strong { font-weight: 750; text-decoration: underline; text-decoration-color: #1cdf66; text-decoration-thickness: 4px; text-underline-offset: 6px; }
.ivme-opening-location { font-size: 10px; letter-spacing: .27em; color: #687284; }
.ivme-opening-progress { width: 138px; height: 3px; margin: 28px auto 0; overflow: hidden; border-radius: 3px; background: #e7e8eb; }
.ivme-opening-progress span { display: block; height: 100%; width: 100%; background: #1cdf66; transform-origin: left; animation: ivme-opening-progress 9s linear both; }
.ivme-opening-skip { pointer-events: auto; position: absolute; right: max(22px,env(safe-area-inset-right)); top: max(22px,env(safe-area-inset-top)); display: inline-flex; align-items: center; gap: 12px; background: #fff; border: 1px solid #b6e0c6; border-radius: 999px; padding: 11px 19px; font: 600 12px/1.2 Inter,"Segoe UI",sans-serif; color: #0c612c; cursor: pointer; }
.ivme-opening-skip:hover { background: #e4fced; border-color: #1cdf66; }
.ivme-opening-skip:focus-visible { outline: 2px solid #14a049; outline-offset: 4px; }
.ivme-opening.is-leaving { opacity: 0; visibility: hidden; pointer-events: none; }
@keyframes ivme-opening-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes ivme-opening-failsafe { to { visibility: hidden; opacity: 0; pointer-events: none; } }
@media(prefers-reduced-motion:reduce) { .ivme-opening,.ivme-opening .ivme-opening-animation,.ivme-opening-poster { transition: none; } .ivme-opening-progress span { animation: none; } }
@media(max-width:600px) { .ivme-opening-content { width: 92vw; } .ivme-opening-stage { height: 230px; } .ivme-opening-skip { padding: 10px 15px; } }
