:root {
  --red: #ff5757;
  --blue: #0097b2;
  --gray: #545454;
  --black: #303030;
  --paper: #fdfdfb;
  --soft: #f4f2ee;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background: var(--paper);
  color: var(--black);
  overflow-x: hidden;
  font-family: "Nunito Sans", sans-serif;
}

.page {
  position: relative;
  width: 100%;
  min-height: 100dvh;
  overflow: hidden;
  padding: clamp(20px, 3vw, 40px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background:
    radial-gradient(circle at 18% 15%, rgba(255, 87, 87, 0.07), transparent 26%),
    radial-gradient(circle at 85% 80%, rgba(0, 151, 178, 0.075), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, var(--soft) 100%);
}

.page::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.035;
  background-image:
    repeating-radial-gradient(circle at 0 0, transparent 0, #303030 1px, transparent 2px);
}

.page::after {
  content: "";
  position: fixed;
  inset: clamp(10px, 1.5vw, 18px);
  border: 1.5px solid rgba(48, 48, 48, 0.18);
  border-radius: clamp(18px, 2vw, 30px);
  pointer-events: none;
}

.orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(80px);
  opacity: 0.12;
  z-index: 0;
}

.orb-red {
  width: clamp(200px, 26vw, 380px);
  aspect-ratio: 1;
  background: var(--red);
  top: -12%;
  left: -8%;
}

.orb-blue {
  width: clamp(240px, 30vw, 440px);
  aspect-ratio: 1;
  background: var(--blue);
  right: -10%;
  bottom: -14%;
}

.hero {
  position: relative;
  z-index: 2;
  width: min(100%, 980px);
  margin: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.crest {
  margin-bottom: clamp(14px, 2vw, 24px);
  padding: 8px 18px;
  border: 1.5px solid rgba(48, 48, 48, 0.5);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.75);
  color: var(--gray);
  font-family: "Bree Serif", serif;
  font-size: clamp(.78rem, 1.5vw, .95rem);
  letter-spacing: 0.03em;
  backdrop-filter: blur(8px);
}

.logo {
  width: clamp(230px, 38vw, 430px);
  height: auto;
  display: block;
  margin-bottom: clamp(8px, 1.5vw, 14px);
}

.mouse-run {
  width: fit-content;
  cursor: pointer;
  transition: transform 0.75s cubic-bezier(.68, -0.55, .27, 1.55);
}

.mouse-run img {
  width: clamp(120px, 17vw, 220px);
  height: auto;
  display: block;
  filter: drop-shadow(0 8px 0 rgba(48, 48, 48, 0.07));
  animation: wiggle 2.6s ease-in-out infinite;
}

.mouse-run.run-away {
  transform: translateX(130vw) rotate(8deg);
}

.mouse-run.come-back {
  transform: translateX(-130vw) rotate(-8deg);
}

.banner {
  width: 100%;
  max-width: 700px;
  margin: clamp(24px, 4vw, 42px) auto clamp(20px, 2vw, 30px);
  padding: clamp(15px, 2vw, 22px) clamp(16px, 3vw, 32px);
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  border: 3px solid var(--black);
  border-radius: 999px;
  background: var(--red);
  box-shadow:
    clamp(4px, 0.9vw, 8px)
    clamp(4px, 0.9vw, 8px)
    0
    var(--blue);
  transform: rotate(-0.8deg);
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.banner:hover {
  background: var(--blue);
  transform: rotate(0deg) translate(3px, 3px);
  box-shadow: 4px 4px 0 var(--red);
}

.banner span {
  display: block;
  font-family: "Bagel Fat One", serif;
  font-size: clamp(2rem, 7.2vw, 5.6rem);
  line-height: .95;
  color: white;
  letter-spacing: clamp(0px, .15vw, 2px);
  white-space: nowrap;
  text-shadow: 3px 3px 0 var(--black);
}

.tagline {
  width: min(100%, 780px);
  margin-bottom: clamp(14px, 2vw, 20px);
  font-family: "Bree Serif", serif;
  font-size: clamp(1.08rem, 2.8vw, 2.05rem);
  line-height: 1.35;
}

.copy {
  width: min(100%, 620px);
  margin-bottom: clamp(26px, 3vw, 38px);
  color: var(--gray);
  font-size: clamp(.95rem, 1.7vw, 1.08rem);
  line-height: 1.65;
}

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: clamp(180px, 30vw, 260px);
  min-height: clamp(50px, 6vw, 60px);
  padding: 12px 20px;
  border: 2.5px solid var(--black);
  border-radius: 999px;
  background: var(--black);
  color: white;
  text-decoration: none;
  font-family: "Bree Serif", serif;
  font-size: clamp(.95rem, 2vw, 1.05rem);
  box-shadow: 6px 6px 0 var(--red);
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}

.button:hover {
  background: var(--blue);
  transform: translate(3px, 3px);
  box-shadow: 3px 3px 0 var(--red);
}

footer {
  position: relative;
  z-index: 2;
  width: min(100%, 980px);
  margin: clamp(46px, 7vw, 82px) auto 0;
  padding-top: clamp(18px, 2vw, 24px);
  border-top: 1.5px solid rgba(48, 48, 48, 0.3);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: clamp(12px, 1.4vw, 22px);
  text-align: center;
  font-family: "Bree Serif", serif;
  color: var(--gray);
  font-size: clamp(.82rem, 1.4vw, 1rem);
}

footer span:not(:last-child)::after {
  content: "•";
  margin-left: clamp(12px, 1.4vw, 22px);
  color: var(--red);
}

@keyframes wiggle {
  0%, 100% {
    transform: translateX(-6px) rotate(-1deg);
  }

  50% {
    transform: translateX(6px) rotate(1deg);
  }
}

@media (max-width: 520px) {
  .page {
    justify-content: flex-start;
    padding-top: 28px;
  }

  .banner span {
    font-size: clamp(1.9rem, 12vw, 3.9rem);
    white-space: nowrap;
    text-shadow: 2px 2px 0 var(--black);
  }

  footer {
    flex-direction: column;
    gap: 6px;
  }

  footer span:not(:last-child)::after {
    content: "";
    margin-left: 0;
  }
}