/* Hanul Clay — a small studio site. Deliberately simple, hand-rolled CSS. */
* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: #f7f2ea;
  color: #3b3029;
  font-family: "Avenir Next", Avenir, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

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

h1, h2, .wordmark, .name {
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  font-weight: normal;
}

.topbar {
  background: #6f7a5c;
  color: #f4f1e8;
  text-align: center;
  font-size: 13px;
  letter-spacing: .02em;
  padding: 7px 16px;
}

.site-header {
  max-width: 1080px;
  margin: 0 auto;
  padding: 26px 24px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.wordmark {
  font-size: 30px;
  text-decoration: none;
  letter-spacing: .01em;
}
.wordmark span { font-style: italic; color: #9b6a47; }
.wordmark.small { font-size: 22px; }

.site-header nav { display: flex; gap: 22px; }
.site-header nav a {
  text-decoration: none;
  font-size: 15px;
  border-bottom: 1px solid transparent;
}
.site-header nav a:hover { border-bottom-color: #9b6a47; }

.hero {
  max-width: 1080px;
  margin: 0 auto;
  padding: 40px 24px 56px;
}
.hero-kicker {
  margin: 0 0 10px;
  font-size: 14px;
  color: #6f7a5c;
}
.hero h1 {
  margin: 0;
  font-size: clamp(34px, 6vw, 58px);
  line-height: 1.1;
}
.hero-sub {
  max-width: 520px;
  margin: 18px 0 0;
  color: #6c5e53;
}

main {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px 40px;
}

.shop-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  border-bottom: 1px solid #e0d5c6;
  margin-bottom: 28px;
}
.shop-head h2 { margin: 0 0 8px; font-size: 28px; }
.count { font-size: 14px; color: #8a7a6c; }

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 28px;
}

.item .pic {
  background: #efe6da;
  border-radius: 4px;
  overflow: hidden;
  aspect-ratio: 1 / 1;
}
.item .pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.item:hover .pic img { transform: scale(1.03); }

.info { padding-top: 14px; }
.name { font-size: 21px; }
.price { color: #9b6a47; margin-top: 2px; }
.price.ask { font-style: italic; }
.info p { margin: 8px 0 12px; font-size: 15px; color: #5c4f45; }

.dm {
  display: inline-block;
  font-size: 14px;
  color: #3b3029;
  text-decoration: none;
  border: 1px solid #3b3029;
  border-radius: 999px;
  padding: 5px 16px;
}
.dm:hover { background: #3b3029; color: #f7f2ea; }

.about {
  background: #ede3d5;
  margin-top: 32px;
}
.about-text {
  max-width: 680px;
  margin: 0 auto;
  padding: 56px 24px;
}
.about h2, .faq h2 { font-size: 28px; margin: 0 0 12px; }

.faq {
  max-width: 680px;
  margin: 0 auto;
  padding: 56px 24px;
}
.faq dt { font-weight: 600; margin-top: 18px; }
.faq dd { margin: 4px 0 0; color: #5c4f45; }

.site-footer {
  max-width: 1080px;
  margin: 0 auto;
  padding: 32px 24px 48px;
  border-top: 1px solid #e0d5c6;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
  font-size: 15px;
}
.site-footer p { margin: 4px 0; }
.fineprint {
  flex-basis: 100%;
  font-size: 12px;
  color: #9a8b7e;
}

@media (max-width: 860px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .site-header { padding: 20px 16px; }
  .site-header nav { gap: 16px; }
  .hero { padding: 24px 16px 40px; }
  main { padding: 0 16px 32px; }
  .grid { grid-template-columns: 1fr; gap: 36px; }
  .about-text, .faq { padding: 40px 16px; }
  .site-footer { padding: 28px 16px 40px; }
}
