@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("/figtree-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url("/fraunces-latin.woff2") format("woff2");
}

:root {
  --font-sans: "Figtree", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --font-display: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --color-bg: #0b0b0a;
  --color-fg: #e8e6df;
  --color-muted: #8c8a82;
  --color-line: #2c2b28;
  --color-rh: #0e6cdd;
  --text-kicker: 0.6875rem;
  --text-body: 0.9375rem;
  --text-tag: clamp(1.25rem, 0.95rem + 1.4vw, 1.85rem);
  --ease-out-soft: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out-soft: cubic-bezier(0.45, 0, 0.55, 1);
  --mx: 50%;
  --my: 38%;
  --gx0: 50%;
  --gy0: 36%;
  --gx1: 50%;
  --gy1: 36%;
  --gx2: 50%;
  --gy2: 36%;
  --flare-rot: 0deg;
  --flare-off: 0;
  --lean-x: 0px;
  --lean-y: 0px;
  --near: 0;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--color-bg);
  color: var(--color-fg);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection {
  background: color-mix(in oklab, var(--color-rh) 38%, transparent);
  color: var(--color-fg);
}

.stage {
  position: relative;
  display: flex;
  min-height: 100dvh;
  flex-direction: column;
}

.tile {
  position: relative;
  display: flex;
  flex: 1;
  flex-direction: column;
  min-height: calc(100dvh - 1.5rem);
  margin: 0.75rem;
  border: 1px solid var(--color-line);
}

.corner,
.wordmark,
.kicker {
  font-size: var(--text-kicker);
  letter-spacing: 0.04em;
  color: var(--color-muted);
  pointer-events: none;
}

.corner,
.wordmark {
  color: var(--color-rh);
}

.corner {
  position: absolute;
  z-index: 20;
  font-family: var(--font-sans);
}

.corner-0 {
  top: 1rem;
  left: 1rem;
  font-variant-numeric: tabular-nums;
}

.corner-rh {
  top: 1rem;
  right: 1rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.corner-inf {
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 1.125rem;
  line-height: 1.2;
}

.copy-mark {
  position: absolute;
  z-index: 20;
  bottom: 1rem;
  left: 1rem;
  margin: 0;
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-muted);
  pointer-events: none;
}

.wordmark {
  display: none;
  position: absolute;
  z-index: 20;
  top: 1rem;
  left: 50%;
  margin: 0;
  transform: translateX(-50%);
  letter-spacing: 0.34em;
  text-transform: uppercase;
}

.field {
  pointer-events: none;
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.field-grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 40;
  opacity: 0.045;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

.field-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 62% 54% at var(--mx) var(--my),
    color-mix(in oklab, var(--color-rh) calc(4% + 7% * var(--near)), transparent),
    transparent 70%
  );
  animation: field-wash 7.2s var(--ease-in-out-soft) infinite;
}

.flare {
  position: absolute;
  inset: 0;
  mix-blend-mode: screen;
  opacity: calc(0.418 + 0.202 * var(--near));
}

.flare-bloom,
.flare-streak,
.flare-iris,
.flare-ghost {
  position: absolute;
  translate: -50% -50%;
}

.flare-bloom {
  left: var(--mx);
  top: var(--my);
  width: 13vmin;
  height: 13vmin;
  border-radius: 999px;
  opacity: 0.55;
  background: radial-gradient(
    circle,
    color-mix(in oklab, var(--color-rh) 32%, var(--color-fg)) 0%,
    color-mix(in oklab, var(--color-rh) 14%, transparent) 34%,
    transparent 72%
  );
}

.flare-iris {
  left: var(--mx);
  top: var(--my);
  width: 3px;
  height: 3px;
  border-radius: 999px;
  opacity: 0.44;
  background: color-mix(in oklab, var(--color-fg) 55%, var(--color-rh));
  box-shadow: 0 0 7px 1px color-mix(in oklab, var(--color-rh) 26%, transparent);
}

.flare-streak {
  left: var(--mx);
  top: var(--my);
  width: calc(28vmin + 12vmin * var(--flare-off));
  height: 1px;
  rotate: var(--flare-rot);
  opacity: 0.32;
  background: linear-gradient(
    90deg,
    transparent 0%,
    color-mix(in oklab, var(--color-rh) 14%, transparent) 22%,
    color-mix(in oklab, var(--color-rh) 36%, var(--color-fg)) 50%,
    color-mix(in oklab, var(--color-rh) 14%, transparent) 78%,
    transparent 100%
  );
  filter: blur(0.35px);
}

.flare-streak::after {
  content: "";
  position: absolute;
  inset: -5px 0;
  background: inherit;
  filter: blur(6px);
  opacity: 0.2;
}

.flare-ghost-n {
  left: var(--gx0);
  top: var(--gy0);
  width: 4.5vmin;
  height: 4.5vmin;
  border-radius: 999px;
  background: radial-gradient(
    circle,
    color-mix(in oklab, var(--color-rh) 42%, var(--color-fg)) 0%,
    color-mix(in oklab, var(--color-rh) 22%, transparent) 45%,
    transparent 70%
  );
}

.flare-ghost-a {
  left: var(--gx1);
  top: var(--gy1);
  width: 10vmin;
  height: 10vmin;
  border-radius: 999px;
  background: radial-gradient(
    circle,
    color-mix(in oklab, var(--color-rh) 46%, transparent) 0%,
    color-mix(in oklab, var(--color-rh) 18%, transparent) 42%,
    transparent 70%
  );
}

.flare-ghost-b {
  left: var(--gx2);
  top: var(--gy2);
  width: 18px;
  height: 18px;
  background: color-mix(in oklab, var(--color-rh) 48%, var(--color-fg) 8%);
  clip-path: polygon(50% 0%, 93% 25%, 93% 75%, 50% 100%, 7% 75%, 7% 25%);
  rotate: calc(var(--flare-rot) * 3);
  filter: blur(0.3px);
  opacity: 0.85;
}

.scroll {
  position: relative;
  z-index: 10;
  display: flex;
  flex: 1;
  flex-direction: column;
  overflow-y: auto;
}

.stack {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 48rem;
  margin-inline: auto;
  padding: 4rem 1.5rem;
}

.mark {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.field-rings {
  pointer-events: none;
  position: absolute;
  inset: 0;
  margin: -4rem;
  translate: var(--lean-x) var(--lean-y);
}

.ring {
  position: absolute;
  border-radius: 999px;
  border: 1px solid color-mix(in oklab, var(--color-fg) 10%, transparent);
}

.ring:first-child {
  inset: 0;
}

.ring-b {
  inset: 16%;
}

.ring-c {
  inset: 32%;
  border-color: color-mix(in oklab, var(--color-fg) 15%, transparent);
}

.logo-mark {
  position: relative;
  z-index: 10;
  width: 11rem;
  height: auto;
  filter: drop-shadow(
    0 0 28px color-mix(in oklab, var(--color-rh) calc(var(--near) * 38%), transparent)
  );
}

.tagline {
  position: relative;
  width: 100%;
  max-width: 36rem;
  min-height: 4rem;
  margin: 1.5rem 0 0;
  text-align: center;
  font-family: var(--font-display);
  font-size: var(--text-tag);
  font-weight: 400;
  line-height: 1.35;
  text-wrap: balance;
}

.tagline span {
  display: inline-block;
}

.copy {
  display: flex;
  width: 100%;
  max-width: 42rem;
  flex-direction: column;
  gap: 1.35rem;
  margin-top: 1.5rem;
}

.brief {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.chip {
  cursor: default;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}

.plainly {
  margin: 0;
  text-align: center;
  font-size: var(--text-kicker);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.brief-body {
  position: relative;
}

.brief-body > p {
  position: relative;
  z-index: 1;
}

.brief-glow {
  position: absolute;
  left: 50%;
  top: 46%;
  width: 150%;
  height: 190%;
  translate: -50% -50%;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  mix-blend-mode: screen;
  background: radial-gradient(
    ellipse at center,
    color-mix(in oklab, var(--color-rh) 12%, var(--color-fg)) 0%,
    color-mix(in oklab, var(--color-rh) 4%, transparent) 46%,
    transparent 78%
  );
  filter: blur(28px);
  transition: opacity 720ms var(--ease-out-soft);
}

.chip:hover ~ .brief-body .brief-glow,
.chip:focus-within ~ .brief-body .brief-glow {
  opacity: 0.26;
}

.chip .email {
  cursor: default;
}

.control {
  position: relative;
  display: inline-flex;
  align-self: center;
}

.control-glow {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 260%;
  height: 380%;
  translate: -50% -50%;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  mix-blend-mode: screen;
  background: radial-gradient(
    ellipse at center,
    color-mix(in oklab, var(--color-rh) 12%, var(--color-fg)) 0%,
    color-mix(in oklab, var(--color-rh) 4%, transparent) 46%,
    transparent 78%
  );
  filter: blur(16px);
  transition: opacity 720ms var(--ease-out-soft);
}

.control:hover .control-glow,
.control:focus-within .control-glow {
  opacity: 0.26;
}

.copy p {
  margin: 0;
  text-align: center;
  font-size: var(--text-body);
  font-weight: 400;
  line-height: 1.625;
  color: var(--color-muted);
  text-wrap: pretty;
}

.copy > .email {
  align-self: center;
}

.cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
  padding-bottom: 2rem;
}

.email {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 2rem;
  padding: 0 0.875rem;
  border: 1px solid var(--color-line);
  background: transparent;
  color: var(--color-fg);
  font-family: var(--font-sans);
  font-size: var(--text-kicker);
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition:
    color 150ms ease-out,
    background-color 150ms ease-out,
    border-color 150ms ease-out,
    transform 150ms ease-out;
}

.email:hover {
  border-color: var(--color-rh);
  background: transparent;
  color: var(--color-rh);
}

.email:active {
  transform: scale(0.96);
}

.email:focus-visible {
  outline: 2px solid color-mix(in oklab, var(--color-fg) 40%, transparent);
  outline-offset: 2px;
}

.deck {
  height: 100dvh;
  overflow: hidden;
}

.deck .tile {
  min-height: 0;
}

.deck .scroll {
  min-height: 0;
  -webkit-mask-image: linear-gradient(
    to bottom,
    transparent 0,
    transparent 3.25rem,
    #000 5.25rem,
    #000 calc(100% - 11rem),
    transparent calc(100% - 8.25rem),
    transparent 100%
  );
  mask-image: linear-gradient(
    to bottom,
    transparent 0,
    transparent 3.25rem,
    #000 5.25rem,
    #000 calc(100% - 11rem),
    transparent calc(100% - 8.25rem),
    transparent 100%
  );
}

.deck-back {
  position: absolute;
  z-index: 20;
  bottom: 5rem;
  left: 50%;
  translate: -50% 0;
}

.deck .stack {
  justify-content: flex-start;
  max-width: 48rem;
  padding: 5.5rem 1.25rem 8rem;
  gap: 1rem;
}

.dslide {
  position: relative;
  width: 100%;
  border: 0;
  border-top: 2px solid var(--color-rh);
  padding: 4rem 0 4.5rem;
  text-align: left;
}

.dslide.center {
  display: flex;
  min-height: 78dvh;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-top: 0;
  padding: 5rem 0;
  text-align: center;
}

.dslide.center:not(:first-child) {
  border-top: 2px solid var(--color-rh);
}

.deck-ring {
  position: absolute;
  left: 50%;
  top: 46%;
  width: min(28rem, 78vw);
  aspect-ratio: 1;
  translate: -50% -50%;
  border-radius: 999px;
  border: 1px solid color-mix(in oklab, var(--color-rh) 32%, transparent);
  pointer-events: none;
}

.deck-ring::after {
  content: "";
  position: absolute;
  inset: 14%;
  border-radius: inherit;
  border: 1px solid color-mix(in oklab, var(--color-line) 90%, var(--color-fg));
  opacity: 0.55;
}

.dslide h2 {
  max-width: 36rem;
  margin: 1.25rem 0 0;
  font-family: var(--font-display);
  font-size: var(--text-tag);
  font-weight: 400;
  line-height: 1.35;
  color: var(--color-fg);
  text-wrap: balance;
}

.dslide.center h2 {
  margin-inline: auto;
  font-size: clamp(2rem, 1.2rem + 2.4vw, 3.25rem);
  line-height: 1.12;
}

.dslide.center .control {
  margin-top: 2rem;
}

.dslide.center .lede,
.dslide.center .source {
  margin-inline: auto;
}

.dslide .stat-value {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 18cqi, 3.15rem);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--color-fg);
  white-space: nowrap;
}

.stats li,
.points li,
.items li,
.steps li,
.people > li {
  border-top: 1px solid var(--color-line);
  padding-top: 1rem;
}

.stats li {
  container-type: inline-size;
}

.stats li > p:not(.stat-value) {
  max-width: 16rem;
  text-wrap: pretty;
}

.idx {
  color: var(--color-muted);
}

.dslide .lede,
.dslide .kicker,
.dslide .body,
.dslide .close,
.dslide li p {
  margin: 0.75rem 0 0;
  font-size: var(--text-body);
  line-height: 1.625;
  color: var(--color-muted);
  text-wrap: pretty;
}

.dslide .close,
.dslide .name {
  color: var(--color-fg);
}

.dslide .stats + .close,
.dslide .points + .close,
.dslide .items + .close,
.dslide .steps + .close,
.dslide .steps + .body,
.dslide .people + .close,
.dslide .acts + .body,
.dslide .body + .close {
  margin-top: 2.5rem;
}

.dslide .close + .close {
  margin-top: 0.75rem;
}

.dslide .num {
  margin: 0;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-rh);
}

.dslide h2,
.dslide .kicker,
.dslide .body,
.dslide .close,
.dslide .lede,
.points,
.items,
.steps,
.people,
.acts,
.steps-label,
.source {
  max-width: 36rem;
}

.stats {
  display: grid;
  width: 100%;
  max-width: none;
  margin: 2.5rem 0 0;
  padding: 0;
  list-style: none;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.points,
.items,
.people {
  margin: 2.5rem 0 0;
  padding: 0;
  list-style: none;
}

.points li,
.items li {
  margin-top: 0;
}

.points li {
  display: grid;
  grid-template-columns: 2.25rem minmax(0, 1fr);
  column-gap: 0.75rem;
  align-items: baseline;
  padding-bottom: 1rem;
}

.points li > .idx,
.points li > p {
  margin: 0;
}

.points li > .idx {
  line-height: 1.625;
}

.items li {
  display: grid;
  grid-template-columns: minmax(7.5rem, 38%) minmax(0, 1fr);
  column-gap: 1.25rem;
  align-items: start;
  padding-bottom: 1rem;
}

.items li > .item-title {
  margin: 0;
  color: var(--color-fg);
}

.items li > p {
  margin: 0;
}

.acts {
  margin-top: 3rem;
}

.acts .steps-label {
  margin-top: 0;
}

.acts .name {
  color: var(--color-fg);
}

.steps-label {
  margin: 2.5rem 0 0;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-muted);
  font-size: var(--text-kicker);
}

.steps {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.steps li {
  display: grid;
  grid-template-columns: 2.25rem 1fr;
  gap: 0.75rem;
  margin-top: 0;
  border-top: 0;
  padding-top: 0;
  align-items: baseline;
}

.steps li > .idx,
.steps li > .step-title {
  margin: 0;
}

.steps li > .idx {
  line-height: 1.625;
}

.steps li > .step-title {
  color: var(--color-fg);
}

.steps .idx {
  position: relative;
}

.steps li:not(:last-child) .idx::after {
  content: "";
  position: absolute;
  left: 0.42rem;
  top: 1.15rem;
  bottom: 0.15rem;
  width: 1px;
  background: var(--color-line);
}

.steps .step-title {
  padding-bottom: 1.25rem;
}

.idx {
  color: var(--color-muted);
  letter-spacing: 0.14em;
  font-size: var(--text-kicker);
}

.item-title,
.step-title {
  margin: 0;
  color: var(--color-fg);
  font-size: var(--text-body);
}

.source {
  margin: 2.5rem 0 0;
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  line-height: 1.5;
  color: color-mix(in oklab, var(--color-muted) 80%, transparent);
}

.person-name {
  margin: 0;
  font-family: var(--font-display);
  font-size: var(--text-tag);
  color: var(--color-fg);
}

.person-role {
  margin: 0.25rem 0 0;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.people > li {
  padding-bottom: 2rem;
}

.people > li:last-child {
  padding-bottom: 0;
}

@media (min-width: 640px) {
  .stats.three {
    grid-template-columns: repeat(3, 1fr);
  }

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

.slide h1 {
  max-width: 28rem;
  margin: 1.25rem auto 0;
  font-family: var(--font-display);
  font-size: var(--text-tag);
  font-weight: 400;
  line-height: 1.35;
  color: var(--color-fg);
  text-wrap: balance;
}

.slide p {
  margin: 0;
}

.slide .note {
  max-width: 24rem;
  margin: 1.25rem auto 0;
  font-size: var(--text-body);
  line-height: 1.625;
  color: var(--color-muted);
  text-wrap: pretty;
}

.field-breathe {
  animation: field-breathe 7.2s var(--ease-in-out-soft) infinite;
}

.field-breathe-b {
  animation-delay: -2.4s;
}

.field-breathe-c {
  animation-delay: -4.8s;
}

.enter {
  animation: enter-up 900ms var(--ease-out-soft) both;
}

.enter-a {
  animation-delay: 80ms;
}
.enter-b {
  animation-delay: 220ms;
}
.enter-c {
  animation-delay: 360ms;
}
.enter-d {
  animation-delay: 500ms;
}

.tag-in {
  animation: tag-in 700ms var(--ease-out-soft) both;
}

.tag-out {
  animation: tag-out 380ms var(--ease-out-soft) both;
}

@keyframes field-breathe {
  0%,
  100% {
    scale: 0.986;
    opacity: 0.42;
  }
  50% {
    scale: 1.034;
    opacity: 0.92;
  }
}

@keyframes field-wash {
  0%,
  100% {
    opacity: 0.72;
  }
  50% {
    opacity: 1;
  }
}

@keyframes enter-up {
  from {
    opacity: 0;
    transform: translateY(14px);
    filter: blur(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@keyframes tag-in {
  from {
    opacity: 0;
    transform: translateY(8px);
    filter: blur(5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@keyframes tag-out {
  from {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
  to {
    opacity: 0;
    transform: translateY(-6px);
    filter: blur(4px);
  }
}

@media (min-width: 640px) {
  .tile {
    min-height: calc(100dvh - 2.5rem);
    margin: 1.25rem;
  }

  .corner-0,
  .back {
    top: 1.25rem;
    left: 1.5rem;
  }

  .copy-mark {
    bottom: 1.25rem;
    left: 1.5rem;
  }

  .corner-rh {
    top: 1.25rem;
    right: 1.5rem;
  }

  .corner-inf {
    bottom: 3rem;
  }

  .deck-back {
    bottom: 6rem;
  }

  .wordmark {
    top: 1.25rem;
  }

  .stack {
    padding: 5rem 2.5rem;
  }

  .field-rings {
    margin: -6rem;
  }

  .logo-mark {
    width: 14rem;
  }

  .slide {
    padding: 4rem 3rem;
  }

  .tagline {
    min-height: 5rem;
    margin-top: 2rem;
  }

  .copy,
  .cta {
    margin-top: 2rem;
  }
}

@media (min-width: 768px) {
  .wordmark {
    display: block;
  }
}

@media (hover: none) and (pointer: coarse) {
  .flare-streak,
  .flare-iris,
  .flare-ghost {
    display: none;
  }
}

.deck-pulse {
  position: absolute;
  width: 11rem;
  height: 11rem;
  border-radius: 999px;
  pointer-events: none;
  mix-blend-mode: screen;
  background: radial-gradient(
    circle,
    color-mix(in oklab, var(--color-rh) 16%, var(--color-fg)) 0%,
    color-mix(in oklab, var(--color-rh) 6%, transparent) 46%,
    transparent 72%
  );
  animation: deck-pulse 1.15s var(--ease-out-soft) forwards;
}

@keyframes deck-pulse {
  0% {
    opacity: 0.42;
    transform: translate(-50%, -50%) scale(0.42);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(1.55);
  }
}

@media (prefers-reduced-motion: reduce) {
  .field-breathe,
  .field-glow,
  .enter,
  .tag-in,
  .tag-out,
  .deck-pulse {
    animation: none !important;
  }

  .flare-streak,
  .flare-iris,
  .flare-ghost {
    display: none;
  }

  .field-rings {
    translate: 0;
  }

  .logo-mark {
    filter: none;
  }

  .brief-glow,
  .control-glow {
    transition: none;
  }
}
