:root {
  --black-wool: #07070a;
  --black-soft: #111017;
  --warm-fleece: #f5f1e8;
  --fleece-muted: #c9c1b6;
  --electric-violet: #a855f7;
  --hot-pink: #ff3cac;
  --poofer-orange: #ff5a1f;
  --rule: rgba(245, 241, 232, 0.18);
  --shell: min(1180px, calc(100vw - 48px));
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  color: var(--warm-fleece);
  background:
    radial-gradient(circle at 15% 35%, rgba(168, 85, 247, 0.08), transparent 30rem),
    var(--black-wool);
  font-family: "Atkinson Hyperlegible", Arial, sans-serif;
  font-size: 18px;
  line-height: 1.55;
  overflow-x: hidden;
}

::selection {
  color: var(--black-wool);
  background: var(--hot-pink);
}

a {
  color: inherit;
}

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

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 0.98;
  letter-spacing: -0.045em;
}

h2 {
  margin-bottom: 32px;
  font-size: clamp(3rem, 7vw, 7.4rem);
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  color: var(--black-wool);
  background: var(--warm-fleece);
  transform: translateY(-150%);
  transition: transform 160ms ease;
}

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

.site-header {
  position: absolute;
  z-index: 20;
  top: 0;
  left: 50%;
  display: flex;
  width: var(--shell);
  align-items: center;
  justify-content: space-between;
  padding: 30px 0;
  transform: translateX(-50%);
}

.brand img {
  width: clamp(120px, 15vw, 200px);
}

nav {
  display: flex;
  gap: clamp(16px, 3vw, 42px);
  font-size: 0.83rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

nav a {
  text-decoration: none;
}

nav a::after {
  display: block;
  width: 0;
  height: 2px;
  margin-top: 4px;
  background: linear-gradient(90deg, var(--electric-violet), var(--hot-pink));
  content: "";
  transition: width 180ms ease;
}

nav a:hover::after,
nav a:focus-visible::after {
  width: 100%;
}

.hero {
  position: relative;
  display: grid;
  min-height: max(680px, 100svh);
  isolation: isolate;
  overflow: hidden;
  background: #030306;
}

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

.hero-image {
  z-index: -3;
  object-fit: cover;
  object-position: 60% 50%;
  animation: hero-arrive 1.5s cubic-bezier(0.2, 0.75, 0.25, 1) both;
}

.hero-shade {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(2, 2, 5, 0.91) 0%, rgba(2, 2, 5, 0.48) 32%, transparent 66%),
    linear-gradient(0deg, rgba(7, 7, 10, 0.78) 0%, transparent 34%, rgba(7, 7, 10, 0.22) 100%);
}

.hero-content {
  width: var(--shell);
  margin: auto;
  padding: 150px 0 110px;
}

.hero-wordmark {
  width: min(520px, 64vw);
  margin: 28px 0 34px;
  filter: drop-shadow(0 0 32px rgba(255, 60, 172, 0.22));
}

.hero h1 {
  max-width: 680px;
  margin: 0;
  font-size: clamp(3.4rem, 7vw, 7.8rem);
  text-wrap: balance;
}

.eyebrow {
  margin-bottom: 18px;
  color: var(--hot-pink);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.19em;
  text-transform: uppercase;
}

.scroll-cue {
  position: absolute;
  right: max(24px, calc((100vw - 1180px) / 2));
  bottom: 36px;
  display: flex;
  gap: 18px;
  align-items: center;
  color: var(--warm-fleece);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
}

.scroll-cue span {
  color: var(--poofer-orange);
  font-size: 1.4rem;
  animation: bob 1.6s ease-in-out infinite;
}

.section-shell {
  width: var(--shell);
  margin-inline: auto;
}

.intro {
  position: relative;
  display: grid;
  grid-template-columns: 1.45fr 0.55fr;
  gap: clamp(48px, 8vw, 120px);
  padding-block: clamp(120px, 16vw, 230px);
}

.section-number {
  position: absolute;
  top: 110px;
  right: 0;
  color: rgba(245, 241, 232, 0.035);
  font-size: clamp(12rem, 28vw, 30rem);
  font-weight: 700;
  line-height: 0.8;
  pointer-events: none;
}

.intro-copy,
.manifesto {
  position: relative;
}

.intro h2 {
  font-size: clamp(3rem, 6.2vw, 6.8rem);
}

.intro-copy > p:not(.eyebrow) {
  max-width: 790px;
}

.statement {
  margin: 45px 0 25px;
  font-size: clamp(1.45rem, 2.5vw, 2.2rem);
  line-height: 1.25;
}

.statement strong {
  color: var(--hot-pink);
}

.manifesto {
  align-self: end;
  padding: 34px;
  border: 1px solid rgba(255, 60, 172, 0.36);
  background:
    linear-gradient(145deg, rgba(168, 85, 247, 0.14), rgba(255, 60, 172, 0.035)),
    rgba(7, 7, 10, 0.62);
  box-shadow: 20px 20px 0 rgba(168, 85, 247, 0.08);
  transform: rotate(1.5deg);
}

.manifesto p {
  margin-bottom: 8px;
}

.manifesto ul {
  margin: 0 0 26px;
  padding: 0;
  color: var(--hot-pink);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 0.95;
  list-style: none;
}

.manifesto strong {
  color: var(--poofer-orange);
  font-size: 1.18rem;
}

.beacon-line {
  grid-column: 1 / -1;
  max-width: 1060px;
  margin: 65px 0 0 auto;
  padding-left: clamp(25px, 7vw, 100px);
  border-left: 4px solid var(--poofer-orange);
  font-size: clamp(2.2rem, 4.8vw, 5rem);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.identity {
  position: relative;
  padding-block: clamp(110px, 13vw, 190px) 0;
  border-top: 1px solid var(--rule);
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 24%, rgba(255, 60, 172, 0.12), transparent 28rem),
    linear-gradient(180deg, #0d0b11, var(--black-wool));
}

.identity::before {
  position: absolute;
  inset: 0;
  opacity: 0.3;
  background-image: radial-gradient(circle, rgba(245, 241, 232, 0.3) 0 1px, transparent 1.2px);
  background-size: 21px 21px;
  mask-image: linear-gradient(90deg, transparent 0%, black 60%, transparent 100%);
  content: "";
  pointer-events: none;
}

.identity-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 0.78fr;
  gap: clamp(50px, 9vw, 150px);
}

.identity-heading h2 {
  margin-bottom: 0;
}

.identity-copy {
  padding-top: 48px;
  font-size: clamp(1.12rem, 1.7vw, 1.45rem);
}

.identity-copy p + p {
  margin-top: 30px;
}

.traits {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: clamp(90px, 12vw, 170px);
  border-top: 1px solid var(--rule);
}

.trait {
  min-height: 300px;
  padding: 34px clamp(24px, 3vw, 52px);
  border-right: 1px solid var(--rule);
}

.trait:last-child {
  border-right: 0;
}

.trait span {
  display: block;
  margin-bottom: 55px;
  color: var(--hot-pink);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
}

.trait strong {
  display: block;
  margin-bottom: 14px;
  font-size: 1.45rem;
}

.trait p {
  margin: 0;
  color: var(--fleece-muted);
  font-size: 0.95rem;
}

.lineage {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: clamp(50px, 8vw, 130px);
  align-items: center;
  min-height: 780px;
  padding-block: 120px;
}

.lineage-family {
  position: relative;
  width: min(100%, 430px);
  padding: clamp(28px, 4vw, 54px);
  border: 2px solid var(--hot-pink);
  transform: rotate(-6deg);
  isolation: isolate;
}

.lineage-family::before,
.lineage-family::after {
  position: absolute;
  z-index: -1;
  inset: 5%;
  border: 1px solid var(--electric-violet);
  content: "";
  transform: rotate(13deg);
}

.lineage-family::after {
  inset: 12%;
  border-color: var(--poofer-orange);
  transform: rotate(-17deg);
}

.lineage-root {
  position: relative;
  padding: 10px 6px 28px;
  border-bottom: 1px solid rgba(255, 60, 172, 0.55);
}

.lineage-root img,
.lineage-names img {
  width: 100%;
}

.lineage-names {
  position: relative;
  display: grid;
  gap: 24px;
  padding: 30px 3px 8px;
}

.lineage-names img:last-child {
  padding: 14px 8px;
  background: rgba(245, 241, 232, 0.045);
}

.lineage-copy p:not(.eyebrow, .aside-line) {
  max-width: 680px;
  color: var(--fleece-muted);
  font-size: 1.18rem;
}

.aside-line {
  margin-top: 38px;
  color: var(--hot-pink);
  font-size: 1.4rem;
  font-weight: 700;
}

.build {
  padding-block: clamp(100px, 14vw, 190px);
  color: var(--black-wool);
  background: var(--warm-fleece);
}

.build .eyebrow {
  color: #b92372;
}

.build-heading {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  column-gap: 70px;
}

.build-heading .eyebrow {
  grid-column: 1 / -1;
}

.build-heading h2 {
  margin-bottom: 70px;
}

.build-heading > p:last-child {
  align-self: center;
  max-width: 460px;
  margin-bottom: 70px;
  font-size: 1.2rem;
}

.build-steps {
  margin: 0;
  padding: 0;
  border-top: 2px solid var(--black-wool);
  list-style: none;
}

.build-steps li {
  display: grid;
  grid-template-columns: 0.22fr 1.78fr;
  gap: 30px;
  padding: 42px 0;
  border-bottom: 1px solid rgba(7, 7, 10, 0.28);
}

.build-steps li > span {
  color: #b92372;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.build-steps h3 {
  margin: 0 0 12px;
  font-size: clamp(2.3rem, 4vw, 4.4rem);
}

.build-steps p {
  max-width: 700px;
  margin-bottom: 0;
}

.finale {
  position: relative;
  display: grid;
  min-height: 88svh;
  place-items: center;
  padding: 100px 24px;
  overflow: hidden;
  text-align: center;
}

.finale-glow {
  position: absolute;
  width: min(88vw, 1100px);
  aspect-ratio: 1;
  border: 2px solid var(--electric-violet);
  border-radius: 50%;
  box-shadow:
    0 0 100px rgba(168, 85, 247, 0.16),
    inset 0 0 100px rgba(255, 60, 172, 0.08);
}

.finale-glow::before,
.finale-glow::after {
  position: absolute;
  inset: 12%;
  border: 1px solid rgba(255, 60, 172, 0.7);
  border-radius: 50%;
  content: "";
}

.finale-glow::after {
  inset: 25%;
  border-color: rgba(255, 90, 31, 0.75);
}

.finale-copy {
  position: relative;
  max-width: 1200px;
}

.finale h2 {
  margin-bottom: 35px;
  font-size: clamp(3.2rem, 7.8vw, 8.5rem);
  text-wrap: balance;
}

.finale-copy > p:not(.eyebrow) {
  max-width: 720px;
  margin: 0 auto 42px;
  font-size: clamp(1.2rem, 2.3vw, 1.75rem);
}

.finale strong {
  color: var(--hot-pink);
  font-size: clamp(1.3rem, 2.5vw, 2rem);
}

footer {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 35px;
  align-items: center;
  padding: 34px max(24px, calc((100vw - 1180px) / 2));
  border-top: 1px solid var(--rule);
  color: var(--fleece-muted);
  font-size: 0.78rem;
}

footer img {
  width: 120px;
}

footer p {
  margin: 0;
}

.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 700ms ease,
    transform 700ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

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

@keyframes hero-arrive {
  from {
    opacity: 0;
    transform: scale(1.045);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes bob {
  0%,
  100% {
    transform: translateY(-4px);
  }
  50% {
    transform: translateY(4px);
  }
}

@media (max-width: 900px) {
  :root {
    --shell: min(100% - 34px, 720px);
  }

  body {
    font-size: 17px;
  }

  .site-header {
    padding-top: 22px;
  }

  nav {
    gap: 18px;
    font-size: 0.7rem;
  }

  .hero {
    min-height: 760px;
  }

  .hero-image {
    object-position: 64% 50%;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(2, 2, 5, 0.85) 0%, rgba(2, 2, 5, 0.28) 70%, transparent),
      linear-gradient(0deg, rgba(7, 7, 10, 0.9) 0%, transparent 55%);
  }

  .hero-content {
    align-self: end;
    margin-bottom: 50px;
    padding-bottom: 100px;
  }

  .intro,
  .identity-grid,
  .lineage,
  .build-heading {
    grid-template-columns: 1fr;
  }

  .intro {
    gap: 70px;
  }

  .section-number {
    top: 80px;
  }

  .manifesto {
    max-width: 520px;
  }

  .beacon-line {
    margin-top: 20px;
  }

  .identity-copy {
    max-width: 700px;
    padding-top: 0;
  }

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

  .trait {
    border-bottom: 1px solid var(--rule);
  }

  .trait:nth-child(2) {
    border-right: 0;
  }

  .lineage-family {
    width: min(72vw, 400px);
    margin-inline: auto;
  }

  .build-heading > p:last-child {
    margin-bottom: 60px;
  }

  footer {
    grid-template-columns: 1fr auto;
  }

  footer p:first-of-type {
    grid-column: 1 / -1;
    grid-row: 2;
  }
}

@media (max-width: 600px) {
  .site-header {
    align-items: flex-start;
  }

  .brand img {
    width: 116px;
  }

  nav {
    display: grid;
    gap: 8px;
    text-align: right;
  }

  .hero {
    min-height: 720px;
  }

  .hero-image {
    object-position: 67% 50%;
  }

  .hero-content {
    padding-top: 190px;
  }

  .hero-wordmark {
    width: 78vw;
  }

  .hero h1 {
    font-size: clamp(3.25rem, 17vw, 5.5rem);
  }

  .scroll-cue {
    right: 17px;
    bottom: 24px;
  }

  .intro,
  .lineage {
    padding-block: 100px;
  }

  .intro h2,
  h2 {
    font-size: clamp(2.7rem, 13vw, 4.5rem);
  }

  .manifesto {
    padding: 26px;
    box-shadow: 10px 10px 0 rgba(168, 85, 247, 0.08);
  }

  .manifesto ul {
    font-size: 2.5rem;
  }

  .beacon-line {
    padding-left: 24px;
    font-size: 2.25rem;
  }

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

  .trait {
    min-height: 240px;
    border-right: 0;
  }

  .trait span {
    margin-bottom: 38px;
  }

  .lineage {
    min-height: auto;
  }

  .build-steps li {
    grid-template-columns: 42px 1fr;
  }

  .finale {
    min-height: 760px;
  }

  footer {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }
}

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

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