@import url('https://fonts.googleapis.com/css2?family=Archivo+Black&family=Inter:wght@500;800;900&display=swap');

:root {
  --cream: #fff4cf;
  --orange: #f26a2e;
  --gold: #f5c542;
  --teal: #118c8b;
  --ink: #171717;
  --red: #c82124;
  --green: #1f8f45;
  --shadow: rgba(23, 23, 23, 0.2);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: Inter, Arial, Helvetica, sans-serif;
  background:
    radial-gradient(circle at 20% 20%, rgba(242, 106, 46, 0.24), transparent 28%),
    radial-gradient(circle at 78% 18%, rgba(17, 140, 139, 0.22), transparent 24%),
    linear-gradient(135deg, var(--cream), #fffaf0 55%, #ffe6af);
  display: flex;
  justify-content: center;
  padding: 34px 18px;
}

.site-shell {
  width: min(900px, 100%);
  border: 6px solid var(--ink);
  background: rgba(255, 252, 239, 0.92);
  box-shadow: 14px 14px 0 var(--ink);
  padding: clamp(24px, 5vw, 54px);
  position: relative;
  overflow: hidden;
}

.site-shell::before {
  content: "";
  position: absolute;
  inset: 16px;
  border: 2px dashed rgba(23, 23, 23, 0.25);
  pointer-events: none;
}

.hero {
  position: relative;
  text-align: center;
  margin-bottom: 34px;
  z-index: 1;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 10px;
  padding: 8px 14px;
  background: var(--gold);
  border: 3px solid var(--ink);
  box-shadow: 5px 5px 0 var(--ink);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-family: "Archivo Black", Impact, sans-serif;
  font-size: clamp(2.7rem, 8vw, 6.4rem);
  line-height: 0.94;
  letter-spacing: -0.06em;
  text-transform: uppercase;
  text-shadow: 4px 4px 0 var(--gold), 8px 8px 0 rgba(242, 106, 46, 0.45);
}

.tagline {
  max-width: 650px;
  margin: 22px auto 0;
  font-size: clamp(1rem, 2.4vw, 1.22rem);
  font-weight: 800;
}

.monkees-list {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 18px;
  margin-top: 38px;
}

.monkee-card {
  display: grid;
  grid-template-columns: 118px minmax(150px, 1fr) minmax(125px, 190px);
  gap: clamp(16px, 4vw, 34px);
  align-items: center;
  padding: 16px;
  background: #fff;
  border: 4px solid var(--ink);
  box-shadow: 8px 8px 0 var(--shadow);
  transform: rotate(-0.6deg);
}

.monkee-card:nth-child(even) {
  transform: rotate(0.6deg);
  background: #fff8dc;
}

.monkee-card img {
  width: 118px;
  height: 118px;
  border-radius: 50%;
  object-fit: cover;
  background:
    linear-gradient(135deg, #ddd, #f7f7f7);
  border: 4px solid var(--ink);
}

.monkee-name {
  font-size: clamp(1.55rem, 4vw, 2.65rem);
  font-weight: 900;
  letter-spacing: -0.04em;
}

.answer {
  justify-self: end;
  min-width: 118px;
  padding: 10px 14px 8px;
  text-align: center;
  font-family: "Archivo Black", Impact, sans-serif;
  font-size: clamp(2.4rem, 7vw, 4.8rem);
  line-height: 1;
  border: 4px solid var(--ink);
  color: #fff;
  box-shadow: 6px 6px 0 var(--ink);
  animation: pop-in 520ms cubic-bezier(.2,.9,.25,1.25) both;
}

.monkee-card:nth-child(2) .answer { animation-delay: 90ms; }
.monkee-card:nth-child(3) .answer { animation-delay: 180ms; }
.monkee-card:nth-child(4) .answer { animation-delay: 270ms; }

.no {
  background: var(--red);
}

.yes {
  background: var(--green);
}

footer {
  position: relative;
  z-index: 1;
  text-align: center;
  margin-top: 38px;
  font-size: 0.95rem;
  font-weight: 800;
}

@keyframes pop-in {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.86) rotate(-4deg);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1) rotate(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .answer {
    animation: none;
  }
}

@media (max-width: 680px) {
  body {
    padding: 18px 12px;
  }

  .site-shell {
    box-shadow: 8px 8px 0 var(--ink);
    border-width: 4px;
  }

  .monkee-card {
    grid-template-columns: 88px 1fr;
    grid-template-areas:
      "photo name"
      "photo answer";
    gap: 10px 16px;
  }

  .monkee-card img {
    grid-area: photo;
    width: 88px;
    height: 88px;
  }

  .monkee-name {
    grid-area: name;
  }

  .answer {
    grid-area: answer;
    justify-self: start;
    min-width: 98px;
  }
}
