:root {
  --ink: #100807;
  --near-black: #080403;
  --velvet: #470511;
  --oxblood: #7d0718;
  --vermilion: #e1281b;
  --gold: #d9a441;
  --aged-gold: #9f7a34;
  --ivory: #f5ead1;
  --bone: #dfcfaa;
  --smoke: rgba(245, 234, 209, 0.72);
  --poison: #baff26;
  --cyan: #00e0ff;
  --violet: #5a2bff;
  --phase: 0;
  --zoom: 1;
  --pan-x: 0px;
  --pan-y: 0px;
  --vision: 0;
  --soul: 0;
  --stage-progress: 0;
  --label-scale: 1;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  color: var(--ivory);
  background: var(--near-black);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 16px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ivory);
  background:
    radial-gradient(circle at 16% 8%, rgba(225, 40, 27, 0.34), transparent 32rem),
    radial-gradient(circle at 82% 32%, rgba(0, 224, 255, 0.14), transparent 22rem),
    linear-gradient(135deg, #120605 0%, #2a050a 34%, #080403 100%);
  overflow-x: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: 10;
  pointer-events: none;
  content: "";
  opacity: 0.19;
  mix-blend-mode: overlay;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 64px 64px;
}

body::after {
  position: fixed;
  inset: 0;
  z-index: 11;
  pointer-events: none;
  content: "";
  opacity: 0.18;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.28) 0 1px, transparent 1px),
    radial-gradient(circle at 74% 65%, rgba(255, 255, 255, 0.18) 0 1px, transparent 1px);
  background-size: 7px 7px, 11px 11px;
}

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

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

.release-page {
  position: relative;
  isolation: isolate;
}

.site-nav {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 9;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px clamp(18px, 4vw, 56px);
  pointer-events: none;
}

.brand,
.nav-cta,
.primary-action {
  pointer-events: auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(245, 234, 209, 0.42);
  color: var(--poison);
  background: rgba(8, 4, 3, 0.64);
  font-family: "Cinzel", serif;
  font-size: 19px;
  font-weight: 700;
  box-shadow: 0 0 0 1px rgba(16, 8, 7, 0.7), 0 16px 32px rgba(0, 0, 0, 0.35);
}

.brand-word,
.nav-cta,
.section-kicker,
.kicker,
.quote-credit,
.readout,
.label-chip {
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
  letter-spacing: 0;
}

.brand-word {
  color: var(--ivory);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  text-shadow: 0 1px 20px rgba(0, 0, 0, 0.7);
}

.nav-cta {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border: 1px solid rgba(245, 234, 209, 0.44);
  color: var(--ivory);
  background: rgba(71, 5, 17, 0.64);
  font-size: 0.75rem;
  transition:
    color 200ms ease,
    border-color 200ms ease,
    background-color 200ms ease,
    transform 160ms var(--ease-out);
}

.nav-cta:hover {
  transform: translateY(-1px);
  border-color: var(--poison);
  color: var(--poison);
  background: rgba(16, 8, 7, 0.84);
}

.story-stage {
  position: sticky;
  top: 0;
  z-index: 1;
  min-height: 100svh;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 45%, rgba(245, 234, 209, 0.1), transparent 25rem),
    linear-gradient(90deg, rgba(8, 4, 3, 0.9), rgba(71, 5, 17, 0.42), rgba(8, 4, 3, 0.88));
}

.story-stage::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  opacity: calc(0.2 + var(--vision) * 0.32);
  background:
    linear-gradient(90deg, transparent 49.85%, rgba(0, 224, 255, 0.36) 50%, transparent 50.15%),
    linear-gradient(0deg, transparent 49.85%, rgba(186, 255, 38, 0.24) 50%, transparent 50.15%);
  background-size: 15vw 15vw;
  transform: translate3d(calc(var(--phase) * -12px), calc(var(--phase) * -20px), 0);
}

.story-stage::after {
  position: absolute;
  inset: auto 0 0;
  height: 32svh;
  content: "";
  pointer-events: none;
  background: linear-gradient(transparent, rgba(8, 4, 3, 0.92));
}

.portrait-wrap {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  transform:
    translate3d(var(--pan-x), var(--pan-y), 0)
    scale(var(--zoom));
  transform-origin: 55% 34%;
  transition: transform 90ms linear;
  will-change: transform;
}

.portrait-frame {
  position: relative;
  width: min(76vw, 970px);
  aspect-ratio: 2048 / 1543;
  margin: 0;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(217, 164, 65, 0.42),
    0 0 0 14px rgba(16, 8, 7, 0.78),
    0 0 0 16px rgba(245, 234, 209, 0.14),
    0 54px 120px rgba(0, 0, 0, 0.78);
  background: var(--ink);
}

.portrait-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter:
    saturate(calc(0.94 + var(--vision) * 0.22))
    contrast(calc(1.02 + var(--vision) * 0.16))
    sepia(calc(0.1 - var(--vision) * 0.04));
  transform: scale(calc(1.01 + var(--vision) * 0.02));
  transform-origin: 55% 34%;
}

.paint-darkening,
.paint-bloom,
.vision-layer,
.mesh-field,
.contours,
.soul-crosshair,
.eye-box,
.scan-beam,
.spectrum,
.reticle {
  position: absolute;
  pointer-events: none;
}

.paint-darkening {
  inset: 0;
  opacity: calc(0.1 + var(--vision) * 0.2);
  background:
    radial-gradient(circle at 56% 34%, transparent 0 10%, rgba(8, 4, 3, 0.22) 28%, rgba(8, 4, 3, 0.7) 72%),
    linear-gradient(90deg, rgba(16, 8, 7, 0.68), transparent 34%, transparent 66%, rgba(16, 8, 7, 0.72));
}

.paint-bloom {
  inset: 0;
  opacity: calc(0.24 + var(--soul) * 0.4);
  mix-blend-mode: screen;
  background:
    radial-gradient(circle at 55% 35%, rgba(0, 224, 255, 0.24), transparent 9%),
    radial-gradient(circle at 54% 35%, rgba(186, 255, 38, 0.22), transparent 13%),
    radial-gradient(circle at 42% 48%, rgba(225, 40, 27, 0.2), transparent 28%);
}

.vision-layer {
  inset: 0;
  opacity: calc(0.02 + var(--vision) * 0.98);
}

.mesh-field {
  inset: 0;
  opacity: calc(0.08 + var(--vision) * 0.32);
  mix-blend-mode: screen;
  background-image:
    linear-gradient(90deg, rgba(0, 224, 255, 0.2) 1px, transparent 1px),
    linear-gradient(0deg, rgba(186, 255, 38, 0.14) 1px, transparent 1px);
  background-size: 7.2% 7.2%;
  transform: translate3d(calc(var(--phase) * 9px), 0, 0);
}

.contours {
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: calc(0.08 + var(--vision) * 0.86);
  mix-blend-mode: screen;
}

.contours path {
  fill: none;
  stroke: var(--poison);
  stroke-width: 0.25;
  vector-effect: non-scaling-stroke;
  stroke-dasharray: 3 2;
  animation: contour-dash 2.9s linear infinite;
}

.contours path:nth-child(2),
.contours path:nth-child(5) {
  stroke: var(--cyan);
  animation-duration: 1.8s;
}

.scan-beam {
  left: 0;
  right: 0;
  height: 2px;
  opacity: calc(0.22 + var(--vision) * 0.46);
  background: linear-gradient(90deg, transparent, var(--poison), var(--cyan), transparent);
  box-shadow: 0 0 24px var(--cyan);
  transform: translate3d(0, calc(var(--phase) * 130vh - 18vh), 0);
}

.scan-beam-two {
  height: 1px;
  opacity: calc(var(--vision) * 0.38);
  transform: translate3d(0, calc(var(--phase) * -110vh + 104vh), 0);
  background: linear-gradient(90deg, transparent, var(--vermilion), var(--poison), transparent);
}

.reticle {
  width: 13%;
  aspect-ratio: 1;
  border: 1px solid rgba(0, 224, 255, 0.72);
  opacity: calc(var(--vision) * 0.75);
  mix-blend-mode: screen;
}

.reticle::before,
.reticle::after {
  position: absolute;
  content: "";
  background: currentColor;
  color: rgba(186, 255, 38, 0.8);
}

.reticle::before {
  top: 50%;
  right: -18%;
  left: -18%;
  height: 1px;
}

.reticle::after {
  top: -18%;
  bottom: -18%;
  left: 50%;
  width: 1px;
}

.reticle-a {
  top: 27%;
  left: 47%;
}

.reticle-b {
  top: 55%;
  left: 20%;
  width: 18%;
  border-color: rgba(225, 40, 27, 0.7);
}

.reticle-c {
  top: 16%;
  left: 63%;
  width: 10%;
  border-color: rgba(217, 164, 65, 0.76);
}

.spectrum {
  top: 20%;
  display: flex;
  align-items: end;
  gap: 5px;
  width: 88px;
  height: 150px;
  opacity: calc(var(--vision) * 0.86);
  mix-blend-mode: screen;
}

.spectrum-left {
  left: 5%;
}

.spectrum-right {
  right: 5%;
  transform: scaleX(-1);
}

.spectrum span {
  display: block;
  width: 7px;
  height: calc(18px + var(--bar, 0.4) * 110px);
  border: 1px solid rgba(186, 255, 38, 0.52);
  background: linear-gradient(var(--cyan), var(--poison), var(--vermilion));
  animation: bars 1.7s ease-in-out infinite alternate;
}

.spectrum span:nth-child(1) { --bar: 0.34; animation-delay: -0.2s; }
.spectrum span:nth-child(2) { --bar: 0.76; animation-delay: -0.6s; }
.spectrum span:nth-child(3) { --bar: 0.52; animation-delay: -1s; }
.spectrum span:nth-child(4) { --bar: 0.92; animation-delay: -0.3s; }
.spectrum span:nth-child(5) { --bar: 0.44; animation-delay: -0.8s; }
.spectrum span:nth-child(6) { --bar: 0.66; animation-delay: -1.2s; }

.eye-box {
  top: 27.9%;
  left: 48.8%;
  width: 13.8%;
  height: 5.2%;
  opacity: calc(var(--vision) * 1);
  color: var(--poison);
  transform: translate3d(0, calc((1 - var(--vision)) * 18px), 0);
  transition: opacity 160ms ease, transform 160ms var(--ease-out);
}

.corner {
  position: absolute;
  width: 22%;
  height: 32%;
  border-color: currentColor;
}

.top-left {
  top: 0;
  left: 0;
  border-top: 2px solid;
  border-left: 2px solid;
}

.top-right {
  top: 0;
  right: 0;
  border-top: 2px solid;
  border-right: 2px solid;
}

.bottom-left {
  bottom: 0;
  left: 0;
  border-bottom: 2px solid;
  border-left: 2px solid;
}

.bottom-right {
  right: 0;
  bottom: 0;
  border-right: 2px solid;
  border-bottom: 2px solid;
}

.label-chip {
  position: absolute;
  bottom: calc(100% + 11px);
  left: -8%;
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: max-content;
  padding: 6px 8px;
  border: 1px solid currentColor;
  color: var(--poison);
  background: rgba(8, 4, 3, 0.82);
  font-size: clamp(0.43rem, 0.7vw, 0.62rem);
  text-transform: uppercase;
  box-shadow: 0 0 28px rgba(186, 255, 38, 0.22);
  transform: scale(var(--label-scale));
  transform-origin: 0 100%;
}

.label-value {
  color: color-mix(in srgb, var(--poison) calc(100% - var(--soul) * 100%), var(--cyan) calc(var(--soul) * 100%));
  font-size: 1.34em;
}

.confidence {
  color: var(--cyan);
  opacity: 0.82;
}

.soul-crosshair {
  top: 30.2%;
  left: 55.4%;
  width: 18%;
  aspect-ratio: 1;
  opacity: calc(var(--soul) * 0.76);
  border: 1px solid rgba(0, 224, 255, 0.72);
  border-radius: 50%;
  box-shadow:
    0 0 0 calc(var(--soul) * 22px) rgba(0, 224, 255, 0.05),
    0 0 60px rgba(0, 224, 255, 0.32);
  transform: translate(-50%, -50%) scale(calc(0.6 + var(--soul) * 0.9));
}

.soul-crosshair::before,
.soul-crosshair::after {
  position: absolute;
  content: "";
  background: rgba(245, 234, 209, 0.78);
}

.soul-crosshair::before {
  top: 50%;
  right: -22%;
  left: -22%;
  height: 1px;
}

.soul-crosshair::after {
  top: -22%;
  bottom: -22%;
  left: 50%;
  width: 1px;
}

.hero-copy {
  position: absolute;
  top: 19svh;
  left: clamp(22px, 5vw, 74px);
  z-index: 3;
  max-width: 46ch;
  transform: translate3d(0, calc(var(--phase) * -10vh), 0);
  opacity: calc(1 - max(0, var(--phase) - 0.18) * 2.6);
}

.kicker,
.section-kicker,
.quote-credit {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 600;
  text-transform: uppercase;
}

.hero-copy h1 {
  margin: 0;
  color: var(--ivory);
  font-family: "Cinzel", Georgia, serif;
  font-size: clamp(4.4rem, 13vw, 13.4rem);
  font-weight: 600;
  line-height: 0.82;
  text-shadow:
    0 4px 0 rgba(71, 5, 17, 0.9),
    0 22px 60px rgba(0, 0, 0, 0.68);
}

.hero-line {
  max-width: 34ch;
  margin: 24px 0 0;
  color: rgba(245, 234, 209, 0.86);
  font-size: clamp(1.28rem, 2.2vw, 2.2rem);
  font-style: italic;
}

.quote-panel {
  position: absolute;
  right: clamp(22px, 6vw, 90px);
  bottom: clamp(38px, 9svh, 110px);
  z-index: 4;
  max-width: 42ch;
  opacity: calc(var(--soul) * 1.12);
  transform: translate3d(0, calc((1 - var(--soul)) * 40px), 0);
  transition: opacity 140ms ease, transform 160ms var(--ease-out);
}

.quote-panel blockquote {
  margin: 0;
  color: var(--ivory);
  font-size: clamp(2.4rem, 5vw, 6.8rem);
  font-style: italic;
  line-height: 0.92;
  text-shadow:
    0 0 30px rgba(0, 224, 255, 0.28),
    0 18px 80px rgba(0, 0, 0, 0.84);
}

.readout {
  position: absolute;
  z-index: 4;
  display: grid;
  gap: 8px;
  color: var(--poison);
  font-size: 0.68rem;
  text-transform: uppercase;
  opacity: calc(var(--vision) * 0.8);
}

.readout span {
  padding: 4px 6px;
  border-left: 1px solid currentColor;
  background: rgba(8, 4, 3, 0.48);
}

.readout-left {
  bottom: 12svh;
  left: clamp(20px, 4vw, 52px);
}

.readout-right {
  top: 18svh;
  right: clamp(20px, 4vw, 52px);
  color: var(--cyan);
  text-align: right;
}

.text-band,
.release-cta {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.7fr);
  gap: clamp(28px, 7vw, 96px);
  align-items: end;
  min-height: 78svh;
  padding: clamp(76px, 14vw, 164px) clamp(22px, 6vw, 92px);
  background: linear-gradient(180deg, transparent, rgba(8, 4, 3, 0.72) 18%, rgba(8, 4, 3, 0.94));
}

.band-one {
  margin-top: 260svh;
}

.band-two {
  background:
    radial-gradient(circle at 82% 30%, rgba(0, 224, 255, 0.18), transparent 24rem),
    linear-gradient(180deg, rgba(8, 4, 3, 0.86), rgba(71, 5, 17, 0.9));
}

.band-three {
  background:
    radial-gradient(circle at 24% 48%, rgba(225, 40, 27, 0.34), transparent 28rem),
    linear-gradient(180deg, rgba(71, 5, 17, 0.86), rgba(8, 4, 3, 0.94));
}

.text-band h2,
.release-cta h2 {
  max-width: 12ch;
  margin: 0;
  color: var(--ivory);
  font-family: "Cinzel", Georgia, serif;
  font-size: clamp(2.8rem, 7vw, 8.5rem);
  font-weight: 500;
  line-height: 0.9;
  text-wrap: balance;
}

.text-band p:not(.section-kicker),
.release-cta p:not(.section-kicker) {
  max-width: 29ch;
  margin: 0;
  color: rgba(245, 234, 209, 0.84);
  font-size: clamp(1.26rem, 2.3vw, 2.4rem);
  font-style: italic;
}

.release-cta {
  min-height: 100svh;
  align-items: center;
  background:
    radial-gradient(circle at 50% 24%, rgba(186, 255, 38, 0.14), transparent 21rem),
    radial-gradient(circle at 14% 74%, rgba(225, 40, 27, 0.3), transparent 28rem),
    linear-gradient(135deg, #0b0403, #3e0510 46%, #080403);
}

.release-cta p:not(.section-kicker) {
  margin-top: 28px;
}

.primary-action {
  display: inline-flex;
  width: fit-content;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  margin-top: 34px;
  padding: 0 20px;
  border: 1px solid var(--poison);
  color: var(--ink);
  background: var(--poison);
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.86rem;
  font-weight: 700;
  text-transform: uppercase;
  box-shadow:
    0 0 0 1px rgba(186, 255, 38, 0.32),
    0 24px 70px rgba(186, 255, 38, 0.2);
  transition:
    transform 160ms var(--ease-out),
    background-color 200ms ease,
    color 200ms ease,
    border-color 200ms ease;
}

.primary-action:hover {
  transform: translateY(-2px);
  border-color: var(--cyan);
  color: var(--ivory);
  background: rgba(8, 4, 3, 0.78);
}

@keyframes contour-dash {
  to {
    stroke-dashoffset: -20;
  }
}

@keyframes bars {
  to {
    transform: scaleY(0.42);
    opacity: 0.58;
  }
}

@media (max-width: 820px) {
  .site-nav {
    padding: 14px 16px;
  }

  .brand-word {
    display: none;
  }

  .nav-cta {
    min-height: 38px;
    font-size: 0.68rem;
  }

  .portrait-frame {
    width: 92vw;
    transform: translateY(-2svh);
  }

  .hero-copy {
    top: 13svh;
    left: 18px;
    right: 18px;
  }

  .hero-copy h1 {
    font-size: clamp(4.2rem, 21vw, 7rem);
  }

  .hero-line {
    max-width: 23ch;
  }

  .quote-panel {
    right: 18px;
    bottom: 58px;
    left: 18px;
  }

  .quote-panel blockquote {
    font-size: clamp(2.25rem, 12vw, 4.7rem);
  }

  .readout {
    display: none;
  }

  .text-band,
  .release-cta {
    grid-template-columns: 1fr;
    min-height: 82svh;
    align-items: center;
  }

  .text-band h2,
  .release-cta h2 {
    max-width: 11ch;
  }

  .text-band p:not(.section-kicker),
  .release-cta p:not(.section-kicker) {
    max-width: 25ch;
    font-size: 1.35rem;
  }

  .spectrum,
  .reticle-b,
  .reticle-c {
    display: none;
  }

  .eye-box {
    width: 12%;
    height: 7%;
  }
}

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

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

  .portrait-wrap {
    transform: translate3d(-3vw, -8svh, 0) scale(2.15);
  }

  .vision-layer,
  .quote-panel,
  .eye-box,
  .readout {
    opacity: 1;
  }
}
