html, body {
  margin: 0;
  overflow: hidden;
}

.stage {
  box-sizing: border-box;
  min-height: 100vh;
  display: grid;
  place-items: center;
  margin: 0;
  background: #fbf3e4;
  font-family: -apple-system, "Segoe UI", "Noto Sans KR", sans-serif;
  padding: clamp(8px, 4vw, 24px);
}

.hcol {
  position: relative;
  width: clamp(196px, 62vw, 268px);
  isolation: isolate;
}

.hcol__frame {
  position: absolute;
  z-index: 0;
  border: 6px solid #ffffff;
  border-radius: 4px;
  box-shadow: 0 4px 0 rgba(36, 29, 46, 0.16);
  animation-name: frameSway;
  animation-duration: 2s;
  animation-timing-function: cubic-bezier(0.2, 0.8, 0.2, 1);
  animation-iteration-count: infinite;
}

.hcol__frame--coral {
  --rot: -9deg;
  left: -30px;
  top: -14px;
  width: 72px;
  height: 88px;
  background: linear-gradient(150deg, #bb7f74 0%, #d1c8a3 100%);
}

.hcol__frame--sky {
  --rot: 8deg;
  right: -28px;
  top: -22px;
  width: 64px;
  height: 76px;
  background: linear-gradient(200deg, #668cb4 0%, #bfce9c 100%);
  animation-delay: -0.7s;
}

.hcol__frame--lime {
  --rot: -5deg;
  right: -16px;
  bottom: -26px;
  width: 88px;
  height: 52px;
  background: linear-gradient(90deg, #bfce9c 0%, #668cb4 100%);
  animation-delay: -1.4s;
}

.hcol__card {
  position: relative;
  z-index: 2;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding: 16px 20px;
  border-radius: 4px;
  background: #ffffff;
  box-shadow: 0 6px 0 rgba(36, 29, 46, 0.18);
  animation-name: cardRise;
  animation-duration: 2s;
  animation-timing-function: cubic-bezier(0.2, 0.8, 0.2, 1);
  animation-iteration-count: infinite;
}

.hcol__eyebrow {
  margin: 0;
  color: #bb7f74;
  font-weight: 700;
  font-size: clamp(9px, 2.4vw, 11px);
  line-height: 1;
  letter-spacing: 0.18em;
}

.hcol__title {
  margin: 0;
  color: #241d2e;
  font-family: Georgia, "Nanum Myeongjo", "Times New Roman", serif;
  font-weight: 700;
  font-size: clamp(20px, 5.4vw, 30px);
  line-height: 1.1;
}

.hcol__desc {
  margin: 0;
  color: #57506a;
  font-weight: 500;
  font-size: clamp(11px, 2.6vw, 13px);
  line-height: 1.4;
}

.hcol__cta {
  border: 0;
  border-radius: 999px;
  background: #241d2e;
  color: #ffffff;
  padding: 8px 16px;
  font-family: inherit;
  font-weight: 700;
  font-size: clamp(11px, 2.6vw, 12px);
  line-height: 1;
}

.hcol__cta:focus-visible {
  outline: 3px solid #668cb4;
  outline-offset: 2px;
}

.hcol__stamp {
  position: absolute;
  z-index: 3;
  right: -22px;
  top: -26px;
  width: 40px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #d1c8a3;
  color: #241d2e;
  font-size: 20px;
  transform: rotate(-14deg);
  box-shadow: 0 4px 0 rgba(36, 29, 46, 0.2);
}

@keyframes frameSway {
  0%, 100% {
    transform: translateY(0) rotate(var(--rot));
  }
  50% {
    transform: translateY(8px) rotate(calc(var(--rot) + 5deg));
  }
}
@keyframes cardRise {
  0%, 100% {
    transform: translateY(0);
    box-shadow: 0 6px 0 rgba(36, 29, 46, 0.18);
  }
  50% {
    transform: translateY(-10px);
    box-shadow: 0 16px 0 rgba(36, 29, 46, 0.12);
  }
}
@media (max-width: 360px), (max-height: 230px) {
  .hcol {
    width: 168px;
  }
  .hcol__card {
    padding: 12px;
    gap: 4px;
  }
  .hcol__desc {
    display: none;
  }
  .hcol__title {
    font-size: 18px;
  }
  .hcol__frame--coral {
    width: 48px;
    height: 60px;
    left: -20px;
    top: -10px;
  }
  .hcol__frame--sky {
    width: 44px;
    height: 52px;
    right: -18px;
    top: -14px;
  }
  .hcol__frame--lime {
    width: 56px;
    height: 36px;
    right: -12px;
    bottom: -16px;
  }
  .hcol__stamp {
    width: 28px;
    font-size: 14px;
    right: -14px;
    top: -16px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hcol__frame, .hcol__card {
    animation: none !important;
  }
  .hcol__frame--coral {
    transform: rotate(-9deg);
  }
  .hcol__frame--sky {
    transform: rotate(8deg);
  }
  .hcol__frame--lime {
    transform: rotate(-5deg);
  }
}
