:root {
  --black: #050505;
  --white: #f7f7f5;
  --muted: #8a8a88;
  --line: rgba(216, 212, 212, 0.2);
  --glass: rgba(42, 42, 42, 0.72);
  --red: #a62021;
  --blue: #2b39b3;
  --soft: #d8d4d4;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; }

::selection {
  color: var(--white);
  background: var(--blue);
}

html {
  background: var(--black);
  scrollbar-gutter: stable;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100dvh;
  overflow-x: clip;
  color: var(--white);
  background:
    radial-gradient(ellipse 52% 42% at 96% 12%, rgba(43, 57, 179, 0.24), transparent 72%),
    radial-gradient(ellipse 46% 38% at 3% 28%, rgba(166, 32, 33, 0.2), transparent 74%),
    radial-gradient(ellipse 42% 34% at 88% 82%, rgba(166, 32, 33, 0.12), transparent 76%),
    radial-gradient(ellipse 45% 36% at 8% 72%, rgba(43, 57, 179, 0.14), transparent 76%),
    #07070a;
  background-attachment: fixed;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 20;
  width: 100%;
  border-bottom: 1px solid rgba(216, 212, 212, 0.1);
  background: linear-gradient(90deg, rgba(166, 32, 33, 0.08), rgba(5, 5, 5, 0.56) 34%, rgba(43, 57, 179, 0.12));
  backdrop-filter: blur(22px) saturate(135%);
  -webkit-backdrop-filter: blur(22px) saturate(135%);
  transition: background 650ms var(--ease), border-color 650ms var(--ease), backdrop-filter 650ms var(--ease);
}

.navbar {
  position: relative;
  width: 100%;
  height: 78px;
  padding: 0 34px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  transition: width 720ms var(--ease), height 720ms var(--ease), margin 720ms var(--ease), padding 720ms var(--ease), background 720ms var(--ease), border-color 720ms var(--ease), border-radius 720ms var(--ease), box-shadow 720ms var(--ease), grid-template-columns 720ms var(--ease);
}

.brand {
  justify-self: start;
  font-size: clamp(1.35rem, 1.75vw, 2.15rem);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 1;
  white-space: nowrap;
  opacity: 1;
  overflow: hidden;
  transition: max-width 600ms var(--ease), opacity 380ms ease, transform 620ms var(--ease);
}

.desktop-links {
  display: flex;
  align-items: center;
  gap: clamp(2.4rem, 5.25vw, 6.5rem);
  transition: gap 700ms var(--ease);
}

.desktop-links a {
  position: relative;
  padding: 1rem 0;
  color: #7d7d7b;
  font-size: clamp(1rem, 1.22vw, 1.55rem);
  font-weight: 400;
  letter-spacing: -0.035em;
  transition: color 300ms var(--ease), transform 300ms var(--ease);
}

.desktop-links a::after {
  position: absolute;
  right: 0;
  bottom: 0.72rem;
  left: 0;
  height: 1px;
  content: "";
  background: var(--soft);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 420ms var(--ease);
}

.desktop-links a:hover,
.desktop-links a:focus-visible { color: var(--white); transform: translateY(-1px); }
.desktop-links a:hover::after,
.desktop-links a:focus-visible::after { transform: scaleX(1); transform-origin: left; }

.desktop-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 14px;
}

.button {
  min-height: 58px;
  padding: 0 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  font-size: 1.1rem;
  white-space: nowrap;
  transition: transform 280ms var(--ease), background 280ms var(--ease), color 280ms var(--ease);
}

.button-signup {
  min-width: 145px;
  background: rgba(43, 57, 179, 0.2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.11), 0 12px 32px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
}

.button:hover { transform: translateY(-2px); }
.button:active { transform: translateY(0) scale(0.97); }
.button-signup:hover { background: rgba(43, 57, 179, 0.34); }
.arrow { transition: transform 300ms var(--ease); }
.button-signup:hover .arrow { transform: translateX(4px); }

@media (min-width: 981px) {
  .site-header.is-desktop-compact {
    border-bottom-color: transparent;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    pointer-events: none;
  }

  .site-header.is-desktop-compact .navbar {
    width: min(92vw, 900px);
    height: 70px;
    margin: 14px auto 0;
    padding: 6px 7px 6px 30px;
    grid-template-columns: 0 minmax(0, 1fr) auto;
    border: 1px solid rgba(216, 212, 212, 0.16);
    border-radius: 999px;
    background:
      linear-gradient(135deg, rgba(255, 255, 255, 0.075), transparent 38%),
      rgba(18, 18, 20, 0.68);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.12),
      inset 0 -1px 0 rgba(255, 255, 255, 0.025),
      0 24px 70px rgba(0, 0, 0, 0.28),
      0 8px 35px rgba(43, 57, 179, 0.08);
    backdrop-filter: blur(28px) saturate(145%);
    -webkit-backdrop-filter: blur(28px) saturate(145%);
    pointer-events: auto;
  }

  .site-header.is-desktop-compact .brand {
    max-width: 0;
    opacity: 0;
    transform: translateX(-22px);
  }

  .site-header.is-desktop-compact .desktop-links {
    justify-content: space-around;
    gap: clamp(1.5rem, 3vw, 3.4rem);
  }

  .site-header.is-desktop-compact .desktop-links a {
    color: rgba(247, 247, 245, 0.76);
    font-size: clamp(0.88rem, 1vw, 1.03rem);
  }

  .site-header.is-desktop-compact .button {
    min-height: 56px;
    padding: 0 28px;
  }

  .site-header.is-desktop-compact .button-signup {
    min-width: 150px;
    border-color: rgba(255, 255, 255, 0.62);
    color: #080808;
    background: var(--soft);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
  }
}

.menu-trigger { display: none; }
.mobile-nav-actions { display: none; }
main { min-height: 100dvh; }

.hero {
  position: relative;
  min-height: 100dvh;
  padding: clamp(4rem, 8vh, 7rem) 24px 48px;
  display: grid;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
  background: transparent;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(100%, 1120px);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero h1 {
  margin: 0;
  color: var(--white);
  font-size: clamp(4rem, 7.2vw, 8.3rem);
  font-weight: 500;
  letter-spacing: -0.072em;
  line-height: 0.9;
  opacity: 0;
  transform: translateY(34px);
  animation: hero-in 900ms 100ms var(--ease) forwards;
}

.hero-content > p:not(.hero-note) {
  max-width: 680px;
  margin: 34px 0 0;
  color: var(--soft);
  font-size: clamp(1.2rem, 1.8vw, 1.75rem);
  line-height: 1.38;
  letter-spacing: -0.032em;
  opacity: 0;
  transform: translateY(26px);
  animation: hero-in 800ms 230ms var(--ease) forwards;
}

.hero-cta {
  min-height: 72px;
  margin-top: 42px;
  padding: 0 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 999px;
  color: #0a0a0a;
  background: var(--soft);
  box-shadow: 0 18px 70px rgba(43, 57, 179, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.75);
  font-size: 1.15rem;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(24px);
  animation: hero-in 750ms 360ms var(--ease) forwards;
  transition: transform 300ms var(--ease), background 300ms var(--ease), box-shadow 300ms var(--ease);
}

.hero-cta:hover {
  background: var(--white);
  box-shadow: 0 22px 80px rgba(166, 32, 33, 0.18), inset 0 1px 0 white;
  transform: translateY(-3px);
}

.hero-cta:active { transform: translateY(0) scale(0.97); }
.hero-cta-arrow { font-size: 1.45rem; transition: transform 300ms var(--ease); }
.hero-cta:hover .hero-cta-arrow { transform: translate(3px, -3px); }

.hero-note {
  margin: 24px 0 0;
  color: rgba(216, 212, 212, 0.48);
  font-size: 1rem;
  letter-spacing: -0.025em;
  opacity: 0;
  animation: soft-in 700ms 520ms var(--ease) forwards;
}

.hero-glow {
  display: none;
}

.hero-glow-red,
.hero-glow-blue { background: transparent; }

@keyframes hero-in {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes soft-in {
  to { opacity: 1; }
}

.scroll-gallery {
  --gallery-scale: 0.82;
  --gallery-radius: 42px;
  --gallery-x: 0px;
  position: relative;
  z-index: 3;
  height: 520dvh;
  background: transparent;
}

.scroll-gallery-sticky {
  position: sticky;
  top: 0;
  height: 100dvh;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: transparent;
}

.gallery-ambient {
  position: absolute;
  inset: -20%;
  background: transparent;
  filter: blur(80px);
  pointer-events: none;
}

.gallery-frame {
  position: relative;
  width: 100vw;
  height: 56.25vw;
  max-width: 177.78dvh;
  max-height: 100dvh;
  overflow: hidden;
  border: 1px solid rgba(216, 212, 212, 0.22);
  border-radius: var(--gallery-radius);
  background: #030303;
  box-shadow: 0 36px 110px rgba(43, 57, 179, 0.12), 0 22px 80px rgba(166, 32, 33, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transform: scale(var(--gallery-scale));
  transform-origin: center;
  will-change: transform, border-radius;
}

.gallery-video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  background: #030303;
}

.technology-proof {
  position: relative;
  z-index: 4;
  min-height: 68dvh;
  padding: clamp(6rem, 10vw, 10rem) 0 clamp(2rem, 4vw, 4rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

.technology-proof h2 {
  width: min(82vw, 1040px);
  margin: 0 auto clamp(5rem, 8vw, 8rem);
  color: rgba(216, 212, 212, 0.76);
  font-size: clamp(2.3rem, 4.25vw, 5rem);
  font-weight: 400;
  letter-spacing: -0.065em;
  line-height: 0.98;
  text-align: center;
  text-wrap: balance;
}

.technology-marquee {
  position: relative;
  width: 100%;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}

.technology-marquee-track {
  width: max-content;
  display: flex;
  animation: technology-marquee 32s linear infinite;
  will-change: transform;
}

.technology-marquee-group {
  padding-right: clamp(1.75rem, 3vw, 3.5rem);
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: clamp(1.75rem, 3vw, 3.5rem);
}

.technology-marquee span {
  color: rgba(216, 212, 212, 0.72);
  font-size: clamp(1.65rem, 2.8vw, 3.25rem);
  font-weight: 400;
  letter-spacing: -0.065em;
  line-height: 1;
  white-space: nowrap;
}

.technology-item {
  display: inline-flex;
  align-items: center;
  gap: clamp(0.7rem, 1vw, 1rem);
}

.technology-item img {
  width: clamp(30px, 2.8vw, 48px);
  height: clamp(30px, 2.8vw, 48px);
  display: block;
  object-fit: contain;
  filter: none;
  opacity: 1;
}

.technology-item-dark img {
  padding: 5px;
  border-radius: 8px;
  background: var(--soft);
}

.technology-marquee i {
  width: 5px;
  height: 5px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 28px rgba(43, 57, 179, 0.65);
}

@keyframes technology-marquee {
  to { transform: translate3d(-50%, 0, 0); }
}

.founder-story {
  position: relative;
  z-index: 4;
  height: 250dvh;
  overflow: clip;
}

.founder-story-sticky {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100dvh;
  min-height: 100dvh;
  padding: 10vh 7vw 7vh;
  display: grid;
  place-items: center;
  opacity: var(--founder-exit-opacity, 1);
  transform: translate3d(0, var(--founder-exit-y, 0), 0);
  will-change: transform, opacity;
}

.founder-story blockquote {
  width: min(100%, 1080px);
  margin: 0;
}

.founder-copy {
  color: var(--white);
  font-size: clamp(1.35rem, 2.05vw, 2.25rem);
  font-weight: 400;
  letter-spacing: -0.058em;
  line-height: 1.1;
  font-variant-ligatures: none;
}

.founder-copy p {
  margin: 0;
  text-wrap: pretty;
}

.founder-copy p + p {
  margin-top: clamp(1rem, 2vw, 1.8rem);
}

.founder-char {
  color: rgba(247, 247, 245, var(--char-opacity, 0));
  white-space: pre-wrap;
  transition: none;
}

.founder-char.is-caret::after {
  width: 2px;
  height: 0.82em;
  margin-left: 2px;
  display: inline-block;
  vertical-align: -0.06em;
  content: "";
  background: var(--soft);
  animation: founder-caret 720ms steps(1) infinite;
}

@keyframes founder-caret {
  50% { opacity: 0; }
}

.founder-signature {
  margin-top: clamp(1.7rem, 2.5vw, 2.6rem);
  display: flex;
  align-items: center;
  gap: 18px;
  opacity: var(--signature-opacity, 0.18);
  transform: translateY(var(--signature-y, 18px));
  transition: opacity 120ms linear, transform 120ms linear;
}

.founder-signature img {
  width: 68px;
  height: 68px;
  display: block;
  border: 1px solid rgba(216, 212, 212, 0.3);
  border-radius: 50%;
  object-fit: cover;
}

.founder-signature > span { display: grid; gap: 5px; }
.founder-signature strong { color: var(--white); font-size: 1.08rem; font-weight: 500; letter-spacing: -0.025em; }
.founder-signature small { color: rgba(216, 212, 212, 0.5); font-size: 0.9rem; letter-spacing: -0.015em; }

.founder-story {
  position: relative;
  z-index: 4;
  height: 250dvh;
  overflow: clip;
}

.showcase {
  --showcase-x: 0px;
  position: relative;
  z-index: 10;
  height: 390dvh;
  overflow: clip;
  background: var(--bg);
}

.showcase-sticky {
  position: sticky;
  top: 0;
  width: 100%;
  max-width: 100%;
  height: 100dvh;
  padding: clamp(5.5rem, 9vh, 8rem) 0 clamp(2.5rem, 5vh, 4rem);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: clamp(2rem, 4vh, 3.5rem);
  overflow: hidden;
  box-sizing: border-box;
}

.showcase-heading {
  width: min(92vw, 1120px);
  max-width: 100%;
  margin: 0 auto;
  opacity: var(--showcase-heading-opacity, 0.12);
  text-align: center;
  transform: translate3d(0, var(--showcase-heading-y, 34px), 0);
  will-change: transform, opacity;
}

.showcase-eyebrow {
  margin: 0 0 18px;
  color: rgba(216, 212, 212, 0.42);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.showcase-heading h2 {
  max-width: 100%;
  margin: 0;
  font-size: clamp(2.5rem, 4.35vw, 5.15rem);
  font-weight: 400;
  letter-spacing: -0.068em;
  line-height: 0.95;
  overflow-wrap: normal;
  white-space: normal;
  text-align: center;
}

.showcase-heading > p:last-child {
  max-width: 680px;
  margin: 24px auto 0;
  color: rgba(216, 212, 212, 0.62);
  font-size: clamp(1rem, 1.4vw, 1.3rem);
  letter-spacing: -0.025em;
  line-height: 1.45;
  text-align: center;
}

.showcase-viewport {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
}

.showcase-track {
  width: max-content;
  height: 100%;
  padding: 0 7vw;
  display: flex;
  gap: clamp(28px, 3.5vw, 52px);
  transform: translate3d(var(--showcase-x), 0, 0);
  will-change: transform;
}

.showcase-card {
  position: relative;
  width: min(36vw, 500px);
  height: 100%;
  margin: 0;
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  opacity: var(--card-opacity, 0.12);
  transform: translate3d(0, var(--card-y, 42px), 0);
  transition: opacity 700ms ease, transform 700ms var(--ease);
  will-change: transform, opacity;
}

.showcase-card figure,
.showcase-card-media {
  position: relative;
  width: 100%;
  flex: 1 1 auto;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid rgba(216, 212, 212, 0.14);
  background: #111216;
  transition: border-color 500ms ease, box-shadow 700ms var(--ease);
}

.showcase-card figure::after,
.showcase-card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(3, 4, 8, 0.35) 100%);
  opacity: 0.25;
  transition: opacity 650ms var(--ease);
}

.showcase-card img,
.showcase-card video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 900ms var(--ease), filter 650ms ease;
}

.showcase-card:hover .showcase-card-media,
.showcase-card:focus-visible .showcase-card-media,
.showcase-card.is-active .showcase-card-media {
  border-color: rgba(216, 212, 212, 0.36);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.5), 0 0 70px rgba(43, 57, 179, 0.16);
}

.showcase-card:hover img,
.showcase-card:focus-visible img,
.showcase-card.is-active img {
  transform: scale(1.045);
}

.showcase-card-copy {
  position: relative;
  inset: auto;
  z-index: 2;
  flex: 0 0 auto;
  margin-top: 22px;
  padding: 0 4px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: auto;
}

.showcase-card-copy > span {
  display: block;
  margin-bottom: 2px;
  color: var(--blue);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 1;
}

.showcase-card h3 {
  margin: 0;
  max-width: 100%;
  color: #ffffff;
  font-size: clamp(1.35rem, 1.8vw, 1.95rem);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1.18;
  opacity: 1;
}

.showcase-card p {
  max-width: 100%;
  margin: 2px 0 0;
  color: rgba(216, 212, 212, 0.6);
  font-size: clamp(0.88rem, 1.02vw, 1.05rem);
  line-height: 1.48;
  opacity: 1;
}

.contact-section {
  position: relative;
  z-index: 6;
  min-height: 100dvh;
  padding: clamp(5rem, 9vw, 9rem) 5vw;
  display: grid;
  place-items: center;
}

.contact-card {
  position: relative;
  width: min(100%, 1320px);
  min-height: min(76dvh, 820px);
  padding: clamp(4rem, 8vw, 8rem) clamp(2rem, 8vw, 8rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid rgba(216, 212, 212, 0.14);
  border-radius: 38px;
  background:
    radial-gradient(circle at 12% 100%, rgba(166, 32, 33, 0.12), transparent 36%),
    radial-gradient(circle at 92% 0%, rgba(43, 57, 179, 0.13), transparent 38%),
    rgba(17, 17, 19, 0.78);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  opacity: 0;
  text-align: center;
  transform: translate3d(0, 48px, 0) scale(0.975);
  transition: opacity 850ms var(--ease), transform 1100ms var(--ease);
}

.contact-section.is-in-view .contact-card {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

.contact-eyebrow {
  margin: 0 0 24px;
  color: rgba(216, 212, 212, 0.42);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.contact-card h2 {
  margin: 0;
  font-size: clamp(3.25rem, 6.4vw, 7.4rem);
  font-weight: 400;
  letter-spacing: -0.07em;
  line-height: 0.94;
}

.contact-copy {
  max-width: 650px;
  margin: clamp(1.8rem, 3vw, 2.8rem) 0 0;
  color: rgba(216, 212, 212, 0.55);
  font-size: clamp(1rem, 1.45vw, 1.35rem);
  line-height: 1.45;
}

.contact-button {
  width: min(100%, 560px);
  min-height: 86px;
  margin-top: clamp(2.6rem, 5vw, 4.8rem);
  padding: 0 34px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  color: #090909;
  background: var(--soft);
  box-shadow: 0 24px 80px rgba(43, 57, 179, 0.14);
  transition: transform 320ms var(--ease), background 320ms ease, box-shadow 320ms ease;
}

.contact-button:hover {
  background: var(--white);
  box-shadow: 0 28px 90px rgba(166, 32, 33, 0.16);
  transform: translateY(-3px);
}

.contact-button:active { transform: scale(0.98); }

.contact-button-words {
  position: relative;
  grid-column: 2;
  width: min(64vw, 320px);
  height: 1.25em;
  overflow: hidden;
  font-size: clamp(1.15rem, 1.8vw, 1.55rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.25;
  white-space: nowrap;
}

.contact-button-words > span {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translate3d(0, 110%, 0);
  animation: contact-word-cycle 12s var(--ease) infinite;
}

.contact-button-words > span:nth-child(2) { animation-delay: 3s; }
.contact-button-words > span:nth-child(3) { animation-delay: 6s; }
.contact-button-words > span:nth-child(4) { animation-delay: 9s; }

.contact-button-arrow {
  grid-column: 3;
  justify-self: end;
  font-size: 1.5rem;
  transition: transform 300ms var(--ease);
}

.contact-button:hover .contact-button-arrow { transform: translate(3px, -3px); }

.contact-note {
  margin: 26px 0 0;
  color: rgba(216, 212, 212, 0.34);
  font-size: 0.86rem;
  letter-spacing: -0.015em;
}

@keyframes contact-word-cycle {
  0%, 20% { opacity: 1; transform: translate3d(0, 0, 0); }
  25%, 100% { opacity: 0; transform: translate3d(0, -110%, 0); }
}

.site-footer {
  position: relative;
  z-index: 6;
  padding: 0 5vw clamp(1.5rem, 3vw, 3rem);
  overflow: hidden;
}

.footer-inner {
  position: relative;
  width: min(100%, 1500px);
  min-height: 82dvh;
  margin: 0 auto;
  padding: clamp(4rem, 7vw, 7rem) clamp(2rem, 5vw, 5rem) 0;
  display: grid;
  grid-template-columns: minmax(280px, 1.8fr) repeat(2, minmax(170px, 0.7fr));
  grid-template-rows: auto auto minmax(180px, 1fr);
  gap: clamp(3rem, 6vw, 7rem);
  overflow: hidden;
  border-top: 1px solid rgba(216, 212, 212, 0.15);
  opacity: 0;
  transform: translate3d(0, 38px, 0);
  transition: opacity 900ms var(--ease), transform 1100ms var(--ease);
}

.site-footer.is-in-view .footer-inner { opacity: 1; transform: translate3d(0, 0, 0); }

.footer-intro { max-width: 520px; }

.footer-brand {
  display: inline-block;
  font-size: clamp(2.2rem, 4vw, 4.6rem);
  font-weight: 500;
  letter-spacing: -0.08em;
  line-height: 0.9;
}

.footer-intro p {
  max-width: 36ch;
  margin: 30px 0 0;
  color: rgba(216, 212, 212, 0.52);
  font-size: clamp(1.05rem, 1.4vw, 1.3rem);
  line-height: 1.45;
}

.footer-contact-details {
  margin-top: 30px;
  display: grid;
  gap: 9px;
}

.footer-contact-details a {
  width: fit-content;
  color: rgba(247, 247, 245, 0.72);
  font-size: 0.95rem;
  letter-spacing: -0.02em;
  transition: color 250ms ease, transform 300ms var(--ease);
}

.footer-contact-details a:hover { color: var(--white); transform: translateX(3px); }

.footer-column { align-self: start; display: grid; gap: 15px; }

.footer-column > p {
  margin: 0 0 12px;
  color: rgba(216, 212, 212, 0.35);
  font-size: 0.69rem;
  font-weight: 500;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.footer-column a {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(247, 247, 245, 0.8);
  font-size: clamp(1.05rem, 1.35vw, 1.28rem);
  letter-spacing: -0.03em;
  transition: color 260ms ease, transform 320ms var(--ease);
}

.footer-column a span { color: rgba(216, 212, 212, 0.28); font-size: 0.8em; transition: transform 320ms var(--ease); }
.footer-column a:hover { color: var(--white); transform: translateX(4px); }
.footer-column a:hover span { transform: translate(3px, -3px); }

.footer-meta {
  z-index: 2;
  grid-column: 1 / -1;
  padding: 32px 0;
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 28px;
  align-self: end;
  border-top: 1px solid rgba(216, 212, 212, 0.12);
  color: rgba(216, 212, 212, 0.36);
  font-size: 0.82rem;
}

.footer-meta p { margin: 0; }
.footer-meta a { display: inline-flex; gap: 8px; transition: color 250ms ease; }
.footer-meta a:hover { color: var(--white); }

.footer-wordmark {
  grid-column: 1 / -1;
  align-self: end;
  width: 100%;
  margin: 0 0 -0.14em;
  color: rgba(216, 212, 212, 0.055);
  font-size: clamp(4.5rem, 11vw, 12rem);
  font-weight: 500;
  letter-spacing: -0.075em;
  line-height: 0.7;
  text-align: center;
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}

.gallery-track {
  position: absolute;
  top: 50%;
  left: 0;
  width: max-content;
  padding: 0 clamp(7vw, 12vw, 13rem);
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.2vw, 38px);
  transform: translate3d(var(--gallery-x), -50%, 0);
  will-change: transform;
}

.gallery-card {
  width: clamp(290px, 29vw, 470px);
  aspect-ratio: 0.715;
  margin: 0;
  flex: 0 0 auto;
  overflow: hidden;
  border-radius: 20px;
  background: #111;
  box-shadow: 0 24px 65px rgba(0, 0, 0, 0.5);
}

.gallery-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.mobile-menu { display: none; }

@media (max-width: 980px) {
  .site-header {
    border-bottom-color: transparent;
    background: linear-gradient(to bottom, rgba(5, 5, 5, 0.68), rgba(5, 5, 5, 0));
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    transition: background 420ms var(--ease), border-color 420ms var(--ease);
  }

  .navbar {
    width: calc(100% - 28px);
    height: 72px;
    margin: 8px auto 0;
    padding: 0 10px 0 8px;
    display: flex;
    justify-content: space-between;
    border: 1px solid transparent;
    border-radius: 999px;
    transition: width 620ms var(--ease), height 620ms var(--ease), padding 620ms var(--ease), background 620ms var(--ease), border-color 620ms var(--ease), box-shadow 620ms var(--ease), transform 620ms var(--ease);
  }

  .navbar > * { position: relative; z-index: 1; }

  .brand {
    max-width: 210px;
    font-size: 1.42rem;
    opacity: 1;
    overflow: hidden;
    transform: translateX(0);
    transition: max-width 520ms var(--ease), opacity 320ms ease, transform 520ms var(--ease);
  }
  .desktop-links, .desktop-actions { display: none; }

  .mobile-nav-actions {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .mobile-nav-cta {
    min-width: 116px;
    height: 48px;
    padding: 0 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(216, 212, 212, 0.28);
    border-radius: 999px;
    color: var(--white);
    background: rgba(5, 5, 5, 0.28);
    font-size: 0.98rem;
    white-space: nowrap;
    transition: color 520ms var(--ease), background 520ms var(--ease), min-width 520ms var(--ease), height 520ms var(--ease);
  }

  main { min-height: 100dvh; }

  .hero { min-height: 72dvh; }

  .hero {
    padding: 112px 20px 42px;
    place-items: center;
  }

  .hero h1 {
    font-size: clamp(2.65rem, 11vw, 3.25rem);
    letter-spacing: -0.06em;
    line-height: 0.96;
  }

  .hero-content > p:not(.hero-note) {
    max-width: 21rem;
    margin-top: 24px;
    font-size: clamp(1rem, 4.35vw, 1.18rem);
    line-height: 1.42;
  }

  .hero-cta {
    min-height: 58px;
    margin-top: 30px;
    padding: 0 25px;
    font-size: 1.05rem;
  }

  .hero-note { max-width: 15rem; margin-top: 20px; font-size: 0.92rem; line-height: 1.35; }
  .hero-glow { bottom: -24rem; width: 38rem; height: 32rem; filter: blur(80px); }

  .scroll-gallery {
    --gallery-scale: 0.86;
    --gallery-radius: 28px;
    height: auto;
    padding: 24px 0 0;
  }

  .scroll-gallery-sticky {
    position: relative;
    top: auto;
    height: auto;
    min-height: 0;
    place-items: center;
    overflow: visible;
  }

  .gallery-frame {
    width: 100vw;
    height: 56.25vw;
    transform: scale(var(--gallery-scale));
    transform-origin: center;
  }

  .gallery-track {
    padding-inline: 10vw;
    gap: 16px;
  }

  .gallery-card {
    width: min(74vw, 340px);
    border-radius: 16px;
  }

  .technology-proof {
    min-height: auto;
    padding: 34px 0 18px;
  }

  .technology-proof h2 {
    width: calc(100% - 40px);
    margin-bottom: 64px;
    font-size: clamp(2rem, 8vw, 3.3rem);
    line-height: 1.02;
  }

  .technology-marquee {
    -webkit-mask-image: linear-gradient(to right, transparent, #000 5%, #000 95%, transparent);
    mask-image: linear-gradient(to right, transparent, #000 5%, #000 95%, transparent);
  }

  .technology-marquee-track { animation-duration: 25s; }
  .technology-marquee-group { padding-right: 28px; gap: 28px; }
  .technology-marquee span { font-size: clamp(1.65rem, 7.2vw, 2.6rem); }
  .technology-item img { width: 30px; height: 30px; }

  .founder-story {
    height: 300dvh;
    position: relative;
    z-index: 4;
    overflow: clip;
  }

  .founder-story-sticky {
    position: sticky;
    top: 0;
    width: 100%;
    height: 100svh;
    min-height: 100svh;
    padding: 72px 18px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-sizing: border-box;
    opacity: var(--founder-exit-opacity, 1);
    transform: translate3d(0, var(--founder-exit-y, 0), 0);
  }

  .founder-copy {
    font-size: clamp(0.96rem, 4vw, 1.22rem);
    letter-spacing: -0.035em;
    line-height: 1.28;
  }

  .founder-copy p + p { margin-top: 0.6rem; }

  .founder-signature {
    margin-top: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    opacity: var(--signature-opacity, 0.18);
    transform: translateY(var(--signature-y, 18px));
  }

  .founder-signature img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
  }

  .founder-signature > span { display: grid; gap: 2px; }
  .founder-signature strong { font-size: 0.88rem; color: #ffffff; display: block; }
  .founder-signature small { font-size: 0.74rem; color: rgba(216, 212, 212, 0.6); display: block; }

  .showcase {
    height: auto;
    padding: 64px 0 80px;
    overflow: hidden;
  }

  .showcase-sticky {
    position: relative;
    height: auto;
    padding: 0;
    display: block;
    overflow: visible;
  }

  .showcase-heading {
    width: calc(100% - 36px);
    margin: 0 auto;
    opacity: 0;
    text-align: center;
    transform: translate3d(0, 28px, 0);
    transition: opacity 750ms var(--ease), transform 850ms var(--ease);
  }

  .showcase-eyebrow { margin-bottom: 12px; }
  .showcase-heading h2 { width: 100%; max-width: 100%; font-size: clamp(2rem, 8.5vw, 3.2rem); line-height: 1.05; white-space: normal; }
  .showcase-heading > p:last-child { max-width: 28rem; margin: 14px auto 0; font-size: 0.95rem; }

  .showcase-viewport {
    margin-top: 36px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .showcase-viewport::-webkit-scrollbar { display: none; }

  .showcase-track {
    height: auto;
    padding: 0 20px;
    gap: 16px;
    transform: none;
  }

  .showcase-card {
    width: min(85vw, 340px);
    height: auto;
    aspect-ratio: auto;
    scroll-snap-align: center;
    opacity: 0;
    transform: translate3d(0, 34px, 0);
    transition: opacity 700ms var(--ease), transform 850ms var(--ease), border-color 500ms ease, box-shadow 700ms var(--ease);
  }

  .showcase.is-in-view .showcase-heading { opacity: 1; transform: translate3d(0, 0, 0); }
  .showcase.is-in-view .showcase-card { opacity: 1; transform: translate3d(0, 0, 0); }
  .showcase.is-in-view .showcase-card:nth-child(1) { transition-delay: 100ms; }
  .showcase.is-in-view .showcase-card:nth-child(2) { transition-delay: 180ms; }
  .showcase.is-in-view .showcase-card:nth-child(3) { transition-delay: 260ms; }
  .showcase.is-in-view .showcase-card:nth-child(4) { transition-delay: 340ms; }
  .showcase.is-in-view .showcase-card:nth-child(5) { transition-delay: 420ms; }

  .showcase-card-media {
    aspect-ratio: 1.1;
    border-radius: 20px;
  }

  .showcase-card-copy {
    inset: auto;
    margin-top: 14px;
    padding: 0 2px;
    gap: 4px;
  }

  .showcase-card-copy > span { margin-bottom: 2px; font-size: 0.65rem; }
  .showcase-card h3 { max-width: 100%; font-size: clamp(1.25rem, 5.5vw, 1.55rem); line-height: 1.2; }
  .showcase-card p { max-width: 100%; margin-top: 4px; font-size: 0.85rem; line-height: 1.45; }

  .contact-section {
    min-height: auto;
    padding: 74px 14px 96px;
  }

  .contact-card {
    min-height: min(74dvh, 650px);
    padding: 66px 20px;
    border-radius: 26px;
  }

  .contact-eyebrow { margin-bottom: 18px; font-size: 0.64rem; }
  .contact-card h2 { font-size: clamp(2.65rem, 12vw, 4.1rem); line-height: 0.96; }
  .contact-copy { max-width: 21rem; margin-top: 24px; font-size: 0.98rem; }

  .contact-button {
    min-height: 68px;
    margin-top: 38px;
    padding: 0 22px;
  }

  .contact-button-words { width: min(62vw, 230px); font-size: 1.05rem; }
  .contact-button-arrow { font-size: 1.25rem; }
  .contact-note { max-width: 17rem; margin-top: 22px; font-size: 0.76rem; line-height: 1.4; }

  .site-footer { padding: 0 20px 16px; }

  .footer-inner {
    min-height: auto;
    padding: 76px 0 0;
    display: block;
    overflow: hidden;
  }

  .footer-intro { max-width: 23rem; }
  .footer-brand { font-size: 2.55rem; }
  .footer-intro p { margin-top: 22px; font-size: 1.05rem; }
  .footer-contact-details { margin-top: 26px; gap: 10px; }
  .footer-contact-details a { font-size: 0.94rem; }

  .footer-column { margin-top: 64px; gap: 17px; }
  .footer-column > p { margin-bottom: 10px; }
  .footer-column a { font-size: 1.5rem; }
  .footer-social { margin-top: 58px; }

  .footer-meta {
    margin-top: 76px;
    padding: 30px 0 36px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 14px 20px;
    line-height: 1.4;
  }

  .footer-meta p:nth-child(2) { grid-column: 1 / -1; grid-row: 2; }
  .footer-meta a { grid-column: 2; grid-row: 1; }

  .footer-wordmark {
    margin: 34px 0 -0.08em;
    font-size: clamp(3rem, 12.6vw, 4.6rem);
    line-height: 0.72;
  }

  .menu-trigger {
    width: 48px;
    height: 48px;
    padding: 0 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
    border-radius: 999px;
    background: transparent;
    cursor: pointer;
    transition: width 520ms var(--ease), height 520ms var(--ease), background 520ms var(--ease);
  }

  .menu-trigger-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .menu-icon { width: 22px; display: grid; gap: 6px; }
  .menu-icon i { width: 100%; height: 1.5px; display: block; background: var(--white); }

  .site-header.is-compact {
    background: transparent;
    pointer-events: none;
  }

  .site-header.is-compact .navbar {
    width: 254px;
    height: 66px;
    padding: 5px;
    border-color: rgba(216, 212, 212, 0.18);
    background:
      linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 42%),
      rgba(19, 19, 21, 0.7);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.13),
      inset 0 -1px 0 rgba(255, 255, 255, 0.025),
      0 20px 60px rgba(0, 0, 0, 0.34),
      0 8px 34px rgba(43, 57, 179, 0.08);
    backdrop-filter: blur(28px) saturate(145%);
    -webkit-backdrop-filter: blur(28px) saturate(145%);
    pointer-events: auto;
  }

  .site-header.is-compact .brand {
    max-width: 0;
    opacity: 0;
    transform: translateX(-18px);
  }

  .site-header.is-compact .mobile-nav-actions { width: 100%; gap: 5px; }

  .site-header.is-compact .mobile-nav-cta {
    min-width: 188px;
    height: 54px;
    color: #090909;
    background: var(--soft);
    border-color: rgba(255, 255, 255, 0.6);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.92), 0 8px 24px rgba(0, 0, 0, 0.14);
  }

  .site-header.is-compact .menu-trigger {
    width: 51px;
    height: 54px;
  }

  .mobile-menu {
    position: fixed;
    z-index: 50;
    inset: 0;
    min-height: 100dvh;
    padding: 24px 22px max(24px, env(safe-area-inset-bottom));
    display: flex;
    flex-direction: column;
    overflow: hidden auto;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    background:
      radial-gradient(circle at 92% 5%, rgba(43, 57, 179, 0.32), transparent 38%),
      radial-gradient(circle at 5% 92%, rgba(166, 32, 33, 0.2), transparent 42%),
      rgba(5, 5, 5, 0.95);
    backdrop-filter: blur(30px) saturate(125%);
    -webkit-backdrop-filter: blur(30px) saturate(125%);
    transition: opacity 450ms var(--ease), visibility 450ms;
  }

  .mobile-menu.is-open { visibility: visible; opacity: 1; pointer-events: auto; }

  .mobile-glow {
    position: absolute;
    width: 26rem;
    height: 26rem;
    top: -17rem;
    right: -11rem;
    border-radius: 50%;
    background: rgba(43, 57, 179, 0.19);
    filter: blur(70px);
    pointer-events: none;
  }

  .mobile-menu-top { position: relative; display: flex; justify-content: space-between; align-items: center; }
  .mobile-brand { font-size: 1.7rem; font-weight: 500; letter-spacing: -0.055em; }

  .close-button {
    position: relative;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    background: rgba(40, 40, 40, 0.65);
    cursor: pointer;
  }

  .close-button span { position: absolute; top: 23px; left: 13px; width: 21px; height: 1.5px; background: var(--white); }
  .close-button span:first-child { transform: rotate(45deg); }
  .close-button span:last-child { transform: rotate(-45deg); }

  .mobile-menu-content {
    position: relative;
    flex: 1;
    padding-top: clamp(4rem, 10vh, 7rem);
    display: flex;
    flex-direction: column;
  }

  .mobile-links { border-top: 1px solid var(--line); }
  .mobile-links a {
    min-height: 84px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--line);
    color: var(--soft);
    font-size: clamp(2rem, 9vw, 3rem);
    letter-spacing: -0.055em;
    opacity: 0;
    transform: translateY(24px);
    transition: color 250ms ease, opacity 600ms var(--ease), transform 600ms var(--ease);
  }

  .mobile-links small { color: #656563; font-size: 0.7rem; letter-spacing: 0.08em; }
  .mobile-links a:active { color: var(--white); }
  .mobile-menu.is-open .mobile-links a { opacity: 1; transform: translateY(0); }
  .mobile-menu.is-open .mobile-links a:nth-child(1) { transition-delay: 90ms; }
  .mobile-menu.is-open .mobile-links a:nth-child(2) { transition-delay: 140ms; }
  .mobile-menu.is-open .mobile-links a:nth-child(3) { transition-delay: 190ms; }
  .mobile-menu.is-open .mobile-links a:nth-child(4) { transition-delay: 240ms; }

  .mobile-actions { margin-top: auto; padding-top: 3.2rem; display: grid; gap: 12px; }
  .mobile-button {
    min-height: 62px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    border: 1px solid rgba(216, 212, 212, 0.28);
    border-radius: 999px;
    font-size: 1.15rem;
  }
  .mobile-signup { border-color: rgba(216, 212, 212, 0.2); background: rgba(43, 57, 179, 0.22); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1); }
  .mobile-note { margin: 28px 0 2px; color: #5f5f5d; font-size: 0.9rem; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }

  .scroll-gallery { height: auto; }
  .scroll-gallery-sticky { position: relative; height: auto; min-height: 100dvh; padding: 56px 0; }
  .gallery-frame { width: 100%; height: auto; border: 0; border-radius: 0; transform: none; overflow-x: auto; }
  .gallery-track { position: relative; top: auto; padding: 0 20px; transform: none; scroll-snap-type: x mandatory; }
  .gallery-card { scroll-snap-align: center; }
  .technology-marquee { overflow-x: auto; mask-image: none; -webkit-mask-image: none; }
  .technology-marquee-track { animation: none; }
  .technology-marquee-group[aria-hidden="true"] { display: none; }
  .founder-story { height: auto; }
  .founder-story-sticky { position: relative; min-height: auto; padding-block: 96px; }
  .founder-char { --char-opacity: 1 !important; }
  .founder-char.is-caret::after { display: none; }
  .founder-signature { --signature-opacity: 1 !important; --signature-y: 0px !important; }
  .showcase { height: auto; }
  .showcase-sticky { position: relative; height: auto; }
  .showcase-track { transform: none; }
  .showcase-heading, .showcase-card { opacity: 1; transform: none; }
  .contact-card { opacity: 1; transform: none; }
  .contact-button-words > span { animation: none; }
  .contact-button-words > span:first-child { opacity: 1; transform: none; }
  .footer-inner { opacity: 1; transform: none; }
}

@media (prefers-reduced-transparency: reduce) {
  .site-header, .menu-trigger, .button-signup, .mobile-menu, .mobile-signup { backdrop-filter: none; -webkit-backdrop-filter: none; background: #1d1d1d; }
}
