:root { color-scheme: light; color: #254136; background: #fff8f3; font-family: system-ui, sans-serif; }
* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; }
a:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
.site-header { display: flex; justify-content: space-between; gap: 1rem; padding: 1rem max(5vw, 1rem); background: #17352b; color: #fff8f3; font-weight: 650; font-size: .9rem; }
.hero { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(1rem, 4vw, 4rem); padding: clamp(2rem, 6vw, 5rem) max(5vw, calc((100vw - 1150px) / 2)); background: radial-gradient(ellipse at 20% 20%, #335d48, transparent 70%), linear-gradient(125deg, #142d24 40%, #3e2732); color: #fff8f3; }
.hero img { display: block; width: 100%; height: auto; filter: drop-shadow(0 5px 18px #0d1b17a0); }
.eyebrow { color: #bcebc7; font-size: .8rem; font-weight: 750; letter-spacing: .13em; text-transform: uppercase; }
h1,h2,h3 { font-family: Georgia, serif; line-height: 1.08; }
h1 { color: #ffd5e3; margin: .22em 0; font-size: clamp(2.8rem, 7vw, 6rem); }
.hero p { line-height: 1.55; }
.browse { display: inline-block; margin-top: .45rem; padding: .75rem 1.2rem; background: #f7c5d6; color: #372132; font-weight: 750; border-radius: 999px; text-decoration: none; }
.browse:hover { background: #ffe0eb; }
.collection { width: min(1120px, calc(100% - 2rem)); margin: 3.5rem auto; }
h2 { font-size: clamp(2rem, 5vw, 3.5rem); margin: 0 0 1.5rem; }
.hats,.accessories { display: grid; gap: 1.25rem; }
.hats { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-bottom: 1.25rem; }
.accessories { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.product { overflow: hidden; border: 1px solid #e8d5cf; border-radius: 22px; background: #fffdfb; }
.product-photo { display: block; width: 100%; height: auto; aspect-ratio: 1.15; background: #f7e9de; object-fit: contain; }
.hats .product-photo { aspect-ratio: 1.35; }
.product-info { padding: clamp(.85rem, 3vw, 1.5rem); }
h3 { font-size: clamp(1.35rem, 3vw, 2rem); margin: 0 0 .65rem; }
.product-price { margin: 0; color: #71344f; font-weight: 690; line-height: 1.5; }
table { width: 100%; border-collapse: collapse; font-size: clamp(.81rem, 2.1vw, .98rem); }
th,td { text-align: left; padding: .56em .22em; border-bottom: 1px solid #e8ded8; }
td { font-variant-numeric: tabular-nums; }
thead { color: #71344f; }
footer { padding: 1.5rem 1rem; text-align: center; background: #17352b; color: #fff8f3; }
@media (max-width: 680px) {
  .hero { grid-template-columns: 1fr; text-align: center; }
  .hero img { max-width: 350px; margin: auto; }
  .hats { grid-template-columns: 1fr; }
  .accessories { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 370px) { .accessories { grid-template-columns: 1fr; } }

:root {
  --mint: #bde6cd;
  --petal: #f8c6d8;
  --rose: #c0806e;
  background: #fff5f7;
}
.hero,.inquiry-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: radial-gradient(ellipse at 16% 24%, #ddf6e3, transparent 58%), linear-gradient(115deg,#c1e7ce,#fff2e7 66%,#f9cddd);
  color: #284338;
}
.hero h1,.inquiry-hero h1 { color: #245040; }
.hero .eyebrow { color: #71424b; }
.hero img { filter: drop-shadow(0 5px 14px #894b4135); }
.yarn-order {
  display: flex;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  min-height: 48px;
  margin-inline: auto;
  border-radius: 30px;
  padding: 2px 8px;
  text-decoration: none;
}
.yarn-order:hover { background: #ffffff70; }
.yarn-order img { width: 38px; height: 38px; flex: none; border-radius: 50%; animation: yarn-settle 1.6s ease-out both; }
.yarn-order svg { display: block; width: 215px; max-width: calc(100vw - 105px); height: auto; overflow: visible; }
.yarn-order path { fill: none; stroke: #9a5a50; stroke-width: 2; stroke-linecap: round; stroke-dasharray: 100; animation: thread-out 1.9s ease-out both; }
.yarn-order text {
  font: italic bold 19px Georgia,serif;
  fill: #763b50;
  stroke: #763b50;
  stroke-width: .35;
  stroke-dasharray: 160;
  animation: thread-out 1.6s .35s ease-out both, yarn-letters 1s .8s ease-out both;
}
@keyframes yarn-settle { from { transform: translateX(-12px) rotate(-155deg); } to { transform: translateX(0) rotate(0); } }
@keyframes thread-out { from { stroke-dashoffset: 100; } to { stroke-dashoffset: 0; } }
@keyframes yarn-letters { from { fill: transparent; opacity: 0; } to { fill: #763b50; opacity: 1; } }
.crochet-motion { z-index: -1; position: absolute; inset: 0; pointer-events: none; }
.floating-yarn { --tilt: 14deg; position: absolute; top: 14%; right: 17%; width: 35px; aspect-ratio: 1; border-radius: 50%; background: url('assets/str8-hooked-yarn.webp') center / cover; opacity: .64; animation: crochet-float 5s ease-in-out infinite; }
.yarn-two { --tilt: -24deg; top: auto; bottom: 12%; left: 18%; width: 25px; animation-delay: -2s; }
@keyframes crochet-float { 0%,100% { transform: translateY(0) rotate(var(--tilt)); } 50% { transform: translateY(-14px) rotate(calc(var(--tilt) + 12deg)); } }
.inquiry-hero { text-align: center; padding: clamp(1.5rem,5vw,3rem) 1rem; }
.inquiry-hero img { width: min(195px,55vw); height: auto; }
.inquiry-hero h1 { font-size: clamp(2rem,6vw,4.4rem); }
.inquiry-form { width: min(720px,calc(100% - 2rem)); margin: 2rem auto; padding: clamp(1rem,4vw,2rem); background: #fffbfa; border: 1px solid #dbac9b; border-radius: 24px; }
.inquiry-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.inquiry-wide { grid-column: 1/-1; }
.inquiry-fields label { font-weight: 680; }
.inquiry-fields :is(input,select,textarea) { display: block; width: 100%; padding: .7rem; margin-top: .35rem; font: inherit; font-weight: 400; color: #254136; background: #fff; border: 1px solid #b58b84; border-radius: 9px; }
.inquiry-fields textarea { resize: vertical; }
.inquiry-form button { border: 1px solid #be837e; cursor: pointer; margin-top: 1.1rem; font: inherit; font-weight: 750; }
.inquiry-form button:disabled { opacity: .55; cursor: auto; }
.inquiry-form a { color: #763b50; }
@media (max-width: 480px) { .inquiry-fields { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) {
  .yarn-order img,.yarn-order path,.yarn-order text,.floating-yarn { animation: none; }
}
.site-header nav { display: flex; flex-wrap: wrap; gap: .45rem 1rem; justify-content: flex-end; }
.meet-maker { width: min(1120px,calc(100% - 2rem)); margin: 3rem auto; padding: clamp(1.35rem,5vw,3.5rem); border: 1px solid #d6a292; border-radius: 24px; background: linear-gradient(115deg,#d9f2e2,#ffebf1); }
.meet-maker .eyebrow { color: #783e55; }
.meet-maker h2 { margin-bottom: .55rem; }
.meet-maker p:last-child { max-width: 66ch; margin-bottom: 0; line-height: 1.65; }

.custom-order-callout {
  width: min(1120px, calc(100% - 2rem));
  margin: 3rem auto;
  padding: 1.25rem .5rem;
  border: 1px solid #d6a292;
  border-radius: 24px;
  background: linear-gradient(115deg, #d9f2e2, #ffebf1);
}
