/* V3 opening. V1 and V2 stylesheets stay unchanged. */
html.intro-pending { overflow: hidden; }
html.intro-pending, html.intro-pending body { background: #000; }
html.intro-pending:not(.intro-revealing) .home-page > :not(.opening-intro) { visibility: hidden; }
.opening-intro { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; overflow: hidden; background: #000; color: var(--ink, #f3f1ea); opacity: 1; transition: opacity 420ms ease; }
.opening-intro::backdrop { background: #000; transition: background-color 420ms ease; }
.opening-intro.is-leaving { opacity: 0; }
.opening-intro.is-leaving::backdrop { background: transparent; }
.opening-intro canvas { display: block; width: 100%; height: 100%; background: #000; cursor: crosshair; touch-action: manipulation; }
.opening-intro__description { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
/* the lockup arrives once the globe has resolved */
.opening-intro__brand { position: absolute; left: 50%; top: 79%; display: flex; flex-direction: column; align-items: center; gap: 1rem; transform: translate(-50%, 0); pointer-events: none;
  opacity: 0; animation: intro-brand 1.2s cubic-bezier(.2, .7, .2, 1) 2.4s forwards; }
.opening-intro__brand img { width: clamp(15rem, 26vw, 23.75rem); height: auto; }
.opening-intro__brand p { font: 500 0.6562rem/1.5 var(--mono, ui-monospace, monospace); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3, #8d9296); white-space: nowrap; }
@keyframes intro-brand { from { opacity: 0; transform: translate(-50%, 0.625rem); } to { opacity: 1; transform: translate(-50%, 0); } }
.opening-intro__records { position: absolute; left: max(1.75rem, env(safe-area-inset-left)); bottom: max(1.875rem, env(safe-area-inset-bottom)); margin: 0; padding: 0; list-style: none;
  font: 500 0.6562rem/1.8 var(--mono, ui-monospace, monospace); letter-spacing: .06em; color: var(--accent, #b9d5d6); pointer-events: none; }
.opening-intro__records li:not(:last-child) { opacity: .45; }
/* a quiet text link, not a button block */
.opening-intro__skip { position: absolute; right: max(1.75rem, env(safe-area-inset-right)); bottom: max(1.75rem, env(safe-area-inset-bottom));
  display: inline-flex; align-items: center; gap: 0.5rem; min-height: 2rem; padding: 0 0 2px; border: 0; border-bottom: 1px solid rgba(243, 241, 234, .22); background: none;
  font: 500 0.625rem/1 var(--mono, ui-monospace, monospace); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2, #c9ccce); cursor: pointer;
  /* starts at 1% rather than 0: it looks the same, but the browser then has real content to
     report as painted from the first frame (a canvas alone is not always counted) */
  opacity: .01; animation: intro-brand-skip .8s ease 1.2s forwards; transition: color .2s, border-color .2s; }
.opening-intro__skip i { font-style: normal; transition: transform .2s; }
.opening-intro__skip:hover, .opening-intro__skip:focus-visible { color: var(--accent, #b9d5d6); border-color: var(--accent, #b9d5d6); outline: none; }
.opening-intro__skip:hover i { transform: translateX(0.1875rem); }
@keyframes intro-brand-skip { to { opacity: 1; } }
@media (max-width: 600px) {
  .opening-intro__brand { top: 74%; }
  .opening-intro__brand p { white-space: normal; text-align: center; max-width: 26ch; }
  /* the trace log moves to the top so it never meets the lockup; only the last three lines */
  .opening-intro__records { left: 1rem; top: max(1.125rem, env(safe-area-inset-top)); bottom: auto; font-size: 0.625rem; }
  .opening-intro__records li:nth-last-child(n+4) { display: none; }
  .opening-intro__skip { right: 1rem; bottom: 1rem; }
}
@media (prefers-reduced-motion: reduce) { .opening-intro, .opening-intro::backdrop { transition: none; } .opening-intro__brand, .opening-intro__skip { animation: none; opacity: 1; } }
