

:root {
  
  --cream:    #FBF4E6;
  --cream-2:  #F4E8D2;
  --card:     #FFFDF7;
  --oat:      #E3D2B2;
  --ink:      #2B1B17;
  --ink-soft: #5E4A40;

  --tomato:      #E4472B;
  --tomato-deep: #B93520;   
  --mustard:     #F3B63A;
  --teal:        #19726B;
  --pink:        #F4A6B0;
  --sky:         #9CCBD6;
  --sage:        #A9C79A;
  --plum:        #7A2E55;
  --lilac:       #BCA7DC;
  --danger:      #9E2413;

  --font-display: "Caprasimo", "Cooper Black", Georgia, "Times New Roman", serif;
  --font-body:    "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-hand:    "Caveat", "Segoe Print", "Bradley Hand", cursive;

  --wrap:        1180px;
  --wrap-narrow: 760px;
  --gutter:      clamp(1.15rem, 4vw, 2.5rem);
  --section-y:   clamp(4.25rem, 9vw, 7.25rem);
  --header-h:    76px;

  --line:      2.5px;
  --radius:    22px;
  --radius-sm: 14px;
  --drop:      5px 5px 0 var(--ink);
  --scallop:   18px;
  --ease:      cubic-bezier(.2, .8, .2, 1);

  --flower: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Ccircle cx='20' cy='7' r='6.8'/%3E%3Ccircle cx='31.3' cy='13.5' r='6.8'/%3E%3Ccircle cx='31.3' cy='26.5' r='6.8'/%3E%3Ccircle cx='20' cy='33' r='6.8'/%3E%3Ccircle cx='8.7' cy='26.5' r='6.8'/%3E%3Ccircle cx='8.7' cy='13.5' r='6.8'/%3E%3C/svg%3E");

  --y1: var(--tomato);
  --y2: var(--mustard);
  --y3: var(--pink);
  --y4: var(--cream);
  --yj: var(--ink);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 18px);
  overflow-x: clip;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -.005em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.5rem, 6.3vw, 5rem); }
h2 { font-size: clamp(1.95rem, 4.4vw, 3.3rem); }
h3 { font-size: 1.42rem; line-height: 1.12; }
p  { text-wrap: pretty; }
strong { font-weight: 700; }

:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
  border-radius: 6px;
}
.on-dark :focus-visible { outline-color: var(--mustard); }

::selection { background: var(--mustard); color: var(--ink); }

.wrap        { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.wrap-narrow { width: min(100% - 2 * var(--gutter), var(--wrap-narrow)); margin-inline: auto; }
.center      { text-align: center; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: 12px; top: -80px;
  z-index: 100;
  padding: .7rem 1.1rem;
  background: var(--ink);
  color: var(--cream);
  border-radius: 12px;
  font-weight: 700;
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

.sprite { position: absolute; }

main { overflow-x: clip; }

.hero-proof li::before,
.check-list li::before,
.chip::before,
.ribbon-sep {
  content: "";
  display: inline-block;
  flex: none;
  width: 1.05em;
  height: 1.05em;
  background: var(--tomato);
  -webkit-mask: var(--flower) center / contain no-repeat;
          mask: var(--flower) center / contain no-repeat;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .7em;
  margin-bottom: 1rem;
  font: 700 .8rem/1.2 var(--font-body);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--tomato-deep);
}
.eyebrow::before,
.center .eyebrow::after {
  content: "";
  width: 30px;
  border-top: 3px dashed currentColor;
}
.band-teal .eyebrow    { color: var(--cream); }
.band-mustard .eyebrow { color: var(--ink); }

.yarn-u {
  position: relative;
  z-index: 0;
  display: inline-block;
  white-space: nowrap;
}
.yarn-u svg {
  position: absolute;
  left: -2%;
  bottom: -.17em;
  z-index: -1;
  width: 104%;
  height: .36em;
  overflow: visible;
}
.yarn-u path {
  fill: none;
  stroke: var(--tomato);
  stroke-width: 7;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
}
.band-teal .yarn-u path { stroke: var(--mustard); }
.js .yarn-u svg {
  clip-path: inset(-60% 100% -60% -2%);
  transition: clip-path 1.1s var(--ease) .3s;
}
.js .yarn-u.is-drawn svg { clip-path: inset(-60% -4% -60% -2%); }

.illo {
  --a: var(--tomato);
  --b: var(--cream);
  --c: var(--mustard);
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}
.i-a { fill: var(--a); }
.i-b { fill: var(--b); }
.i-c { fill: var(--c); }
.i-o { stroke: var(--ink); stroke-width: 5; stroke-linejoin: round; stroke-linecap: round; }
.i-line { fill: none; stroke: var(--ink); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.i-thin   { stroke-width: 3; }
.i-strap  { stroke-width: 5; }
.i-handle { stroke-width: 9; }
.i-tail   { stroke-width: 6; }
.i-wrap   { stroke-opacity: .42; stroke-width: 3.5; }
.i-dot    { fill: var(--ink); }
.i-petal circle { fill: var(--b); stroke: var(--ink); stroke-width: 3; }

.i-ring-o { fill: none; stroke: var(--ink); stroke-width: 27; }
.i-ring   { fill: none; stroke-width: 17; }
.i-ring-a { stroke: var(--a); }
.i-ring-b { stroke: var(--b); }
.i-ring-c { stroke: var(--c); }
.i-ring-t { fill: none; stroke: var(--ink); stroke-opacity: .22; stroke-width: 17; stroke-dasharray: 3 9; }

.gs-j { fill: var(--gj, var(--ink)); transition: fill .5s ease; }
.gs-1 { stroke: var(--g1, var(--tomato)); }
.gs-2 { stroke: var(--g2, var(--mustard)); }
.gs-3 { stroke: var(--g3, var(--pink)); }
.gs-4 { fill: var(--g4, var(--cream)); transition: fill .5s ease; }
.gs-1, .gs-2, .gs-3 {
  transition: stroke .5s ease;
  transition-delay: calc(var(--d, 0) * 40ms);
}
.gs-t { stroke: var(--ink); stroke-opacity: .2; }

#spark path { fill: currentColor; }

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55em;
  min-height: 54px;
  padding: .7rem 1.55rem;
  background: var(--mustard);
  color: var(--ink);
  border: var(--line) solid var(--ink);
  border-radius: 16px;
  box-shadow: 4px 4px 0 var(--ink);
  font: 700 1.02rem/1.15 var(--font-body);
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), background-color .2s ease;
}
.btn::before {
  content: "";
  position: absolute;
  inset: 4px;
  border: 1.5px dashed currentColor;
  border-radius: 10px;
  opacity: .42;
  pointer-events: none;
}
.btn:hover  { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.btn:active { transform: translate(2px, 2px);   box-shadow: 1px 1px 0 var(--ink); }
.btn .arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

.btn-ghost { background: var(--card); }
.btn-sm    { min-height: 46px; padding: .5rem 1.15rem; font-size: .95rem; border-radius: 14px; box-shadow: 3px 3px 0 var(--ink); }
.btn-block { width: 100%; }

.on-dark .btn        { box-shadow: 4px 4px 0 var(--tomato); }
.on-dark .btn:hover  { box-shadow: 6px 6px 0 var(--tomato); }
.on-dark .btn:active { box-shadow: 1px 1px 0 var(--tomato); }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .9rem 1rem;
  margin-top: 1.9rem;
}

.btn-buy {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: stretch;
  width: 100%;
  min-height: 52px;
  margin-top: .9rem;
  padding: 0;
  overflow: hidden;
}
.btn-buy::before { display: none; }
.btn-buy .price {
  display: grid;
  place-items: center;
  padding: .5rem .95rem;
  background: var(--card);
  border-right: 2px dashed var(--ink);
  font: 400 1.3rem/1 var(--font-display);
}
.btn-buy .buy-label {
  display: grid;
  place-items: center;
  padding: .5rem .8rem;
  font-size: .96rem;
}
.btn-buy[disabled] {
  background: var(--oat);
  box-shadow: none;
  cursor: not-allowed;
  transform: none;
}

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--cream);
  border-bottom: 2px dashed rgb(43 27 23 / .28);
  transition: box-shadow .25s ease;
}
.header.is-stuck { box-shadow: 0 10px 26px -20px rgb(43 27 23 / .65); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  min-height: 48px;
  text-decoration: none;
}
.brand-mark { width: 44px; height: 44px; flex: none; transition: transform .35s var(--ease); }
.brand:hover .brand-mark { transform: rotate(-8deg) scale(1.06); }
.brand-name {
  font: 400 1.45rem/1 var(--font-display);
  letter-spacing: -.01em;
  white-space: nowrap;
}

.nav { display: flex; align-items: center; gap: 1.6rem; }
.nav-list { display: flex; align-items: center; gap: 1.5rem; }
.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  font-weight: 700;
  text-decoration: none;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 9px;
  border-top: 3px dashed var(--tomato);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav-link:hover::after,
.nav-link[aria-current="page"]::after { transform: scaleX(1); }

.nav-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 48px; height: 48px;
  padding: 0;
  background: var(--card);
  border: var(--line) solid var(--ink);
  border-radius: 14px;
  box-shadow: 3px 3px 0 var(--ink);
  cursor: pointer;
}
.nav-toggle-bar {
  display: block;
  flex: none;
  width: 20px; height: 2.5px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .25s var(--ease), opacity .2s ease;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

@media (max-width: 920px) {
  :root { --header-h: 68px; }
  .brand-mark { width: 40px; height: 40px; }
  .brand-name { font-size: 1.28rem; }
  .js .nav-toggle { display: flex; }
  .js .nav {
    position: absolute;
    left: 0; right: 0; top: 100%;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: .9rem;
    padding: .6rem var(--gutter) 1.4rem;
    background: var(--cream);
    border-bottom: var(--line) solid var(--ink);
    box-shadow: 0 18px 30px -22px rgb(43 27 23 / .7);
  }
  .js .nav.is-open { display: flex; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-link { width: 100%; min-height: 52px; font-size: 1.1rem; border-bottom: 2px dashed rgb(43 27 23 / .2); }
  .nav-link::after { display: none; }
  
  .no-js .header-inner { flex-wrap: wrap; padding-block: .5rem; }
  .no-js .nav, .no-js .nav-list { flex-wrap: wrap; flex-direction: row; gap: .25rem 1.1rem; }
  .no-js .nav-link { width: auto; border: 0; }
}

.hero {
  position: relative;
  padding: clamp(2.25rem, 5.5vw, 4.5rem) 0 clamp(3.5rem, 7vw, 5.5rem);
  overflow-x: clip;
}
.hero[data-colorway="meadow"] { --y1: var(--teal);   --y2: var(--sage);    --y3: var(--mustard); --y4: var(--cream); --yj: var(--card); }
.hero[data-colorway="berry"]  { --y1: var(--plum);   --y2: var(--pink);    --y3: var(--lilac);   --y4: var(--cream); --yj: var(--ink); }
.hero[data-colorway="retro"]  { --y1: var(--teal);   --y2: var(--tomato);  --y3: var(--mustard); --y4: var(--sky);   --yj: var(--ink); }

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 4.5rem);
}
.hero-copy .lede {
  max-width: 34ch;
  margin-top: 1.3rem;
  font-size: clamp(1.1rem, 1.55vw, 1.3rem);
  line-height: 1.5;
  color: var(--ink-soft);
}
.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem 1.5rem;
  margin-top: 1.8rem;
  font-weight: 500;
  color: var(--ink-soft);
}
.hero-proof li { display: flex; align-items: center; gap: .5em; }

.hero-art {
  position: relative;
  justify-self: center;
  width: min(100%, 520px);
  padding: 1.5rem 0 5.75rem;
}
.sun {
  position: absolute;
  right: -11%; top: -2%;
  width: 72%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--y2);
  opacity: .5;
  transition: background-color .6s ease;
}
.spark { position: absolute; width: 26px; height: 26px; color: var(--ink); animation: twinkle 3.4s ease-in-out infinite; }
.spark-1 { left: -3%; top: 5%; width: 36px; height: 36px; }
.spark-2 { right: -1%; top: 47%; color: var(--tomato); animation-delay: -1.2s; }
.spark-3 { left: 30%; bottom: 13%; width: 20px; height: 20px; animation-delay: -2.1s; }

.blanket-wrap {
  position: relative;
  z-index: 1;
  width: 86%;
  margin-inline: auto;
  perspective: 1100px;
}
.blanket {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 6px;
  background: var(--yj);
  border: var(--line) solid var(--ink);
  border-radius: 24px;
  box-shadow: 12px 12px 0 var(--ink);
  rotate: -4deg;
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .45s var(--ease), background-color .5s ease;
}
.tile { display: block; aspect-ratio: 1; --gj: var(--yj); }
.tile svg { display: block; width: 100%; height: 100%; }

.v1 { --g1: var(--y1); --g2: var(--y2); --g3: var(--y3); --g4: var(--y4); }
.v2 { --g1: var(--y2); --g2: var(--y3); --g3: var(--y1); --g4: var(--y4); }
.v3 { --g1: var(--y3); --g2: var(--y1); --g3: var(--y2); --g4: var(--y4); }
.v4 { --g1: var(--y4); --g2: var(--y1); --g3: var(--y2); --g4: var(--y3); }

.js .blanket:not(.is-settled) .tile {
  animation: tile-pop .75s var(--ease) both;
  animation-delay: calc(var(--d) * 75ms + 150ms);
}
.js .tile svg {
  animation: tile-bob 5.5s ease-in-out infinite;
  animation-delay: calc(var(--d) * 220ms + 1600ms);
}
.js .blanket.is-swapping .tile {
  animation: tile-swap .62s var(--ease) both;
  animation-delay: calc(var(--d) * 45ms);
}

.yarn {
  position: absolute;
  left: -22%;
  bottom: -19.7%;
  width: 72%;
  overflow: visible;
  pointer-events: none;
}
.yarn-back  { z-index: 0; }
.yarn-front { z-index: 2; }
.yarn-tail {
  fill: none;
  stroke-linecap: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 0;
}
.js .yarn-tail { stroke-dashoffset: 1; animation: yarn-draw 1.5s var(--ease) 1.25s forwards; }
.yarn-tail-o { stroke: var(--ink); stroke-width: 10.5; }
.yarn-tail-c { stroke: var(--y1); stroke-width: 5.5; transition: stroke .5s ease; }
.yarn-ball { transform-origin: 66px 190px; animation: ball-rock 6s ease-in-out infinite; }
.yarn-ball circle { fill: var(--y1); stroke: var(--ink); stroke-width: 4.5; transition: fill .5s ease; }
.yarn-ball path { fill: none; stroke: var(--ink); stroke-opacity: .4; stroke-width: 3; stroke-linecap: round; }

.colorways { position: absolute; right: 0; bottom: .2rem; z-index: 2; text-align: right; }
.colorways-label { font: 700 1.42rem/1.1 var(--font-hand); margin-bottom: .2rem; }
.colorways-row { display: flex; justify-content: flex-end; gap: .2rem; }
.swatch {
  position: relative;
  width: 48px; height: 48px;
  padding: 0;
  background: none;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
}
.swatch::before {
  content: "";
  position: absolute;
  inset: 6px;
  border: var(--line) solid var(--ink);
  border-radius: 50%;
  background: conic-gradient(var(--s1) 0 33.4%, var(--s2) 0 66.7%, var(--s3) 0);
  box-shadow: 2px 2px 0 var(--ink);
  transition: transform .3s var(--ease), box-shadow .25s ease;
}
.swatch:hover::before { transform: rotate(60deg); }
.swatch[aria-pressed="true"]::before {
  box-shadow: 0 0 0 3px var(--cream), 0 0 0 5.5px var(--ink);
  transform: scale(1.06);
}
.swatch-sunset { --s1: var(--tomato); --s2: var(--mustard); --s3: var(--pink); }
.swatch-meadow { --s1: var(--teal);   --s2: var(--sage);    --s3: var(--mustard); }
.swatch-berry  { --s1: var(--plum);   --s2: var(--pink);    --s3: var(--lilac); }
.swatch-retro  { --s1: var(--teal);   --s2: var(--tomato);  --s3: var(--sky); }

@keyframes tile-pop {
  0%   { opacity: 0; transform: scale(.3) rotate(-24deg); }
  62%  { opacity: 1; transform: scale(1.1) rotate(4deg); }
  100% { opacity: 1; transform: none; }
}
@keyframes tile-bob  { 0%, 100% { translate: 0 0; } 50% { translate: 0 -3px; } }
@keyframes tile-swap { 0% { transform: none; } 45% { transform: scale(.76) rotate(10deg); } 100% { transform: none; } }
@keyframes yarn-draw { to { stroke-dashoffset: 0; } }
@keyframes ball-rock { 0%, 100% { transform: rotate(-4deg); } 50% { transform: rotate(5deg); } }
@keyframes twinkle   { 0%, 100% { transform: scale(1) rotate(0deg); opacity: 1; } 50% { transform: scale(.55) rotate(40deg); opacity: .55; } }

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: minmax(0, 1fr); }
  .hero-art { width: min(100%, 430px); margin-top: .5rem; }
  .hero-copy .lede { max-width: 40ch; }
  
  .yarn { left: -15%; }
}
@media (max-width: 420px) {
  .hero-art { padding-bottom: 7rem; }
  .colorways-label { font-size: 1.28rem; }
}

.ribbon {
  position: relative;
  z-index: 3;
  padding: .95rem 0;
  background: var(--ink);
  color: var(--cream);
  overflow: hidden;
  transform: rotate(-1.4deg) scale(1.04);
}
.ribbon::before,
.ribbon::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  border-top: 2px dashed rgb(251 244 230 / .38);
}
.ribbon::before { top: 6px; }
.ribbon::after  { bottom: 6px; }
.ribbon-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.ribbon:hover .ribbon-track { animation-play-state: paused; }
.ribbon-group { display: flex; flex: none; align-items: center; }
.ribbon-item {
  padding-inline: 1.15rem;
  font: 400 clamp(1.25rem, 2.3vw, 1.85rem)/1 var(--font-display);
  white-space: nowrap;
}
.ribbon-sep { background: var(--mustard); font-size: clamp(1rem, 1.7vw, 1.35rem); }
@keyframes marquee { to { transform: translateX(-50%); } }

.section { position: relative; padding-block: var(--section-y); }

.band-cream2  { background: var(--cream-2); --edge: var(--cream-2); }
.band-teal    { background: var(--teal);    --edge: var(--teal);    color: var(--cream); }
.band-mustard { background: var(--mustard); --edge: var(--mustard); }

.section-head { max-width: 46rem; margin-bottom: clamp(2.25rem, 5vw, 3.5rem); }
.section-head.center { margin-inline: auto; }
.section-head .sub { margin-top: 1rem; font-size: 1.12rem; color: var(--ink-soft); }
.section-head.split {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.25rem 3rem;
  max-width: none;
}
.section-head.split .sub { max-width: 25rem; margin: 0; font-size: 1rem; }

.after-grid { margin-top: clamp(2.25rem, 4vw, 3rem); text-align: center; }

.bg-mustard { --slot: var(--mustard); }
.bg-pink    { --slot: var(--pink); }
.bg-sky     { --slot: var(--sky); }
.bg-sage    { --slot: var(--sage); }
.bg-lilac   { --slot: var(--lilac); }
.bg-cream   { --slot: var(--cream-2); }
.bg-tomato  { --slot: var(--tomato); }

.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1rem, 2.2vw, 1.75rem);
}
.cat-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: var(--line) solid var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--drop);
  overflow: hidden;
  transition: transform .32s var(--ease), box-shadow .32s var(--ease), rotate .32s var(--ease),
              opacity .7s var(--ease), translate .7s var(--ease);
}
.cat-card:nth-child(odd)  { rotate: -1.2deg; }
.cat-card:nth-child(even) { rotate: 1.1deg; }
.cat-card:hover,
.cat-card:focus-within {
  rotate: 0deg;
  transform: translate(-3px, -6px);
  box-shadow: 9px 12px 0 var(--ink);
}
.cat-art,
.slot {
  position: relative;
  display: grid;
  place-items: center;
  background: var(--slot, var(--cream-2));
  border-bottom: var(--line) solid var(--ink);
}
.cat-art { aspect-ratio: 1 / .92; }
.slot    { aspect-ratio: 1 / .84; }
.cat-art::after,
.slot::after {
  content: "";
  position: absolute;
  inset: 9px;
  border: 2px dashed rgb(43 27 23 / .34);
  border-radius: 13px;
  pointer-events: none;
}
.cat-art .illo { width: 74%; transition: transform .45s var(--ease); }
.cat-card:hover .illo,
.cat-card:focus-within .illo { transform: rotate(-6deg) scale(1.07); }

.cat-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: .45rem;
  padding: 1.15rem 1.25rem 1.3rem;
}
.cat-body p { font-size: .98rem; line-height: 1.45; color: var(--ink-soft); }
.cat-link {
  display: inline-flex;
  align-items: center;
  gap: .4em;
  margin-top: auto;
  padding-top: .65rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--tomato-deep);
  text-decoration: none;
}
.cat-link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.cat-link:focus-visible { outline: none; }
.cat-card:has(.cat-link:focus-visible) { outline: 3px solid var(--ink); outline-offset: 4px; }
.cat-link .arrow { transition: transform .3s var(--ease); }
.cat-card:hover .arrow { transform: translateX(5px); }

@media (max-width: 1020px) {
  .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .cat-grid { grid-template-columns: minmax(0, 1fr); }
  .cat-card { flex-direction: row; }
  .cat-card:nth-child(odd)  { rotate: -.7deg; }
  .cat-card:nth-child(even) { rotate: .7deg; }
  .cat-art { flex: none; width: 37%; aspect-ratio: auto; border-bottom: 0; border-right: var(--line) solid var(--ink); }
  .cat-art .illo { width: 84%; }
  .cat-art::after { inset: 7px; }
  .cat-body { padding: 1rem 1rem 1.05rem; }
  .cat-body h3 { font-size: 1.28rem; }
  .cat-body p { font-size: .94rem; }
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1rem, 2.2vw, 1.75rem);
}
.product {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: var(--line) solid var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--drop);
  overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease),
              opacity .7s var(--ease), translate .7s var(--ease);
}
.product:hover { transform: translate(-2px, -4px); box-shadow: 8px 10px 0 var(--ink); }
.slot .illo { width: 64%; transition: transform .45s var(--ease); }
.product:hover .slot .illo { transform: rotate(5deg) scale(1.06); }

.badge {
  position: absolute;
  left: 14px; top: 14px;
  z-index: 1;
  padding: .34em .72em;
  background: var(--card);
  border: 2px solid var(--ink);
  border-radius: 999px;
  font: 700 .7rem/1.2 var(--font-body);
  letter-spacing: .07em;
  text-transform: uppercase;
  rotate: -3deg;
}
.badge-ready { background: var(--sage); }
.badge-one   { background: var(--pink); }
.badge-sold  { background: var(--ink); color: var(--cream); }

.product-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: .35rem;
  padding: 1.05rem 1.15rem 1.2rem;
}
.product-meta { font-size: .93rem; line-height: 1.45; color: var(--ink-soft); }

.product-body .btn-buy { margin-top: auto; }
.product-body .product-meta { margin-bottom: .9rem; }

.is-sold .slot .illo { opacity: .45; filter: grayscale(.6); }
.is-sold:hover { transform: none; box-shadow: var(--drop); }
.is-sold:hover .slot .illo { transform: none; }

@media (max-width: 1020px) {
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
  .product-grid:not(.shop-grid) { grid-template-columns: minmax(0, 1fr); }
  .product-grid:not(.shop-grid) .slot { aspect-ratio: 1 / .62; }
  .product-grid:not(.shop-grid) .slot .illo { width: 44%; }
}

.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.5rem, 4vw, 3.25rem);
}
.steps::before {
  content: "";
  position: absolute;
  left: 12%; right: 12%; top: 35px;
  border-top: 3px dashed var(--ink);
  opacity: .32;
}
.step { position: relative; text-align: center; }
.step-num {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 72px; height: 72px;
  margin: 0 auto 1.3rem;
  background: var(--mustard);
  border: var(--line) solid var(--ink);
  border-radius: 50%;
  box-shadow: 4px 4px 0 var(--ink);
  font: 400 2rem/1 var(--font-display);
}
.step:nth-child(2) .step-num { background: var(--pink); rotate: 4deg; }
.step:nth-child(3) .step-num { background: var(--sky); rotate: -3deg; }
.step p { margin-top: .6rem; color: var(--ink-soft); }

@media (max-width: 760px) {
  .steps { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .steps::before { left: 35px; right: auto; top: 10px; bottom: 10px; border-top: 0; border-left: 3px dashed var(--ink); }
  .step { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 1.15rem; text-align: left; }
  .step-num { margin: 0; }
}

.maker-grid {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(2.25rem, 6vw, 5rem);
}
.portrait { position: relative; justify-self: center; width: min(100%, 390px); }
.portrait-ph {
  position: relative;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 1.1rem;
  aspect-ratio: 4 / 5;
  background: var(--cream);
  color: var(--ink);
  border: var(--line) solid var(--ink);
  border-radius: var(--radius);
  box-shadow: 10px 10px 0 var(--ink);
  rotate: -3deg;
}
.portrait-ph::after {
  content: "";
  position: absolute;
  inset: 12px;
  border: 2px dashed rgb(43 27 23 / .34);
  border-radius: 14px;
}
.portrait-ph .illo { width: 46%; }
.portrait-note { font: 700 1.6rem/1.1 var(--font-hand); }
.tape {
  position: absolute;
  left: 50%; top: -15px;
  z-index: 1;
  width: 128px; height: 34px;
  background: var(--mustard);
  border: 2px solid var(--ink);
  border-radius: 3px;
  transform: translateX(-50%) rotate(-5deg);
  opacity: .96;
}
.maker-copy p { max-width: 54ch; }
.maker-copy h2 { margin-bottom: 1.3rem; }
.check-list { display: grid; gap: .7rem; margin-top: 1.6rem; font-weight: 500; }
.check-list li { display: flex; align-items: flex-start; gap: .7em; }
.check-list li::before { margin-top: .28em; background: var(--mustard); }

@media (max-width: 860px) {
  .maker-grid { grid-template-columns: minmax(0, 1fr); }
  .portrait { width: min(78%, 320px); }
}

.custom-grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(2.25rem, 6vw, 5rem);
}
.custom-copy h2 { margin-bottom: 1.3rem; }
.custom-copy p + p { margin-top: .9rem; }
.contact-lines { display: grid; gap: .55rem; margin-top: 1.7rem; font-weight: 500; }
.contact-label {
  display: inline-block;
  min-width: 6.2rem;
  font: 700 .78rem/1.2 var(--font-body);
  letter-spacing: .12em;
  text-transform: uppercase;
}

.form {
  display: grid;
  gap: 1.05rem;
  padding: clamp(1.25rem, 3vw, 2rem);
  background: var(--card);
  border: var(--line) solid var(--ink);
  border-radius: var(--radius);
  box-shadow: 9px 9px 0 var(--ink);
}
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.field { display: grid; gap: .38rem; align-content: start; }
.label { font-weight: 700; font-size: .96rem; }
.required { color: var(--danger); }
.input, .select, .textarea {
  width: 100%;
  min-height: 50px;
  padding: .68rem .9rem;
  background: var(--cream);
  border: 2px solid var(--ink);
  border-radius: 12px;
}
.textarea { min-height: 124px; resize: vertical; }
.input:focus-visible, .select:focus-visible, .textarea:focus-visible {
  outline: 3px solid var(--tomato);
  outline-offset: 2px;
  border-radius: 12px;
}
.input[aria-invalid="true"] { border-color: var(--danger); background: #FBE9E4; }
.form-error  { font-size: .9rem; font-weight: 500; color: var(--danger); }
.form-note   { font-size: .88rem; line-height: 1.45; color: var(--ink-soft); }
.form-status {
  padding: .8rem 1rem;
  background: var(--sage);
  border: 2px solid var(--ink);
  border-radius: 12px;
  font-weight: 500;
}

@media (max-width: 860px) {
  .custom-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 520px) {
  .field-row { grid-template-columns: minmax(0, 1fr); }
}

.scallop-t::before,
.scallop-b::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  z-index: 2;
  height: var(--scallop);
  pointer-events: none;
}
.scallop-t::before {
  bottom: calc(100% - 1px);
  background: radial-gradient(circle at 50% 100%, var(--edge) 0 calc(var(--scallop) - .6px), transparent var(--scallop))
              50% 0 / calc(var(--scallop) * 2) var(--scallop) repeat-x;
}
.scallop-b::after {
  top: calc(100% - 1px);
  background: radial-gradient(circle at 50% 0, var(--edge) 0 calc(var(--scallop) - .6px), transparent var(--scallop))
              50% 0 / calc(var(--scallop) * 2) var(--scallop) repeat-x;
}

.footer {
  position: relative;
  --edge: var(--ink);
  padding: clamp(3.75rem, 7vw, 5.25rem) 0 1.6rem;
  background: var(--ink);
  color: var(--cream);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr 1fr;
  gap: 2.25rem 2.5rem;
}
.footer-brand p { margin-top: .9rem; max-width: 22ch; color: #DDD0BC; }
.footer-head {
  margin-bottom: .55rem;
  font: 700 .78rem/1.2 var(--font-body);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--mustard);
}
.footer-nav li { display: flex; align-items: center; min-height: 44px; }
.footer-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration: none;
}
.footer-nav a:hover { text-decoration: underline dashed; text-underline-offset: 5px; text-decoration-thickness: 2px; }
.footer-base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .4rem 2rem;
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  padding-top: 1.2rem;
  border-top: 2px dashed rgb(251 244 230 / .28);
  font-size: .92rem;
  color: #DDD0BC;
}

.footer-base-solo { margin-top: 0; padding-top: 0; border-top: 0; }

.footer-credit { color: #5b82ff; text-decoration: none; }
.footer-credit:hover { color: #9db4ff; text-decoration: underline; }

@media (max-width: 860px) {
  .footer-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 460px) {
  .footer-inner { grid-template-columns: minmax(0, 1fr); }
}

.shop-hero {
  position: relative;
  --edge: var(--cream-2);
  padding: clamp(2.5rem, 6vw, 4.25rem) 0 clamp(2.75rem, 6vw, 4.25rem);
  background: var(--cream-2);
}
.shop-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 2rem;
}
.shop-hero h1 { font-size: clamp(2.8rem, 7.2vw, 5.2rem); }
.shop-hero .lede { max-width: 44ch; margin-top: 1rem; font-size: clamp(1.08rem, 1.5vw, 1.25rem); color: var(--ink-soft); }
.shop-hero-art { display: flex; gap: 0; rotate: 5deg; }
.shop-hero-art svg { width: clamp(70px, 9vw, 112px); height: auto; }
.shop-hero-art svg:nth-child(2) { margin-top: 26%; margin-left: -8%; rotate: -9deg; }

.info-chips { display: flex; flex-wrap: wrap; gap: .55rem .65rem; margin-top: 1.5rem; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  padding: .42em .95em;
  background: var(--card);
  border: 2px solid var(--ink);
  border-radius: 999px;
  font-size: .95rem;
  font-weight: 500;
  line-height: 1.3;
}

.filter-bar {
  position: sticky;
  top: var(--header-h);
  z-index: 30;
  padding: 1.5rem 0 .55rem;
  background: var(--cream);
}
.filters {
  display: flex;
  gap: .6rem;
  padding: 4px 4px 9px 2px;
  overflow-x: auto;
  scrollbar-width: none;
}
.filters::-webkit-scrollbar { display: none; }
.filter {
  flex: none;
  min-height: 46px;
  padding: .45rem 1.1rem;
  background: var(--card);
  border: 2px solid var(--ink);
  border-radius: 999px;
  box-shadow: 3px 3px 0 var(--ink);
  font-weight: 700;
  font-size: .98rem;
  white-space: nowrap;
  cursor: pointer;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), background-color .2s ease, color .2s ease;
}
.filter:hover { transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--ink); }
.filter[aria-pressed="true"] { background: var(--ink); color: var(--cream); box-shadow: 3px 3px 0 var(--tomato); }

.shop-main { padding: .9rem 0 var(--section-y); }
.shop-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .5rem 2rem;
  margin-bottom: 1.5rem;
  font-size: .98rem;
  color: var(--ink-soft);
}
.shop-count { font-weight: 700; color: var(--ink); }
.shop-grid { grid-template-columns: repeat(auto-fill, minmax(238px, 1fr)); }
.shop-grid .product[hidden] { display: none; }
.shop-grid .product.is-entering { animation: card-in .45s var(--ease) both; animation-delay: calc(var(--n, 0) * 45ms); }
@keyframes card-in { from { opacity: 0; transform: translateY(14px) scale(.97); } }

@media (max-width: 560px) {
  .shop-hero-inner { grid-template-columns: minmax(0, 1fr); }
  .shop-hero-art { display: none; }
  .shop-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; }
  .shop-grid .product-body { padding: .8rem .8rem .9rem; }
  .shop-grid h3 { font-size: 1.12rem; }
  .shop-grid .product-meta { font-size: .84rem; }
  .shop-grid .badge { left: 9px; top: 9px; font-size: .6rem; }
  .shop-grid .slot::after { inset: 6px; }
  .shop-grid .btn-buy .price { padding-inline: .6rem; font-size: 1.1rem; }
  .shop-grid .btn-buy .buy-label { padding-inline: .4rem; font-size: .9rem; }
}
@media (max-width: 350px) {
  .shop-grid { grid-template-columns: minmax(0, 1fr); }
}

.notes-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2.2vw, 1.75rem);
}
.note-card {
  padding: 1.4rem 1.45rem 1.5rem;
  background: var(--card);
  border: var(--line) solid var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--drop);
}
.note-card h3 { margin-bottom: .6rem; }
.note-card p { color: var(--ink-soft); }
.note-card p + p { margin-top: .6rem; }
@media (max-width: 860px) {
  .notes-grid { grid-template-columns: minmax(0, 1fr); }
}

.ask-band .wrap-narrow { text-align: center; }
.ask-band h2 { margin-bottom: 1rem; }
.ask-band .btn-row { justify-content: center; }

.buy-dialog {
  width: min(92vw, 480px);
  padding: 0;
  background: var(--card);
  color: var(--ink);
  border: var(--line) solid var(--ink);
  border-radius: var(--radius);
  box-shadow: 10px 10px 0 var(--ink);
}
.buy-dialog::backdrop { background: rgb(43 27 23 / .6); }
.buy-dialog[open] { animation: dialog-in .35s var(--ease); }
@keyframes dialog-in { from { opacity: 0; transform: translateY(18px) rotate(-2deg) scale(.96); } }
.dialog-body { padding: clamp(1.4rem, 4vw, 2rem); }
.dialog-piece {
  display: inline-block;
  margin-bottom: 1rem;
  padding: .3em .8em;
  background: var(--mustard);
  border: 2px solid var(--ink);
  border-radius: 999px;
  font-weight: 700;
  font-size: .95rem;
  rotate: -2deg;
}
.dialog-body h2 { font-size: clamp(1.6rem, 4.6vw, 2.1rem); margin-bottom: .9rem; }
.dialog-body p { color: var(--ink-soft); }
.dialog-body p + p { margin-top: .7rem; }
.dialog-body .btn { margin-top: 1.5rem; }

.ph { border-bottom: 2px dotted var(--tomato); cursor: help; }
.band-teal .ph, .footer .ph { border-bottom-color: var(--mustard); }
.band-mustard .ph { border-bottom-color: var(--ink); }

.tag-sample {
  display: inline-block;
  margin-right: .6em;
  padding: .16em .62em;
  background: var(--sky);
  color: var(--ink);
  border: 1.5px solid var(--ink);
  border-radius: 6px;
  font: 700 .62rem/1.6 var(--font-body);
  letter-spacing: .12em;
  text-transform: uppercase;
  vertical-align: .16em;
}

.mock-note {
  position: fixed;
  left: 14px; bottom: 14px;
  z-index: 80;
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  max-width: min(calc(100vw - 28px), 370px);
  padding: .75rem .55rem .75rem 1rem;
  background: var(--ink);
  color: var(--cream);
  border: 2px solid var(--cream);
  border-radius: 14px;
  box-shadow: 0 14px 34px -14px rgb(0 0 0 / .6);
  font-size: .86rem;
  line-height: 1.42;
}
.mock-note[hidden] { display: none; }

body:has(.mock-note:not([hidden])) .footer { padding-bottom: 6.5rem; }
.mock-note-close {
  flex: none;
  width: 44px; height: 44px;
  margin: -.55rem -.2rem -.55rem 0;
  background: none;
  border: 0;
  border-radius: 10px;
  color: var(--cream);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}
.mock-note-close:focus-visible { outline-color: var(--mustard); }
@media (max-width: 520px) {
  .mock-note-more { display: none; }
}

.js .reveal {
  opacity: 0;
  translate: 0 24px;
  transition: opacity .7s var(--ease), translate .7s var(--ease);
  transition-delay: calc(var(--i, 0) * 85ms);
}
.js .reveal.is-in { opacity: 1; translate: 0 0; }
.js .cat-card.reveal,
.js .product.reveal {
  transition: transform .32s var(--ease), box-shadow .32s var(--ease), rotate .32s var(--ease),
              opacity .7s var(--ease) calc(var(--i, 0) * 85ms),
              translate .7s var(--ease) calc(var(--i, 0) * 85ms);
}

.notfound { padding-block: clamp(4rem, 12vw, 8rem); text-align: center; }
.notfound .illo { width: min(46vw, 190px); margin: 0 auto 1.75rem; }
.notfound h1 { font-size: clamp(2.3rem, 6vw, 4rem); }
.notfound p { max-width: 38ch; margin: 1.1rem auto 0; font-size: 1.15rem; color: var(--ink-soft); }
.notfound .btn-row { justify-content: center; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-delay: 0s !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    transition-delay: 0s !important;
  }
  .js .reveal { opacity: 1; translate: none; }
  .js .yarn-u svg { clip-path: none; }
  .js .yarn-tail { stroke-dashoffset: 0; animation: none; }
  .js .tile svg, .yarn-ball, .spark { animation: none; }
  .ribbon { transform: none; }
  .ribbon-track { width: auto; flex-wrap: wrap; justify-content: center; animation: none; }
  .ribbon-group { flex-wrap: wrap; justify-content: center; row-gap: .5rem; }
  .ribbon-group + .ribbon-group { display: none; }
}

.concept-banner {
  background: var(--ink);
  color: var(--cream);
  font: 500 13px/1.45 var(--font-body);
  letter-spacing: .04em;
  text-align: center;
  padding: 9px var(--gutter);
}
.concept-banner b { color: #fff; font-weight: 700; }
