@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/static/pretendard.css");

:root {
  --brand-red: #ea5959;
  --white: #ffffff;
  --text: #ea5959;
  --page-width: 480px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #f7f7f7;
  color: var(--text);
  font-family: Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.page-shell {
  width: min(100%, var(--page-width));
  margin: 0 auto;
  background: var(--white);
  overflow: hidden;
  box-shadow: 0 0 28px rgba(0, 0, 0, 0.08);
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: clamp(56px, 13svh, 104px) 44px;
  background: var(--white);
}

.hero-brand {
  display: grid;
  justify-items: center;
  align-content: center;
  gap: clamp(14px, 4vw, 22px);
  width: 100%;
}

.hero-favicon {
  width: clamp(40px, 13vw, 60px);
}

.hero-logo {
  width: clamp(168px, 47vw, 230px);
}

.hero-slogan {
  width: clamp(156px, 50vw, 226px);
  margin-top: 4px;
}

.image-section {
  min-height: 548px;
  display: flex;
  align-items: flex-end;
  background-color: #9f0309;
  background-image:
    linear-gradient(180deg, rgba(150, 0, 5, 0.14), rgba(120, 0, 4, 0.2)),
    url("./assets/background_01.png");
  background-position: center;
  background-size: cover;
}

.section-inner {
  width: 100%;
  padding: 58px 28px 56px;
  color: var(--white);
}

.intro h1,
.collection h2,
.product-heading h2,
.price {
  margin: 0;
  font-family: Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 800;
  letter-spacing: 0;
}

.intro h1 {
  margin-bottom: 34px;
  color: var(--white);
  font-size: clamp(20px, 5.6vw, 27px);
  line-height: 1.05;
}

.intro-copy {
  display: grid;
  gap: 18px;
}

.intro p {
  margin: 0;
  color: var(--white);
  font-size: clamp(13px, 3.65vw, 15px);
  font-weight: 400;
  line-height: 1.48;
}

.intro strong,
.closing-copy strong {
  font-weight: 800;
}

.closing-copy {
  margin-top: 34px !important;
  font-size: clamp(21px, 6vw, 28px) !important;
  line-height: 1.12 !important;
}

.collection {
  padding: 54px 28px 50px;
  background: var(--white);
}

.collection h2 {
  margin-bottom: 34px;
  color: var(--brand-red);
  font-size: clamp(18px, 5.1vw, 24px);
  line-height: 1;
}

.collection img {
  width: 100%;
  min-height: 86px;
  object-fit: contain;
}

.product-visual {
  position: relative;
  min-height: clamp(360px, 112vw, 548px);
  padding: 38px 22px 46px;
  display: grid;
  align-content: start;
  justify-items: center;
  overflow: hidden;
  background-color: #c4000e;
  background-position: center;
  background-size: cover;
}

.product-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(95, 0, 0, 0.08), rgba(95, 0, 0, 0.12));
  pointer-events: none;
}

.product-visual-01 {
  background-image: url("./assets/bg_01.png");
}

.product-visual-02 {
  background-image: url("./assets/bg_02.png");
}

.product-visual-03 {
  background-image: url("./assets/bg_03.png");
}

.product-visual-04 {
  background-image: url("./assets/bg_04.png");
}

.product-visual-05 {
  background-image: url("./assets/bg_05.png");
}

.product-heading,
.price,
.shirt-image {
  position: relative;
  z-index: 1;
}

.product-heading {
  justify-self: start;
  color: var(--white);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.24);
}

.product-heading h2 {
  font-size: clamp(24px, 7vw, 35px);
  line-height: 1;
}

.product-heading p {
  margin: 7px 0 0;
  font-size: clamp(13px, 3.8vw, 18px);
  font-weight: 100;
  line-height: 1;
}

.shirt-image {
  width: min(72%, 300px);
  margin-top: clamp(24px, 8vw, 42px);
  filter: drop-shadow(0 16px 24px rgba(0, 0, 0, 0.22));
  transform-origin: 50% 10%;
  transition: filter 180ms ease;
}

.shirt-image:hover,
.shirt-image:focus-visible,
.shirt-image.is-dangling {
  animation: shirt-dangle 720ms ease-in-out both;
  filter: drop-shadow(0 22px 30px rgba(0, 0, 0, 0.26));
}

.price {
  position: absolute;
  right: 22px;
  bottom: 18px;
  color: var(--white);
  font-size: clamp(20px, 6vw, 29px);
  line-height: 1;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.34);
}

.product-copy {
  padding: 44px 28px 48px;
  background: var(--white);
}

.product-copy p {
  margin: 0 0 18px;
  color: var(--brand-red);
  font-size: clamp(13px, 3.55vw, 15px);
  font-weight: 400;
  line-height: 1.58;
}

.product-copy p:last-child {
  margin-bottom: 0;
}

.product-copy strong {
  font-weight: 800;
}

.site-footer {
  min-height: 260px;
  display: grid;
  align-content: end;
  gap: 54px;
  padding: 52px 28px 34px;
  color: var(--white);
  background-color: #9f0309;
  background-image:
    linear-gradient(180deg, rgba(90, 0, 0, 0.08), rgba(90, 0, 0, 0.18)),
    url("./assets/background_02.png");
  background-position: center;
  background-size: cover;
}

.footer-contact {
  display: grid;
  gap: 7px;
  font-weight: 800;
}

.footer-contact p,
.footer-contact a,
.copyright {
  margin: 0;
  color: var(--white);
  font-size: 13px;
  line-height: 1.3;
}

.instagram-link {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 7px;
}

.instagram-link img {
  width: 17px;
  height: 17px;
  object-fit: contain;
}

.copyright {
  justify-self: center;
  font-weight: 400;
}

@keyframes shirt-dangle {
  0% {
    transform: rotate(0deg) translateY(0);
  }
  18% {
    transform: rotate(-4deg) translateY(-2px);
  }
  36% {
    transform: rotate(3.2deg) translateY(1px);
  }
  54% {
    transform: rotate(-2.1deg) translateY(-1px);
  }
  72% {
    transform: rotate(1.2deg) translateY(0);
  }
  100% {
    transform: rotate(0deg) translateY(0);
  }
}

@media (min-width: 900px) {
  :root {
    --page-width: 540px;
  }

  body {
    background:
      radial-gradient(circle at 16% 18%, rgba(234, 89, 89, 0.12), transparent 26%),
      radial-gradient(circle at 86% 74%, rgba(234, 89, 89, 0.1), transparent 22%),
      #f7f7f7;
  }
}

@media (max-width: 360px) {
  .section-inner,
  .collection,
  .product-copy,
  .site-footer {
    padding-left: 22px;
    padding-right: 22px;
  }

  .product-visual {
    padding-left: 18px;
    padding-right: 18px;
  }
}
