@import url("https://fonts.googleapis.com/css2?family=Alike+Angular&family=IM+Fell+English:ital@0;1&family=Romanesco&family=Space+Mono:ital,wght@0,400;0,700;1,400&display=swap");

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

html,
body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  cursor: crosshair;
}


body {
  background-color: #e8e2d6;
  background-image:
    linear-gradient(rgba(0, 166, 255, 0.13) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 153, 255, 0.13) 1px, transparent 1px);
  background-size: 12px 12px;
  position: relative;
}


body::after {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.045;
  pointer-events: none;
  z-index: 9999;
}


.stage {
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}


.spray-blob {
  position: absolute;
  pointer-events: none;
  font-family: "Alike Angular", serif;
  font-size: clamp(7rem, 20vw, 17rem);
  letter-spacing: -0.02em;
  line-height: 0.85;
  color: rgba(30, 30, 20, 0.12);
  filter: url(#rough) blur(15px);
  user-select: none;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -52%);
  white-space: nowrap;
  z-index: 0;
}


.hero-foto {
  position: absolute;
  width: clamp(108px, 29vw, 297px);
  height: clamp(108px, 29vw, 297px);
  object-fit: cover;
  transform: translateY(calc(-1 * clamp(140px, 22vw, 300px) * 1.05));
  z-index: 9;
  pointer-events: none;
  filter: drop-shadow(2px 4px 14px rgba(0, 0, 0, 0.18));
}


.paper-bg {
  position: absolute;
  width: clamp(140px, 22vw, 300px);
  height: clamp(140px, 22vw, 300px);
  z-index: 1;
  transform: rotate(-2deg);
  pointer-events: none;
  filter: drop-shadow(3px 6px 18px rgba(0, 0, 0, 0.13));
}


.svg-wrap {
  position: relative;
  z-index: 10;
  cursor: pointer;
  width: clamp(140px, 22vw, 300px);
  height: clamp(140px, 22vw, 300px);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}


.svg-wrap:hover {
  transform: rotate(-4deg) scale(1.06);
}

.svg-wrap:active {
  transform: scale(0.96) rotate(1deg);
}

.svg-wrap svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 4px 18px rgba(0, 0, 0, 0.18));
  transition: filter 0.3s;
}


.svg-wrap:hover svg {
  filter: drop-shadow(0 0 30px rgba(200, 40, 20, 0.35));
}


.svg-hint {
  position: absolute;
  bottom: -28px;
  left: 50%;
  transform: translateX(-50%);
  font-family: "Romanesco", cursive;
  font-size: 0.95rem;
  color: rgba(30, 30, 20, 0.38);
  white-space: nowrap;
}


.menu-ring {
  position: absolute;
  inset: 0;
  z-index: 20;
  pointer-events: none;
}

.menu-ring.open {
  pointer-events: all;
}


.m-item {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 2px;
}


.m-num {
  font-family: "Space Mono", monospace;
  font-size: 0.5rem;
  letter-spacing: 0.2em;
  color: rgba(30, 30, 20, 0.4);
  text-transform: uppercase;
}


.m-title {
  font-family: "IM Fell English", serif;
  font-size: clamp(1.6rem, 3.5vw, 2.8rem);
  letter-spacing: 0.04em;
  line-height: 1;
  color: #1a1a10;
  position: relative;
  white-space: nowrap;
}


.m-rabisco {
  position: absolute;
  left: -6px;
  top: 50%;
  transform: translateY(-50%);
  width: calc(100% + 12px);
  height: 160%;
  opacity: 0;
  pointer-events: none;
  z-index: -1;
  color: var(--accent, #c82010);
  transition: opacity 0.18s ease;
}

.m-item:hover .m-rabisco {
  opacity: 1;
}

.m-rabisco svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}


@keyframes itemWobble {
  0% {
    transform: translate(-50%, -50%) scale(1) rotate(0deg);
  }

  25% {
    transform: translate(-50%, -50%) scale(1.03) rotate(-1.2deg);
  }

  75% {
    transform: translate(-50%, -50%) scale(1.03) rotate(1deg);
  }

  100% {
    transform: translate(-50%, -50%) scale(1) rotate(0deg);
  }
}

.menu-ring.open .m-item:hover {
  animation: itemWobble 0.4s ease forwards;
}


.m-sub {
  font-family: "Romanesco", cursive;
  font-size: 0.85rem;
  color: rgba(30, 30, 20, 0.5);
  line-height: 1.3;
}


.m-line {
  position: absolute;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 19;
}


.deco {
  position: absolute;
  pointer-events: none;
  z-index: 5;
}

.stk-red {
  background: #d42015;
  color: white;
  font-family: "Space Mono", monospace;
  font-size: 0.5rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 40px;
}

.stk-outline {
  width: 180px; 
  height: auto;
  opacity: 80%;
}

.stk-hand {
  font-family: "Romanesco", cursive;
  font-size: 1rem;
  color: rgba(30, 30, 20, 0.4);
}


.clip-deco {
  position: absolute;
  top: 6%;
  right: 36%;
  z-index: 8;
  opacity: 0.45;
}


.menu-close-btn {
  position: fixed;
  top: 22px;
  right: 28px;
  z-index: 100;
  background: none;
  border: none;
  cursor: crosshair;
  font-family: "Space Mono", monospace;
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(30, 30, 20, 0.5);
  padding: 8px 14px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}

.menu-ring.open ~ .menu-close-btn,
body.menu-open .menu-close-btn {
  opacity: 1;
  pointer-events: all;
}

.menu-close-btn:hover {
  color: #c82010;
}


.nav-logo {
  position: fixed;
  top: 20px;
  left: 28px;
  z-index: 100;
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.1rem;
  letter-spacing: 0.14em;
  color: rgba(30, 30, 20, 0.55);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-logo:hover {
  color: #c82010;
}


.hero-bottom {
  position: fixed;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  font-family: "Space Mono", monospace;
  font-size: 0.52rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(30, 30, 20, 0.28);
  white-space: nowrap;
  z-index: 5;
}


.ripple {
  position: fixed;
  border: 1.5px solid #c82010;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  pointer-events: none;
  z-index: 500;
  animation: rOut 0.65s ease forwards;
  transform: translate(-50%, -50%);
}

@keyframes rOut {
  0% {
    opacity: 0.8;
    transform: translate(-50%, -50%) scale(0);
  }

  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(5);
  }
}

@media (max-width: 600px) {
  .paper-bg {
    width: 80vw;
  }

  .spray-blob {
    font-size: 16vw;
  }
}
