/* Home page: app icon hero, what Canvas does, the waitlist. Nothing else. */

/* Hero: app icon, name, one line. Centred on paper ------------------------ */
.hero {
  min-height: 92svh; display: grid; place-content: center; justify-items: center; text-align: center;
  padding: var(--s-12) var(--gutter) var(--s-16); overflow-x: clip;
}
.hero-icon { --size: min(540px, 64svh, 96vw); width: var(--size); aspect-ratio: 1; margin: calc(var(--size) * -0.12) 0 calc(var(--size) * -0.2); pointer-events: none; }
.hero-video { display: block; width: 100%; height: 100%; object-fit: contain; mask-image: radial-gradient(closest-side, #000 82%, transparent); -webkit-mask-image: radial-gradient(closest-side, #000 82%, transparent); }
.hero-name {
  font-size: clamp(64px, 11vw, 152px); font-weight: 800; line-height: 0.9; letter-spacing: -0.02em;
  font-variation-settings: "ROND" var(--rond-heading); margin-bottom: var(--s-5);
}
.hero-line { max-width: 34ch; color: var(--ink-2); text-wrap: balance; }
.hero-cta { display: grid; justify-items: center; gap: var(--s-3); margin-top: var(--s-8); }

.js .hero-icon, .js .hero-name, .js .hero-line, .js .hero-cta { opacity: 0; transform: translateY(20px); animation: rise 1000ms var(--ease-out) forwards; }
.js .hero-name { animation-delay: 150ms; }
.js .hero-line { animation-delay: 300ms; }
.js .hero-cta { animation-delay: 450ms; }
@keyframes rise { to { opacity: 1; transform: none; } }

@media (max-width: 760px) {
  .hero { min-height: 0; padding-top: var(--s-8); }
}

/* What it does: one real recording ---------------------------------------- */
.what { padding-top: var(--s-8); }
.clip { margin: 0; }
.film {
  display: block; width: 100%; height: auto; aspect-ratio: 1600 / 790;
  border-radius: var(--r-xl); background: var(--paper-2);
  box-shadow: var(--shadow-window);
}
@media (max-width: 760px) {
  .film { border-radius: var(--r-md); }
}

/* Waitlist ---------------------------------------------------------------- */
.join-section { padding-top: 0; }
.join { display: grid; justify-items: center; gap: var(--s-8); text-align: center; }
.join-title { text-wrap: balance; }
.join-line { color: var(--ink-2); margin-top: calc(-1 * var(--s-5)); }
.join .waitlist { max-width: 480px; }
.join .waitlist-note { justify-content: center; }

/* Reveal on scroll -------------------------------------------------------- */
.js [data-reveal] { opacity: 0; transform: translateY(32px); transition: opacity 800ms var(--ease-out), transform 1000ms var(--ease-out); }
.js [data-reveal].in { opacity: 1; transform: none; }

/* Reduced motion: everything in place, videos hold their poster */
@media (prefers-reduced-motion: reduce) {
  .js .hero-icon, .js .hero-name, .js .hero-line, .js .hero-cta, .js [data-reveal] { opacity: 1; transform: none; animation: none; transition: none; }
}
