:root {
  --acid: #c7ff00;
  --ink: #090d02;
  --paper: #f3f5df;
  --blue: #08aaf0;
  --orange: #ff5d00;
  --pink: #ff2a72;
  --line: 3px;
  --header-h: 62px;
  color-scheme: light;
  font-family: Arial, Helvetica, sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--ink);
  overflow-x: hidden;
}

body.menu-open,
body.dialog-open {
  overflow: hidden;
}

::selection {
  background: var(--pink);
  color: var(--paper);
}

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

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
  font: inherit;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 8px;
  left: 8px;
  padding: 12px 16px;
  background: var(--acid);
  border: var(--line) solid var(--ink);
  transform: translateY(-160%);
}

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

.scroll-meter {
  position: fixed;
  z-index: 120;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: transparent;
}

.scroll-meter span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--pink);
}

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto;
  width: 100%;
  height: var(--header-h);
  background: var(--ink);
  color: var(--acid);
  border-bottom: 2px solid var(--acid);
}

.brand {
  display: flex;
  align-items: center;
  width: fit-content;
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.brand-mark {
  display: grid;
  place-items: center;
  align-self: stretch;
  min-width: 70px;
  color: var(--ink);
  background: var(--acid);
  letter-spacing: -0.08em;
}

.brand-name {
  padding-inline: 16px;
  font-size: 0.95rem;
}

.site-nav {
  display: flex;
  align-items: stretch;
}

.site-nav a {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 0 18px;
  border-left: 1px solid rgba(199, 255, 0, 0.35);
  text-decoration: none;
  text-transform: uppercase;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.site-nav a span {
  font-weight: 400;
  opacity: 0.58;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a.is-active {
  color: var(--ink);
  background: var(--acid);
}

.site-nav .nav-external {
  color: var(--paper);
}

.site-nav .nav-external:hover,
.site-nav .nav-external:focus-visible {
  color: var(--ink);
  background: var(--paper);
}

.menu-toggle {
  display: none;
}

.hero {
  position: relative;
  min-height: 100svh;
  padding-top: var(--header-h);
  overflow: hidden;
  isolation: isolate;
  background: var(--ink);
}

.hero-image,
.hero-image picture,
.hero-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  z-index: -3;
}

.hero-image img {
  object-fit: cover;
  object-position: 52% center;
  filter: saturate(1.08) contrast(1.04);
}

.hero::before {
  content: "";
  position: absolute;
  z-index: -2;
  inset: var(--header-h) auto 0 0;
  width: min(56vw, 880px);
  background: rgba(9, 13, 2, 0.88);
  border-right: var(--line) solid var(--acid);
}

.hero-noise {
  position: absolute;
  z-index: -1;
  inset: var(--header-h) 0 0;
  opacity: 0.18;
  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%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.45'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: calc(100svh - var(--header-h));
  width: min(56vw, 880px);
  padding: clamp(56px, 8vw, 120px) clamp(24px, 5vw, 80px) 42px;
  color: var(--acid);
}

.eyebrow,
.kicker,
.section-index,
.hero-plate,
.figure-caption span,
.figure-caption p,
.inspect {
  text-transform: uppercase;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.eyebrow {
  margin: 0 0 30px;
  color: var(--paper);
}

.eyebrow span {
  color: var(--pink);
}

.hero h1 {
  margin: 0;
  text-transform: uppercase;
  font-family: Impact, Haettenschweiler, "Arial Black", sans-serif;
  font-size: clamp(5.25rem, 11.2vw, 12rem);
  font-weight: 900;
  line-height: 0.69;
  letter-spacing: -0.055em;
}

.hero h1 span {
  display: block;
}

.hero h1 .outline {
  width: fit-content;
  margin-left: 0.02em;
  color: transparent;
  -webkit-text-stroke: clamp(2px, 0.4vw, 6px) var(--acid);
}

.hero-bottomline {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-top: clamp(44px, 7vh, 80px);
}

.hero-bottomline p {
  max-width: 320px;
  margin: 0;
  color: var(--paper);
  text-transform: lowercase;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.15rem, 2vw, 1.8rem);
  font-style: italic;
}

.hero-bottomline p span {
  color: var(--pink);
}

.round-link {
  display: flex;
  flex: 0 0 92px;
  flex-direction: column;
  justify-content: center;
  height: 92px;
  padding: 18px;
  color: var(--ink);
  background: var(--acid);
  border: var(--line) solid var(--acid);
  border-radius: 50%;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  transition: transform 180ms ease, background-color 180ms ease, color 180ms ease;
}

.round-link span {
  align-self: flex-end;
  margin-top: 8px;
  font-size: 1.2rem;
}

.round-link:hover,
.round-link:focus-visible {
  color: var(--acid);
  background: var(--ink);
  transform: rotate(-8deg);
}

.hero-plate {
  position: absolute;
  right: 24px;
  bottom: 24px;
  display: grid;
  grid-template-columns: auto auto;
  gap: 6px 22px;
  padding: 14px 16px;
  color: var(--paper);
  background: var(--ink);
  border: 2px solid var(--paper);
}

.hero-plate strong {
  color: var(--acid);
}

.glitch {
  position: absolute;
  z-index: 2;
  right: 0;
  height: 9px;
  pointer-events: none;
  background: var(--pink);
  box-shadow: 0 4px 0 var(--blue), 0 8px 0 var(--acid), 0 12px 0 var(--orange);
  mix-blend-mode: screen;
}

.glitch-a {
  top: 43%;
  width: 47%;
}

.glitch-b {
  top: 71%;
  right: 18%;
  width: 22%;
  height: 5px;
}

.ticker {
  overflow: hidden;
  color: var(--ink);
  background: var(--acid);
  border-block: var(--line) solid var(--ink);
}

.ticker-track {
  display: flex;
  width: max-content;
  align-items: center;
  padding: 15px 0;
  animation: ticker 34s linear infinite;
}

.ticker span {
  white-space: nowrap;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.15em;
}

.ticker i {
  margin: 0 34px;
  color: var(--orange);
  font-style: normal;
  font-size: 1.25rem;
}

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

.section-pad {
  padding: clamp(84px, 10vw, 150px) clamp(20px, 5vw, 80px);
}

.section-index {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--ink);
}

.section-index.light {
  color: var(--acid);
  border-color: var(--acid);
}

.lore {
  background: var(--paper);
}

.lore-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.55fr);
  gap: clamp(50px, 9vw, 150px);
  padding-top: clamp(68px, 8vw, 120px);
}

.kicker {
  margin: 0 0 20px;
}

.lore h2,
.figures h2,
.realm h2,
.summons h2 {
  margin: 0;
  text-transform: uppercase;
  font-family: Impact, Haettenschweiler, "Arial Black", sans-serif;
  font-weight: 900;
  line-height: 0.88;
  letter-spacing: -0.035em;
}

.lore h2 {
  max-width: 930px;
  font-size: clamp(3.4rem, 7.2vw, 8rem);
}

.lore-copy {
  align-self: end;
}

.lore-copy p {
  line-height: 1.55;
}

.lore-copy .lead {
  font-size: clamp(1.2rem, 1.8vw, 1.65rem);
  line-height: 1.35;
}

.text-link {
  display: flex;
  justify-content: space-between;
  margin-top: 36px;
  padding: 14px 0;
  border-block: 2px solid var(--ink);
  text-decoration: none;
  text-transform: uppercase;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.07em;
}

.text-link:hover,
.text-link:focus-visible {
  color: var(--orange);
}

.realm-quote {
  position: relative;
  display: grid;
  grid-template-columns: 0.15fr 1fr auto;
  gap: 20px;
  align-items: end;
  margin: clamp(82px, 11vw, 160px) 0 0;
  padding: clamp(22px, 4vw, 60px);
  color: var(--paper);
  background: var(--blue);
  border: var(--line) solid var(--ink);
  box-shadow: 12px 12px 0 var(--ink);
}

.quote-mark {
  font-family: Georgia, serif;
  font-size: clamp(5rem, 10vw, 10rem);
  line-height: 0.6;
}

.realm-quote p {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4.5vw, 5rem);
  font-style: italic;
  line-height: 0.98;
}

.realm-quote p span {
  color: var(--acid);
}

.realm-quote cite {
  white-space: nowrap;
  text-transform: uppercase;
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.figures {
  color: var(--paper);
  background: var(--ink);
}

.figures-heading {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  padding-top: clamp(68px, 8vw, 120px);
}

.figures-heading .kicker {
  grid-column: 1 / -1;
  color: var(--acid);
}

.figures h2 {
  font-size: clamp(4rem, 8.6vw, 9.4rem);
}

.figures-heading > p:last-child {
  max-width: 190px;
  margin: 0 0 10px;
  text-align: right;
  font-size: 0.85rem;
  line-height: 1.4;
}

.figure-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 3.4vw, 54px);
  align-items: start;
  margin-top: clamp(56px, 8vw, 110px);
}

.figure-two {
  margin-top: 9vw;
}

.figure-three {
  margin-top: 3vw;
}

.portrait-button {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  overflow: visible;
  background: var(--acid);
  border: var(--line) solid var(--paper);
  cursor: zoom-in;
  box-shadow: 0 0 0 var(--acid);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.portrait-button img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.portrait-button:hover,
.portrait-button:focus-visible {
  z-index: 2;
  outline: none;
  transform: translate(-8px, -8px);
  box-shadow: 12px 12px 0 var(--acid);
}

.inspect {
  position: absolute;
  right: -3px;
  bottom: -3px;
  padding: 11px 14px;
  color: var(--ink);
  background: var(--acid);
  border: var(--line) solid var(--ink);
}

.figure-caption {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 5px 18px;
  padding-top: 18px;
}

.figure-caption span {
  grid-row: 1 / 3;
  padding-top: 4px;
  color: var(--acid);
  writing-mode: vertical-rl;
}

.figure-caption h3 {
  margin: 0;
  text-transform: uppercase;
  font-family: Impact, Haettenschweiler, "Arial Black", sans-serif;
  font-size: clamp(1.8rem, 3vw, 3.3rem);
  line-height: 1;
}

.figure-caption p {
  margin: 0;
  color: rgba(243, 245, 223, 0.58);
}

.interlude {
  padding: clamp(18px, 3vw, 46px);
  background: var(--orange);
}

.interlude-image {
  position: relative;
  overflow: hidden;
  border: var(--line) solid var(--ink);
}

.interlude img {
  width: 100%;
  min-height: 54vw;
  max-height: 78vh;
  object-fit: cover;
}

.interlude p {
  position: absolute;
  right: 0;
  bottom: 0;
  margin: 0;
  padding: 14px 18px;
  color: var(--acid);
  background: var(--ink);
  text-transform: uppercase;
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.realm {
  color: var(--paper);
  background: var(--ink);
}

.realm-heading {
  padding-top: clamp(68px, 8vw, 120px);
}

.realm-heading .kicker {
  color: var(--acid);
}

.realm h2 {
  font-size: clamp(4.2rem, 10vw, 11rem);
}

.realm h2 em {
  color: var(--acid);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  text-transform: none;
}

.realm-notes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: clamp(72px, 10vw, 150px);
  border: var(--line) solid var(--paper);
}

.note {
  min-height: 300px;
  padding: clamp(24px, 3.6vw, 54px);
  color: var(--ink);
}

.note + .note {
  border-left: var(--line) solid var(--ink);
}

.note-acid {
  background: var(--acid);
}

.note-blue {
  background: var(--blue);
}

.note-orange {
  background: var(--orange);
}

.note span {
  font-family: Georgia, serif;
  font-size: 1.4rem;
  font-style: italic;
}

.note h3 {
  margin: 76px 0 16px;
  text-transform: uppercase;
  font-family: Impact, Haettenschweiler, "Arial Black", sans-serif;
  font-size: clamp(2.5rem, 4vw, 5rem);
  line-height: 1;
}

.note p {
  max-width: 290px;
  margin: 0;
  line-height: 1.45;
}

.summons {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 0.5fr);
  min-height: 72vh;
  background: var(--acid);
  border-top: var(--line) solid var(--ink);
}

.summons-copy {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(54px, 7vw, 110px) clamp(24px, 6vw, 90px);
}

.summons h2 {
  max-width: 1100px;
  font-size: clamp(4rem, 8vw, 9rem);
}

.summons-link {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(44px, 5vw, 80px);
  color: var(--acid);
  background: var(--ink);
  border-left: var(--line) solid var(--ink);
  text-decoration: none;
  text-transform: uppercase;
  font-family: Impact, Haettenschweiler, "Arial Black", sans-serif;
  font-size: clamp(2.8rem, 5vw, 5.8rem);
  line-height: 0.9;
}

.summons-link > span:last-child {
  align-self: flex-end;
  font-family: Arial, sans-serif;
  font-size: clamp(4rem, 8vw, 9rem);
  transition: transform 180ms ease;
}

.summons-link:hover > span:last-child,
.summons-link:focus-visible > span:last-child {
  transform: translate(10px, -10px);
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 28px;
  align-items: end;
  padding: 24px clamp(20px, 5vw, 80px);
  color: var(--paper);
  background: var(--ink);
  border-top: 2px solid var(--acid);
  text-transform: uppercase;
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.site-footer p {
  margin: 0;
}

.footer-brand {
  color: var(--acid);
  text-decoration: none;
  font-family: Impact, Haettenschweiler, "Arial Black", sans-serif;
  font-size: 1.7rem;
  letter-spacing: -0.02em;
}

.portrait-dialog {
  width: min(90vw, 1080px);
  max-width: none;
  height: min(90vh, 880px);
  max-height: none;
  margin: auto;
  padding: 0;
  overflow: hidden;
  color: var(--paper);
  background: var(--ink);
  border: var(--line) solid var(--acid);
}

.portrait-dialog::backdrop {
  background: rgba(9, 13, 2, 0.88);
}

.dialog-art {
  width: 100%;
  height: calc(100% - 52px);
  background: var(--acid);
}

.dialog-art img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.portrait-dialog p {
  position: absolute;
  bottom: 0;
  left: 0;
  margin: 0;
  padding: 16px 18px;
  text-transform: uppercase;
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.dialog-close {
  position: absolute;
  z-index: 2;
  top: 0;
  right: 0;
  padding: 14px 18px;
  color: var(--ink);
  background: var(--acid);
  border: 0;
  border-bottom: var(--line) solid var(--ink);
  border-left: var(--line) solid var(--ink);
  text-transform: uppercase;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  cursor: pointer;
}

.dialog-close:hover,
.dialog-close:focus-visible {
  color: var(--paper);
  background: var(--orange);
}

.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 650ms ease, transform 650ms ease;
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1050px) {
  .site-nav a:not(.nav-external) {
    padding-inline: 12px;
  }

  .site-nav a span {
    display: none;
  }

  .hero::before,
  .hero-content {
    width: 62vw;
  }

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

  .lore-copy {
    max-width: 700px;
  }

  .realm-quote {
    grid-template-columns: auto 1fr;
  }

  .realm-quote cite {
    grid-column: 2;
  }

  .summons {
    grid-template-columns: 1fr 330px;
  }
}

@media (max-width: 780px) {
  :root {
    --header-h: 56px;
  }

  .site-header {
    grid-template-columns: 1fr auto;
  }

  .brand-mark {
    min-width: 58px;
  }

  .brand-name {
    font-size: 0.8rem;
  }

  .menu-toggle {
    display: flex;
    gap: 16px;
    align-items: center;
    padding: 0 16px;
    color: var(--acid);
    background: var(--ink);
    border: 0;
    border-left: 1px solid rgba(199, 255, 0, 0.4);
    text-transform: uppercase;
    font-size: 0.7rem;
    font-weight: 900;
    letter-spacing: 0.1em;
  }

  .menu-glyph {
    font-size: 1.2rem;
    transition: transform 180ms ease;
  }

  .menu-toggle[aria-expanded="true"] .menu-glyph {
    transform: rotate(45deg);
  }

  .site-nav {
    position: fixed;
    top: var(--header-h);
    right: 0;
    left: 0;
    display: grid;
    height: calc(100svh - var(--header-h));
    align-content: start;
    color: var(--acid);
    background: var(--ink);
    border-top: 1px solid var(--acid);
    transform: translateX(105%);
    transition: transform 220ms ease;
  }

  .site-nav.is-open {
    transform: translateX(0);
  }

  .site-nav a {
    justify-content: space-between;
    min-height: 76px;
    padding: 0 22px;
    border-bottom: 1px solid rgba(199, 255, 0, 0.35);
    border-left: 0;
    font-size: 1rem;
  }

  .site-nav a span {
    display: block;
  }

  .hero {
    min-height: auto;
  }

  .hero::before {
    display: none;
  }

  .hero-image,
  .hero-image picture,
  .hero-image img {
    position: relative;
  }

  .hero-image {
    height: 57svh;
    border-bottom: var(--line) solid var(--acid);
  }

  .hero-image img {
    object-position: 51% center;
  }

  .hero-noise {
    bottom: auto;
    height: 57svh;
  }

  .hero-content {
    min-height: auto;
    width: 100%;
    padding: 48px 20px 28px;
    background: var(--ink);
  }

  .hero h1 {
    font-size: clamp(4.2rem, 25vw, 8rem);
  }

  .hero-bottomline {
    margin-top: 42px;
  }

  .hero-plate {
    display: none;
  }

  .glitch-a {
    top: calc(var(--header-h) + 38svh);
    width: 68%;
  }

  .glitch-b {
    top: calc(var(--header-h) + 50svh);
    right: 0;
    width: 44%;
  }

  .section-pad {
    padding: 80px 20px;
  }

  .section-index {
    font-size: 0.62rem;
  }

  .lore-grid,
  .figures-heading,
  .realm-heading {
    padding-top: 62px;
  }

  .lore h2 {
    font-size: clamp(3rem, 13.5vw, 5rem);
  }

  .realm-quote {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 84px;
    padding: 34px 22px;
    box-shadow: 7px 7px 0 var(--ink);
  }

  .quote-mark {
    display: none;
  }

  .realm-quote cite {
    grid-column: 1;
  }

  .figures-heading {
    grid-template-columns: 1fr;
  }

  .figures-heading > p:last-child {
    margin-top: 16px;
    text-align: left;
  }

  .figure-grid {
    grid-template-columns: 1fr;
    gap: 64px;
  }

  .figure-two,
  .figure-three {
    margin-top: 0;
  }

  .figure-card {
    width: calc(100% - 14px);
  }

  .figure-two {
    margin-left: 14px;
  }

  .interlude {
    padding: 12px;
  }

  .interlude img {
    min-height: 70svh;
    object-position: center;
  }

  .realm h2 {
    font-size: clamp(3.8rem, 18vw, 6rem);
  }

  .realm-notes {
    grid-template-columns: 1fr;
  }

  .note + .note {
    border-top: var(--line) solid var(--ink);
    border-left: 0;
  }

  .note {
    min-height: 270px;
  }

  .summons {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .summons-copy {
    min-height: 62svh;
  }

  .summons h2 {
    font-size: clamp(3.7rem, 17vw, 6.8rem);
  }

  .summons-link {
    min-height: 48svh;
    border-top: var(--line) solid var(--ink);
    border-left: 0;
  }

  .site-footer {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .portrait-dialog {
    width: calc(100vw - 20px);
    height: calc(100svh - 20px);
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

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