:root {
  --cream: #fff7e8;
  --butter: #ffd56b;
  --guava: #f46f69;
  --berry: #8f3154;
  --mint: #5fb59a;
  --teal: #1f7d7a;
  --cocoa: #4a2d25;
  --ink: #2d201b;
  --linen: #f8ead2;
  --white: #fffdf8;
  --shadow: 0 20px 60px rgba(74, 45, 37, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Trebuchet MS", "Avenir Next", system-ui, sans-serif;
  background:
    radial-gradient(circle at 8% 12%, rgba(255, 213, 107, 0.26), transparent 24rem),
    linear-gradient(180deg, var(--cream), #fffaf0 42%, #f5e4cb);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.25;
  background-image:
    linear-gradient(45deg, rgba(143, 49, 84, 0.12) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(31, 125, 122, 0.12) 25%, transparent 25%);
  background-size: 34px 34px;
  mask-image: linear-gradient(180deg, transparent, #000 18%, #000 84%, transparent);
}

a {
  color: inherit;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 14px;
  left: 50%;
  width: min(1120px, calc(100% - 28px));
  min-height: 70px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 10px 14px;
  background: rgba(255, 253, 248, 0.86);
  border: 1px solid rgba(74, 45, 37, 0.13);
  border-radius: 999px;
  box-shadow: 0 12px 32px rgba(74, 45, 37, 0.12);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  min-width: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  border-radius: 50%;
  color: var(--white);
  background: conic-gradient(from 20deg, var(--guava), var(--butter), var(--mint), var(--berry), var(--guava));
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.6rem;
  font-weight: 800;
  box-shadow: inset 0 0 0 4px rgba(255, 253, 248, 0.65);
}

.brand strong,
.brand small {
  display: block;
  white-space: nowrap;
}

.brand strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.05rem;
}

.brand small {
  color: rgba(45, 32, 27, 0.68);
  font-size: 0.78rem;
  font-weight: 800;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.nav-links a,
.header-cta,
.button,
.text-link,
.order-form button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
}

.nav-links a {
  padding: 0 14px;
  color: rgba(45, 32, 27, 0.78);
}

.nav-links a:hover,
.text-link:hover {
  color: var(--berry);
}

.header-cta {
  padding: 0 18px;
  color: var(--white);
  background: var(--teal);
  box-shadow: 0 10px 22px rgba(31, 125, 122, 0.24);
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 130px max(24px, calc((100vw - 1120px) / 2)) 80px;
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: center;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(74, 45, 37, 0.72) 0%, rgba(74, 45, 37, 0.5) 34%, rgba(74, 45, 37, 0.1) 70%),
    linear-gradient(0deg, rgba(45, 32, 27, 0.36), transparent 36%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(620px, 100%);
  color: var(--white);
  text-shadow: 0 2px 22px rgba(45, 32, 27, 0.45);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--berry);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--butter);
}

h1,
h2,
h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: 0;
  line-height: 1;
}

h1 {
  font-size: clamp(4rem, 12vw, 8.7rem);
  max-width: 8ch;
}

h2 {
  font-size: clamp(2.2rem, 6vw, 4.6rem);
  color: var(--cocoa);
}

h3 {
  font-size: 1.55rem;
  color: var(--cocoa);
}

.hero-copy {
  max-width: 54ch;
  margin: 20px 0 0;
  font-size: clamp(1.04rem, 2vw, 1.24rem);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  padding: 0 22px;
  border: 2px solid transparent;
}

.button.primary {
  color: var(--ink);
  background: var(--butter);
  text-shadow: none;
}

.button.secondary {
  color: var(--white);
  border-color: rgba(255, 253, 248, 0.72);
}

.intro-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: 28px max(24px, calc((100vw - 1120px) / 2));
  background: var(--teal);
  color: var(--white);
}

.intro-band p {
  margin: 0;
  max-width: 720px;
  font-size: 1.15rem;
  font-weight: 800;
}

.mini-hours {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.mini-hours span {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.14);
  font-size: 0.86rem;
  font-weight: 900;
}

.shop-window,
.pattern-band,
.orders {
  padding: 84px max(24px, calc((100vw - 1120px) / 2));
}

.section-heading {
  margin-bottom: 28px;
}

.split-showcase {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.showcase {
  position: relative;
  min-height: 460px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  padding: 30px;
  border: 1px solid rgba(74, 45, 37, 0.14);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.showcase::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.22;
  background-size: 58px 58px;
}

.showcase::after {
  content: "";
  position: absolute;
  inset: auto 26px 26px auto;
  width: 138px;
  height: 138px;
  border-radius: 50%;
  opacity: 0.78;
}

.showcase > * {
  position: relative;
  z-index: 1;
}

.showcase.crochet {
  background:
    linear-gradient(160deg, rgba(255, 253, 248, 0.92), rgba(225, 247, 235, 0.82)),
    #dff2e9;
}

.showcase.crochet::before {
  background-image: radial-gradient(circle, rgba(31, 125, 122, 0.38) 4px, transparent 5px);
}

.showcase.crochet::after {
  background:
    radial-gradient(circle at 34% 38%, var(--guava) 0 9px, transparent 10px),
    radial-gradient(circle at 60% 45%, var(--butter) 0 12px, transparent 13px),
    repeating-radial-gradient(circle, transparent 0 10px, rgba(31, 125, 122, 0.5) 11px 13px),
    var(--mint);
}

.showcase.baked {
  background:
    linear-gradient(160deg, rgba(255, 253, 248, 0.9), rgba(255, 225, 177, 0.74)),
    #ffe2b1;
}

.showcase.baked::before {
  background-image:
    linear-gradient(45deg, rgba(143, 49, 84, 0.2) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(244, 111, 105, 0.18) 25%, transparent 25%);
}

.showcase.baked::after {
  border-radius: 42% 58% 50% 50%;
  background:
    radial-gradient(circle at 44% 40%, rgba(255, 253, 248, 0.7) 0 7px, transparent 8px),
    radial-gradient(circle at 58% 56%, rgba(255, 253, 248, 0.65) 0 6px, transparent 7px),
    #c47a44;
  box-shadow: inset 0 0 0 18px #e1a35f;
}

.showcase-top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.stitched-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  color: var(--white);
  background: var(--berry);
  font-size: 1.2rem;
}

.showcase-top p {
  margin: 0;
  font-weight: 900;
  color: rgba(45, 32, 27, 0.64);
  text-transform: uppercase;
  font-size: 0.78rem;
}

.showcase p:not(.eyebrow) {
  max-width: 54ch;
  line-height: 1.65;
}

.item-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 8px 0 22px;
  list-style: none;
}

.item-list li {
  padding: 8px 11px;
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.72);
  font-size: 0.88rem;
  font-weight: 900;
}

.text-link {
  align-self: flex-start;
  min-height: auto;
  color: var(--teal);
}

.pattern-band {
  background:
    linear-gradient(90deg, rgba(255, 213, 107, 0.2), rgba(95, 181, 154, 0.18)),
    var(--linen);
}

.favorite-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.favorite-grid article {
  min-height: 250px;
  padding: 18px;
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.78);
  border: 1px solid rgba(74, 45, 37, 0.11);
}

.favorite-grid p {
  line-height: 1.55;
}

.tile-art {
  display: block;
  width: 100%;
  aspect-ratio: 1.35;
  margin-bottom: 18px;
  border-radius: 6px;
  border: 1px solid rgba(74, 45, 37, 0.1);
}

.tile-art.yarn {
  background:
    radial-gradient(circle at 32% 48%, transparent 0 18px, var(--mint) 19px 34px, transparent 35px),
    radial-gradient(circle at 62% 46%, transparent 0 14px, var(--guava) 15px 31px, transparent 32px),
    radial-gradient(circle at 50% 62%, transparent 0 11px, var(--butter) 12px 27px, transparent 28px),
    #fff4d7;
}

.tile-art.pastry {
  background:
    radial-gradient(circle at 35% 52%, #c87d43 0 34px, transparent 35px),
    radial-gradient(circle at 62% 48%, #e0a35c 0 38px, transparent 39px),
    linear-gradient(135deg, #fff2d1, #ffd79d);
}

.tile-art.tote {
  background:
    linear-gradient(90deg, transparent 38%, rgba(31, 125, 122, 0.72) 39% 61%, transparent 62%),
    repeating-linear-gradient(90deg, rgba(143, 49, 84, 0.28) 0 6px, transparent 7px 15px),
    #f7dfbb;
}

.tile-art.cookie {
  background:
    radial-gradient(circle at 34% 44%, #8f3154 0 5px, transparent 6px),
    radial-gradient(circle at 58% 58%, #8f3154 0 5px, transparent 6px),
    radial-gradient(circle at 50% 50%, #d79754 0 48px, transparent 49px),
    #f8ead2;
}

.orders {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 0.72fr);
  gap: 42px;
  align-items: start;
}

.orders p {
  max-width: 60ch;
  line-height: 1.7;
}

.order-form {
  display: grid;
  gap: 14px;
  padding: 20px;
  border-radius: 8px;
  background: var(--white);
  border: 1px solid rgba(74, 45, 37, 0.14);
  box-shadow: var(--shadow);
}

.order-form label {
  display: grid;
  gap: 7px;
  font-weight: 900;
}

.order-form input,
.order-form select,
.order-form textarea {
  width: 100%;
  border: 1px solid rgba(74, 45, 37, 0.2);
  border-radius: 6px;
  padding: 12px 13px;
  color: var(--ink);
  background: #fffaf0;
  font: inherit;
}

.order-form input:focus,
.order-form select:focus,
.order-form textarea:focus {
  outline: 3px solid rgba(95, 181, 154, 0.34);
  border-color: var(--teal);
}

.order-form button {
  border: 0;
  color: var(--white);
  background: var(--berry);
  cursor: pointer;
  font: inherit;
}

.form-note {
  min-height: 22px;
  margin: 0;
  color: var(--teal);
  font-weight: 900;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px max(24px, calc((100vw - 1120px) / 2));
  color: var(--white);
  background: var(--cocoa);
}

.site-footer p {
  margin: 0;
}

@media (max-width: 840px) {
  .site-header {
    align-items: stretch;
    border-radius: 24px;
    display: grid;
    grid-template-columns: 1fr auto;
  }

  .nav-links {
    grid-column: 1 / -1;
    order: 3;
    overflow-x: auto;
    justify-content: flex-start;
    padding-bottom: 2px;
  }

  .header-cta {
    padding: 0 14px;
  }

  .hero {
    min-height: 88vh;
    padding-top: 180px;
  }

  .hero-shade {
    background:
      linear-gradient(180deg, rgba(74, 45, 37, 0.72) 0%, rgba(74, 45, 37, 0.34) 58%, rgba(74, 45, 37, 0.28)),
      linear-gradient(0deg, rgba(45, 32, 27, 0.44), transparent 40%);
  }

  .intro-band,
  .orders {
    grid-template-columns: 1fr;
  }

  .mini-hours {
    justify-content: flex-start;
  }

  .split-showcase,
  .favorite-grid {
    grid-template-columns: 1fr;
  }

  .showcase {
    min-height: 380px;
    padding: 24px;
  }
}

@media (max-width: 520px) {
  .site-header {
    top: 10px;
    width: calc(100% - 20px);
    gap: 10px;
    padding: 10px;
  }

  .brand-mark {
    width: 42px;
    height: 42px;
  }

  .brand strong {
    font-size: 0.95rem;
  }

  .brand small,
  .header-cta {
    font-size: 0.72rem;
  }

  .nav-links a {
    padding: 0 11px;
    font-size: 0.9rem;
  }

  h1 {
    font-size: clamp(3.4rem, 19vw, 5.2rem);
  }

  .hero {
    padding-left: 18px;
    padding-right: 18px;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .shop-window,
  .pattern-band,
  .orders {
    padding: 64px 18px;
  }

  .site-footer {
    display: block;
  }

  .site-footer p + p {
    margin-top: 8px;
  }
}
