:root {
  color-scheme: dark light;
  --split: 50%;
  --ink-dark: #050505;
  --ink-light: #f1f0ed;
  --interface-ink: #f5f4f0;
  --hairline: rgba(255, 255, 255, 0.16);
  --motion-blur: 0px;
  --energy-weight: 0;
  --energy-width: 0;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
}

body {
  overflow: hidden;
  background: var(--ink-dark);
  font-family: "Roboto Flex", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
}

button,
a {
  color: inherit;
  font: inherit;
}

button {
  appearance: none;
}

.hero {
  position: relative;
  width: 100%;
  height: 100svh;
  min-height: 620px;
  overflow: hidden;
  background: var(--ink-dark);
  isolation: isolate;
}

.split-background,
.split-background__dark,
.split-background__light,
.split-background__grain {
  position: absolute;
  inset: 0;
}

.split-background__dark {
  background: var(--ink-dark);
}

.split-background__light {
  left: var(--split);
  background:
    radial-gradient(circle at 35% 45%, rgba(255, 255, 255, 0.8), transparent 42%),
    var(--ink-light);
}

.split-background__grain {
  z-index: 2;
  opacity: 0.05;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.62'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

.hero-interface {
  position: absolute;
  inset: 0;
  z-index: 5;
  color: var(--interface-ink);
  mix-blend-mode: difference;
  pointer-events: none;
}

.topbar {
  position: absolute;
  z-index: 20;
  inset: 0 0 auto;
  height: 84px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 2.1vw;
  border-bottom: 1px solid var(--hairline);
  pointer-events: auto;
}

.topbar a,
.topbar button,
.primary-nav {
  position: relative;
  z-index: 1;
  pointer-events: auto;
}

.brand {
  width: max-content;
  color: inherit;
  font-size: clamp(20px, 1.65vw, 28px);
  font-weight: 500;
  letter-spacing: -0.035em;
  text-decoration: none;
}

.primary-nav,
.topbar__meta,
.menu {
  display: flex;
  align-items: center;
}

.primary-nav {
  gap: clamp(24px, 3.2vw, 60px);
}

.nav-link,
.locale,
.menu {
  padding: 12px 8px;
  border: 0;
  background: none;
  cursor: inherit;
  font-family: "IBM Plex Mono", monospace;
  font-size: clamp(9px, 0.62vw, 12px);
  line-height: 1;
  letter-spacing: -0.04em;
}

.nav-link.is-active {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.topbar__meta {
  justify-self: end;
  gap: 18px;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}

.menu {
  gap: 10px;
}

@media (min-width: 600px) {
  .topbar .menu { display: none; }
}

.menu-grid {
  display: grid;
  width: 14px;
  height: 14px;
  grid-template-columns: repeat(3, 2px);
  grid-template-rows: repeat(3, 2px);
  place-content: space-between;
}

.menu-grid i {
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: currentColor;
}

.site-menu {
  position: fixed;
  z-index: 2147483000;
  inset: 0;
  display: grid;
  grid-template-rows: 84px 1fr 64px;
  padding: 0 2.1vw;
  color: #f1f0ed;
  background: linear-gradient(90deg, #070707 0 var(--split, 50%), #efeeeb var(--split, 50%) 100%);
  clip-path: inset(0 0 100% 0);
  opacity: 0;
  pointer-events: none;
  transition: clip-path 420ms cubic-bezier(.2,.8,.2,1), opacity 140ms linear;
}

.site-menu::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 1;
  background: #efeeeb;
  clip-path: inset(0 0 0 var(--split, 50%));
}

.site-menu::after { content: ""; position: absolute; z-index: 1; top: 0; bottom: 0; left: var(--split, 50%); width: 1px; background: rgba(127,127,127,.75); box-shadow: 0 0 24px rgba(127,127,127,.22); pointer-events: none; }

.site-menu.is-open { clip-path: inset(0); opacity: 1; pointer-events: auto; }
.site-menu:not(.is-open),
.site-menu:not(.is-open) * { pointer-events: none !important; }
.site-menu__top, .site-menu__footer { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; font: 10px/1 "IBM Plex Mono", monospace; letter-spacing: -.055em; clip-path: none; }
.site-menu__top { border-bottom: 1px solid rgba(241,240,237,.18); }
.site-menu__footer { border-top: 1px solid rgba(241,240,237,.18); color: rgba(241,240,237,.62); }
.site-menu__close, .site-menu__locale { border: 0; padding: 10px 0; background: transparent; color: inherit; font: inherit; cursor: pointer; }
.site-menu__close { display: inline-flex; gap: 12px; align-items: center; }
.site-menu__close i { font: 26px/.6 "Roboto Flex", sans-serif; font-style: normal; }
.site-menu__links { position: relative; z-index: 2; display: grid; align-content: center; clip-path: none; }
.site-menu__white-copy { position: absolute; z-index: 3; inset: 0; display: grid; grid-template-rows: 84px 1fr 64px; padding: 0 2.1vw; color: #070707; background: #efeeeb; pointer-events: auto; clip-path: inset(0 0 0 var(--split, 50%)); }
.site-menu__white-copy .site-menu__top, .site-menu__white-copy .site-menu__footer, .site-menu__white-copy .site-menu__links { color: inherit; clip-path: none; }
.site-menu__links a { display: grid; grid-template-columns: 5.5vw 1fr auto; align-items: baseline; min-height: clamp(58px, 10vh, 110px); border-bottom: 1px solid rgba(241,240,237,.18); color: inherit; text-decoration: none; font: 500 clamp(44px, 8.2vw, 138px)/.78 "Roboto Flex", sans-serif; letter-spacing: -.085em; transition: padding 260ms ease, color 260ms ease; }
.site-menu__links a:first-child { border-top: 1px solid rgba(241,240,237,.18); }
.site-menu__links a span, .site-menu__links a i { font: 10px/1 "IBM Plex Mono", monospace; letter-spacing: -.055em; font-style: normal; }
.site-menu__links a b { font: inherit; font-weight: inherit; }
.site-menu__links a b { white-space: nowrap; word-break: normal; overflow-wrap: normal; hyphens: none; }
.site-menu__links a i { padding-right: 4px; }
.site-menu__links a:hover, .site-menu__links a:focus-visible { padding-left: 1.2vw; color: #d8eb21; outline: none; }
body.menu-open { overflow: hidden; }
body.menu-open .divider { pointer-events: none; }

.kinetic-stage {
  position: absolute;
  z-index: 8;
  inset: 84px 0 148px;
  display: grid;
  grid-template-rows: repeat(4, minmax(0, 1fr));
  pointer-events: auto;
}

.kinetic-row {
  position: relative;
  min-height: 0;
  border-bottom: 1px solid var(--hairline);
  pointer-events: auto;
}

.row-index {
  position: absolute;
  z-index: 3;
  left: 2.1vw;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  font-family: "IBM Plex Mono", monospace;
  font-size: clamp(8px, 0.57vw, 11px);
  letter-spacing: -0.06em;
}

.kinetic-viewport {
  position: absolute;
  inset: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.kinetic-track {
  display: flex;
  width: max-content;
  gap: clamp(48px, 6vw, 120px);
  padding-left: clamp(78px, 7vw, 132px);
  will-change: transform, filter;
  filter: blur(var(--motion-blur));
}

.phrase {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: clamp(20px, 2.8vw, 58px);
  margin: 0;
  white-space: nowrap;
  font-size: clamp(54px, 6.45vw, 116px);
  font-weight: 400;
  line-height: 0.85;
  letter-spacing: -0.058em;
  text-transform: uppercase;
}

.word {
  --base-weight: 330;
  --base-width: 76;
  --local-weight: 0;
  --local-width: 0;
  --divider-weight: 0;
  --divider-width: 0;
  display: inline-block;
  transform: translate3d(var(--word-x, 0), var(--word-y, 0), 0) skewX(var(--word-skew, 0deg));
  letter-spacing: var(--word-spacing, inherit);
  font-variation-settings:
    "wght" calc(var(--base-weight) + var(--energy-weight) + var(--local-weight) + var(--divider-weight)),
    "wdth" calc(var(--base-width) + var(--energy-width) + var(--local-width) + var(--divider-width)),
    "opsz" 72;
  transition:
    transform 420ms cubic-bezier(0.18, 1.55, 0.28, 1),
    letter-spacing 420ms cubic-bezier(0.18, 1.55, 0.28, 1),
    font-variation-settings 520ms cubic-bezier(0.18, 1.55, 0.28, 1),
    opacity 180ms ease;
  will-change: transform, font-variation-settings;
}

.word.strong {
  --base-weight: 500;
  --base-width: 84;
}

.word.muted,
.word.slash {
  --base-weight: 230;
  --base-width: 68;
  opacity: 0.38;
}

.word.arrow {
  --base-weight: 250;
  --base-width: 82;
  min-width: 0.75em;
}

.word.note {
  --base-weight: 400;
  --base-width: 92;
  align-self: center;
  max-width: 132px;
  white-space: normal;
  font-family: "IBM Plex Mono", monospace;
  font-size: clamp(9px, 0.66vw, 13px);
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: -0.08em;
}

.word.is-cursor-active {
  --word-spacing: 0.025em;
  opacity: 1;
}

.word.is-divider-active {
  opacity: 1;
}

.hero-footer {
  position: absolute;
  z-index: 12;
  inset: auto 0 0;
  height: 148px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: end;
  padding: 22px 2.1vw 24px;
}

.interaction-hint,
.studio-note,
.prototype-state {
  font-family: "IBM Plex Mono", monospace;
  font-size: clamp(8px, 0.58vw, 11px);
  line-height: 1.55;
  letter-spacing: -0.05em;
}

.interaction-hint {
  align-self: start;
  display: flex;
  align-items: center;
  gap: 14px;
}

.velocity-meter {
  position: relative;
  display: block;
  width: 62px;
  height: 1px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.22);
}

.velocity-meter i {
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--velocity-width, 0%);
  background: currentColor;
  transition: width 90ms linear;
}

.studio-note {
  grid-column: 1;
  margin: 0;
}

.prototype-state {
  grid-column: 3;
  justify-self: end;
  display: grid;
  justify-items: end;
  gap: 4px;
}

.divider {
  position: absolute;
  z-index: 30;
  top: 0;
  bottom: 0;
  left: var(--split);
  width: 36px;
  transform: translateX(-50%);
  touch-action: none;
  outline: none;
  pointer-events: none;
}

@media (max-width: 599px) {
  .divider { pointer-events: auto; }
}

.divider__line {
  position: absolute;
  inset: 0 auto 0 50%;
  width: 1px;
  transform: translateX(-50%);
  background: rgba(124, 124, 124, 0.7);
  box-shadow: 0 0 28px rgba(127, 127, 127, 0.25);
}

.custom-cursor {
  position: fixed;
  z-index: 2147483647;
  left: 0;
  top: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
  color: #fff;
  mix-blend-mode: difference;
  will-change: transform;
  pointer-events: none;
}

.custom-cursor i {
  position: absolute;
  left: -4px;
  top: -4px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 1px rgba(255,255,255,.55), 0 0 18px rgba(255,255,255,.35);
  transition: transform 180ms ease;
}

.custom-cursor span {
  position: absolute;
  left: 13px;
  top: -7px;
  min-width: 34px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 9px;
  line-height: 1;
  opacity: 0;
  transform: translateX(-5px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.custom-cursor.has-label i {
  transform: scale(0.55);
}

.custom-cursor.has-label span {
  opacity: 1;
  transform: translateX(0);
}

.desktop-notice {
  display: none;
}

.magnetic {
  transform: translate3d(var(--magnetic-x, 0), var(--magnetic-y, 0), 0);
  transition: transform 220ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

@media (hover: hover) and (pointer: fine) {
  html.custom-cursor-ready,
  html.custom-cursor-ready body,
  html.custom-cursor-ready button,
  html.custom-cursor-ready a,
  html.custom-cursor-ready .divider {
    cursor: none;
  }
}

@media (max-width: 599px) {
  .primary-nav { display: none; }
  .topbar { grid-template-columns: 1fr auto; }
  .topbar__meta { gap: 12px; }
  .locale, .status-dot { display: none; }
  .site-menu { grid-template-rows: 68px 1fr 58px; padding: 0 18px; }
  .site-menu__white-copy { grid-template-rows: 68px 1fr 58px; padding: 0 18px; }
  .site-menu__links a { grid-template-columns: 40px 1fr 22px; min-height: 70px; font-size: clamp(42px, 13vw, 72px); }
  .site-menu__links a:hover, .site-menu__links a:focus-visible { padding-left: 0; }
  .desktop-notice { display: none; }
}

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

  .kinetic-track {
    filter: none !important;
  }

  .word,
  .magnetic {
    transition-duration: 0.01ms !important;
  }

  .custom-cursor {
    display: none;
  }

  html,
  body,
  button,
  a,
  .divider {
    cursor: auto;
  }
}
