@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;450;500;600&family=Manrope:wght@400;500;600;700&display=swap");
:root {
  font-family: "DM Sans", sans-serif;
  color: #f2f0f6;
  background: #060709;
  font-synthesis: none;
  color-scheme: dark;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  overflow: hidden;
}
#scene {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  touch-action: none;
}
.grain {
  position: fixed;
  inset: 0;
  opacity: 0.035;
  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='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath filter='url(%23n)' opacity='.8' d='M0 0h180v180H0z'/%3E%3C/svg%3E");
}
header,
footer,
main {
  position: fixed;
  z-index: 2;
}
header {
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 32px 48px;
  pointer-events: none;
}
.brand {
  font-family: "Manrope", sans-serif;
  font-size: 40px;
  letter-spacing: -3px;
  font-weight: 600;
  line-height: 1;
  color: inherit;
  text-decoration: none;
  pointer-events: auto;
}
.brand span {
  font-family: sans-serif;
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0;
  vertical-align: top;
  margin: 5px 0 0 7px;
}
.edition {
  font-size: 11px;
  letter-spacing: 2px;
  color: #a7a4b2;
  display: flex;
  align-items: center;
  gap: 12px;
}
.dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #bdf9df;
  box-shadow: 0 0 12px #a8f3d775;
}
.divider {
  color: #4b4854;
  margin: 0 8px;
}
main {
  left: 9%;
  top: 50%;
  transform: translateY(-48%);
  pointer-events: none;
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 2.5px;
  color: #a49bac;
  margin-bottom: 27px;
}
h1 {
  font-family: "Manrope", sans-serif;
  font-weight: 400;
  font-size: clamp(52px, 6.8vw, 108px);
  line-height: 1.04;
  letter-spacing: -0.065em;
  margin: 0;
  text-shadow: 0 2px 45px #07070b60;
}
h1 em {
  font-style: normal;
  color: #b5a9c9;
}
main p {
  font-size: 14px;
  line-height: 1.8;
  color: #8f889d;
  margin: 25px 0 0;
  font-weight: 400;
}
footer {
  bottom: 0;
  left: 0;
  right: 0;
  padding: 30px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.instruction {
  display: flex;
  gap: 14px;
  align-items: center;
  font-size: 12px;
  line-height: 1.8;
  color: #c1bccb;
}
.cross {
  font-size: 25px;
  font-weight: 400;
  color: #7b7489;
}
.muted {
  color: #716b80;
}
.controls {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 4px;
  padding: 6px;
  border: 1px solid #ffffff17;
  border-radius: 40px;
  background: #11101699;
  backdrop-filter: blur(18px);
}
button {
  font: inherit;
  cursor: pointer;
  color: #8f879f;
  border: 0;
  background: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 30px;
  font-size: 12px;
  transition:
    background 0.2s,
    color 0.2s;
}
button:hover {
  color: #fff;
  background: #ffffff09;
}
button.selected {
  color: #f2eef9;
  background: #ffffff0e;
}
button:focus-visible,
a:focus-visible {
  outline: 2px solid #b8a4ff;
  outline-offset: 4px;
}
i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  box-shadow: 0 0 9px #ffffff18;
}
.iris {
  background: #b6a2f2;
}
.glacier {
  background: #a0eaf0;
}
.ember {
  background: #f3b17d;
}
.control-divider {
  height: 18px;
  width: 1px;
  background: #ffffff14;
  align-self: center;
  margin: 0 4px;
}
#pause {
  width: 34px;
  padding: 8px;
}
.footnote {
  font-size: 9px;
  letter-spacing: 1.5px;
  color: #736c81;
}
.footnote span {
  margin: 0 10px;
  color: #4a4554;
}
#fallback {
  position: fixed;
  top: 40%;
  left: 45%;
  width: 45%;
  line-height: 1.8;
  background: #181320;
  padding: 28px;
  border: 1px solid #8573a5;
  border-radius: 16px;
}
body:has(#fallback:not([hidden])) main {
  opacity: 0.25;
}
@media (max-width: 700px) {
  header {
    padding: 25px;
  }
  .brand {
    font-size: 34px;
  }
  .edition {
    font-size: 9px;
    letter-spacing: 1px;
    gap: 7px;
  }
  main {
    left: 8%;
    top: 29%;
  }
  .eyebrow {
    font-size: 8px;
    letter-spacing: 1.8px;
    margin-bottom: 18px;
  }
  h1 {
    font-size: 56px;
  }
  main p {
    font-size: 12px;
    margin-top: 17px;
  }
  footer {
    padding: 22px;
    justify-content: center;
  }
  .controls {
    position: relative;
    left: auto;
    transform: none;
  }
  .instruction,
  .footnote {
    display: none;
  }
  #fallback {
    left: 8%;
    top: 55%;
    width: 84%;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
  }
}

/* A glass capsule opens into the navigation surface. */
.menu-shell {
  --light-x: 140px;
  --light-y: 20px;
  position: fixed;
  z-index: 20;
  top: 27px;
  left: 50%;
  transform: translateX(-50%);
  width: 222px;
  height: 54px;
  border: 1px solid #cfc0ff2e;
  border-radius: 28px;
  background: linear-gradient(135deg, #ddd0ff0e, transparent 50%), #101019df;
  box-shadow:
    0 5px 30px #0004,
    inset 0 1px 0 #fff1;
  backdrop-filter: blur(30px) saturate(140%);
  overflow: hidden;
  transition:
    width 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    height 0.75s cubic-bezier(0.22, 1, 0.36, 1),
    border-radius 0.65s,
    box-shadow 0.6s,
    background 0.6s;
}
.menu-shell:before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(
    250px circle at var(--light-x) var(--light-y),
    #b89dff14,
    transparent 80%
  );
  opacity: 0;
  transition: opacity 0.5s;
}
.menu-shell:hover:before,
.menu-open .menu-shell:before {
  opacity: 1;
}
.menu-bar {
  height: 53px;
  display: flex;
  align-items: center;
  padding: 0 14px 0 18px;
  position: relative;
  gap: 12px;
}
.menu-orbit {
  position: relative;
  width: 29px;
  height: 29px;
  display: block;
  flex-shrink: 0;
  transform: rotate(-25deg);
  transition: transform 1s cubic-bezier(0.22, 1, 0.36, 1);
}
.menu-orbit i {
  position: absolute;
  inset: 5px 0;
  width: auto;
  height: auto;
  border: 1px solid #c9acffab;
  border-radius: 50%;
  box-shadow: 0 0 8px #b295ff28;
  background: none;
}
.menu-orbit i:nth-child(2) {
  transform: rotate(60deg);
  border-color: #a2efffa8;
}
.menu-orbit i:nth-child(3) {
  transform: rotate(120deg);
  border-color: #faf0ff9c;
}
.menu-wordmark {
  font-size: 9px;
  letter-spacing: 1px;
  color: #c9bfd9;
  max-width: 0;
  opacity: 0;
  overflow: hidden;
  white-space: nowrap;
  transition:
    max-width 0.7s,
    opacity 0.5s;
}
.menu-bar #menu-toggle {
  margin-left: auto;
  min-width: 112px;
  font-size: 12px;
  color: #e4ddec;
  justify-content: space-between;
  gap: 22px;
  padding: 10px 8px;
}
.menu-symbol {
  width: 17px;
  height: 17px;
  position: relative;
  display: block;
}
.menu-symbol i {
  position: absolute;
  left: 1px;
  top: 5px;
  width: 15px;
  height: 1px;
  border-radius: 0;
  background: #e3d7f9;
  box-shadow: none;
  transition:
    transform 0.5s,
    top 0.5s;
}
.menu-symbol i + i {
  top: 11px;
  width: 11px;
  left: 5px;
}
.menu-veil {
  position: fixed;
  inset: 0;
  z-index: 10;
  background: #05040a70;
  backdrop-filter: blur(7px);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.65s,
    visibility 0.65s;
}
.menu-open .menu-veil {
  opacity: 1;
  visibility: visible;
}
.menu-open .menu-shell {
  width: min(540px, calc(100vw - 32px));
  height: 481px;
  border-radius: 26px;
  box-shadow:
    0 25px 100px #0009,
    0 0 70px #9670ff0c,
    inset 0 1px 0 #fff2;
  background: linear-gradient(135deg, #b69ce918, transparent 65%), #100e19eb;
}
.menu-open .menu-shell.moods-open {
  height: 536px;
}
.menu-open .menu-orbit {
  transform: rotate(155deg);
}
.menu-open .menu-wordmark {
  max-width: 120px;
  opacity: 1;
}
.menu-open .menu-symbol i {
  top: 8px;
  transform: rotate(45deg);
}
.menu-open .menu-symbol i + i {
  left: 1px;
  width: 15px;
  transform: rotate(-45deg);
}
#menu-content {
  padding: 15px 28px 23px;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.2s,
    visibility 0.2s;
}
.menu-open #menu-content {
  opacity: 1;
  visibility: visible;
  transition-delay: 0.13s;
}
.menu-intro {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 9px;
  letter-spacing: 1.6px;
  color: #9e91b2;
  padding: 6px 0 20px;
  border-bottom: 1px solid #c9a8fc1a;
}
.menu-coordinate {
  color: #6e617f;
}
.menu-link {
  width: 100%;
  text-align: left;
  justify-content: flex-start;
  border-radius: 0;
  border-bottom: 1px solid #c9a8fc1a;
  padding: 20px 0;
  gap: 18px;
  position: relative;
  transform: translateY(26px);
  opacity: 0;
  filter: blur(5px);
  transition:
    transform 0.65s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.5s,
    filter 0.6s,
    background 0.3s;
}
.menu-open .menu-link {
  transform: translateY(0);
  opacity: 1;
  filter: blur(0);
}
.menu-open .menu-link:nth-of-type(1) {
  transition-delay: 0.15s;
}
.menu-open .menu-link:nth-of-type(2) {
  transition-delay: 0.22s;
}
.menu-open .menu-link:nth-of-type(3) {
  transition-delay: 0.29s;
}
.menu-index {
  align-self: flex-start;
  padding-top: 5px;
  color: #877695;
  font-size: 10px;
  letter-spacing: 1px;
}
.menu-link-title {
  font-family: Manrope, sans-serif;
  font-size: 30px;
  line-height: 1.2;
  letter-spacing: -1px;
  color: #dcd4e8;
  transition:
    transform 0.4s,
    color 0.4s;
}
.menu-link-title small {
  display: block;
  margin-top: 9px;
  color: #8e809f;
  font:
    11px "DM Sans",
    sans-serif;
  letter-spacing: 0;
}
.menu-arrow {
  margin-left: auto;
  color: #9b85bc;
  font-size: 26px;
  transition:
    transform 0.4s,
    color 0.4s;
}
.menu-link:hover {
  background: transparent;
}
.menu-link:hover .menu-link-title {
  transform: translateX(7px);
  color: #fff;
}
.menu-link:hover .menu-arrow {
  transform: translate(3px, -3px);
  color: #c5f6ff;
}
.menu-bottom {
  display: flex;
  justify-content: space-between;
  font-size: 8px;
  letter-spacing: 1.1px;
  color: #72647f;
  padding-top: 23px;
}
.menu-bottom > span:first-child {
  display: flex;
  align-items: center;
  gap: 7px;
}
.menu-bottom i {
  display: inline-block;
  width: 4px;
  height: 4px;
  background: #ccb0f5;
  box-shadow: 0 0 7px #bea0ff;
}
.menu-bottom > span:last-child {
  color: #62556e;
}
#menu-moods {
  display: flex;
  gap: 8px;
  padding: 10px 0 6px 29px;
}
#menu-moods[hidden] {
  display: none;
}
#menu-moods button {
  padding: 9px 14px;
  border: 1px solid #ffffff12;
  font-size: 11px;
}
#menu-moods button[aria-pressed="true"] {
  background: #c5a7fb18;
  color: #eee2ff;
  border-color: #c6a8ed3b;
}
body main,
body header .brand,
body header .edition,
body .instruction,
body .footnote {
  transition:
    opacity 0.7s,
    filter 0.7s;
}
body.pure-form main,
body.pure-form header .brand,
body.pure-form header .edition,
body.pure-form .instruction,
body.pure-form .footnote {
  opacity: 0;
  pointer-events: none;
  filter: blur(8px);
}
@media (max-width: 700px) {
  .menu-shell {
    top: 22px;
    left: auto;
    right: 22px;
    transform: none;
    width: 155px;
  }
  .menu-bar {
    padding-left: 12px;
    gap: 0;
  }
  .menu-bar #menu-toggle {
    min-width: 97px;
    gap: 14px;
  }
  .edition {
    display: none;
  }
  .menu-open .menu-shell {
    right: 16px;
    width: calc(100vw - 32px);
    max-height: calc(100dvh - 40px);
    overflow-y: auto;
  }
  .menu-link-title {
    font-size: 27px;
  }
  .menu-link {
    padding: 22px 0;
  }
  .menu-intro {
    font-size: 8px;
  }
  .menu-open .menu-wordmark {
    margin-left: 10px;
  }
  .menu-bottom {
    letter-spacing: 0.6px;
  }
  #menu-content {
    padding-left: 22px;
    padding-right: 22px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .menu-shell,
  .menu-link,
  .menu-veil,
  .menu-orbit,
  .menu-symbol i,
  #menu-content,
  .menu-wordmark {
    transition: none !important;
  }
  .menu-link {
    filter: none;
  }
}

header .edition {
  margin-left: auto;
}
