/* Original arc sequence, using the current warm-paper palette. */

.brand-intro {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 80px 24px;
  background: var(--bg);
  animation: intro-exit 4500ms linear both;
}

.intro-stage { width: 100%; text-align: center; }
.intro-mark { width: clamp(132px, 22vw, 176px); height: auto; overflow: visible; }
.intro-curve {
  stroke: var(--text);
  stroke-width: 4.5;
  stroke-linecap: round;
  stroke-dasharray: 1;
  animation: intro-draw 1000ms cubic-bezier(.22,.61,.36,1) 80ms both;
}
.intro-descent {
  stroke: var(--muted-2);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 5 7;
  animation: intro-reveal 360ms ease 1140ms both;
}
.intro-point {
  fill: var(--accent);
  transform-box: fill-box;
  transform-origin: center;
  animation: intro-point 400ms cubic-bezier(.16,1,.3,1) 1080ms both;
}
.intro-name {
  margin: 24px 0 0;
  color: var(--text);
  font-family: inherit;
  font-size: clamp(28px, 5vw, 42px);
  font-weight: 600;
  letter-spacing: -.045em;
  animation: intro-reveal 440ms ease 1480ms both;
}
.intro-line {
  margin: 15px 0 0;
  color: var(--muted);
  font-size: clamp(14px, 2.5vw, 17px);
  line-height: 1.5;
  animation: intro-reveal 420ms ease 2130ms both;
}
.intro-skip {
  position: absolute;
  top: max(20px, env(safe-area-inset-top));
  right: max(20px, env(safe-area-inset-right));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--text);
  background: var(--bg);
  font-size: 13px;
}
.intro-skip:hover { color: var(--text); border-color: var(--muted); }
.intro-skip:focus-visible { outline: 2px solid var(--text); outline-offset: 5px; }

@keyframes intro-draw {
  from { stroke-dashoffset: 1; opacity: 0; }
  8% { opacity: 1; }
  to { stroke-dashoffset: 0; opacity: 1; }
}
@keyframes intro-point {
  from { opacity: 0; transform: scale(.65); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes intro-reveal {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes intro-exit {
  0%, 91% { opacity: 1; visibility: visible; }
  99% { opacity: 0; visibility: visible; }
  100% { opacity: 0; visibility: hidden; pointer-events: none; }
}
@media (prefers-reduced-motion: reduce) {
  .brand-intro { display: none; }
}

