:root {
  --ink: #f2efe6;
  --paper: #0a0a0c;
  --ember: #ff5a2b;
  --silver: #d8d9d7;
  --steel: #8d9198;
  --green: #59ff8a;
  --line: rgba(242, 239, 230, 0.16);
  --furious: "Archivo", ui-sans-serif, system-ui, sans-serif;
  --aria: "Bodoni Moda", Georgia, serif;
  --nixus: "Syne", ui-sans-serif, system-ui, sans-serif;
  --body: "Sora", ui-sans-serif, system-ui, sans-serif;
  --pad: clamp(20px, 5vw, 76px);
  --max: 1480px;

  /* Driven by JS */
  --aria-p: 0;
  --nixus-p: 0;
  --aria-r: -20vmax;
  --nixus-r: -20vmax;
  --aria-ring: 0;
  --nixus-ring: 0;
  --artifact-aria: 0;
  --artifact-nixus: 0;
  --seam-opacity: 0;

  /* Chrome follows the phase */
  --chrome: #f2efe6;
  --chrome-line: rgba(242, 239, 230, 0.3);
  --chrome-invert: #0a0a0c;
  --chrome-bg: 10, 10, 12;
  --accent: #ff5a2b;
}

body[data-phase="aria"] {
  --chrome: #141416;
  --chrome-line: rgba(20, 20, 22, 0.32);
  --chrome-invert: #f6f5f2;
  --chrome-bg: 240, 240, 237;
  --accent: #141416;
}

body[data-phase="nixus"] {
  --chrome: #eaffef;
  --chrome-line: rgba(89, 255, 138, 0.36);
  --chrome-invert: #021006;
  --chrome-bg: 2, 6, 3;
  --accent: #59ff8a;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scrollbar-color: var(--ember) #0a0a0c;
  scrollbar-width: thin;
}

body {
  margin: 0;
  background: #0a0a0c;
  color: var(--ink);
  font-family: var(--body);
  font-weight: 300;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.is-seam {
  overflow: hidden;
}

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

p,
h1,
h2,
figure {
  margin: 0;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

img {
  display: block;
  max-width: 100%;
}

::selection {
  background: var(--accent);
  color: var(--chrome-invert);
}

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

.skip {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 500;
  padding: 10px 14px;
  background: #f4f2ee;
  color: #0a0a0c;
  font-size: 13px;
  transform: translateY(-180%);
  transition: transform 0.2s ease;
}

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

/* ------------------------------------------------------------------ */
/* Fixed worlds                                                        */
/* ------------------------------------------------------------------ */

.grain {
  position: fixed;
  inset: 0;
  z-index: 40;
  pointer-events: none;
  opacity: 0.055;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%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='.7'/%3E%3C/svg%3E");
  background-size: 160px 160px;
  mix-blend-mode: overlay;
}

.worlds {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.world {
  position: absolute;
  inset: 0;
}

.world--furious {
  background: radial-gradient(120% 100% at 18% 0%, #24140e 0%, #0b0b0d 48%, #050506 100%);
}

.world--aria {
  background: linear-gradient(150deg, #f7f6f3 0%, #e4e4e1 38%, #c9cbca 70%, #adb0b2 100%);
  -webkit-mask-image: radial-gradient(
    circle at 50% 46%,
    #000 0,
    #000 calc(var(--aria-r) - 6vmax),
    transparent var(--aria-r)
  );
  mask-image: radial-gradient(
    circle at 50% 46%,
    #000 0,
    #000 calc(var(--aria-r) - 6vmax),
    transparent var(--aria-r)
  );
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}

.world--nixus {
  background: radial-gradient(100% 85% at 72% 18%, #0b2e18 0%, #041008 46%, #010402 100%);
  -webkit-mask-image: radial-gradient(
    circle at 50% 46%,
    #000 0,
    #000 calc(var(--nixus-r) - 6vmax),
    transparent var(--nixus-r)
  );
  mask-image: radial-gradient(
    circle at 50% 46%,
    #000 0,
    #000 calc(var(--nixus-r) - 6vmax),
    transparent var(--nixus-r)
  );
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}

.world__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(80% 80% at 50% 40%, #000, transparent 76%);
  mask-image: radial-gradient(80% 80% at 50% 40%, #000, transparent 76%);
}

.world__glow {
  position: absolute;
  inset: 0;
}

.world__glow--ember {
  background: radial-gradient(48% 42% at 18% 16%, rgba(255, 90, 43, 0.22), transparent 72%);
}

.world__glow--green {
  background: radial-gradient(46% 46% at 72% 28%, rgba(89, 255, 138, 0.18), transparent 72%);
}

.world--aria .world__portrait {
  position: absolute;
  top: -6%;
  right: -18vw;
  width: 72vw;
  height: 72vw;
  max-width: 940px;
  max-height: 940px;
  border-radius: 50%;
  background-position: center;
  background-size: cover;
  filter: grayscale(1) blur(7px) contrast(0.9);
  opacity: 0.12;
  mix-blend-mode: multiply;
  transform: rotate(-8deg);
}

.world__wash {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 46%, rgba(255, 255, 255, 0.26), transparent 56%);
}

.world--nixus .world__portrait {
  position: absolute;
  bottom: -12%;
  left: -10vw;
  width: 56vw;
  height: 56vw;
  max-width: 820px;
  max-height: 820px;
  border-radius: 50%;
  background-position: center;
  background-size: cover;
  filter: grayscale(0.35) blur(2px) contrast(1.1);
  opacity: 0.22;
  mix-blend-mode: screen;
}

.world__scan {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    rgba(0, 0, 0, 0.45) 0 1px,
    transparent 1px 4px
  );
  opacity: 0.32;
  mix-blend-mode: multiply;
}

.bleed {
  position: absolute;
  top: 46%;
  left: 50%;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.bleed--aria {
  width: calc(var(--aria-r) * 2);
  height: calc(var(--aria-r) * 2);
  border: 1px solid rgba(255, 255, 255, 0.62);
  box-shadow:
    0 0 50px rgba(255, 255, 255, 0.24),
    inset 0 0 40px rgba(255, 255, 255, 0.14);
  opacity: var(--aria-ring);
}

.bleed--nixus {
  width: calc(var(--nixus-r) * 2);
  height: calc(var(--nixus-r) * 2);
  border: 1px solid rgba(89, 255, 138, 0.72);
  box-shadow:
    0 0 60px rgba(89, 255, 138, 0.28),
    inset 0 0 50px rgba(89, 255, 138, 0.12);
  opacity: var(--nixus-ring);
}

/* ------------------------------------------------------------------ */
/* Transition artifacts                                                */
/* ------------------------------------------------------------------ */

.artifacts {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.artifact {
  position: absolute;
  left: var(--x);
  top: var(--y);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  white-space: nowrap;
  opacity: 0;
}

.artifact--aria {
  color: #fff;
  mix-blend-mode: difference;
  opacity: var(--artifact-aria);
}

.artifact--nixus {
  color: var(--green);
  text-shadow: 0 0 12px rgba(89, 255, 138, 0.55);
  opacity: var(--artifact-nixus);
}

/* ------------------------------------------------------------------ */
/* Chrome                                                              */
/* ------------------------------------------------------------------ */

.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: clamp(18px, 3vw, 28px) var(--pad);
  color: var(--chrome);
  transition: color 0.45s ease;
}

.topbar::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    to bottom,
    rgba(var(--chrome-bg), 0.78) 0%,
    rgba(var(--chrome-bg), 0.45) 58%,
    rgba(var(--chrome-bg), 0) 100%
  );
  pointer-events: none;
  transition: background 0.45s ease;
}

.mark {
  font-family: var(--furious);
  font-stretch: 125%;
  font-weight: 800;
  font-size: 17px;
  letter-spacing: 0.02em;
  line-height: 1;
  text-shadow: 0 1px 10px rgba(var(--chrome-bg), 0.8);
}

.mark span {
  margin-left: 3px;
  font-size: 0.52em;
  vertical-align: super;
  opacity: 0.58;
}

.topbar__cta {
  padding: 8px 14px;
  border: 1px solid var(--chrome-line);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-shadow: 0 1px 10px rgba(var(--chrome-bg), 0.8);
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    border-color 0.45s ease;
}

.topbar__cta:hover {
  background: var(--chrome);
  color: var(--chrome-invert);
}

.rail {
  position: fixed;
  top: 50%;
  right: clamp(18px, 4vw, 48px);
  z-index: 50;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 18px;
  transform: translateY(-50%);
  color: var(--chrome);
  transition:
    color 0.45s ease,
    opacity 0.2s ease,
    visibility 0s linear 0.2s;
}

.rail:not(.is-footer-hidden) {
  transition:
    color 0.45s ease,
    opacity 0.2s ease,
    visibility 0s linear;
}

.rail.is-footer-hidden {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.rail::before {
  content: "";
  position: absolute;
  top: -20px;
  right: 0;
  bottom: -20px;
  width: 1px;
  background: var(--chrome-line);
  opacity: 0.6;
}

.rail__item {
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 0.42;
  text-shadow: 0 0 12px rgba(var(--chrome-bg), 0.95);
  transition: opacity 0.25s ease;
}

.rail__item:hover,
.rail__item.is-active {
  opacity: 1;
}

.rail__num {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.14em;
  opacity: 0.6;
}

.rail__item.is-active .rail__num {
  color: var(--accent);
  opacity: 1;
}

.rail__label {
  font-size: 11px;
  letter-spacing: 0.04em;
}

@media (min-width: 901px) {
  .rail {
    right: clamp(18px, 2.4vw, 36px);
    align-items: stretch;
    gap: 4px;
    width: 142px;
    padding: 8px 0 8px 12px;
  }

  .rail::before {
    top: 0;
    right: auto;
    bottom: 0;
    left: 0;
  }

  .rail__item {
    position: relative;
    display: grid;
    grid-template-columns: 25px minmax(0, 1fr);
    align-items: center;
    gap: 9px;
    min-height: 42px;
    padding: 0 10px;
    border-radius: 3px;
    opacity: 0.66;
    transition:
      opacity 0.25s ease,
      background-color 0.25s ease,
      transform 0.25s ease;
  }

  .rail__item:hover,
  .rail__item.is-active {
    background: rgba(var(--chrome-bg), 0.08);
    opacity: 1;
  }

  .rail__item:hover {
    transform: translateX(-3px);
  }

  .rail__num {
    font-size: 10px;
    text-align: center;
    opacity: 0.72;
  }

  .rail__item.is-active .rail__num {
    color: var(--accent);
    opacity: 1;
  }

  .rail__label {
    font-size: 11px;
    letter-spacing: 0.035em;
    white-space: nowrap;
  }
}

/* ------------------------------------------------------------------ */
/* Chapters                                                            */
/* ------------------------------------------------------------------ */

main {
  position: relative;
  z-index: 2;
}

.chapter {
  position: relative;
}

.chapter__inner {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.chapter--furious {
  min-height: 100svh;
}

.chapter--aria {
  display: flex;
  align-items: center;
  min-height: 120svh;
  padding-block: clamp(120px, 16vh, 200px);
  color: #141416;
}

.chapter--nixus {
  display: flex;
  align-items: center;
  min-height: 130svh;
  padding-block: clamp(120px, 16vh, 200px) clamp(100px, 14vh, 160px);
  color: #dfffe9;
  --line: rgba(89, 255, 138, 0.22);
}

.chapter__label {
  margin-bottom: 18px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: #5d6064;
}

.chapter--nixus .chapter__label {
  color: rgba(223, 255, 233, 0.52);
}

/* ------------------------------------------------------------------ */
/* Hero                                                               */
/* ------------------------------------------------------------------ */

.hero {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(48px, 8vh, 96px);
  min-height: 100svh;
  padding-top: 110px;
  padding-bottom: 48px;
}

.hero__fade {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 0 clamp(16px, 2vw, 28px);
  opacity: calc(1 - var(--nixus-p) * 2.2);
  filter: blur(calc(var(--nixus-p) * 4px));
}

.hero__top {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: clamp(24px, 4vh, 48px);
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.hero__where {
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(242, 239, 230, 0.38);
}

.hero__title {
  grid-column: 1 / -1;
  font-family: var(--furious);
  font-stretch: 125%;
  font-weight: 800;
  font-size: clamp(64px, 16.2vw, 246px);
  line-height: 0.78;
  letter-spacing: -0.055em;
  text-transform: uppercase;
}

.hero__tt {
  display: inline-block;
  margin-left: 0.06em;
  padding: 0.28em 0.32em 0.18em;
  border: 1px solid var(--line);
  font-size: 0.13em;
  line-height: 1;
  letter-spacing: 0.06em;
  vertical-align: top;
  transform: translateY(0.45em);
}

.hero__bottom {
  grid-column: 1 / 7;
  margin-top: clamp(28px, 5vh, 56px);
}

.hero__lede {
  max-width: 38ch;
  font-size: clamp(17px, 1.8vw, 23px);
  line-height: 1.5;
  color: rgba(242, 239, 230, 0.72);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.hero__next {
  grid-column: 9 / 13;
  align-self: end;
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: clamp(28px, 5vh, 56px);
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.hero__next-label {
  font-size: 11px;
  letter-spacing: 0.04em;
  color: rgba(242, 239, 230, 0.42);
}

.hero__next-value {
  font-size: 15px;
  color: rgba(242, 239, 230, 0.88);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid transparent;
  font-family: var(--body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease;
}

.btn--solid {
  background: var(--ember);
  border-color: var(--ember);
  color: #170703;
}

.btn--solid:hover {
  background: #ff7a52;
  border-color: #ff7a52;
}

.btn--ghost {
  border-color: var(--line);
  color: var(--ink);
}

.btn--ghost:hover {
  border-color: var(--ink);
}

.btn--green {
  background: var(--green);
  border-color: var(--green);
  color: #021006;
}

.btn--green:hover {
  background: #8affae;
  border-color: #8affae;
}

.ticker {
  overflow: hidden;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  opacity: calc(1 - var(--nixus-p) * 1.2);
}

.ticker__track {
  display: flex;
  width: max-content;
  gap: 48px;
  animation: marquee 32s linear infinite;
}

.ticker__track span {
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  white-space: nowrap;
  color: rgba(242, 239, 230, 0.38);
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

/* ------------------------------------------------------------------ */
/* Aria                                                               */
/* ------------------------------------------------------------------ */

.aria {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 0 clamp(24px, 3vw, 48px);
  align-items: center;
  opacity: var(--aria-p);
  filter: blur(calc((1 - var(--aria-p)) * 2.5px));
}

.aria__copy {
  grid-column: 1 / 8;
}

.aria__title {
  margin: 0 0 8px -0.07em;
  font-family: var(--aria);
  font-style: italic;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.07em;
  color: #111214;
  display: block;
}

.aria__title .title__role,
.aria__title .title__name {
  display: block;
  line-height: 1;
}

.aria__title .title__role {
  font-family: var(--body);
  font-size: clamp(16px, 2.4vw, 28px);
  letter-spacing: -0.03em;
  font-weight: 400;
  margin-bottom: 4px;
}

.aria__title .title__name {
  font-size: clamp(110px, 21vw, 330px);
  letter-spacing: -0.07em;
  font-weight: 400;
}

.aria__lede {
  max-width: 44ch;
  font-size: clamp(17px, 1.8vw, 22px);
  line-height: 1.55;
  color: #2b2c2f;
}

.work {
  margin-top: 36px;
  border-top: 1px solid rgba(20, 20, 22, 0.25);
}

.work li {
  display: grid;
  grid-template-columns: minmax(140px, 0.8fr) 1.4fr;
  gap: 24px;
  align-items: baseline;
  padding: 13px 0;
  border-bottom: 1px solid rgba(20, 20, 22, 0.15);
}

.work__name {
  font-size: 14px;
  font-weight: 500;
  color: #141416;
}

.work__desc {
  font-size: 13px;
  color: #5d6064;
}

.aria__links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin-top: 26px;
}

.aria__links a {
  padding-bottom: 2px;
  border-bottom: 1px solid rgba(20, 20, 22, 0.35);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition:
    color 0.2s ease,
    border-color 0.2s ease;
}

.aria__links a:hover {
  color: #000;
  border-color: #000;
}

.aria__portrait {
  grid-column: 9 / 13;
  justify-self: end;
  width: 100%;
  max-width: 380px;
}

.aria__frame {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 1px solid rgba(20, 20, 22, 0.3);
  border-radius: 200px 200px 4px 4px;
  background: #d8d9d7;
  transform: translateY(var(--py, 0));
}

.aria__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.aria__frame::after {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 190px 190px 2px 2px;
  pointer-events: none;
}

.aria__portrait figcaption {
  margin-top: 12px;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-align: right;
  color: #5d6064;
}

/* ------------------------------------------------------------------ */
/* Nixus                                                              */
/* ------------------------------------------------------------------ */

.nixus {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(36px, 6vh, 64px) clamp(24px, 3vw, 48px);
  opacity: calc(1 - var(--aria-p));
  filter: blur(calc(var(--aria-p) * 2.5px));
}

.nixus__head {
  grid-column: 1 / -1;
}

.nixus__title {
  position: relative;
  font-family: var(--nixus);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.08em;
  color: #eaffef;
  text-shadow: 0 0 28px rgba(89, 255, 138, 0.22);
  display: block;
}

.nixus__title .title__role,
.nixus__title .title__name {
  display: block;
  line-height: 1;
}

.nixus__title .title__role {
  font-family: var(--body);
  font-size: clamp(16px, 2.4vw, 28px);
  font-weight: 600;
  letter-spacing: -0.03em;
  margin-bottom: 4px;
}

.nixus__title .title__name {
  font-size: clamp(70px, 17.5vw, 280px);
  font-weight: 800;
  letter-spacing: -0.08em;
}

.nixus__title .title__name::before,
.nixus__title .title__name::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
}

.nixus__title .title__name::before {
  color: #ff3d7f;
  transform: translate(-3px, 0);
  clip-path: inset(16% 0 62% 0);
}

.nixus__title .title__name::after {
  color: #59ff8a;
  transform: translate(3px, 0);
  clip-path: inset(58% 0 12% 0);
}

.chapter--nixus.is-in .nixus__title .title__name::before {
  animation: glitch-a 1.1s steps(2, end) 1;
}

.chapter--nixus.is-in .nixus__title .title__name::after {
  animation: glitch-b 1.1s steps(2, end) 1;
}

@keyframes glitch-a {
  0%,
  100% {
    opacity: 0;
  }
  8%,
  18%,
  34%,
  52%,
  70% {
    opacity: 0.5;
  }
  12%,
  28%,
  44%,
  62%,
  78% {
    opacity: 0;
  }
}

@keyframes glitch-b {
  0%,
  100% {
    opacity: 0;
  }
  10%,
  22%,
  40%,
  58%,
  74% {
    opacity: 0.55;
  }
  14%,
  30%,
  48%,
  66%,
  82% {
    opacity: 0;
  }
}

.nixus__lede {
  max-width: 52ch;
  margin-top: 26px;
  font-size: clamp(17px, 1.8vw, 22px);
  line-height: 1.55;
  color: rgba(223, 255, 233, 0.72);
}

.nixus__body {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(240px, 0.65fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
  margin-top: clamp(12px, 2vh, 24px);
}

.events {
  border-top: 1px solid rgba(89, 255, 138, 0.4);
}

.events__head {
  display: grid;
  grid-template-columns: 1.6fr 0.8fr 0.6fr;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(89, 255, 138, 0.18);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(223, 255, 233, 0.45);
}

.event {
  display: grid;
  grid-template-columns: 1.6fr 0.8fr 0.6fr;
  gap: 16px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid rgba(89, 255, 138, 0.14);
  transition:
    background-color 0.2s ease,
    padding-left 0.2s ease;
}

.event:hover {
  padding-left: 10px;
  background: rgba(89, 255, 138, 0.04);
}

.event__name {
  font-family: var(--nixus);
  font-weight: 700;
  font-size: clamp(18px, 2vw, 24px);
  letter-spacing: -0.02em;
}

.event__meta {
  font-size: 12px;
  color: rgba(223, 255, 233, 0.55);
}

.event__status {
  justify-self: start;
  padding: 3px 7px;
  border: 1px solid rgba(89, 255, 138, 0.45);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green);
}

.nixus__side {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.nixus__portrait {
  width: 100%;
  max-width: 320px;
}

.nixus__frame {
  position: relative;
  aspect-ratio: 1;
  padding: 8px;
  border: 1px solid rgba(89, 255, 138, 0.45);
  background: rgba(1, 4, 2, 0.5);
  transform: translateY(var(--py, 0));
}

.nixus__frame::after {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(89, 255, 138, 0.18);
  pointer-events: none;
}

.nixus__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.15) contrast(1.05);
}

.nixus__cta {
  padding-top: 16px;
  border-top: 1px solid rgba(89, 255, 138, 0.3);
}

.nixus__cta p {
  margin-bottom: 12px;
  font-size: 13px;
  color: rgba(223, 255, 233, 0.55);
}

.nixus__cta .btn {
  width: 100%;
}

/* ------------------------------------------------------------------ */
/* Footer                                                             */
/* ------------------------------------------------------------------ */

.footer {
  position: relative;
  z-index: 2;
  padding: clamp(40px, 6vw, 72px) var(--pad) clamp(48px, 6vw, 64px);
  background: #030604;
  border-top: 1px solid rgba(89, 255, 138, 0.25);
}

.footer__inner {
  max-width: var(--max);
  margin-inline: auto;
}

.footer__top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px 40px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(89, 255, 138, 0.18);
}

.footer__mark {
  font-family: var(--furious);
  font-stretch: 125%;
  font-weight: 800;
  font-size: clamp(32px, 5vw, 64px);
  line-height: 1;
  letter-spacing: -0.02em;
  color: #eaffef;
}

.footer__line {
  font-size: 13px;
  line-height: 1.6;
  text-align: right;
  color: rgba(223, 255, 233, 0.5);
}

.footer__links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid rgba(89, 255, 138, 0.12);
}

.footer__group {
  margin-bottom: 10px;
  font-size: 11px;
  letter-spacing: 0.04em;
  color: rgba(223, 255, 233, 0.4);
}

.footer__links a {
  display: block;
  padding: 3px 0;
  font-size: 13px;
  color: rgba(223, 255, 233, 0.78);
  transition: color 0.2s ease;
}

.footer__links a:hover {
  color: var(--green);
}

.footer__fine {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  padding-top: 22px;
  font-size: 11px;
  color: rgba(223, 255, 233, 0.35);
}

.footer__fine a {
  color: var(--green);
}

/* ------------------------------------------------------------------ */
/* The hidden seam                                                    */
/* ------------------------------------------------------------------ */

.seam-trigger {
  position: fixed;
  top: 50%;
  left: 50%;
  z-index: 60;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin: -24px 0 0 -24px;
  padding: 0;
  border: 1px solid transparent;
  background: transparent;
  color: #f2efe6;
  cursor: pointer;
  opacity: var(--seam-opacity);
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.seam-trigger.is-on {
  pointer-events: auto;
}

.seam-trigger::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(242, 239, 230, 0.55);
  border-radius: 50%;
  transform: scale(0.8);
  transition: transform 0.3s ease;
}

.seam-trigger:hover::before,
.seam-trigger:focus-visible::before {
  transform: scale(1.15);
}

.seam-trigger::after {
  content: "";
  position: absolute;
  inset: -12px;
  border: 1px dashed rgba(89, 255, 138, 0.25);
  border-radius: 50%;
  animation: spin 12s linear infinite;
}

.seam-trigger__glyph {
  font-family: var(--furious);
  font-stretch: 125%;
  font-weight: 800;
  font-size: 21px;
  line-height: 1;
  text-shadow:
    -2px 0 #d8d9d7,
    2px 0 #59ff8a;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.seam {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: var(--pad);
  background: #020403;
}

.seam[hidden] {
  display: none;
}

.seam::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 50%, rgba(89, 255, 138, 0.14), transparent 55%),
    linear-gradient(120deg, rgba(216, 217, 215, 0.08), transparent 40%, rgba(89, 255, 138, 0.08));
  pointer-events: none;
}

.seam__panel {
  position: relative;
  z-index: 1;
  width: min(720px, 100%);
  max-height: 88svh;
  overflow: auto;
  padding: clamp(26px, 5vw, 56px);
  border: 1px solid rgba(89, 255, 138, 0.32);
  background: rgba(4, 8, 5, 0.88);
  box-shadow: 0 0 80px rgba(89, 255, 138, 0.08);
}

.seam__close {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 6px 10px;
  border: 1px solid rgba(223, 255, 233, 0.3);
  background: transparent;
  color: #eaffef;
  font-family: var(--body);
  font-size: 11px;
  cursor: pointer;
}

.seam__close:hover {
  border-color: var(--green);
  color: var(--green);
}

.seam__kicker {
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
}

.seam__title {
  margin: 16px 0 22px;
  font-family: var(--aria);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(64px, 12vw, 132px);
  line-height: 0.75;
  letter-spacing: -0.06em;
  color: #f4f2ee;
}

.seam__copy {
  max-width: 50ch;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(234, 255, 238, 0.7);
}

.seam__marks {
  display: flex;
  margin-top: 30px;
}

.seam__marks img {
  width: clamp(84px, 16vw, 132px);
  height: clamp(84px, 16vw, 132px);
  object-fit: cover;
  border: 1px solid rgba(223, 255, 233, 0.2);
}

.seam__marks img:first-child {
  transform: rotate(-5deg);
}

.seam__marks img:last-child {
  transform: rotate(5deg) translateX(-14px);
  filter: saturate(1.2);
}

.seam__back {
  display: inline-block;
  margin-top: 26px;
  padding-bottom: 2px;
  border-bottom: 1px solid rgba(89, 255, 138, 0.5);
  font-size: 12px;
  color: var(--green);
}

/* ------------------------------------------------------------------ */
/* Reveals                                                            */
/* ------------------------------------------------------------------ */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.8s cubic-bezier(0.2, 0.7, 0.2, 1),
    transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
  transition-delay: calc(var(--i, 0) * 90ms);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

/* ------------------------------------------------------------------ */
/* Responsive                                                         */
/* ------------------------------------------------------------------ */

@media (max-width: 900px) {
  .hero__bottom,
  .hero__next {
    grid-column: 1 / -1;
  }

  .hero__next {
    margin-top: 0;
  }

  .aria {
    grid-template-columns: 1fr;
  }

  .aria__copy,
  .aria__portrait {
    grid-column: 1 / -1;
  }

  .aria__portrait {
    order: -1;
    justify-self: start;
    max-width: 300px;
    margin-bottom: 36px;
  }

  .nixus__body {
    grid-template-columns: 1fr;
  }

  .nixus__side {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }

  .nixus__portrait {
    max-width: 260px;
  }

  .footer__links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rail {
    top: auto;
    right: 14px;
    bottom: 14px;
    left: 14px;
    flex-direction: row;
    align-items: stretch;
    gap: 0;
    padding: 5px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    background: rgba(8, 10, 9, 0.72);
    color: #f2efe6;
    backdrop-filter: blur(16px);
    transform: none;
  }

  .rail::before {
    display: none;
  }

  .rail__item {
    flex: 1;
    justify-content: center;
    padding: 10px 4px;
    border-radius: 999px;
    opacity: 0.55;
  }

  .rail__item.is-active {
    background: rgba(255, 255, 255, 0.08);
    opacity: 1;
  }

  .rail__num {
    display: none;
  }

  .rail__label {
    font-size: 12px;
  }

  .footer {
    padding-bottom: 100px;
  }
}

@media (max-width: 640px) {
  .hero {
    padding-top: 92px;
  }

  .hero__title {
    font-size: clamp(48px, 15vw, 96px);
  }

  .hero__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .ticker__track {
    gap: 28px;
  }

  .aria__title .title__name {
    font-size: 24vw;
  }

  .work li {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .nixus__title .title__name {
    font-size: 14vw;
  }

  .artifacts {
    display: none;
  }

  .events__head {
    display: none;
  }

  .event {
    grid-template-columns: 1fr auto;
    gap: 4px 12px;
  }

  .event__name {
    grid-column: 1;
    grid-row: 1;
  }

  .event__meta {
    grid-column: 1;
    grid-row: 2;
  }

  .event__status {
    grid-column: 2;
    grid-row: 1;
  }

  .nixus__side {
    flex-direction: column;
    align-items: flex-start;
  }

  .nixus__portrait {
    max-width: 260px;
  }

  .world--nixus .world__portrait {
    top: -8%;
    bottom: auto;
    left: -28vw;
    width: 120vw;
    height: 120vw;
    max-width: none;
    max-height: none;
    opacity: 0.24;
    filter: grayscale(0.2) blur(4px) contrast(1.05);
  }

  .footer__links {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .footer__line {
    text-align: left;
  }

  .seam__panel {
    padding: 26px 20px;
  }

  .seam__title {
    font-size: 18vw;
  }

  .grain {
    opacity: 0.04;
  }
}

/* ------------------------------------------------------------------ */
/* Reduced motion                                                     */
/* ------------------------------------------------------------------ */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .ticker__track,
  .seam-trigger::after,
  .seam-trigger::before,
  .chapter--nixus.is-in .nixus__title .title__name::before,
  .chapter--nixus.is-in .nixus__title .title__name::after {
    animation: none;
  }

  .hero__fade,
  .aria {
    opacity: 1;
    filter: none;
  }

  .aria__frame,
  .nixus__frame {
    transform: none;
  }

  .world--aria,
  .world--nixus {
    -webkit-mask-image: none;
    mask-image: none;
    opacity: 0;
  }

  body[data-phase="aria"] .world--aria {
    opacity: 1;
  }

  body[data-phase="nixus"] .world--nixus {
    opacity: 1;
  }

  .bleed,
  .artifacts {
    display: none;
  }

  .topbar,
  .topbar__cta,
  .rail,
  .rail__item,
  .footer__links a {
    transition: none;
  }
}

/* ------------------------------------------------------------------ */
/* Print                                                              */
/* ------------------------------------------------------------------ */

@media print {
  body {
    background: #fff !important;
    color: #111 !important;
  }

  body * {
    color: #111 !important;
  }

  .worlds,
  .grain,
  .artifacts,
  .topbar,
  .rail,
  .skip,
  .seam-trigger,
  .seam,
  .ticker,
  .hero__actions,
  .footer__links,
  .footer__fine a {
    display: none !important;
  }

  main,
  .chapter,
  .footer {
    position: static !important;
    min-height: 0 !important;
    padding: 24px 0 !important;
    background: #fff !important;
    color: #111 !important;
    border-color: #ccc !important;
  }

  .hero {
    min-height: 0 !important;
    gap: 24px !important;
    padding: 0 0 28px !important;
  }

  .chapter__inner {
    max-width: none;
    padding: 0 24px;
  }

  .chapter--aria,
  .chapter--nixus,
  .chapter__label,
  .chapter--nixus .chapter__label {
    color: #111 !important;
  }

  .hero__fade,
  .aria,
  .nixus,
  .reveal {
    opacity: 1 !important;
    filter: none !important;
    transform: none !important;
  }

  .hero__title {
    font-size: 52px !important;
    color: #111 !important;
    -webkit-text-fill-color: #111 !important;
  }

  .aria__title .title__name,
  .nixus__title .title__name {
    font-size: 46px !important;
    color: #111 !important;
    -webkit-text-fill-color: #111 !important;
  }

  .nixus__title .title__name::before,
  .nixus__title .title__name::after {
    display: none !important;
  }

  .footer__mark {
    color: #111 !important;
  }

  .footer__fine {
    color: #555 !important;
  }

  a {
    color: #111 !important;
    text-decoration: underline;
  }

  a[href^="http"]::after {
    content: " (" attr(href) ")";
    font-size: 9px;
    font-weight: 400;
  }

  .aria__frame img,
  .nixus__frame img {
    filter: grayscale(1) !important;
  }

  .aria__portrait,
  .nixus__portrait {
    max-width: 220px !important;
  }
}
