:root {
  color-scheme: light;
  font-family: Inter, "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-synthesis: none;
  --ink: #0b0b0a;
  --paper: #f3efe6;
  --yellow: #ffd20a;
  --muted: #6d685e;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  margin: 0;
}

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

.stage {
  isolation: isolate;
  min-height: 100svh;
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr auto;
  overflow: hidden;
  padding: clamp(1.25rem, 3vw, 2.5rem);
  background:
    radial-gradient(circle at 70% 35%, rgb(255 210 10 / 18%), transparent 24rem),
    linear-gradient(135deg, #f7f3ea 0%, var(--paper) 52%, #e9e3d6 100%);
}

.stage::before {
  content: "";
  position: absolute;
  z-index: -2;
  inset: -30%;
  background: repeating-linear-gradient(
    115deg,
    transparent 0,
    transparent 28px,
    rgb(11 11 10 / 2.5%) 29px,
    transparent 30px
  );
  transform: rotate(-4deg);
}

.grain {
  position: absolute;
  z-index: 10;
  inset: 0;
  opacity: 0.18;
  pointer-events: none;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.92' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.13'/%3E%3C/svg%3E");
}

.masthead,
.footer {
  position: relative;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.wordmark {
  border: 1px solid var(--ink);
  padding: 0.55rem 0.7rem 0.5rem;
  line-height: 1;
}

.status {
  display: flex;
  align-items: center;
  color: var(--muted);
}

.status i {
  width: 0.55rem;
  height: 0.55rem;
  margin-right: 0.55rem;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 0 0 0 rgb(255 210 10 / 55%);
  animation: pulse 2.4s ease-out infinite;
}

.hero {
  position: relative;
  z-index: 2;
  width: min(100%, 78rem);
  margin: auto;
  display: grid;
  grid-template-columns: minmax(17rem, 0.95fr) minmax(19rem, 1.05fr);
  align-items: center;
  gap: clamp(1rem, 3vw, 4rem);
  padding: clamp(2rem, 5vw, 5rem) 0;
}

.logo-wrap {
  position: relative;
  margin: 0;
  justify-self: end;
  width: min(100%, 38rem);
  transform: rotate(-1.5deg);
  animation: arrive 900ms cubic-bezier(0.2, 0.75, 0.25, 1) both;
}

.logo-wrap::after {
  content: "";
  position: absolute;
  z-index: -1;
  left: 15%;
  right: 10%;
  bottom: 6%;
  height: 8%;
  border-radius: 50%;
  background: rgb(11 11 10 / 18%);
  filter: blur(18px);
}

.logo {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 1.7rem 1.5rem rgb(11 11 10 / 8%));
}

.announcement {
  position: relative;
  animation: copy-in 900ms 160ms cubic-bezier(0.2, 0.75, 0.25, 1) both;
}

.announcement::before {
  content: "";
  display: block;
  width: 3.5rem;
  height: 0.55rem;
  margin-bottom: 1.5rem;
  background: var(--yellow);
}

.eyebrow {
  margin: 0 0 0.8rem;
  color: var(--muted);
  font-size: clamp(0.66rem, 1vw, 0.78rem);
  font-weight: 800;
  letter-spacing: 0.24em;
}

h1 {
  max-width: 9ch;
  margin: 0;
  font-size: clamp(4.1rem, 9vw, 8.75rem);
  font-weight: 950;
  letter-spacing: -0.075em;
  line-height: 0.78;
  text-transform: uppercase;
}

h1 span {
  position: relative;
  display: inline-block;
  margin-top: 0.22em;
  padding: 0.03em 0.12em 0.1em 0.08em;
  color: var(--paper);
  background: var(--ink);
  letter-spacing: -0.06em;
  transform: rotate(-1.5deg);
}

h1 span::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: -0.11em;
  bottom: -0.09em;
  width: 100%;
  height: 100%;
  background: var(--yellow);
}

.signal {
  position: absolute;
  z-index: -1;
  left: 24%;
  top: 50%;
  width: min(60vw, 47rem);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  opacity: 0.55;
}

.signal span {
  position: absolute;
  inset: 50%;
  border: 1px solid rgb(11 11 10 / 24%);
  border-radius: 50%;
  animation: signal 4.8s ease-out infinite;
}

.signal span:nth-child(2) {
  animation-delay: 1.6s;
}

.signal span:nth-child(3) {
  animation-delay: 3.2s;
}

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

.footer span:first-child {
  color: var(--ink);
}

@keyframes pulse {
  60%,
  100% {
    box-shadow: 0 0 0 0.7rem rgb(255 210 10 / 0%);
  }
}

@keyframes signal {
  0% {
    inset: 50%;
    opacity: 0;
  }
  12% {
    opacity: 1;
  }
  100% {
    inset: 0;
    opacity: 0;
  }
}

@keyframes arrive {
  from {
    opacity: 0;
    transform: translateY(1.5rem) rotate(-1.5deg) scale(0.96);
  }
}

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

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

  .status {
    font-size: 0;
  }

  .status i {
    margin-right: 0;
  }

  .hero {
    grid-template-columns: 1fr;
    align-content: center;
    gap: 0;
    padding: 3rem 0 2rem;
  }

  .logo-wrap {
    justify-self: center;
    width: min(80vw, 27rem);
    margin-bottom: -1rem;
  }

  .announcement {
    justify-self: center;
    width: min(100%, 30rem);
    text-align: center;
  }

  .announcement::before {
    margin-inline: auto;
  }

  h1 {
    max-width: none;
    font-size: clamp(3.6rem, 18vw, 6rem);
  }

  .signal {
    left: 50%;
    top: 35%;
    width: 105vw;
  }
}

@media (max-height: 680px) and (min-width: 761px) {
  .hero {
    padding: 1rem 0;
  }

  .logo-wrap {
    max-width: 27rem;
  }

  h1 {
    font-size: clamp(3.8rem, 8vw, 6.5rem);
  }
}

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