:root {
  color-scheme: light;
  font-family: Arial, Helvetica, sans-serif;
  font-synthesis: none;
  --paper: #f2efe8;
  --ink: #121215;
  --signal: #6547e8;
  --rule: rgba(18, 18, 21, 0.2);
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  margin: 0;
  background: var(--paper);
}

body {
  color: var(--ink);
  overflow: hidden;
}

a {
  color: inherit;
}

.stage {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 100svh;
  padding: clamp(1.25rem, 3vw, 2.75rem);
  overflow: hidden;
}

.stage::before {
  content: "";
  position: absolute;
  z-index: -3;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 49.92%, rgba(18, 18, 21, 0.075) 50%, transparent 50.08%),
    linear-gradient(0deg, transparent 49.92%, rgba(18, 18, 21, 0.075) 50%, transparent 50.08%);
  background-size: 5.5rem 5.5rem;
  mask-image: linear-gradient(to bottom, transparent, black 18%, black 78%, transparent);
}

.stage__grain {
  position: absolute;
  z-index: -1;
  inset: -50%;
  opacity: 0.11;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.65'/%3E%3C/svg%3E");
  transform: rotate(9deg);
}

.stage__beam {
  position: absolute;
  z-index: -2;
  width: min(70vw, 62rem);
  aspect-ratio: 1;
  right: -18%;
  top: -38%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(101, 71, 232, 0.2), rgba(101, 71, 232, 0) 68%);
  filter: blur(12px);
  animation: beam 12s ease-in-out infinite alternate;
}

.masthead,
.footer {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  line-height: 1;
}

.masthead {
  padding-bottom: 1.2rem;
  border-bottom: 1px solid var(--rule);
  animation: reveal 700ms 120ms both;
}

.wordmark {
  text-decoration: none;
}

.domain {
  color: rgba(18, 18, 21, 0.55);
}

.hero {
  display: grid;
  grid-template-columns: minmax(15rem, 0.85fr) minmax(23rem, 1.15fr);
  align-items: center;
  gap: clamp(2rem, 7vw, 9rem);
  width: min(100%, 98rem);
  margin: 0 auto;
}

.monogram {
  position: relative;
  width: min(42vw, 31rem);
  aspect-ratio: 1;
  user-select: none;
  animation: monogram-in 900ms 120ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.monogram__svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.monogram__r {
  fill: var(--ink);
  transition: transform 600ms cubic-bezier(0.16, 1, 0.3, 1);
  transform-origin: center;
}

.monogram__s {
  fill: none;
  stroke: var(--signal);
  stroke-width: 34;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 0;
  transition: stroke-width 600ms cubic-bezier(0.16, 1, 0.3, 1);
  animation: route-in 1.15s 360ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.monogram__origin {
  fill: var(--paper);
  stroke: var(--signal);
  stroke-width: 8;
  transform-origin: 326px 105px;
  animation: endpoint-in 500ms 940ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.monogram__destination {
  fill: var(--signal);
  transform-origin: 170px 289px;
  animation: endpoint-in 500ms 1.02s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.monogram:hover .monogram__r {
  transform: translateX(-5px);
}

.monogram:hover .monogram__s {
  stroke-width: 40;
}

h1 {
  max-width: 13ch;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.2rem, 7vw, 8.4rem);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.91;
  text-wrap: balance;
  animation: headline-in 900ms 260ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

h1 em {
  color: var(--signal);
  font-weight: 400;
}

.footer {
  gap: 1rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--rule);
  animation: reveal 700ms 520ms both;
}

.footer__line {
  height: 1px;
  flex: 1;
  background: var(--signal);
  transform-origin: left;
  animation: line-in 1.1s 700ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes beam {
  to {
    transform: translate(-5%, 8%) scale(1.08);
  }
}

@keyframes reveal {
  from {
    opacity: 0;
  }
}

@keyframes monogram-in {
  from {
    opacity: 0;
    transform: scale(0.9) rotate(-3deg);
  }
}

@keyframes route-in {
  from {
    stroke-dashoffset: 1;
  }
}

@keyframes endpoint-in {
  from {
    opacity: 0;
    transform: scale(0);
  }
}

@keyframes headline-in {
  from {
    opacity: 0;
    transform: translateY(2rem);
  }
}

@keyframes line-in {
  from {
    transform: scaleX(0);
  }
}

@media (max-width: 760px) {
  .stage {
    min-height: 100svh;
    padding: 1.25rem;
  }

  .hero {
    grid-template-columns: 1fr;
    align-content: center;
    justify-items: start;
    gap: 1.75rem;
    padding: 1.5rem 0;
  }

  .monogram {
    width: min(62vw, 18rem);
  }

  h1 {
    max-width: 10ch;
    font-size: clamp(3.2rem, 15.5vw, 5.25rem);
  }

  .domain {
    display: none;
  }

  .footer {
    font-size: 0.58rem;
  }
}

@media (max-height: 650px) and (min-width: 761px) {
  .hero {
    transform: scale(0.82);
  }
}

@media (max-width: 760px) and (max-height: 700px) {
  .stage {
    padding-block: 0.8rem;
  }

  .masthead {
    padding-bottom: 0.8rem;
  }

  .hero {
    gap: 0.25rem;
    padding: 0.25rem 0;
  }

  .monogram {
    width: min(37vw, 9rem);
  }

  h1 {
    font-size: min(11.25vw, 2.75rem);
  }

  .footer {
    padding-top: 0.55rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation: none !important;
    transition: none !important;
  }
}
