@font-face {
  font-family: "General Sans";
  src: url("/assets/fonts/general-sans-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "General Sans";
  src: url("/assets/fonts/general-sans-400-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "General Sans";
  src: url("/assets/fonts/general-sans-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "General Sans";
  src: url("/assets/fonts/general-sans-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --ground: #f0f0eb;
  --ground-deep: #e9e9e3;
  --ink: #08090a;
  --ink-soft: #555b53;
  --hairline: rgba(8, 9, 10, 0.14);
  --blue: #1648ff;
  --margin: clamp(1.25rem, 4.45vw, 4.5rem);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  background: var(--ground);
  color: var(--ink);
  font-family: "General Sans", "Helvetica Neue", Arial, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scrollbar-color: rgba(8, 9, 10, 0.38) transparent;
  scrollbar-width: thin;
}

body {
  min-width: 20rem;
  min-height: 100svh;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(120% 80% at 78% 12%, rgba(255, 255, 255, 0.56) 0%, rgba(255, 255, 255, 0) 54%),
    linear-gradient(180deg, #f2f2ed 0%, var(--ground) 44%, var(--ground-deep) 100%);
  color: var(--ink);
}

::selection {
  background: var(--blue);
  color: #ffffff;
}

::-webkit-scrollbar {
  width: 9px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  border: 3px solid var(--ground);
  border-radius: 99px;
  background: rgba(8, 9, 10, 0.34);
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(8, 9, 10, 0.56);
}

:focus-visible {
  outline: 1.5px solid var(--blue);
  outline-offset: 5px;
}

p,
h1,
h2,
figure {
  margin: 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.55rem 0.8rem;
  transform: translateY(-180%);
  background: var(--ink);
  color: var(--ground);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: transform 180ms ease;
}

.skip-link:focus-visible {
  transform: translateY(0);
}

.grain {
  position: fixed;
  z-index: 20;
  inset: 0;
  opacity: 0.035;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.86' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.82'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

.site-header {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: clamp(1.35rem, 2.8vh, 2.15rem) var(--margin) 0;
}

.wordmark,
.footer-brand {
  font-size: clamp(0.7rem, 0.82vw, 0.8rem);
  font-weight: 600;
  letter-spacing: 0.155em;
  line-height: 1;
  white-space: nowrap;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--ink-soft);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.095em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.status-dot {
  display: block;
  width: 0.3rem;
  height: 0.3rem;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 0.2rem rgba(22, 72, 255, 0.08);
}

.hero {
  position: relative;
  min-height: calc(100svh - 4.2rem);
  padding: clamp(2.8rem, 7.8vh, 5.6rem) var(--margin) clamp(3.2rem, 7.8vh, 5.9rem);
  isolation: isolate;
}

.hero-title {
  position: relative;
  z-index: 2;
  width: fit-content;
  max-width: 64vw;
  font-size: clamp(3.05rem, 7vw, 6rem);
  font-weight: 500;
  letter-spacing: -0.058em;
  line-height: 0.88;
  text-wrap: nowrap;
}

.line {
  display: block;
  overflow: clip;
  padding-bottom: 0.115em;
  margin-bottom: -0.115em;
}

.line-inner {
  display: block;
  white-space: nowrap;
  transform-origin: 0 100%;
}

.hero-script {
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.046em;
}

.period {
  color: var(--blue);
}

.hero-intro {
  position: relative;
  z-index: 2;
  width: min(100%, 40ch);
  margin-top: clamp(1.75rem, 4.5vh, 3.2rem);
  color: var(--ink-soft);
  font-size: clamp(0.96rem, 1.08vw, 1.05rem);
  font-weight: 400;
  letter-spacing: -0.012em;
  line-height: 1.58;
  text-wrap: pretty;
}

.sculpture {
  position: absolute;
  z-index: 1;
  top: clamp(3.3rem, 7.5vh, 5.4rem);
  right: calc(var(--margin) - 1.65vw);
  width: min(47vw, 42rem);
  height: clamp(24rem, 65vh, 41.5rem);
  pointer-events: auto;
}

.sculpture-stage {
  position: relative;
  width: 100%;
  height: 100%;
}

.sculpture-canvas {
  position: absolute;
  z-index: 2;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 900ms var(--ease-out);
}

.sculpture-ready .sculpture-canvas {
  opacity: 1;
}

.sculpture-fallback {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: translate(-50%, -50%);
  transition: opacity 700ms var(--ease-out);
}

.sculpture-ready .sculpture-fallback {
  opacity: 0;
}

.no-webgl .sculpture-fallback {
  opacity: 1;
}

.no-webgl .sculpture-canvas {
  display: none;
}

.hero-support {
  position: absolute;
  z-index: 2;
  right: var(--margin);
  bottom: clamp(2.8rem, 6.3vh, 4.2rem);
  width: min(23ch, 24vw);
  padding-top: 0.9rem;
  border-top: 1px solid var(--hairline);
  font-size: clamp(0.96rem, 1.12vw, 1.08rem);
  font-weight: 500;
  letter-spacing: -0.022em;
  line-height: 1.32;
  text-align: right;
}

.launch {
  position: relative;
  padding: clamp(6.5rem, 15.5vh, 11rem) var(--margin) clamp(5rem, 11vh, 8.5rem);
  border-top: 1px solid var(--hairline);
}

.launch::before {
  content: "";
  position: absolute;
  top: -1px;
  left: var(--margin);
  width: clamp(2.2rem, 6.5vw, 6.5rem);
  height: 1px;
  background: var(--blue);
}

.launch-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: clamp(1.2rem, 4.6vw, 5rem);
  font-size: clamp(2.75rem, 11.15vw, 10.5rem);
  font-weight: 500;
  letter-spacing: -0.067em;
  line-height: 0.78;
}

.launch-mask {
  display: block;
  overflow: clip;
  padding-bottom: 0.085em;
  margin-bottom: -0.085em;
}

.launch-word {
  display: block;
  transform-origin: 0 100%;
}

.launch-meta {
  display: flex;
  align-items: center;
  gap: clamp(1.15rem, 2.2vw, 2rem);
  margin-top: clamp(2.8rem, 6.5vh, 5.2rem);
}

.launch-meta::before {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(22, 72, 255, 0.42);
}

.launch-window {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--blue);
  font-size: clamp(0.78rem, 1vw, 0.92rem);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.105em;
  line-height: 1;
  white-space: nowrap;
}

.launch-window::before {
  content: "";
  display: block;
  width: 0.32rem;
  height: 0.32rem;
  border-radius: 50%;
  background: currentColor;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 1.5rem;
  align-items: end;
  padding: clamp(1.55rem, 3.6vh, 2.4rem) var(--margin) clamp(1.6rem, 3.2vh, 2.2rem);
  border-top: 1px solid var(--hairline);
  font-size: clamp(0.7rem, 0.72vw, 0.72rem);
  letter-spacing: 0.025em;
  line-height: 1.4;
}

.footer-line,
.footer-legal {
  color: var(--ink-soft);
}

.footer-line {
  justify-self: center;
}

.footer-legal {
  justify-self: end;
  font-variant-numeric: tabular-nums;
  text-align: right;
}

/* One orchestrated entrance, then stillness. */

@keyframes line-rise {
  from {
    transform: translateY(112%);
  }
  to {
    transform: translateY(0);
  }
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(0.9rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fade-down {
  from {
    opacity: 0;
    transform: translateY(-0.35rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes sculpture-in {
  from {
    opacity: 0;
    transform: translate3d(0, 1.1rem, 0) scale(0.965);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@keyframes launch-rise {
  from {
    transform: translateY(112%);
  }
  to {
    transform: translateY(0);
  }
}

@keyframes line-grow {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

.js .site-header .wordmark {
  animation: fade-down 850ms var(--ease-out) both;
}

.js .site-header .status {
  animation: fade-down 850ms var(--ease-out) 120ms both;
}

.js .line-inner {
  animation: line-rise 1.2s var(--ease-out) both;
}

.js .line:nth-child(1) .line-inner {
  animation-delay: 130ms;
}

.js .line:nth-child(2) .line-inner {
  animation-delay: 220ms;
}

.js .line:nth-child(3) .line-inner {
  animation-delay: 310ms;
}

.js .line:nth-child(4) .line-inner {
  animation-delay: 400ms;
}

.js .hero-intro {
  animation: fade-up 1.1s var(--ease-out) 460ms both;
}

.js .hero-support {
  animation: fade-up 1.1s var(--ease-out) 660ms both;
}

.js .sculpture-stage {
  animation: sculpture-in 1.7s var(--ease-out) 20ms both;
}

.js.launch-in-view .launch-word {
  animation: launch-rise 1.2s var(--ease-out) both;
}

.js.launch-in-view .launch-mask:nth-child(2) .launch-word {
  animation-delay: 100ms;
}

.js.launch-in-view .launch-meta {
  animation: fade-up 850ms var(--ease-out) 420ms both;
}

.js.launch-in-view .launch-meta::before {
  transform-origin: 0 50%;
  animation: line-grow 1.2s var(--ease-out) 260ms both;
}

@media (max-width: 1080px) {
  .hero-title {
    font-size: clamp(3.35rem, 7.6vw, 5.4rem);
    max-width: 62vw;
  }

  .sculpture {
    right: calc(var(--margin) - 2.4vw);
    width: min(48vw, 34rem);
  }

  .hero-support {
    width: min(21ch, 28vw);
  }
}

@media (max-width: 860px) {
  .site-header {
    padding-top: 1.35rem;
  }

  .hero {
    display: flex;
    min-height: auto;
    flex-direction: column;
    padding-top: clamp(2.5rem, 8.5vh, 4.4rem);
    padding-bottom: clamp(2.2rem, 5.5vh, 3.6rem);
  }

  .hero-title {
    width: auto;
    max-width: 100%;
    font-size: clamp(3.3rem, 9.2vw, 5rem);
  }

  .hero-intro {
    width: min(100%, 43ch);
    margin-top: 1.9rem;
  }

  .sculpture {
    position: relative;
    top: auto;
    right: auto;
    order: 3;
    width: calc(100% + var(--margin));
    height: clamp(22rem, 72vw, 36rem);
    margin-top: clamp(1.4rem, 4vw, 2.6rem);
    margin-right: calc(var(--margin) * -1);
  }

  .hero-support {
    position: static;
    order: 4;
    align-self: flex-end;
    width: min(23ch, 76vw);
    margin-top: clamp(1.8rem, 5.5vw, 2.8rem);
  }

  .launch {
    padding-top: clamp(5rem, 12vh, 7.5rem);
    padding-bottom: clamp(4rem, 9vh, 6rem);
  }

  .launch-title {
    font-size: clamp(2.85rem, 11.5vw, 6rem);
    gap: clamp(0.8rem, 3.5vw, 2rem);
  }

  .site-footer {
    grid-template-columns: 1fr auto;
    row-gap: 0.65rem;
  }

  .footer-line {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-self: start;
  }

  .footer-legal {
    grid-column: 2;
    grid-row: 1;
  }
}

@media (max-width: 520px) {
  .wordmark {
    font-size: 0.7rem;
    letter-spacing: 0.12em;
  }

  .status {
    gap: 0.4rem;
    font-size: 0.69rem;
    letter-spacing: 0.06em;
  }

  .hero-title {
    font-size: clamp(2.9rem, 12.1vw, 3.7rem);
    letter-spacing: -0.06em;
    line-height: 0.9;
  }

  .hero-intro {
    margin-top: 1.55rem;
    font-size: 0.96rem;
    line-height: 1.55;
  }

  .sculpture {
    height: clamp(19rem, 95vw, 27rem);
    margin-top: 1.1rem;
  }

  .hero-support {
    width: min(21ch, 82vw);
    padding-top: 0.7rem;
    font-size: 0.95rem;
  }

  .launch {
    padding-top: 4.6rem;
    padding-bottom: 4rem;
  }

  .launch-title {
    font-size: clamp(2.62rem, 11.35vw, 3.4rem);
    letter-spacing: -0.07em;
  }

  .launch-meta {
    margin-top: 2.6rem;
  }

  .launch-window {
    gap: 0.55rem;
    font-size: 0.74rem;
    letter-spacing: 0.085em;
  }

  .site-footer {
    grid-template-columns: 1fr;
    gap: 0.56rem;
    padding-top: 1.5rem;
    padding-bottom: 1.7rem;
  }

  .footer-line,
  .footer-legal {
    grid-column: 1;
    grid-row: auto;
    justify-self: start;
    text-align: left;
  }
}

@media (max-width: 360px) {
  .launch-title {
    font-size: 2.45rem;
    letter-spacing: -0.072em;
    gap: 0.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .js .site-header .wordmark,
  .js .site-header .status,
  .js .line-inner,
  .js .hero-intro,
  .js .hero-support,
  .js .launch-word,
  .js .launch-meta,
  .js .launch-meta::before,
  .js .sculpture-stage {
    opacity: 1;
    transform: none;
    animation: none;
    transition: none;
  }

  .sculpture-canvas,
  .sculpture-stage {
    cursor: default;
  }

  .sculpture-canvas,
  .sculpture-fallback {
    transition: none;
  }
}
