/* Our own additions on top of the Squarespace export. */

/* Headings were Futura PT via Adobe Fonts (Typekit), which can't be self-hosted. Jost is an
   open-source (OFL) Futura revival; it's declared under the family name the theme CSS uses. */
@font-face {
  font-family: 'futura-pt';
  src: url('/fonts/jost-latin.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304,
    U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'futura-pt';
  src: url('/fonts/jost-latin-ext.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308,
    U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113,
    U+2C60-2C7F, U+A720-A7FF;
}

/* The ETH address in the footer is one long word; let it wrap on phones instead of
   making the page scroll sideways. */
a[href^="https://etherscan.io/address/"] {
  word-break: break-all;
}

/* Scroll reveal: blocks fade in (images also rise slightly) as they enter the viewport.
   Only active once reveal.js has tagged <html>, so the page is fully visible without JS. */
html.reveal-ready .reveal {
  opacity: 0;
  transition: opacity 0.9s ease-out, transform 1.1s cubic-bezier(0.22, 1, 0.36, 1);
}
html.reveal-ready .reveal.image-block {
  transform: translateY(32px) scale(0.985);
}
html.reveal-ready .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Neon logo flickers on once when the page loads. */
@keyframes neon-on {
  0%, 18%, 22%, 26%, 54%, 58% { opacity: 0.15; }
  20%, 24%, 56%, 100% { opacity: 1; }
}
html.reveal-ready .hero-logo img {
  animation: neon-on 1.6s ease-in 0.2s both;
}

/* Soft glow pulse on the call-to-action button. */
@keyframes glow-pulse {
  0%, 100% { filter: drop-shadow(0 0 6px rgba(190, 0, 255, 0.35)); }
  50% { filter: drop-shadow(0 0 14px rgba(190, 0, 255, 0.7)); }
}
html.reveal-ready .button-block .sqs-block-button-element {
  animation: glow-pulse 3.2s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
  html.reveal-ready .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  html.reveal-ready .hero-logo img,
  html.reveal-ready .button-block .sqs-block-button-element {
    animation: none;
  }
}
