:root {
  color-scheme: dark;
  --bg: #09090b;
  --text: #f4f1ea;
  --muted: rgba(244, 241, 234, 0.66);
  --line: rgba(244, 241, 234, 0.16);
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Outfit", sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
}

a {
  color: inherit;
}

.back {
  position: fixed;
  z-index: 5;
  top: 18px;
  left: 22px;
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
}

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

.intro {
  width: min(1080px, calc(100% - 48px));
  margin: 0 auto;
  padding: 92px 0 12px;
}

.kicker {
  margin: 0;
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

h1 {
  margin: 6px 0 0;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 560;
  letter-spacing: -0.03em;
}

.lede {
  max-width: 28rem;
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.story {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 48px;
  width: min(1080px, calc(100% - 48px));
  margin: 0 auto;
  padding-bottom: 18vh;
}

.visual {
  position: sticky;
  top: 12vh;
  align-self: start;
  height: fit-content;
}

figure {
  margin: 0;
}

.visual img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 18px;
  background: #141416;
}

figcaption {
  margin-top: 12px;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-style: italic;
}

.step {
  min-height: 78vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 24px 0;
  border-top: 1px solid transparent;
}

.step h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 560;
  letter-spacing: -0.03em;
  color: rgba(244, 241, 234, 0.38);
}

.step p {
  max-width: 34rem;
  margin: 12px 0 0;
  color: rgba(244, 241, 234, 0.4);
  font-size: 1.08rem;
  line-height: 1.5;
}

.step.is-active h2,
.step.is-active p {
  color: var(--text);
}

.step.is-active p {
  color: var(--muted);
}

@media (max-width: 800px) {
  .back {
    top: 14px;
    left: 14px;
  }

  .intro,
  .story {
    width: calc(100% - 32px);
  }

  .story {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .visual {
    top: 64px;
  }

  .step {
    min-height: 70vh;
  }
}
