@font-face {
  font-family: "Uncut Sans";
  src: url("/fonts/UncutSans-Variable.woff2") format("woff2");
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #f5f4ef;
  --ink: #141414;
  --muted: #696967;
  --cobalt: #3158e8;
  --coral: #e97860;
  --frame: min(620px, calc(100% - 40px));
  font-family: "Uncut Sans", "Helvetica Neue", Arial, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-width: 320px;
  min-height: 100%;
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Uncut Sans", "Helvetica Neue", Arial, sans-serif;
}

html {
  scroll-behavior: auto;
}

body {
  min-height: 100svh;
}

body.menu-open {
  overflow: hidden;
}

button,
a {
  font: inherit;
}

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

button {
  color: inherit;
}

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

:focus-visible {
  outline: 2px solid var(--cobalt);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 40;
  top: 12px;
  left: 12px;
  padding: 9px 13px;
  background: var(--ink);
  color: white;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  z-index: 15;
  inset: 0 0 auto;
  pointer-events: none;
}

.site-header__inner {
  display: flex;
  width: var(--frame);
  height: 76px;
  align-items: center;
  justify-content: space-between;
  margin-inline: auto;
  pointer-events: auto;
}

.home-wordmark {
  display: inline-flex;
  width: auto;
  flex: 0 0 auto;
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1;
  white-space: nowrap;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-left: auto;
  margin-right: 22px;
}

.desktop-nav a {
  display: inline-block;
  font-size: 12px;
  font-weight: 560;
  letter-spacing: 0.015em;
  transition: color 280ms ease, transform 520ms cubic-bezier(0.22, 1, 0.36, 1);
}

.desktop-nav a:hover,
.desktop-nav a:focus-visible,
.desktop-nav a[aria-current="page"] {
  color: var(--cobalt);
}

.desktop-nav a:hover,
.desktop-nav a:focus-visible {
  transform: translateY(-1px);
}

.hero-link,
.site-footer a {
  font-size: 12px;
  font-weight: 560;
  letter-spacing: 0.015em;
  transition: color 280ms ease, transform 520ms cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-link:hover,
.hero-link:focus-visible,
.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--cobalt);
  transform: translateY(-1px);
}

.menu-button {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  place-content: center;
  gap: 5px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  transition: transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

.menu-button:hover,
.menu-button:focus-visible {
  transform: translateY(-1px);
}

.menu-button span {
  display: block;
  width: 16px;
  height: 1px;
  background: currentColor;
  transition: transform 320ms cubic-bezier(0.22, 1, 0.36, 1), width 320ms cubic-bezier(0.22, 1, 0.36, 1);
}

.menu-button:hover span:first-child {
  width: 12px;
  transform: translateX(2px);
}

.menu-button:hover span:last-child {
  width: 12px;
  transform: translateX(-2px);
}

.menu-button[aria-expanded="true"] span:first-child {
  transform: translateY(3px) rotate(45deg);
}

.menu-button[aria-expanded="true"] span:last-child {
  transform: translateY(-3px) rotate(-45deg);
}

main {
  min-height: 100svh;
}

.experience-stage {
  position: relative;
  display: grid;
  min-height: 100svh;
  place-items: center;
  overflow-x: clip;
  padding: clamp(100px, 14svh, 130px) 0 clamp(84px, 12svh, 108px);
}

.stage-core {
  position: relative;
  width: var(--frame);
  height: clamp(360px, 54svh, 470px);
  min-height: 350px;
  margin: 0 auto;
  isolation: isolate;
}

.stage-flow {
  position: absolute;
  z-index: 0;
  inset: -40px -20px;
  width: calc(100% + 40px);
  height: calc(100% + 80px);
  overflow: visible;
  pointer-events: none;
  transform: translate3d(var(--flow-x, 0px), var(--flow-y, 0px), 0);
  transition: transform 1100ms cubic-bezier(0.22, 1, 0.36, 1);
}

.stage-flow__wash {
  opacity: 0.82;
  transform-box: fill-box;
  transform-origin: center;
}

.stage-flow__orbit {
  opacity: 0.78;
  transform-box: fill-box;
  transform-origin: center;
  transition: opacity 780ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.stage-flow__trace {
  fill: none;
  stroke-dasharray: 70 1180;
  stroke-linecap: round;
  stroke-width: 1.8;
  opacity: 0;
  vector-effect: non-scaling-stroke;
  pointer-events: none;
}

.stage-flow__trace--cobalt {
  stroke: var(--cobalt);
  stroke-opacity: 0.5;
}

.stage-flow__trace--coral {
  stroke: var(--coral);
  stroke-opacity: 0.48;
}

.stage-core[data-scene="0"] .stage-flow__orbit--cobalt {
  opacity: 0.58;
}

.stage-core[data-scene="1"] .stage-flow__orbit--coral {
  opacity: 1;
}

.stage-core[data-scene="2"] .stage-flow__orbit--ink {
  opacity: 0.92;
}

.motion-ready .stage-flow__wash--cobalt {
  animation: wash-breathe 12s ease-in-out infinite alternate;
  animation-play-state: paused;
}

.motion-ready .stage-flow__wash--coral {
  animation: wash-breathe 15s ease-in-out -4s infinite alternate-reverse;
  animation-play-state: paused;
}

.motion-ready .stage-flow__orbit--cobalt {
  animation: orbit-drift-a 19s ease-in-out infinite alternate;
  animation-play-state: paused;
}

.motion-ready .stage-flow__orbit--coral {
  animation: orbit-drift-b 23s ease-in-out -7s infinite alternate;
  animation-play-state: paused;
}

.motion-ready .stage-flow__orbit--ink {
  animation: orbit-drift-c 27s ease-in-out -11s infinite alternate;
  animation-play-state: paused;
}

.motion-ready .stage-flow__trace--cobalt {
  animation: trace-flow 22s linear infinite;
  animation-play-state: paused;
}

.motion-ready .stage-flow__trace--coral {
  animation: trace-flow 27s linear -9s infinite reverse;
  animation-play-state: paused;
}

.experience-stage.is-live .stage-flow__wash,
.experience-stage.is-live .stage-flow__orbit,
.experience-stage.is-live .stage-flow__trace {
  animation-play-state: running;
}

body.menu-open .stage-flow__wash,
body.menu-open .stage-flow__orbit,
body.menu-open .stage-flow__trace {
  animation-play-state: paused !important;
}

@keyframes wash-breathe {
  from { transform: translate3d(-8px, 5px, 0) scale(0.96); }
  to { transform: translate3d(10px, -7px, 0) scale(1.06); }
}

@keyframes orbit-drift-a {
  from { transform: translate3d(-5px, 5px, 0) rotate(-0.8deg); }
  to { transform: translate3d(8px, -7px, 0) rotate(0.9deg); }
}

@keyframes orbit-drift-b {
  from { transform: translate3d(7px, -5px, 0) rotate(0.7deg); }
  to { transform: translate3d(-8px, 8px, 0) rotate(-0.7deg); }
}

@keyframes orbit-drift-c {
  from { transform: translate3d(-4px, -6px, 0) rotate(0.5deg); }
  to { transform: translate3d(6px, 5px, 0) rotate(-0.6deg); }
}

@keyframes trace-flow {
  from { stroke-dashoffset: 0; opacity: 0.04; }
  16% { opacity: 0.42; }
  84% { opacity: 0.42; }
  to { stroke-dashoffset: -1250; opacity: 0.04; }
}

.stage-panel {
  --travel-y: 18px;
  position: absolute;
  z-index: 1;
  inset: 0;
  display: grid;
  align-content: center;
  justify-items: center;
  padding: 18px 0;
  text-align: center;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translate3d(0, var(--travel-y), 0) scale(0.985);
  transition: opacity 560ms ease, transform 860ms cubic-bezier(0.16, 1, 0.3, 1), visibility 0s linear 760ms;
}

.stage-panel:focus-visible {
  outline: none;
}

.stage-panel:not(.is-active) {
  transition-duration: 180ms, 460ms, 0s;
  transition-delay: 0s, 0s, 210ms;
}

.stage-core[data-flow-direction="reverse"] .stage-panel {
  --travel-y: -18px;
}

.stage-panel.is-active {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transform: translate3d(0, 0, 0) scale(1);
  transition-delay: 0s;
}

.stage-panel--approach {
  align-content: center;
}

.stage-panel--about .about__main {
  width: 100%;
  max-width: 500px;
  margin-inline: auto;
}

.hero-title {
  width: 100%;
  max-width: 520px;
  margin: 0 auto 16px;
  font-size: clamp(31px, 3.65vw, 49px);
  font-weight: 520;
  letter-spacing: -0.045em;
  line-height: 1.24;
}

.hero-title__line {
  display: block;
  width: fit-content;
  margin-inline: auto;
}

.hero-title__line--accent {
  color: var(--cobalt);
}

.hero-summary {
  max-width: 31em;
  margin: 0 auto;
  color: #3b3b39;
  font-size: 14px;
  font-weight: 390;
  line-height: 1.55;
}

.hero-link {
  display: inline-block;
  margin-top: 26px;
  line-height: 1.35;
}

.section-title {
  max-width: 20em;
  margin: 0 auto;
  font-size: clamp(25px, 2.65vw, 31px);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.24;
}

.thread-switcher {
  width: 100%;
  max-width: 560px;
  margin: 34px auto 0;
}

.thread-tabs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.thread-tab {
  position: relative;
  display: inline-flex;
  min-height: 33px;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  overflow: visible;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 11px;
  font-weight: 520;
  line-height: 1.35;
  white-space: nowrap;
  transition: color 300ms cubic-bezier(0.645, 0.045, 0.355, 1), background-color 300ms cubic-bezier(0.645, 0.045, 0.355, 1), border-color 300ms ease, transform 520ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 420ms ease;
}

.thread-tab::after {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  clip-path: inset(0 round 999px);
  background: linear-gradient(112deg, transparent 20%, rgb(255 255 255 / 0.18) 48%, transparent 76%);
  content: "";
  opacity: 0;
  pointer-events: none;
  transform: translateX(-18%);
  transition: opacity 340ms ease, transform 740ms cubic-bezier(0.22, 1, 0.36, 1);
}

.thread-tab[aria-selected="true"]:hover::after,
.thread-tab[aria-selected="true"]:focus-visible::after {
  opacity: 1;
  transform: translateX(18%);
}

.thread-tab:hover {
  color: var(--ink);
  transform: translateY(-2px) scale(1.025);
}

.thread-tab:focus-visible {
  color: var(--ink);
  transform: translateY(-2px) scale(1.025);
}

.thread-tab[aria-selected="true"] {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
  transform: translateY(-1px);
}

.thread-tab[aria-selected="true"]:hover,
.thread-tab[aria-selected="true"]:focus-visible {
  color: var(--paper);
  transform: translateY(-2px) scale(1.025);
  box-shadow: 0 7px 18px rgb(20 20 20 / 0.12);
}

.thread-tab:active {
  transform: translateY(0) scale(0.985);
  transition-duration: 160ms;
}

.thread-panel {
  display: grid;
  min-height: 142px;
  grid-template-columns: 1fr;
  align-content: center;
  justify-items: center;
  margin-top: 16px;
  padding: 22px 10px;
  text-align: center;
}

.thread-panel__phrase {
  max-width: 100%;
  margin: 0;
  font-size: clamp(24px, 2.8vw, 32px);
  font-weight: 480;
  letter-spacing: -0.04em;
  line-height: 1.24;
  opacity: 1;
  transform: translate3d(0, 0, 0);
  clip-path: inset(0);
  transition: opacity 360ms ease, transform 620ms cubic-bezier(0.16, 1, 0.3, 1), clip-path 620ms cubic-bezier(0.16, 1, 0.3, 1);
}

.thread-panel.is-switching .thread-panel__phrase {
  opacity: 0;
  transform: translate3d(0, 11px, 0);
  clip-path: inset(0 0 100% 0);
}

.about-title {
  margin: 0 0 17px;
  font-size: clamp(27px, 3vw, 35px);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.24;
}

.about-copy {
  max-width: 42ch;
  margin: 0 auto;
  color: #3b3b39;
  font-size: 14px;
  line-height: 1.62;
}

.site-footer {
  position: fixed;
  z-index: 12;
  inset: auto 0 0;
  width: var(--frame);
  margin: 0 auto;
  padding-block: 14px 20px;
  background: var(--paper);
  text-align: center;
}

.site-footer a {
  display: inline-block;
}

.site-menu[hidden] {
  display: none !important;
}

.site-menu {
  position: fixed;
  z-index: 30;
  inset: 0;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: var(--paper);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity 360ms ease, transform 520ms cubic-bezier(0.22, 1, 0.36, 1);
}

.site-menu.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.site-menu__inner {
  position: relative;
  width: var(--frame);
  padding-block: 88px;
}

.menu-close {
  position: absolute;
  top: 0;
  right: 0;
  padding: 7px 0;
  border: 0;
  background: transparent;
  color: var(--paper);
  cursor: pointer;
  font-size: 11px;
  transition: color 260ms ease, transform 520ms cubic-bezier(0.22, 1, 0.36, 1);
}

.menu-close:hover,
.menu-close:focus-visible {
  color: #aebcff;
  transform: translateX(-3px);
}

.site-menu__nav {
  display: grid;
  gap: 18px;
}

.site-menu__nav a {
  display: block;
  width: fit-content;
  color: var(--paper);
  font-size: clamp(22px, 2.7vw, 29px);
  font-weight: 450;
  letter-spacing: -0.035em;
  line-height: 1.12;
  opacity: 0;
  transform: translate3d(0, 12px, 0);
  transition: color 260ms ease, opacity 560ms cubic-bezier(0.22, 1, 0.36, 1), transform 720ms cubic-bezier(0.22, 1, 0.36, 1);
}

.site-menu.is-open .site-menu__nav a {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.site-menu.is-open .site-menu__nav a:nth-child(2) {
  transition-delay: 90ms;
}

.site-menu__nav a:hover,
.site-menu__nav a:focus-visible,
.site-menu__nav a[aria-current="page"] {
  color: #aebcff;
}

.site-menu__nav a:hover,
.site-menu__nav a:focus-visible {
  transform: translate3d(7px, 0, 0);
}

.site-menu__account[hidden] {
  display: none !important;
}

.site-menu__account {
  display: flex;
  gap: 22px;
  margin-top: 40px;
}

.site-menu__account a {
  color: color-mix(in srgb, var(--paper) 72%, transparent);
  font-size: 11px;
  letter-spacing: 0.015em;
  transition: color 260ms ease, transform 520ms cubic-bezier(0.22, 1, 0.36, 1);
}

.site-menu__account a:hover,
.site-menu__account a:focus-visible {
  color: var(--paper);
  transform: translateY(-2px);
}

.motion-ready .stage-panel.is-active [data-reveal] {
  animation: text-field-reveal 780ms cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: var(--reveal-delay, 0ms);
}

.motion-ready .stage-panel.is-active [data-control-reveal] {
  animation: control-reveal 860ms cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: var(--reveal-delay, 0ms);
}

@keyframes text-field-reveal {
  from {
    opacity: 0;
    clip-path: inset(0 0 100% 0);
    transform: translate3d(0, 14px, 0);
  }
  to {
    opacity: 1;
    clip-path: inset(0);
    transform: translate3d(0, 0, 0);
  }
}

@keyframes control-reveal {
  from {
    opacity: 0;
    transform: translate3d(0, 9px, 0) scale(0.99);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@media (max-width: 700px) {
  :root {
    --frame: min(620px, calc(100% - 40px));
  }

  .site-header__inner {
    height: 68px;
  }

  .home-wordmark {
    width: 116px;
  }

  .desktop-nav {
    display: none;
  }

  .stage-core {
    height: min(470px, calc(100svh - 200px));
    min-height: 350px;
  }

  .stage-panel {
    padding-block: 12px;
  }

  .hero-title {
    max-width: 420px;
    margin-bottom: 13px;
    font-size: clamp(31px, 8vw, 38px);
    line-height: 1.24;
  }

  .hero-summary,
  .about-copy {
    font-size: 14px;
  }

  .hero-link {
    margin-top: 22px;
  }

  .section-title {
    max-width: 15em;
    font-size: clamp(24px, 6.6vw, 29px);
  }

  .thread-switcher {
    margin-top: 29px;
  }

  .thread-tabs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 5px;
  }

  .thread-tab {
    min-width: 0;
    padding: 8px 5px;
    font-size: 10px;
  }

  .thread-panel {
    min-height: 124px;
    margin-top: 13px;
    padding-block: 18px;
  }

  .thread-panel__phrase {
    font-size: clamp(23px, 6.6vw, 28px);
  }

  .about-title {
    font-size: clamp(27px, 7.2vw, 33px);
  }

  .site-menu__inner {
    padding-block: 72px;
  }

  .site-menu__nav a {
    font-size: clamp(22px, 7vw, 28px);
  }
}

@media (max-width: 370px) {
  :root {
    --frame: min(620px, calc(100% - 32px));
  }

  .stage-flow {
    inset: -36px -8px;
    width: calc(100% + 16px);
    height: calc(100% + 72px);
  }

  .thread-tab {
    padding-inline: 3px;
    font-size: 9px;
  }
}

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

  .stage-flow__wash,
  .stage-flow__orbit,
  .stage-flow__trace {
    animation: none !important;
    transform: none !important;
  }

  .stage-flow__trace {
    opacity: 0;
  }

  .site-menu__nav a {
    opacity: 1;
    transform: none;
  }

}
