:root {
  --paper: #fafaf9;
  --ink: #0b0b0c;
  --red: #d5000a;
  --line: #e1e1df;
  --mute: #6e6e72;

  --font-display: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
}

* {
  box-sizing: border-box;
}

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

body {
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-display);
  position: relative;
  overflow-x: hidden;
  padding: 4.5rem 1.5rem;
}

/* Signature element: a full-height axis line through the page,
   echoing the divider between the mark and wordmark in the logo. */
.axis-v {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  z-index: 0;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(213, 0, 10, 0.5) 15%,
    rgba(213, 0, 10, 0.5) 85%,
    transparent 100%
  );
  transform: translateX(-50%) scaleY(0);
  transform-origin: center;
  animation: draw-in 1.1s cubic-bezier(0.65, 0, 0.35, 1) 0.1s forwards;
}

.axis-v::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 15px;
  transform: translateX(-50%);
  background-image: repeating-linear-gradient(
    to bottom,
    rgba(213, 0, 10, 0.4) 0,
    rgba(213, 0, 10, 0.4) 1px,
    transparent 1px,
    transparent 72px
  );
}

.hero {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 640px;
  background: var(--paper);
  padding: 1.5rem 0;
}

.hero__logo {
  width: clamp(220px, 34vw, 420px);
  height: auto;
  display: block;
  margin: 0 0 1.7rem;
  animation: fade-up 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.15s both;
}

.datum {
  position: relative;
  width: 64px;
  height: 1px;
  background: var(--line);
  margin: 0 0 1.4rem;
  animation: fade-up 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.5s both;
}

.datum__dot {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
  transform: translate(-50%, -50%);
  animation: origin-pulse 2.8s ease-out infinite;
}

.hero__eyebrow {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  margin: 0 0 0.9rem;
  animation: fade-up 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.65s both;
}

.hero__headline {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.2rem, 6vw, 4.2rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 1.15rem;
  color: var(--ink);
  animation: fade-up 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.8s both;
}

.hero__sub {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  line-height: 1.6;
  color: var(--mute);
  max-width: 36ch;
  margin: 0;
  animation: fade-up 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.95s both;
}

.stamp {
  position: fixed;
  z-index: 2;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mute);
  animation: fade-up 0.7s cubic-bezier(0.16, 1, 0.3, 1) 1.15s both;
}

.stamp--tl {
  top: 1.75rem;
  left: 1.75rem;
}

.stamp--tr {
  top: 1.75rem;
  right: 1.75rem;
}

.stamp--bl {
  bottom: 1.75rem;
  left: 1.75rem;
}

.stamp--br {
  bottom: 1.75rem;
  right: 1.75rem;
}

@keyframes draw-in {
  from {
    transform: translateX(-50%) scaleY(0);
  }
  to {
    transform: translateX(-50%) scaleY(1);
  }
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes origin-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(213, 0, 10, 0.35);
  }
  70% {
    box-shadow: 0 0 0 14px rgba(213, 0, 10, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(213, 0, 10, 0);
  }
}

@media (max-width: 480px) {
  .stamp--tr,
  .stamp--br {
    display: none;
  }
}

@media (max-height: 520px) {
  .stamp {
    display: none;
  }
  body {
    padding: 2rem 1.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .axis-v,
  .hero__logo,
  .datum,
  .datum__dot,
  .hero__eyebrow,
  .hero__headline,
  .hero__sub,
  .stamp {
    animation: none;
  }
  .axis-v {
    transform: translateX(-50%) scaleY(1);
  }
}
