/* Zenithy landing - scenes.css
 * Scene chrome shared by every scene: the copy column, the ambient colour fields,
 * and the visual slot. */

/* ---------- ambient colour fields (one per stage, colours from data-field) ---------- */
.field { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.field i {
  position: absolute; width: 82vmax; height: 82vmax; border-radius: 50%; will-change: transform;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--fc) calc(var(--fa) * 100%), transparent), transparent);
  animation: drift 28s ease-in-out infinite alternate;
}
.field i:nth-child(1) { --fc: var(--f1); left: -30vmax; top: -36vmax; translate: calc(var(--p, 0) * 16vw) calc(var(--p, 0) * 22vh); }
.field i:nth-child(2) { --fc: var(--f2); right: -34vmax; top: 6vmax; translate: calc(var(--p, 0) * -20vw) calc(var(--p, 0) * -14vh); animation-duration: 34s; animation-delay: -9s; }
.field i:nth-child(3) { --fc: var(--f3); left: 4vmax; bottom: -52vmax; translate: calc(var(--p, 0) * 22vw) calc(var(--p, 0) * -18vh); animation-duration: 31s; animation-delay: -17s; }
@keyframes drift { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(4vw, -3vh, 0) scale(1.1); } }

/* ---------- copy column ---------- */
.stage > .vis, .stage > .copy, .stage > .scroll-cue { position: absolute; }
.copy {
  z-index: 5; left: var(--gutter); top: 0; bottom: 0; width: min(var(--measure), 40vw);
  display: flex; flex-direction: column; justify-content: center; pointer-events: none;
}
.copy > * { pointer-events: auto; }
.copy .lead { margin-top: 22px; }
.copy h1, .copy h2 { text-wrap: balance; }
.vis { z-index: 2; pointer-events: none; }
.vis * { pointer-events: none; }

@media (max-width: 759px) {
  .copy { left: var(--gutter); right: var(--gutter); width: auto; top: calc(var(--topbar) + 10px); bottom: auto; justify-content: flex-start; }
  .copy .lead { margin-top: 14px; font-size: 1rem; max-width: 36ch; }
  .copy .eyebrow { margin-bottom: 12px; }
  .t-d1 { font-size: clamp(2.2rem, 9vw, 3.2rem); }
  .t-d2 { font-size: clamp(1.7rem, 8vw, 2.6rem); }
}

/* "ticks" list under the lead */
.ticks { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.ticks li {
  display: inline-flex; align-items: center; gap: 8px; min-height: 34px; padding: 0 14px 0 10px; border-radius: var(--r-full);
  background: color-mix(in srgb, var(--surface) 70%, transparent); box-shadow: inset 0 0 0 1px var(--line2);
  font-size: var(--fs-label-l); font-weight: 700; color: var(--ink-muted); font-variation-settings: 'ROND' 60;
}
.ticks li::before { content: ''; width: 16px; height: 16px; border-radius: 50%; background: var(--accent);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.4l3 3 6-6.4' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat; }
.ticks li::before { background: var(--accent-ink); }
