/* Lanky / LankyBeats — standalone rebuild of the Framer project
   Colours and type scales are taken from the Framer style tokens. */

:root {
  --bg: #050505;
  --surface: #0d0d0d;
  --surface-2: #111111;
  --border: #242424;
  --white: #f2f0eb;
  --frost: #e8ecf0;
  --ice: #a5c4dc;
  --ice-soft: rgba(168, 200, 224, 0.32);
  --ice-softer: rgba(168, 200, 224, 0.24);
  --grey: #9a9a9a;
  --grey-dim: #808080;
  --black: #000000;

  --font-display: "Teko", "Arial Narrow", Impact, sans-serif;
  --font-body: "Inter", Arial, sans-serif;
  --font-choice: "Clash Display", "Inter", Arial, sans-serif;

  --content-max: 1120px;
  --section-pad-y: 80px;
  --section-pad-x: 30px;
  --section-gap: 32px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: auto; /* eased scrolling is handled by js/site.js */
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--ice);
  outline-offset: 4px;
}

p,
h1,
h2,
h3 {
  margin: 0;
}

/* Motion is driven by js/site.js so it runs even when the OS "reduce motion"
   setting is on. Add data-motion="off" to <html> to switch it all off. */
html[data-motion="off"] *,
html[data-motion="off"] *::before,
html[data-motion="off"] *::after {
  transition: none !important;
  animation: none !important;
}

/* ------------------------------------------------------------------ */
/* Home page                                                           */
/* ------------------------------------------------------------------ */

.offer {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 1480px;
  margin: 0 auto;
}

.offer > * {
  width: 100%;
  max-width: var(--content-max);
}

/* Navigation */

.offer-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px var(--section-pad-x);
  background: rgba(5, 5, 5, 0.86);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 300ms ease, background-color 300ms ease;
}

.offer-nav.is-scrolled {
  background: rgba(5, 5, 5, 0.92);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}

.offer-nav__brand {
  font-weight: 700;
  font-size: 13px;
  line-height: 1;
  letter-spacing: 0.12em;
  color: var(--frost);
  text-transform: uppercase;
}

.offer-nav__links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.offer-nav__links a {
  font-weight: 600;
  font-size: 12px;
  line-height: 1;
  letter-spacing: 0.1em;
  color: var(--grey-dim);
  text-transform: uppercase;
  transition: color 180ms ease;
}

.offer-nav__links a:hover {
  color: var(--white);
}

/* Buttons (Framer "Buttons/Primary Button") */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  border-radius: 60px;
  font-family: var(--font-choice);
  font-weight: 600;
  font-size: 18px;
  line-height: 20px;
  text-transform: uppercase;
  white-space: nowrap;
  will-change: transform;
  transition: background-color 220ms ease, color 220ms ease, box-shadow 220ms ease, transform 500ms cubic-bezier(0.22, 1, 0.36, 1);
}

.btn:active {
  transform: scale(0.97) !important;
}

.btn--primary {
  background: var(--white);
  color: var(--black);
  box-shadow: inset 0 0 0 2px var(--white);
}

.btn--primary:hover {
  background: var(--black);
  color: var(--white);
}

.btn--secondary {
  background: transparent;
  color: var(--white);
  box-shadow: inset 0 0 0 1px #222222;
}

.btn--secondary:hover {
  background: var(--white);
  color: var(--black);
  box-shadow: inset 0 0 0 2px var(--white);
}

/* Sections */

.offer-section {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--section-gap);
  padding: var(--section-pad-y) var(--section-pad-x);
  border-bottom: 1px solid var(--border);
  scroll-margin-top: 80px;
}

.offer-section--surface {
  background: var(--surface);
}

.offer-section--surface-2 {
  background: var(--surface-2);
}

.offer-section--framed {
  border: 1px solid var(--border);
}

.offer-section--opening {
  gap: 24px;
  padding: 88px var(--section-pad-x) 72px;
}

.offer-section--final {
  justify-content: center;
  gap: 22px;
  min-height: 440px;
  padding: 88px var(--section-pad-x);
  border-bottom: 0;
}

.offer-section > * {
  width: 100%;
}

/* Type */

.lane {
  font-weight: 500;
  font-size: 12px;
  line-height: 1.2;
  letter-spacing: 0.12em;
  color: var(--ice);
  text-transform: uppercase;
}

.display {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 76px;
  line-height: 0.82;
  letter-spacing: -0.025em;
  color: var(--white);
  text-transform: uppercase;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 58px;
  line-height: 0.86;
  letter-spacing: -0.02em;
  color: var(--white);
  text-transform: uppercase;
}

.section-title--who {
  font-size: 54px;
  line-height: 0.88;
}

.body {
  font-size: 17px;
  line-height: 1.45;
  letter-spacing: -0.02em;
  color: var(--grey);
}

.body--narrow {
  max-width: 760px;
}

.body--680 {
  max-width: 680px;
}

.body p + p {
  margin-top: 20px;
}

.small {
  font-size: 13px;
  line-height: 1.45;
  color: var(--grey);
}

.small--dim {
  line-height: 1.4;
  color: var(--grey-dim);
}

/* Opening */

.cta-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.cta-block .small {
  max-width: 640px;
}

.image-frame {
  position: relative;
  width: 100%;
  height: 420px;
  border: 1px solid var(--ice-soft);
  background-color: var(--surface-2);
  overflow: hidden;
  isolation: isolate;
}

.image-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--img);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1.02);
  transition: transform 1200ms cubic-bezier(0.22, 1, 0.36, 1);
}

.image-frame:hover::before {
  transform: scale(1.06);
}

.image-frame--hero {
  --img: url("../assets/hero-operator.png");
}

.image-frame--rough {
  --img: url("../assets/rough-version.png");
  height: 280px;
  border-color: var(--ice-softer);
}

.image-frame--journey {
  --img: url("../assets/rough-to-record.png");
  height: 220px;
}

.image-frame--bounce {
  --img: url("../assets/final-bounce.png");
  height: 300px;
  border-color: var(--ice-softer);
}

/* Proof strip */

.proof-strip {
  padding: 18px var(--section-pad-x);
  border-bottom: 1px solid var(--border);
  text-align: center;
  font-size: 13px;
  line-height: 1.4;
  letter-spacing: 0.02em;
  font-weight: 500;
  color: var(--grey);
}

.proof-strip strong {
  font-weight: 700;
  color: var(--ice);
}

/* Who this is for */

.best-fit {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px;
  background: var(--surface-2);
  border: 1px solid var(--border);
}

.best-fit__label {
  font-weight: 600;
  font-size: 12px;
  line-height: 1.2;
  letter-spacing: 0.12em;
  color: var(--ice);
  text-transform: uppercase;
}

.catalogue-link {
  display: inline-block;
  max-width: 680px;
  font-size: 15px;
  line-height: 1.45;
  color: var(--ice);
  transition: opacity 180ms ease;
}

.catalogue-link:hover {
  opacity: 0.72;
}

/* Two-column feature grids */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 32px;
  row-gap: 0;
}

.feature {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px 0;
}

.feature-grid--ruled .feature {
  border-top: 1px solid var(--border);
}

.feature__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 28px;
  line-height: 1;
  color: var(--white);
  text-transform: uppercase;
}

.feature__copy {
  max-width: 680px;
  font-size: 16px;
  line-height: 1.5;
  color: var(--grey);
}

/* Record plan */

.plan-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}

.plan-list li {
  font-weight: 600;
  font-size: 14px;
  line-height: 1.4;
  letter-spacing: 0.03em;
  color: var(--white);
  text-transform: uppercase;
}

/* Proof figures */

.credits {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.credits figure {
  margin: 0;
  border: 1px solid var(--border);
  overflow: hidden;
}

.credits img {
  width: 100%;
  height: auto;
}

/* Pricing */

.scope {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.scope__label {
  font-weight: 600;
  font-size: 11px;
  line-height: 1.3;
  letter-spacing: 0.1em;
  color: var(--ice);
  text-transform: uppercase;
}

.scope__included {
  max-width: 900px;
  font-weight: 500;
  font-size: 15px;
  line-height: 1.55;
  color: var(--white);
}

.scope__note {
  max-width: 820px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--grey);
}

.revisions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px 22px;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.revisions__title {
  max-width: 760px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 38px;
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--white);
  text-transform: uppercase;
}

.revisions__copy {
  max-width: 760px;
  font-size: 16px;
  line-height: 1.5;
  color: var(--grey);
}

.revisions__note {
  max-width: 760px;
  font-size: 12px;
  line-height: 1.45;
  color: var(--grey);
}

.closing {
  max-width: 600px;
  font-weight: 500;
  font-size: 18px;
  line-height: 1.35;
  color: var(--grey);
}

/* FAQ (port of AccessibleFAQ.tsx) */

.faq {
  width: 100%;
  border-top: 1px solid var(--border);
  background: var(--surface);
}

.faq__item {
  border-bottom: 1px solid var(--border);
}

.faq__button {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 24px;
  align-items: center;
  gap: 16px;
  width: 100%;
  min-height: 56px;
  padding: 18px 0;
  border: 0;
  background: transparent;
  color: var(--white);
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.faq__number {
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--ice);
}

.faq__question {
  font-weight: 600;
  font-size: 15px;
  line-height: 1.35;
  color: var(--white);
  text-transform: uppercase;
  transition: color 180ms ease;
}

.faq__symbol {
  justify-self: end;
  font-weight: 400;
  font-size: 20px;
  line-height: 1;
  color: var(--white);
  transition: transform 220ms ease, color 180ms ease;
}

.faq__button[aria-expanded="true"] .faq__symbol {
  transform: rotate(180deg);
}

.faq__button:hover .faq__question,
.faq__button:hover .faq__symbol {
  color: #b8e0f5;
}

/* Panel height and opacity are animated by faq.js with the Web Animations API. */
.faq__panel {
  height: 0;
  overflow: hidden;
  opacity: 0;
}

.faq__panel[data-open="true"] {
  height: auto;
  opacity: 1;
}

.faq__panel > div {
  min-height: 0;
}

.faq__item.is-open .faq__question {
  color: var(--ice);
}

.faq__answer {
  max-width: 900px;
  padding: 0 40px 20px 60px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--grey);
}

/* Footer */

.offer-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px var(--section-pad-x);
  background: var(--bg);
  border-top: 1px solid var(--border);
}

.offer-footer__identity {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.offer-footer__brand {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  line-height: 1;
  letter-spacing: 0.02em;
  color: var(--white);
  text-transform: uppercase;
}

.offer-footer__sub {
  font-size: 13px;
  line-height: 1.4;
  color: var(--grey);
}

.offer-footer__links {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 20px;
}

.offer-footer__links a {
  font-weight: 600;
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: 0.08em;
  color: var(--ice);
  text-transform: uppercase;
  transition: opacity 180ms cubic-bezier(0.22, 0, 0.2, 1), transform 180ms cubic-bezier(0.22, 0, 0.2, 1);
}

.offer-footer__links a:hover {
  opacity: 0.72;
  transform: scale(1.02);
}

.offer-footer__copyright {
  font-size: 12px;
  line-height: 1.4;
  color: var(--grey);
}

/* Home breakpoints: L 1200–1439, M 810–1199, S below 810 */

@media (max-width: 1439.98px) {
  .display {
    font-size: 62px;
    line-height: 0.83;
  }
  .section-title {
    font-size: 50px;
    line-height: 0.87;
  }
}

@media (max-width: 1199.98px) {
  :root {
    --section-pad-y: 64px;
    --section-pad-x: 28px;
    --section-gap: 28px;
  }
  .offer-nav {
    padding: 14px 24px;
  }
  .offer-section--opening {
    gap: 28px;
    padding: 64px var(--section-pad-x);
  }
  .offer-section--final {
    gap: 28px;
    padding: 64px var(--section-pad-x);
  }
  .display {
    font-size: 44px;
    line-height: 0.9;
  }
  .section-title {
    font-size: 40px;
    line-height: 0.92;
  }
  .offer-footer {
    padding: 24px 28px;
  }
}

@media (max-width: 809.98px) {
  :root {
    --section-pad-y: 52px;
    --section-pad-x: 20px;
    --section-gap: 24px;
  }
  .offer-nav {
    padding: 12px 20px;
  }
  .offer-nav__links {
    display: none;
  }
  .offer-section--opening {
    gap: 22px;
    padding: 60px 20px 52px;
  }
  .offer-section--final {
    gap: 20px;
    min-height: 380px;
    padding: 64px 20px;
  }
  .section-title--who {
    font-size: 44px;
  }
  .image-frame--hero {
    height: 280px;
  }
  .image-frame--rough {
    height: 220px;
  }
  .image-frame--journey {
    height: 160px;
  }
  .image-frame--bounce {
    height: 220px;
  }
  .feature-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
  }
  .credits {
    gap: 14px;
  }
  .faq__button {
    grid-template-columns: 32px minmax(0, 1fr) 24px;
    padding: 16px 0;
  }
  .faq__answer {
    padding: 0 32px 18px 32px;
  }
  .offer-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    padding: 24px 20px;
  }
  .offer-footer__links {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 14px;
  }
  .btn {
    font-size: 16px;
  }
}

/* ------------------------------------------------------------------ */
/* Start and Listen pages ("Router" pages)                             */
/* ------------------------------------------------------------------ */

.router {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  min-height: 100vh;
  padding: 28px 40px 20px;
  background: var(--bg);
}

.router__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  width: 100%;
  max-width: 640px;
}

.router__header {
  display: flex;
  align-items: center;
  width: 100%;
  height: 44px;
}

.router__interface {
  font-family: var(--font-choice);
  font-weight: 600;
  font-size: 14px;
  line-height: 1.2;
  letter-spacing: 0.04em;
  color: #ffffff;
}

.router__intro {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.router__display {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 60px;
  line-height: 0.95;
  letter-spacing: -0.01em;
  color: var(--white);
  text-transform: uppercase;
}

.router__body {
  font-size: 17px;
  line-height: 1.45;
  color: var(--grey);
}

.router__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  list-style: none;
  margin: 0;
  padding: 0;
}

.choice {
  position: relative;
  display: flex;
  align-items: center;
  gap: 20px;
  width: 100%;
  padding: 24px;
  border-radius: 4px;
  background: #0e1418;
  border: 1px solid rgba(165, 196, 220, 0.26);
  overflow: hidden;
  transition: box-shadow 400ms cubic-bezier(0.2, 0.9, 0.3, 1.1), transform 500ms cubic-bezier(0.22, 1, 0.36, 1);
}

.choice:hover {
  box-shadow: inset 0 0 0 2px rgb(165, 196, 220);
  transform: translateX(4px);
}

.choice__arrow,
.service__arrow {
  transition: transform 500ms cubic-bezier(0.22, 1, 0.36, 1);
}

.choice:hover .choice__arrow {
  transform: translateX(5px);
}

.service:hover .service__arrow {
  transform: translate(3px, -3px);
}

/* Spotlight that follows the pointer (set by site.js) */
.choice::after,
.service::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(220px circle at var(--mx, 50%) var(--my, 50%), rgba(242, 240, 235, 0.07), transparent 60%);
  opacity: 0;
  transition: opacity 400ms ease;
}

.choice:hover::after,
.service:hover::after {
  opacity: 1;
}

.choice__label {
  flex: 1 1 auto;
  font-family: var(--font-choice);
  font-weight: 600;
  font-size: 24px;
  line-height: 1.2;
  color: var(--white);
}

.choice__label em {
  font-style: normal;
  color: var(--ice);
}

.choice__arrow {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  color: var(--ice);
}

/* Listen rows take their colours from data attributes set inline */

.service {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  padding: 20px 24px;
  border-radius: 4px;
  background: var(--service-bg, #111111);
  border: 1px solid var(--service-border, #242424);
  color: var(--service-accent, var(--ice));
  overflow: hidden;
  transition: box-shadow 400ms cubic-bezier(0.2, 0.9, 0.3, 1.1), transform 500ms cubic-bezier(0.22, 1, 0.36, 1);
}

.service:hover {
  box-shadow: inset 0 0 0 1px rgba(242, 240, 235, 0.16);
  transform: translateX(4px);
}

.service__logo {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
}

.service__name {
  flex: 1 1 auto;
  font-family: var(--font-choice);
  font-weight: 600;
  font-size: 24px;
  line-height: 1.2;
  color: var(--white);
}

.service__arrow {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  font-size: 17px;
  line-height: 1.45;
  color: var(--grey);
  transition: color 180ms ease;
}

.back-link:hover {
  color: var(--white);
}

.back-link svg {
  width: 18px;
  height: 18px;
  color: var(--ice);
}

.router__footer {
  width: 100%;
  padding-top: 2px;
  font-size: 12px;
  line-height: 1.3;
  letter-spacing: 0.01em;
  color: var(--grey);
}

/* Router breakpoints: Tablet 810–1199, Mobile 390–809, Small below 390 */

@media (max-width: 1439.98px) {
  .router__display {
    font-size: 48px;
  }
  .router__body,
  .back-link {
    font-size: 16px;
  }
}

@media (max-width: 1199.98px) {
  .router {
    padding: 26px 28px 20px;
  }
  .router__display {
    font-size: 40px;
  }
  .choice__label,
  .service__name {
    font-size: 20px;
    line-height: 1.25;
  }
}

@media (max-width: 809.98px) {
  .router {
    padding: 18px 20px 16px;
  }
  .router__display {
    font-size: 36px;
  }
  .choice,
  .service {
    padding: 20px;
  }
}

@media (max-width: 389.98px) {
  .router {
    padding: 16px 20px 14px;
  }
}

/* ------------------------------------------------------------------ */
/* Motion: entrance, reveal-on-scroll and hero sequence                 */
/* Only applied once site.js has added the "js" class to <html>.        */
/* ------------------------------------------------------------------ */

.js [data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 800ms cubic-bezier(0.22, 1, 0.36, 1), transform 800ms cubic-bezier(0.22, 1, 0.36, 1);
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* Children inside a revealed block stagger in */
.js [data-reveal] .feature,
.js [data-reveal] .plan-list li,
.js [data-reveal] .credits figure,
.js [data-reveal] .faq__item,
.js [data-reveal] .scope,
.js [data-reveal] .revisions,
.js [data-reveal] .best-fit {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 700ms cubic-bezier(0.22, 1, 0.36, 1), transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: calc(120ms + var(--i, 0) * 80ms);
}

.js [data-reveal].is-visible .feature,
.js [data-reveal].is-visible .plan-list li,
.js [data-reveal].is-visible .credits figure,
.js [data-reveal].is-visible .faq__item,
.js [data-reveal].is-visible .scope,
.js [data-reveal].is-visible .revisions,
.js [data-reveal].is-visible .best-fit {
  opacity: 1;
  transform: none;
}

/* Image frames wipe open from the bottom */
.js [data-reveal] .image-frame {
  clip-path: inset(100% 0 0 0);
  transition: clip-path 1000ms cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: 160ms;
}

.js [data-reveal].is-visible .image-frame {
  clip-path: inset(0 0 0 0);
}

/* Hero sequence on the opening section (runs on load, not on scroll) */
.js .hero-seq > * {
  opacity: 0;
  transform: translateY(22px);
  animation: hero-rise 900ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.js .hero-seq > :nth-child(1) { animation-delay: 80ms; }
.js .hero-seq > :nth-child(2) { animation-delay: 160ms; opacity: 1; transform: none; animation: none; }
.js .hero-seq > :nth-child(3) { animation-delay: 620ms; }
.js .hero-seq > :nth-child(4) { animation-delay: 760ms; }
.js .hero-seq > :nth-child(5) { animation-delay: 900ms; }

@keyframes hero-rise {
  to {
    opacity: 1;
    transform: none;
  }
}

/* Split-text headline: each word rises out of a clipped line */
.split-word {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  padding-bottom: 0.08em;
  margin-bottom: -0.08em;
}

.split-word > span {
  display: inline-block;
  transform: translateY(110%);
  animation: split-rise 1000ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: calc(200ms + var(--w, 0) * 70ms);
}

@keyframes split-rise {
  to {
    transform: translateY(0);
  }
}

.js .hero-seq .image-frame {
  clip-path: inset(100% 0 0 0);
  animation: hero-wipe 1100ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: 900ms;
}

@keyframes hero-wipe {
  to {
    opacity: 1;
    transform: none;
    clip-path: inset(0 0 0 0);
  }
}

/* Router pages: header, cards and footer cascade in on load */
.js .router__content > * {
  opacity: 0;
  transform: translateY(18px);
  animation: hero-rise 800ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.js .router__content > :nth-child(1) { animation-delay: 60ms; }
.js .router__content > :nth-child(2) { animation-delay: 140ms; }
.js .router__content > :nth-child(3) { animation-delay: 220ms; }
.js .router__content > :nth-child(4) { animation-delay: 300ms; }
.js .router__content > :nth-child(5) { animation-delay: 380ms; }

.js .router__list > li {
  opacity: 0;
  transform: translateY(16px);
  animation: hero-rise 700ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: calc(260ms + var(--i, 0) * 70ms);
}

/* Proof strip numbers count up (site.js) */
.proof-strip strong {
  display: inline-block;
  min-width: 2.6ch;
  font-variant-numeric: tabular-nums;
}

/* ------------------------------------------------------------------ */
/* React Bits ports (js/effects.js): grain, glow cursor, decrypted text */
/* ------------------------------------------------------------------ */

.grain {
  position: fixed;
  inset: 0;
  z-index: 9000;
  pointer-events: none;
  background-repeat: repeat;
  background-size: 256px 256px;
  opacity: 0.055;
}

.glow-cursor {
  position: fixed;
  inset: 0;
  z-index: 8999;
  pointer-events: none;
  mix-blend-mode: screen;
}

.decrypt {
  white-space: nowrap;
}

.decrypt__char {
  display: inline;
  transition: color 160ms ease;
}

.decrypt__char--encrypted {
  color: rgba(165, 196, 220, 0.5);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
