/* Holding page (teaser.html): copy left, the 3D board right; stacked on phones. Tokens come from hero.css. */
.tease { position: relative; min-height: 100dvh; overflow: clip; isolation: isolate; }

/* top bar: brand mark and the night-mode toggle, nothing else (there is no site to navigate yet) */
.tease__bar { position: fixed; z-index: 5; top: 0; left: 0; right: 0; display: flex; align-items: center; justify-content: space-between; padding: 22px clamp(20px, 4vw, 40px); pointer-events: none; }
.tease__bar > * { pointer-events: auto; }
.tease__brand { display: flex; align-items: center; gap: 11px; height: 36px; font-weight: 600; font-size: 21px; letter-spacing: -0.015em; }
.tease__brand .mark { height: 30px; }
.tease__bar .nav__theme { margin: 0; background: var(--surface-glass); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }

/* the board fills the section behind the copy; the scene places it in the right 60% */
.tease__stage { position: absolute; inset: 0 0 0 33%; z-index: 0; } /* same stage box as the home hero, so the framing matches */
.tease__stage canvas { display: block; opacity: 0; transition: opacity 700ms ease; }
body[data-ready] .tease__stage canvas { opacity: 1; }

.tease__copy {
  position: relative; z-index: 2; pointer-events: none;
  display: flex; flex-direction: column; justify-content: center; gap: 26px;
  min-height: 100dvh; padding: 96px 0 96px clamp(24px, 6vw, 96px);
  width: calc(min(560px, 44vw) + clamp(24px, 6vw, 96px));
}
.tease__copy .btns { pointer-events: auto; }
/* the label mark: a blue piece with the agent glyph, its tab plugging into the words */
.tease__badge { display: inline-flex; align-items: center; gap: 9px; margin-bottom: -2px; font-size: 15px; font-weight: 500; letter-spacing: -0.005em; color: var(--ink-2); }
.tease__piece { display: block; flex: none; filter: drop-shadow(0 6px 10px rgba(31, 75, 255, 0.22)); }
.tease__h { margin: 0; font-weight: 600; letter-spacing: -0.04em; line-height: 1; font-size: clamp(38px, 4.5vw, 66px); text-wrap: balance; }
.tease__stage .stream { pointer-events: none; }
.tease__cap { position: absolute; z-index: 2; right: clamp(20px, 4vw, 40px); bottom: 26px; margin: 0; opacity: 0; transform: translateY(6px); transition: opacity 700ms ease, transform 700ms var(--ease-out); }
body[data-solved] .tease__cap { opacity: 1; transform: none; }

/* name stamps as pieces land */
.label--stamp { visibility: hidden; opacity: 0; }
.stamp { display: inline-flex; align-items: center; gap: 7px; height: 28px; padding: 0 10px 0 8px; border-radius: 8px; background: var(--surface-glass); border: 1px solid var(--rule); box-shadow: var(--shadow-card); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  font-family: var(--sans); font-size: 13px; font-weight: 500; letter-spacing: -0.005em; text-transform: none; color: var(--ink); }
.stamp .ic { color: var(--electric); }

@media (max-width: 900px) {
  .tease { display: flex; flex-direction: column; }
  .tease__copy { width: auto; max-width: 560px; min-height: 0; justify-content: flex-start; gap: 18px; padding: 104px 20px 0; }
  .tease__h { font-size: clamp(36px, 10.4vw, 52px); }
  .tease__copy .tagline { font-size: 19px; }
  .tease__stage { position: relative; inset: auto; height: clamp(260px, 80vw, 460px); margin-top: 4px; }
  .tease__cap { position: static; margin: 0 20px 22px; }
}
@media (max-width: 380px) { .tease__copy { padding-top: 92px; } }

@media (prefers-reduced-motion: reduce) {
  .tease__stage canvas { transition: opacity 200ms ease; }
  .tease__cap { transition: opacity 200ms ease; transform: none; }
}
