:root {
  color-scheme: dark;
  --black: #030405;
  --black-2: #080a0b;
  --bone: #f3f0ea;
  --bone-dim: #cbc7bd;
  --silver: #c9d2d8;
  --silver-dim: #7e8991;
  --red: #ff1747;
  --red-deep: #8e001f;
  --acid: #b7ff2a;
  --line: rgba(243, 240, 234, 0.16);
  --line-strong: rgba(243, 240, 234, 0.34);
  --glass: rgba(3, 4, 5, 0.62);
  --max: 1180px;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  font-family: "Avenir Next", "Gill Sans", Candara, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--black);
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 84% 12%, rgba(255, 23, 71, 0.12), transparent 28%),
    linear-gradient(180deg, #030405, #090b0d 46%, #030405);
  color: var(--bone);
}

a {
  color: inherit;
}

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

.veil-canvas,
.noise,
.cursor-orb,
.scroll-meter,
.load-gate {
  position: fixed;
  pointer-events: none;
}

.veil-canvas {
  inset: 0;
  z-index: 5;
  opacity: 0.55;
  mix-blend-mode: screen;
}

.noise {
  inset: 0;
  z-index: 60;
  opacity: 0.11;
  mix-blend-mode: overlay;
  background-image:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.32) 0 1px, transparent 1px 3px),
    repeating-linear-gradient(90deg, rgba(0, 0, 0, 0.7) 0 1px, transparent 1px 5px);
}

.cursor-orb {
  top: 0;
  left: 0;
  z-index: 10;
  width: 18rem;
  height: 18rem;
  border-radius: 50%;
  opacity: 0;
  transform: translate3d(-50%, -50%, 0);
  background: radial-gradient(circle, rgba(255, 23, 71, 0.24), rgba(201, 210, 216, 0.1) 36%, transparent 68%);
  filter: blur(2px);
  transition: opacity 180ms ease;
}

body.has-pointer .cursor-orb {
  opacity: 1;
}

.scroll-meter {
  top: 0;
  left: 0;
  z-index: 90;
  width: 100%;
  height: 3px;
  transform: scaleX(0);
  transform-origin: left center;
  background: linear-gradient(90deg, var(--bone), var(--red), var(--acid));
  box-shadow: 0 0 24px rgba(255, 23, 71, 0.72);
}

.load-gate {
  inset: 0;
  z-index: 120;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.load-gate span {
  background: var(--bone);
  transform: scaleY(1);
  transform-origin: top center;
  animation: gateLift 1.1s var(--ease) forwards;
}

.load-gate span:nth-child(2) {
  animation-delay: 90ms;
}

.load-gate span:nth-child(3) {
  animation-delay: 180ms;
}

.site-header {
  position: fixed;
  top: 0;
  left: 50%;
  z-index: 70;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: calc(100% - 2rem);
  max-width: var(--max);
  padding: 1rem 0;
  transform: translateX(-50%);
}

.brand,
.site-nav {
  border: 1px solid var(--line);
  background: rgba(3, 4, 5, 0.68);
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.38);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  gap: 0.68rem;
  align-items: center;
  min-height: 3rem;
  padding: 0.26rem 0.9rem 0.26rem 0.26rem;
  border-radius: 999px;
  text-decoration: none;
}

.brand span:first-child {
  display: grid;
  width: 2.45rem;
  height: 2.45rem;
  place-items: center;
  border: 1px solid var(--silver-dim);
  border-radius: 50%;
  background:
    conic-gradient(from 180deg, rgba(255, 23, 71, 0.18), rgba(201, 210, 216, 0.18), transparent 72%),
    #050607;
  color: var(--bone);
  font-family: "Iowan Old Style", "Bodoni 72", Georgia, serif;
  font-weight: 700;
}

.brand span:last-child {
  color: var(--silver);
  font-size: 0.78rem;
  font-weight: 880;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  gap: 0.25rem;
  padding: 0.28rem;
  border-radius: 999px;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.35rem;
  padding: 0 0.95rem;
  border-radius: 999px;
  color: var(--silver);
  font-size: 0.76rem;
  font-weight: 880;
  text-decoration: none;
  text-transform: uppercase;
  transition: background 180ms ease, color 180ms ease, transform 180ms var(--ease);
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: var(--bone);
  color: var(--black);
  outline: none;
  transform: translateY(-1px);
}

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  min-height: 92svh;
  padding: 7.7rem 1rem 5rem;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 23, 71, 0.34);
}

.hero-image,
.hero-mask,
.redline-field {
  position: absolute;
  inset: 0;
}

.hero-image {
  z-index: -7;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transform: scale(1.03);
  filter: contrast(1.06) saturate(1.08);
  animation: imageDrift 24s var(--ease) infinite alternate;
}

.hero-mask {
  z-index: -6;
  background:
    linear-gradient(90deg, rgba(3, 4, 5, 0.94) 0%, rgba(3, 4, 5, 0.82) 31%, rgba(3, 4, 5, 0.28) 62%, rgba(3, 4, 5, 0.06) 100%),
    linear-gradient(180deg, rgba(3, 4, 5, 0.12), rgba(3, 4, 5, 0.08) 50%, rgba(3, 4, 5, 0.92));
}

.redline-field {
  z-index: -4;
  overflow: hidden;
}

.redline-field span {
  position: absolute;
  left: -8vw;
  width: 116vw;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 23, 71, 0.9), transparent);
  box-shadow: 0 0 18px rgba(255, 23, 71, 0.55);
  transform: rotate(var(--angle, -8deg));
  animation: redScan 7s linear infinite;
  animation-delay: var(--delay, 0s);
}

.redline-field span:nth-child(1) {
  top: 24%;
  --angle: -7deg;
}

.redline-field span:nth-child(2) {
  top: 46%;
  --angle: 4deg;
  --delay: -2s;
}

.redline-field span:nth-child(3) {
  top: 68%;
  --angle: -3deg;
  --delay: -4s;
}

.redline-field span:nth-child(4) {
  top: 82%;
  --angle: 8deg;
  --delay: -5.4s;
}

.hero-shell {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(14rem, 19rem);
  gap: 3rem;
  align-items: end;
  width: calc(100vw - 2rem);
  max-width: var(--max);
  margin: 0 auto;
  align-self: end;
}

.hero-copy {
  max-width: 48rem;
}

.eyebrow,
.panel-label {
  margin: 0;
  color: var(--red);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Iowan Old Style", "Bodoni 72", Didot, Georgia, serif;
  font-weight: 520;
  letter-spacing: 0;
}

h1 {
  margin-top: 0.85rem;
  color: var(--bone);
  font-size: 8.8rem;
  line-height: 0.8;
  text-shadow:
    0 1px 0 rgba(201, 210, 216, 0.38),
    0 34px 90px rgba(0, 0, 0, 0.82);
}

h1 span {
  display: block;
}

h1::after {
  display: block;
  width: 100%;
  max-width: 36rem;
  height: 2px;
  margin-top: 1.2rem;
  content: "";
  background: linear-gradient(90deg, var(--bone), var(--red), transparent);
  box-shadow: 0 0 22px rgba(255, 23, 71, 0.58);
}

.hero-copy > p:last-child {
  max-width: 39rem;
  margin: 1.2rem 0 0;
  color: var(--silver);
  font-size: 1.16rem;
  line-height: 1.68;
}

.hero-index {
  display: grid;
  gap: 1rem;
  padding: 1.15rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(3, 4, 5, 0.5);
  backdrop-filter: blur(18px);
}

.hero-index span {
  color: var(--bone);
  font-family: "Iowan Old Style", "Bodoni 72", Georgia, serif;
  font-size: 3rem;
  line-height: 0.9;
}

.hero-index p {
  margin: 0;
  color: var(--silver);
  line-height: 1.55;
}

.kinetic-strip {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 2;
  display: flex;
  gap: 1.5rem;
  width: max-content;
  padding: 0.85rem 0;
  color: var(--black);
  background: var(--bone);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
  animation: stripMove 18s linear infinite;
}

.kinetic-strip span {
  padding: 0 1rem;
  white-space: nowrap;
}

.folio,
.states,
.letter {
  position: relative;
  overflow: hidden;
}

.section-shell {
  position: relative;
  width: calc(100vw - 2rem);
  max-width: var(--max);
  margin: 0 auto;
}

.folio {
  padding: 6.4rem 1rem;
  background:
    linear-gradient(90deg, rgba(255, 23, 71, 0.12), transparent 38%),
    #050607;
}

.folio-shell,
.letter-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(20rem, 0.84fr);
  gap: 4rem;
  align-items: start;
}

.folio-heading h2,
.states-heading h2,
.letter-heading h2 {
  max-width: 11ch;
  margin-top: 0.8rem;
  color: var(--bone);
  font-size: 5.6rem;
  line-height: 0.88;
}

.folio-copy {
  display: grid;
  gap: 1rem;
}

.folio-copy p {
  margin: 0;
  color: var(--silver);
  font-size: 1.1rem;
  line-height: 1.72;
}

.states {
  padding: 6.2rem 1rem 6.8rem;
  background:
    linear-gradient(180deg, #030405, #0d0f11),
    var(--black);
}

.states-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(18rem, 0.85fr);
  gap: 3rem;
  align-items: end;
}

.states-heading h2 {
  grid-column: 2;
}

.states-heading .eyebrow {
  align-self: end;
}

.state-stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(16rem, 25rem);
  gap: 1rem;
  margin-top: 3rem;
}

.state-card {
  min-height: 28rem;
  padding: 1.35rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    radial-gradient(circle at var(--mx, 72%) var(--my, 32%), rgba(255, 23, 71, 0.2), transparent 26%),
    linear-gradient(135deg, rgba(201, 210, 216, 0.12), rgba(255, 23, 71, 0.08) 42%, transparent),
    rgba(3, 4, 5, 0.82);
  box-shadow: 0 36px 110px rgba(0, 0, 0, 0.4);
}

.state-card h3 {
  max-width: 12ch;
  margin-top: 7.5rem;
  color: var(--bone);
  font-size: 4rem;
  line-height: 0.92;
}

.state-card p:last-child {
  max-width: 34rem;
  margin: 1rem 0 0;
  color: var(--silver);
  font-size: 1.04rem;
  line-height: 1.66;
}

.state-controls {
  display: grid;
  gap: 0.65rem;
  align-content: end;
}

.state-button,
.copy-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0 1rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(3, 4, 5, 0.74);
  color: var(--silver);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 880;
  cursor: pointer;
  text-transform: uppercase;
  transition:
    transform 180ms var(--ease),
    background 180ms ease,
    color 180ms ease,
    border-color 180ms ease;
}

.state-button:hover,
.copy-button:hover {
  transform: translateY(-2px);
  border-color: var(--line-strong);
}

.state-button:focus-visible,
.copy-button:focus-visible {
  outline: 3px solid rgba(255, 23, 71, 0.42);
  outline-offset: 3px;
}

.state-button.is-active {
  border-color: rgba(255, 23, 71, 0.74);
  background: var(--red);
  color: var(--bone);
  box-shadow: 0 0 38px rgba(255, 23, 71, 0.24);
}

.sequence {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bone);
  color: var(--black);
}

.sequence-track {
  display: grid;
  grid-template-columns: repeat(4, minmax(18rem, 1fr));
  width: min(100%, 1400px);
  margin: 0 auto;
}

.sequence article {
  min-height: 19rem;
  padding: 1.4rem;
  border-right: 1px solid rgba(3, 4, 5, 0.2);
  background:
    linear-gradient(140deg, rgba(255, 23, 71, 0.12), transparent 36%),
    var(--bone);
  transition: background 220ms ease, color 220ms ease;
}

.sequence article:hover {
  background: var(--black);
  color: var(--bone);
}

.sequence span {
  color: var(--red);
  font-size: 0.82rem;
  font-weight: 950;
}

.sequence h3 {
  margin-top: 6rem;
  font-size: 2.3rem;
  line-height: 1;
}

.sequence p {
  margin: 0.85rem 0 0;
  color: currentColor;
  line-height: 1.56;
}

.letter {
  padding: 6.5rem 1rem;
  background:
    radial-gradient(circle at 78% 38%, rgba(255, 23, 71, 0.16), transparent 28%),
    #050607;
}

.letter-panel {
  position: relative;
  display: grid;
  gap: 0.9rem;
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(3, 4, 5, 0.72);
  box-shadow: 0 36px 110px rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(16px);
}

.seal {
  position: absolute;
  right: 1rem;
  top: -2rem;
  display: grid;
  width: 4rem;
  height: 4rem;
  place-items: center;
  border: 1px solid rgba(243, 240, 234, 0.2);
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 28%, rgba(243, 240, 234, 0.22), transparent 18%),
    linear-gradient(145deg, var(--red), var(--red-deep));
  color: var(--bone);
  font-family: "Iowan Old Style", "Bodoni 72", Georgia, serif;
  font-weight: 700;
  box-shadow: 0 26px 70px rgba(255, 23, 71, 0.2);
  animation: sealBeat 2.9s ease-in-out infinite;
}

.email-link {
  overflow-wrap: anywhere;
  color: var(--bone);
  font-family: "Iowan Old Style", "Bodoni 72", Georgia, serif;
  font-size: 2rem;
  line-height: 1.18;
  text-decoration-color: rgba(255, 23, 71, 0.68);
  text-underline-offset: 0.24rem;
}

.copy-button {
  justify-self: start;
  background: var(--bone);
  color: var(--black);
}

.copy-button:hover {
  background: var(--red);
  color: var(--bone);
}

.copy-status {
  min-height: 1.25rem;
  margin: 0;
  color: var(--silver-dim);
  font-size: 0.9rem;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem max(1rem, calc((100vw - var(--max)) / 2));
  border-top: 1px solid var(--line);
  background: var(--black);
  color: var(--silver-dim);
  font-size: 0.82rem;
  font-weight: 850;
  text-transform: uppercase;
}

html.js [data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 720ms var(--ease), transform 720ms var(--ease);
}

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

@keyframes gateLift {
  to {
    transform: scaleY(0);
  }
}

@keyframes imageDrift {
  from {
    transform: scale(1.03) translate3d(-0.35%, -0.2%, 0);
  }

  to {
    transform: scale(1.07) translate3d(0.55%, 0.45%, 0);
  }
}

@keyframes redScan {
  0% {
    opacity: 0;
    transform: translateX(-24%) rotate(var(--angle, -8deg));
  }

  18%,
  54% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: translateX(24%) rotate(var(--angle, -8deg));
  }
}

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

@keyframes sealBeat {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 26px 70px rgba(255, 23, 71, 0.2);
  }

  50% {
    transform: scale(1.06);
    box-shadow: 0 26px 90px rgba(255, 23, 71, 0.42);
  }
}

@media (max-width: 1080px) {
  h1 {
    font-size: 7.2rem;
  }

  .folio-heading h2,
  .states-heading h2,
  .letter-heading h2 {
    font-size: 4.5rem;
  }
}

@media (max-width: 860px) {
  .site-header {
    width: calc(100% - 1rem);
    padding-top: 0.74rem;
  }

  .brand span:last-child {
    display: none;
  }

  .site-nav a:nth-child(1),
  .site-nav a:nth-child(2) {
    display: none;
  }

  .hero {
    min-height: 90svh;
    padding: 7rem 1rem 4.2rem;
  }

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

  .hero-mask {
    background:
      linear-gradient(90deg, rgba(3, 4, 5, 0.94) 0%, rgba(3, 4, 5, 0.72) 58%, rgba(3, 4, 5, 0.24) 100%),
      linear-gradient(180deg, rgba(3, 4, 5, 0.12), rgba(3, 4, 5, 0.08) 44%, rgba(3, 4, 5, 0.94));
  }

  .hero-shell,
  .folio-shell,
  .states-heading,
  .state-stage,
  .letter-shell {
    grid-template-columns: 1fr;
  }

  .states-heading h2 {
    grid-column: auto;
  }

  .hero-index {
    display: none;
  }

  h1 {
    font-size: 4.95rem;
  }

  .hero-copy > p:last-child {
    font-size: 1.03rem;
    line-height: 1.62;
  }

  .folio,
  .states,
  .letter {
    padding-top: 4.8rem;
    padding-bottom: 5rem;
  }

  .folio-heading h2,
  .states-heading h2,
  .letter-heading h2 {
    font-size: 3.35rem;
  }

  .state-card {
    min-height: 24rem;
  }

  .state-card h3 {
    margin-top: 5.8rem;
    font-size: 3rem;
  }

  .sequence-track {
    grid-template-columns: 1fr;
  }

  .sequence article {
    min-height: 12rem;
    border-right: 0;
    border-bottom: 1px solid rgba(3, 4, 5, 0.2);
  }

  .sequence h3 {
    margin-top: 2.6rem;
  }
}

@media (max-width: 460px) {
  h1 {
    font-size: 4.12rem;
  }

  .folio-heading h2,
  .states-heading h2,
  .letter-heading h2 {
    font-size: 2.85rem;
  }

  .state-card,
  .letter-panel {
    padding: 1rem;
  }

  .email-link {
    font-size: 1.48rem;
  }

  .site-footer {
    display: grid;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .veil-canvas,
  .load-gate,
  .redline-field {
    display: none;
  }

  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }
}
