/* Tangent intro — abstract constellation → mark (no UI chrome) */

body.intro-active {
  overflow: hidden;
}
body.intro-active > *:not(#intro) {
  visibility: hidden;
}

#intro {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: #faf7f2;
  isolation: isolate;
  transition: opacity 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}
#intro.intro--out {
  opacity: 0;
  pointer-events: none;
}

#intro-canvas {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 0;
}

.intro-thoughts {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.intro-thought {
  position: absolute;
  max-width: min(168px, 38vw);
  padding: 10px 13px 11px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(232, 223, 208, 0.95);
  border-radius: 14px;
  box-shadow: 0 6px 22px rgba(42, 31, 20, 0.07);
  opacity: 0;
  will-change: opacity, transform;
}
.intro-thought::after {
  content: '';
  position: absolute;
  bottom: -6px;
  width: 10px;
  height: 10px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(232, 223, 208, 0.95);
  border-top: none;
  border-left: none;
  transform: rotate(45deg);
}
.intro-thought--right::after {
  left: 18px;
}
.intro-thought--left::after {
  right: 18px;
}

.intro-thought-tag {
  display: block;
  font: 500 9px/1 'Inter', system-ui, sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9c3f4f;
  margin-bottom: 5px;
}
.intro-thought-text {
  margin: 0;
  font: 400 12px/1.45 'Inter', system-ui, sans-serif;
  color: #4a3d32;
  font-style: italic;
}

@media (max-width: 520px) {
  .intro-thought {
    max-width: 132px;
    padding: 8px 10px 9px;
  }
  .intro-thought-text {
    font-size: 11px;
  }
}

.intro-footer {
  position: absolute;
  left: 50%;
  bottom: 11%;
  transform: translateX(-50%) translateY(12px);
  text-align: center;
  opacity: 0;
  will-change: opacity, transform;
  pointer-events: none;
  z-index: 2;
}
.intro-footer-coming {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #c76a77;
  margin-bottom: 10px;
}
.intro-footer-mark {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(32px, 7vw, 44px);
  font-weight: 500;
  letter-spacing: -0.03em;
  color: #2a1f14;
}
.intro-footer-tag {
  font-family: 'Fraunces', Georgia, serif;
  font-style: italic;
  font-size: 14px;
  color: #a89880;
  margin-top: 8px;
}

.intro-skip {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 3;
  font: 500 13px/1 'Inter', system-ui, sans-serif;
  color: #6b5c4a;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid #e8dfd0;
  border-radius: 999px;
  padding: 9px 16px;
  cursor: pointer;
  backdrop-filter: blur(8px);
}
.intro-skip:hover {
  color: #9c3f4f;
}

.intro-progress {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: rgba(232, 223, 208, 0.5);
  z-index: 3;
}
.intro-progress-bar {
  height: 100%;
  width: 0;
  background: #9c3f4f;
}
