@font-face {
  font-family: Outfit;
  src: url('/landing/assets/fonts/outfit.ttf') format('truetype');
  font-style: normal;
  font-weight: 100 900;
  font-display: block;
}
* { box-sizing: border-box; }
html, body { margin: 0; width: 100%; min-height: 100%; background: #fff; color: #080808; }
html { overflow-x: clip; }
html.intro-active { overflow: hidden; }
body { font-family: Outfit, sans-serif; overflow-x: clip; }
#hero { position: relative; width: 100%; height: 100svh; min-height: 420px; overflow: hidden; isolation: isolate; }
#photo-space { position: absolute; inset: 0; opacity: 0; }
#photo-space canvas { width: 100%; height: 100%; display: block; }
#headline-position { position: absolute; inset: 0; pointer-events: none; z-index: 2; opacity: 0; }
/* Match the approved artwork's ink bounds. Scale with the same limiting axis as the cards. */
h1 { position: absolute; left: 50.225%; top: 50.134%; width: min(36.3827vw, 64.8663svh); margin: 0; transform: translate(-50%, -50%); line-height: 0; }
.hero-lettering { display: block; width: 100%; height: auto; user-select: none; }
#wordmark { position: fixed; border: 0; padding: 0; margin: 0; background: none; cursor: pointer; z-index: 4; transform-origin: 0 0; }
#wordmark > svg { display: block; width: 100%; height: auto; overflow: hidden; }
#wordmark:focus-visible { outline: 2px solid #4747ff; outline-offset: 12px; border-radius: 4px; }
/* Figma AFF / Join Waitlist. Design preview only; no signup destination yet. */
#join-waitlist { position: fixed; top: 3.5svh; right: 3.17%; z-index: 4; display: flex; align-items: center; justify-content: center; width: 140px; height: 56px; padding: 0 24px; border: 0; border-radius: 50px; background: #3f4ff5; color: #fff; font: 400 17px/24px Outfit, sans-serif; letter-spacing: 0; white-space: nowrap; opacity: 0; visibility: hidden; transition: opacity .25s; }
body[data-state="ready"] #join-waitlist { opacity: 1; visibility: visible; }
#skip-intro { position: fixed; bottom: 28px; right: 32px; border: 0; background: #fff; color: #767676; font: 400 14px Outfit, sans-serif; padding: 10px; cursor: pointer; z-index: 6; opacity: 0; transition: opacity .2s; }
#skip-intro:focus-visible, #skip-intro:hover { opacity: 1 !important; outline: 2px solid #4747ff; border-radius: 6px; }
body[data-state="ready"] #skip-intro { display: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
#photo-space.fallback { perspective: 1000px; }
.fallback-photo { position: absolute; overflow: hidden; background: #e8e8e8; border-radius: 12px; box-shadow: 0 9px 18px #0000000c; }
.portrait-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: portrait-reveal .9s ease both; }
.portrait-preview { filter: blur(3px); transform: scale(1.08); animation-duration: .65s; }
@keyframes portrait-reveal { from { opacity: 0; } to { opacity: 1; } }
@media (max-width: 700px) {
  h1 { left: 50%; top: 50%; width: 68vw; }
  #hero { min-height: 500px; }
  #join-waitlist { top: 19px; right: 24px; height: 44px; }
  #skip-intro { right: 18px; bottom: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  #skip-intro, #join-waitlist { transition: none; }
  .portrait-image { animation-duration: 0s; animation-delay: 0s !important; }
}
