.brand-intro {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  place-items: center;
  isolation: isolate;
  overflow: hidden;
  background: var(--studio-bg);
  color: var(--studio-text);
  opacity: 1;
  touch-action: none;
  overscroll-behavior: contain;
}
:root[data-intro] .brand-intro { display: grid !important; }
:root[data-intro="pending"] .brand-intro * { animation-play-state: paused; }
:root[data-intro="exiting"] .brand-intro { opacity: 0; transition: opacity 400ms cubic-bezier(.4, 0, .2, 1); }
.intro-flow { position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: .65; animation: intro-flow-arrive 1100ms ease both; }
.intro-flow .hero-flow-canvas { display: block; pointer-events: none; }
.intro-guides { position: absolute; inset: 0 12.5%; z-index: 1; display: flex; justify-content: space-between; pointer-events: none; }
.intro-guides span { width: 1px; height: 100%; background: var(--studio-line); opacity: .35; transform: scaleY(0); animation: intro-guide 1200ms cubic-bezier(.22, 1, .36, 1) both; }
.intro-guides span:nth-child(2) { animation-delay: 100ms; }
.intro-guides span:nth-child(3) { animation-delay: 200ms; }
.intro-focus { position: relative; z-index: 2; width: min(640px, calc(100% - 64px)); text-align: center; }
.intro-signature { display: block; font: 12px/1.5 'Courier New', monospace; color: var(--studio-muted); margin-bottom: 30px; animation: intro-reveal 700ms 100ms both; }
.intro-frame { position: relative; min-height: 200px; display: grid; place-items: center; padding: 28px; }
.intro-corner { position: absolute; width: 28px; height: 28px; color: var(--studio-accent); animation: intro-focus 1100ms cubic-bezier(.22, 1, .36, 1) both; }
.intro-corner-tl { top: 0; left: 0; border-top: 1px solid; border-left: 1px solid; --intro-x: -35px; --intro-y: -24px; }
.intro-corner-tr { top: 0; right: 0; border-top: 1px solid; border-right: 1px solid; --intro-x: 35px; --intro-y: -24px; }
.intro-corner-bl { bottom: 0; left: 0; border-bottom: 1px solid; border-left: 1px solid; --intro-x: -35px; --intro-y: 24px; color: var(--studio-silver); }
.intro-corner-br { bottom: 0; right: 0; border-bottom: 1px solid; border-right: 1px solid; --intro-x: 35px; --intro-y: 24px; color: var(--studio-silver); }
.intro-wordmark { position: relative; z-index: 1; font: 400 68px/1.2 var(--display-font); white-space: nowrap; }
.intro-wordmark > span { display: inline-block; animation: intro-word 1000ms 180ms cubic-bezier(.22, 1, .36, 1) both; }
.intro-wordmark > span + span { color: var(--studio-accent); animation-delay: 340ms; }
.intro-period { color: var(--studio-silver); }
.intro-scan { position: absolute; inset: 50% 0 auto; height: 1px; background: var(--studio-accent); transform-origin: left; pointer-events: none; animation: intro-scan 1400ms 100ms cubic-bezier(.22, 1, .36, 1) both; }
.intro-rule { display: block; width: 52px; height: 1px; background: var(--studio-silver); margin: 36px auto 0; animation: intro-rule 800ms 600ms cubic-bezier(.22, 1, .36, 1) both; }
.intro-edition { position: absolute; z-index: 2; left: 40px; bottom: 32px; color: var(--studio-muted); font: 10px/1.5 'Courier New', monospace; }
.intro-skip { position: absolute; z-index: 2; right: 32px; top: 24px; min-width: 76px; min-height: 44px; padding: 10px 12px; color: var(--studio-muted); font-size: 12px; gap: 10px; }
.intro-skip:hover { color: var(--studio-accent); }
.intro-skip svg { width: 15px; height: 15px; }
@keyframes intro-guide { from { transform: scaleY(0); opacity: 0; } to { transform: scaleY(1); opacity: .35; } }
@keyframes intro-flow-arrive { from { opacity: 0; } to { opacity: .65; } }
@keyframes intro-focus { from { opacity: 0; transform: translate(var(--intro-x), var(--intro-y)); } to { opacity: 1; transform: translate(0, 0); } }
@keyframes intro-reveal { from { opacity: 0; } to { opacity: 1; } }
@keyframes intro-word { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@keyframes intro-scan {
  0% { opacity: 0; transform: translateY(-42px) scaleX(0); }
  35% { opacity: .4; transform: translateY(-42px) scaleX(1); }
  100% { opacity: 0; transform: translateY(60px) scaleX(1); }
}
@keyframes intro-rule { from { opacity: 0; transform: scaleX(0); } to { opacity: .6; transform: scaleX(1); } }
@media (max-width: 700px) {
  .intro-focus { width: calc(100% - 56px); }
  .intro-frame { min-height: 224px; padding: 24px 12px; }
  .intro-wordmark { font-size: 48px; }
  .intro-wordmark > span { display: block; }
  .intro-corner { width: 22px; height: 22px; }
  .intro-signature { margin-bottom: 24px; }
  .intro-rule { margin-top: 28px; }
  .intro-edition { left: 24px; bottom: 24px; }
  .intro-skip { right: 12px; top: 12px; }
}
@media (max-height: 500px) {
  .intro-frame { min-height: 156px; padding-block: 16px; }
  .intro-wordmark { font-size: 38px; }
  .intro-signature { margin-bottom: 16px; }
  .intro-rule { margin-top: 20px; }
  .intro-edition { bottom: 16px; font-size: 9px; }
}
@media (prefers-reduced-motion: reduce) {
  :root[data-intro] .brand-intro { display: none !important; transition: none; }
  .brand-intro * { animation: none; }
}
