/* fonts served from this site (latin subset from Google Fonts); Cormorant is one variable file for every weight */
@font-face{font-family:"Cormorant Garamond";font-style:normal;font-weight:300 700;font-display:swap;
  src:url(fonts/cormorant-garamond.woff2) format("woff2");
  unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Sacramento";font-style:normal;font-weight:400;font-display:swap;
  src:url(fonts/sacramento.woff2) format("woff2");
  unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
/* lettering for "Design your own"; browsers only download one when a shopper picks it */
@font-face{font-family:"Pacifico";font-display:swap;src:url(fonts/pacifico.woff2) format("woff2")}
@font-face{font-family:"Dancing Script";font-weight:400 700;font-display:swap;src:url(fonts/dancing-script.woff2) format("woff2")}
@font-face{font-family:"Graduate";font-display:swap;src:url(fonts/graduate.woff2) format("woff2")}
@font-face{font-family:"Alfa Slab One";font-display:swap;src:url(fonts/alfa-slab-one.woff2) format("woff2")}
@font-face{font-family:"Bebas Neue";font-display:swap;src:url(fonts/bebas-neue.woff2) format("woff2")}
:root{
  --paper:#f2e9e0;        /* banner background */
  --ink:#3a3128;          /* HOMETOWN BLESSINGS */
  --monogram:#463829;     /* HB mark */
  --saddle:#8b6b4f;       /* header icon buttons: a lighter brown, white icons still clear on it */
  --sage:#959b84;         /* leaf sprigs */
  --sage-dark:#6f6c60;    /* script tagline */
  --rose:#c39f93;         /* hearts */
  --rule:#d6c6b0;         /* divider lines */
  --bloom:#fbf7f1;        /* baby's breath */
  --etsy:#f1641e;         /* Etsy orange, header link */
  --serif:"Cormorant Garamond","EB Garamond",Garamond,"Times New Roman",serif;
  --script:"Sacramento","Brush Script MT","Segoe Script",cursive;
}
*{box-sizing:border-box;margin:0;padding:0}
/* body must grow with the page (min-height, not height) or the sticky header scrolls away after one screen */
html{height:100%}
body{
  min-height:100%;
  background:
    radial-gradient(ellipse at 50% 40%, rgba(255,255,255,.45), transparent 65%),
    var(--paper);
  color:var(--ink);
  font-family:var(--serif);
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
  padding:env(safe-area-inset-top,0) env(safe-area-inset-right,0) env(safe-area-inset-bottom,0) env(safe-area-inset-left,0);
}
/* soft paper grain */
body::before{
  content:"";position:fixed;inset:0;pointer-events:none;opacity:.35;mix-blend-mode:multiply;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .55 0 0 0 0 .5 0 0 0 0 .45 0 0 0 .18 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* baby's breath in the corners */
.spray{position:fixed;display:block;bottom:-3vh;width:auto;height:min(62vh,34vw);pointer-events:none;z-index:0}
.spray.left{left:-3vw}
.spray.right{right:-3vw;transform:scaleX(-1)}

/* ---- header: logo, menu, Etsy / Facebook / cart / account ---- */
.site-head{
  /* equal 1fr side columns put the menu at the true page centre, in line with the hoop logo */
  position:sticky;top:0;z-index:20;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:1rem;
  height:4.25rem;padding:0 clamp(.75rem,3vw,2rem);
  background:rgba(242,233,224,.82);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);
  border-bottom:1.5px dashed transparent;transition:height .3s,box-shadow .3s,border-color .3s,background-color .3s;
}
/* once you scroll, the bar tightens up and gets a stitched edge */
.site-head.scrolled{height:3.6rem;background:rgba(242,233,224,.94);border-bottom-color:var(--rule);box-shadow:0 6px 18px -14px rgba(70,56,41,.5)}
.brand{flex:none;display:block;justify-self:start;border-radius:50%}
.brand img{display:block;width:2.75rem;height:2.75rem;transition:width .3s,height .3s,transform .4s;
  filter:invert(19%) sepia(14%) saturate(1400%) hue-rotate(350deg) brightness(92%) contrast(90%)}
.site-head.scrolled .brand img{width:2.3rem;height:2.3rem}
.brand:hover img{transform:rotate(-8deg)}
.brand:focus-visible{outline:2px solid var(--sage-dark);outline-offset:3px}

.menu{position:relative;display:flex;gap:.3rem}
.menu a{
  position:relative;padding:.5rem .9rem;font-size:1.2rem;font-weight:500;letter-spacing:.03em;
  color:var(--ink);text-decoration:none;border-radius:6px;transition:color .2s;
}
/* hover: a dashed "stitch" draws in under the word */
.menu a::after{
  content:"";position:absolute;left:.9rem;right:.9rem;bottom:.3rem;height:2px;
  background:repeating-linear-gradient(90deg,var(--rose) 0 6px,transparent 6px 10px);
  transform:scaleX(0);transform-origin:left;transition:transform .35s cubic-bezier(.3,.7,.3,1);
}
.menu a:hover::after{transform:scaleX(1)}
.menu a:hover,.menu a[aria-current="page"]{color:var(--monogram)}
.menu a:focus-visible{outline:2px solid var(--sage-dark);outline-offset:2px}
/* solid thread that slides to whichever section you're in */
.menu-mark{
  position:absolute;bottom:.2rem;left:0;height:2.5px;width:0;border-radius:2px;background:var(--monogram);
  transition:transform .45s cubic-bezier(.3,.8,.3,1),width .45s cubic-bezier(.3,.8,.3,1),opacity .3s;opacity:0;pointer-events:none;
}

.head-actions{display:flex;align-items:center;gap:.35rem;flex:none;justify-self:end}
.act{
  position:relative;display:inline-grid;place-items:center;grid-auto-flow:column;gap:.35rem;
  min-width:2.5rem;height:2.5rem;padding:0 .55rem;border-radius:999px;border:1px solid transparent;
  background:none;color:var(--monogram);font:inherit;font-size:1.05rem;font-weight:500;text-decoration:none;cursor:pointer;
  transition:filter .2s,transform .2s;
}
.act svg{width:1.3rem;height:1.3rem}
.act:hover{filter:brightness(1.08);transform:translateY(-1px)}
.act:focus-visible{outline:2px solid var(--sage-dark);outline-offset:2px}
/* every header button is a filled badge: Etsy orange, the round icons one lighter brown */
.act-etsy{background:var(--etsy);color:#fff;padding:0 .95rem 0 .75rem}
.act-fb,.act-ig,.act.coming,.act-account{background:var(--saddle);color:#fff;width:2.5rem;padding:0}
.act.coming{cursor:default}
/* "Coming soon" label under the cart and account buttons */
.act.coming::after{
  content:"Coming soon";position:absolute;top:calc(100% + .45rem);left:50%;translate:-50% -4px;white-space:nowrap;
  padding:.3rem .65rem;border-radius:6px;background:var(--monogram);color:var(--paper);font-size:.9rem;
  opacity:0;pointer-events:none;transition:opacity .2s,translate .2s;
}
.act.coming:hover::after,.act.coming:focus-visible::after{opacity:1;translate:-50% 0}
.cart-count{
  position:absolute;top:-.15rem;right:-.15rem;min-width:1.1rem;height:1.1rem;padding:0 .25rem;border-radius:999px;
  background:var(--rose);color:#fff;font-size:.75rem;line-height:1.1rem;
}

/* hamburger, phones only: three threads that twist into an X */
.burger{display:none;width:2.5rem;height:2.5rem;padding:0;border:0;border-radius:50%;background:none;cursor:pointer;position:relative}
.burger span{position:absolute;left:.65rem;right:.65rem;height:2px;border-radius:2px;background:var(--monogram);transition:transform .3s,opacity .2s,top .3s}
.burger span:nth-child(1){top:.85rem}
.burger span:nth-child(2){top:1.2rem}
.burger span:nth-child(3){top:1.55rem}
.burger[aria-expanded="true"] span:nth-child(1){top:1.2rem;transform:rotate(45deg)}
.burger[aria-expanded="true"] span:nth-child(2){opacity:0;transform:scaleX(.2)}
.burger[aria-expanded="true"] span:nth-child(3){top:1.2rem;transform:rotate(-45deg)}
.burger:focus-visible{outline:2px solid var(--sage-dark);outline-offset:2px}

@media (max-width:820px){
  .site-head{display:flex}
  .burger{display:block}
  .act-etsy span{display:none}
  .act-etsy{padding:0 .55rem}
  .head-actions{margin-left:auto;gap:.15rem}
  .menu-mark{display:none}
  /* the menu drops down under the bar like a fabric swatch unrolling */
  .menu{
    position:absolute;top:100%;left:0;right:0;margin:0;flex-direction:column;gap:0;padding:.5rem 1rem 1rem;
    background:rgba(242,233,224,.97);border-bottom:1.5px dashed var(--rule);box-shadow:0 14px 24px -18px rgba(70,56,41,.6);
    clip-path:inset(0 0 100% 0);visibility:hidden;transition:clip-path .35s cubic-bezier(.3,.8,.3,1),visibility 0s .35s;
  }
  .menu.open{clip-path:inset(0 0 -40px 0);visibility:visible;transition:clip-path .4s cubic-bezier(.3,.8,.3,1)}
  .menu a{font-size:1.35rem;padding:.75rem .5rem;border-bottom:1px dashed var(--rule);opacity:0;transform:translateY(-6px);transition:opacity .3s,transform .3s,color .2s}
  .menu a:last-of-type{border-bottom:0}
  .menu.open a{opacity:1;transform:none}
  .menu.open a:nth-child(2){transition-delay:.05s}
  .menu.open a:nth-child(3){transition-delay:.1s}
  .menu.open a:nth-child(4){transition-delay:.15s}
  .menu a::after{left:.5rem;right:auto;width:3rem;bottom:.5rem}
}
@media (max-width:400px){
  .brand img{width:2.2rem;height:2.2rem}
  .head-actions .act{min-width:2.15rem;width:2.15rem;height:2.15rem;padding:0}
  .act svg{width:1.15rem;height:1.15rem}
}
@media (prefers-reduced-motion:reduce){
  .site-head,.brand img,.menu a,.menu a::after,.menu-mark,.menu,.burger span{transition:none!important}
}
@media (prefers-reduced-motion:no-preference){
  html{scroll-behavior:smooth}
  /* the header slides in once, on Home; moving between pages it stays put */
  .page-home .site-head{animation:headIn .6s cubic-bezier(.2,.8,.3,1) both}
  @keyframes headIn{from{transform:translateY(-100%)}}
  /* smooth cross-fade between pages in browsers that support it; the header doesn't move */
  @view-transition{navigation:auto}
  .site-head{view-transition-name:site-head}
}

main{
  position:relative;z-index:1;min-height:100vh;
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  text-align:center;padding:4rem 1.5rem 3rem;overflow-x:clip;
}
/* inner pages start at the top under their title instead of centring */
body:not(.page-home) main{justify-content:flex-start;padding-top:2.2rem}
.page-home main{padding-top:1.25rem} /* the hoop sits close under the menu */
.page-title{font-family:var(--script);font-weight:400;font-size:clamp(2.6rem,6vw,3.6rem);line-height:1.1;color:var(--sage-dark)}
.page-intro{font-size:clamp(1.1rem,2vw,1.3rem);line-height:1.55;max-width:36em;margin:.4rem auto 0;color:var(--ink)}
.section-title{font-family:var(--script);font-weight:400;font-size:clamp(2rem,4vw,2.8rem);color:var(--sage-dark)}
/* Home: newest pieces, then the way into the full shop */
.home-new{width:min(1100px,100%);margin-top:2.6rem}
.home-new .grid{margin-top:1rem}
.pill-btn{
  display:inline-flex;align-items:center;justify-content:center;margin-top:1.6rem;padding:.8rem 1.8rem;border-radius:999px;
  font-size:1.15rem;font-weight:500;letter-spacing:.04em;text-decoration:none;
  background:var(--monogram);color:var(--paper);border:1px solid var(--monogram);transition:background-color .2s,transform .15s;
}
.pill-btn:hover{background:#5a4836}
.pill-btn:active{transform:scale(.97)}
.pill-btn.alt{background:rgba(255,255,255,.35);color:var(--monogram);border-color:var(--rose)}
.pill-btn.alt:hover{background:rgba(195,159,147,.18)}
.pill-btn:focus-visible{outline:2px solid var(--sage-dark);outline-offset:3px}
/* Home: a peek at the About letter */
.teaser{width:min(760px,100%);margin-top:3.5rem}
.teaser h2.hello{font-weight:400;margin-bottom:.6rem}
.teaser-links{display:flex;flex-wrap:wrap;gap:.8rem;clear:both}
.teaser .teaser-links{margin-top:.4rem}
main > .teaser-links{justify-content:center;margin-top:1rem}

/* HB monogram flanked by sprigs */
.crest{display:flex;align-items:center;justify-content:center;gap:clamp(.75rem,3vw,2.5rem)}
.sprig{width:clamp(68px,12vw,143px);height:auto;color:var(--sage)}
.sprig.right{transform:scaleX(-1)}
/* embroidery hoop framing the logo */
.hoop{position:relative;width:clamp(143px,16.5vw,203px);aspect-ratio:1;display:grid;place-items:center;flex:none}
.hoop svg{position:absolute;inset:0;width:100%;height:100%;overflow:visible}
.logo{
  position:relative;display:block;width:68%;height:auto;
  /* tints the black logo to the banner's brown (#463829) */
  filter:invert(19%) sepia(14%) saturate(1400%) hue-rotate(350deg) brightness(92%) contrast(90%);
}

.heart{width:22px;height:20px;color:var(--rose);display:block;margin:0 auto}

/* keeps the business name for screen readers and search engines */
.visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.sprites{position:absolute} /* the hidden <svg> holding the leaf / heart / baby's breath symbols */
.divider{display:flex;align-items:center;justify-content:center;gap:1.1rem;width:min(640px,90%);margin:1.6rem auto 0}
.divider::before,.divider::after{
  content:"";flex:1;height:2px;border-radius:2px;
  background:repeating-linear-gradient(90deg,var(--rose) 0 9px,transparent 9px 15px);
  opacity:.75;
}
.divider::before{background-position:right}

.soon{
  font-size:clamp(1.15rem,2.2vw,1.4rem);line-height:1.6;max-width:34em;margin:1.4rem auto 0;color:var(--ink);
}

/* Etsy listings, each a little linen swatch with a stitched edge */
.shop{width:min(1100px,100%);margin-top:2.4rem}
.shop[hidden]{display:none}
.grid{list-style:none;display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:1.4rem}
.item a{
  position:relative;display:flex;flex-direction:column;height:100%;padding:.7rem .7rem 1rem;
  background:#f8f2ea;border-radius:6px;text-decoration:none;color:var(--ink);
  box-shadow:0 1px 0 rgba(70,56,41,.08),0 6px 14px -10px rgba(70,56,41,.45);transition:transform .2s,box-shadow .2s;
}
.item a::after{content:"";position:absolute;inset:5px;border:1.5px dashed var(--rule);border-radius:4px;pointer-events:none;transition:border-color .2s}
.item a:hover{transform:translateY(-3px);box-shadow:0 1px 0 rgba(70,56,41,.08),0 12px 20px -12px rgba(70,56,41,.5)}
.item a:hover::after{border-color:var(--rose)}
.item a:focus-visible{outline:2px solid var(--sage-dark);outline-offset:3px}
.item img{display:block;width:100%;height:auto;aspect-ratio:1;object-fit:cover;border-radius:3px;background:var(--paper)}
.item h3{
  font-size:1.1rem;font-weight:500;line-height:1.3;margin:.75rem .3rem 0;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;
}
.item .price{margin-top:auto;padding-top:.4rem;font-size:1.05rem;color:var(--sage-dark)}
/* "Only N left": real stock on ready-made pieces only */
.badge{
  position:absolute;top:1.1rem;left:1.1rem;z-index:1;padding:.2rem .6rem;border-radius:999px;
  background:var(--monogram);color:var(--paper);font-size:.9rem;letter-spacing:.02em;
}


/* filter bar above the listings */
/* fit-content + stretch: the search row takes exactly the width of the chip row above it */
.filters{display:flex;flex-direction:column;align-items:stretch;gap:.9rem;width:fit-content;max-width:100%;margin:0 auto 1rem}
.chip-row,.chips{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:.5rem}
.chips button,.none button{
  padding:.45rem 1.1rem;border-radius:999px;cursor:pointer;
  font-family:var(--serif);font-size:1.05rem;font-weight:500;color:var(--monogram);
  background:rgba(255,255,255,.35);border:1px solid var(--rose);transition:background-color .2s;
}
.chips button:hover,.none button:hover{background:rgba(195,159,147,.18)}
.chips button[aria-pressed="true"]{background:var(--monogram);border-color:var(--monogram);color:var(--paper)}
.chips .n{opacity:.65;font-size:.9em}
.filter-row{display:flex;align-items:center;gap:.6rem}
.filter-row input[type=search],.filter-row select{
  font-family:var(--serif);font-size:1.05rem;color:var(--ink);height:2.6rem;padding:0 .9rem;
  background:#f8f2ea;border:1px solid var(--rule);border-radius:8px;
}
.filter-row input[type=search]{flex:1 1 12rem;min-width:0}
.filter-row select{flex:none}
/* personalizable toggle: a chip with a stitched box; the check is "sewn" in when on */
.check{
  position:relative;display:inline-flex;align-items:center;gap:.55rem;height:2.25rem;padding:0 1.1rem 0 .8rem;
  border-radius:999px;border:1px solid var(--rose);background:rgba(255,255,255,.35);
  font-size:1.05rem;font-weight:500;color:var(--monogram);cursor:pointer;user-select:none;
}
.check:hover{background:rgba(195,159,147,.18)}
.check:has(input:checked){background:var(--monogram);border-color:var(--monogram);color:var(--paper)}
/* the real checkbox stays for keyboards and screen readers, just invisible */
.check input{position:absolute;opacity:0;width:1px;height:1px;pointer-events:none}
.box{
  display:grid;place-items:center;width:1.3rem;height:1.3rem;flex:none;
  border:1.5px dashed currentColor;border-radius:5px;transition:background-color .25s,border-color .25s;
}
.box svg{width:1rem;height:1rem;fill:none;stroke:var(--monogram);stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round;
  stroke-dasharray:16;stroke-dashoffset:16;transition:stroke-dashoffset .35s ease-out .08s}
.check input:checked + .box{border-style:solid;border-color:var(--paper);background:var(--paper)}
.check input:checked + .box svg{stroke-dashoffset:0}
.check input:focus-visible + .box{outline:2px solid var(--sage-dark);outline-offset:4px}
@media (prefers-reduced-motion:reduce){.box svg{transition:none}}
.filters :focus-visible{outline:2px solid var(--sage-dark);outline-offset:2px}
.count{font-size:1rem;color:var(--sage-dark);margin-bottom:1rem}
.none{font-size:1.15rem;margin:1rem 0}
.none button{margin-left:.4rem}

/* the closer look you get before heading to Etsy */
.peek{
  width:min(960px,calc(100% - 2rem));max-height:calc(100% - 2rem);margin:auto;padding:0;border:0;border-radius:12px;
  background:var(--paper);color:var(--ink);box-shadow:0 20px 60px -20px rgba(40,30,20,.5);overflow:auto;
}
.peek::backdrop{background:rgba(58,49,40,.55)}
body:has(.peek[open]){overflow:hidden}
.peek-close{
  /* sticky so it stays reachable while scrolling; the negative margin lets it overlap the photo instead of taking a row */
  position:sticky;top:.6rem;display:block;margin:.6rem .6rem -3.2rem auto;z-index:2;width:2.6rem;height:2.6rem;border-radius:50%;
  font-size:1.8rem;line-height:1;cursor:pointer;color:var(--monogram);background:#f8f2ea;border:1px solid var(--rose);
}
/* minmax(0,…) stops the long thumbnail strip from widening its column */
.peek-body{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:1.6rem;padding:1.6rem}
.peek-media img{display:block;width:100%;height:auto;aspect-ratio:1;object-fit:cover;border-radius:8px;background:#f8f2ea}
/* main photo: tap/click to zoom, move to look around; swipe or arrows for the next photo */
.frame{position:relative;overflow:hidden;border-radius:8px;touch-action:pan-y}
.frame img{cursor:zoom-in;transition:transform .3s ease,opacity .4s ease-out;user-select:none;-webkit-user-select:none}
.frame.zoomed{touch-action:none}
.frame.zoomed img{transform:scale(2.4);cursor:zoom-out;border-radius:0}
.photo-nav{
  position:absolute;top:50%;translate:0 -50%;width:2.4rem;height:2.4rem;border-radius:50%;border:0;cursor:pointer;display:none;
  background:rgba(248,242,234,.88);color:var(--monogram);font-size:1.6rem;line-height:1;box-shadow:0 2px 8px -3px rgba(70,56,41,.45);
}
.photo-nav.prev{left:.5rem}
.photo-nav.next{right:.5rem}
.frame.multi .photo-nav{display:block}
.frame.zoomed .photo-nav{display:none}
.photo-nav:focus-visible{outline:2px solid var(--sage-dark);outline-offset:2px}
.thumbs{display:flex;gap:.5rem;overflow-x:auto;margin-top:.6rem;padding-bottom:.3rem;scrollbar-width:thin}
.thumbs button{flex:none;width:64px;height:64px;padding:0;border:2px solid transparent;border-radius:6px;overflow:hidden;cursor:pointer;background:none}
.thumbs button[aria-current="true"]{border-color:var(--monogram)}
.thumbs img{width:100%;height:100%;object-fit:cover;display:block}
.peek-info{display:flex;flex-direction:column;text-align:left;min-width:0}
.peek-cat{font-size:.95rem;letter-spacing:.08em;text-transform:uppercase;color:var(--sage-dark)}
.peek-info h2{font-size:clamp(1.5rem,3vw,2rem);font-weight:500;line-height:1.2;margin:.3rem 0 .5rem}
.peek-price{font-size:1.5rem;color:var(--monogram)}
.peek-note{margin-top:.6rem;padding:.5rem .8rem;border:1.5px dashed var(--rose);border-radius:6px;font-size:1.05rem}
.peek-stock{margin-top:.4rem;font-size:1.1rem;font-weight:500;color:#a2543b}
.peek-desc.wait{color:var(--sage-dark);font-style:italic}
/* this item's own reviews, right where someone is deciding */
.peek-reviews{margin:0 0 1rem;padding-top:.8rem;border-top:1.5px dashed var(--rule)}
.peek-reviews h3{font-size:1.15rem;font-weight:500;margin-bottom:.4rem}
.peek-reviews ul{list-style:none;display:grid;gap:.7rem}
.peek-reviews p{font-size:1.05rem;line-height:1.45;margin:.15rem 0;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}
.peek-reviews time{font-size:.9rem;color:var(--sage-dark)}
.peek-desc{white-space:pre-line;font-size:1.1rem;line-height:1.55;margin:1rem 0;max-height:320px;overflow:auto;padding-right:.4rem}
.peek-buy{
  margin-top:auto;align-self:flex-start;display:inline-flex;align-items:center;
  font-size:1.15rem;font-weight:500;letter-spacing:.04em;text-decoration:none;padding:.8rem 1.7rem;border-radius:999px;
  background:var(--monogram);color:var(--paper);
}
.peek-buy:hover{background:#5a4836}
.secure{display:flex;align-items:center;gap:.4rem;margin-top:.6rem;font-size:.98rem;color:var(--sage-dark)}
.secure svg{width:1rem;height:1rem;flex:none}
.peek :focus-visible{outline:2px solid var(--sage-dark);outline-offset:3px}
@media (max-width:720px){
  .peek-body{grid-template-columns:minmax(0,1fr);padding:1rem;gap:1rem}
  .peek-desc{max-height:none}
  .peek-buy{align-self:stretch;justify-content:center}
}

/* page numbers under the listings, like buttons sewn on a card */
.pager{display:flex;flex-wrap:wrap;justify-content:center;gap:.5rem;margin-top:2rem}
.pager[hidden]{display:none}
.pager button{
  min-width:2.6rem;height:2.6rem;padding:0 .8rem;border-radius:999px;cursor:pointer;
  font-family:var(--serif);font-size:1.1rem;font-weight:500;color:var(--monogram);
  background:rgba(255,255,255,.35);border:1px solid var(--rose);transition:background-color .2s;
}
.pager button:hover{background:rgba(195,159,147,.18)}
.pager button[aria-current="page"]{background:var(--monogram);border-color:var(--monogram);color:var(--paper)}
.pager button:disabled{opacity:.4;cursor:default;background:none}
.pager button:focus-visible{outline:2px solid var(--sage-dark);outline-offset:3px}

/* rating, sales and Star Seller line above the listings */
/* z-index keeps the Star Seller tooltip above the listings (each animated section is its own layer) */
.stats{position:relative;z-index:2;display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:.4rem 1.4rem;margin-top:1.4rem;font-size:1.2rem}
.stats[hidden]{display:none}
.stats strong{font-weight:500}
.stars{color:#e8a33d;letter-spacing:.05em}
.fav{color:var(--rose)}
/* turnaround from the Etsy announcement, on a little stitched tag */
.turnaround{
  display:inline-block;margin-top:1rem;padding:.4rem 1rem;border:1.5px dashed var(--rose);border-radius:999px;
  font-size:1.1rem;color:var(--monogram);background:rgba(255,255,255,.35);
}
.turnaround[hidden]{display:none}
.muted{color:var(--sage-dark)}
/* stats with hover / tap tooltips (reviews, sales, favorites, Star Seller) */
.has-tip{position:relative;display:inline-flex;align-items:center;gap:.4rem}
.has-tip button{
  display:inline-flex;align-items:center;gap:.4rem;font:inherit;color:var(--ink);
  background:none;border:0;padding:.15rem .2rem;cursor:help;border-radius:4px;
  text-decoration:underline dashed transparent;text-underline-offset:5px;transition:text-decoration-color .2s;
}
.has-tip button:hover{text-decoration-color:var(--rose)}
.has-tip button:focus-visible{outline:2px solid var(--sage-dark);outline-offset:2px}
.has-tip svg{width:1.4rem;height:1.4rem;flex:none}
/* star breakdown bars inside the reviews tooltip */
.bars{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:.25rem .5rem;margin:.6rem 0 .5rem;font-size:.95rem}
.bars .track{height:.5rem;border-radius:999px;background:#efe6dc;overflow:hidden}
.bars .fill{display:block;height:100%;border-radius:inherit;background:#e8a33d}
.tip .small{display:block;margin-top:.4rem;font-size:.92rem;color:var(--sage-dark)}
.tip{
  position:absolute;z-index:3;top:calc(100% + .6rem);left:50%;translate:-50% 0;width:min(300px,86vw);
  padding:1rem 1.1rem;background:#fff;color:var(--ink);text-align:left;font-size:1rem;line-height:1.45;
  border-radius:10px;box-shadow:0 4px 18px rgba(70,56,41,.2);
  opacity:0;visibility:hidden;transition:opacity .15s,visibility .15s;
}
.tip strong{display:block;font-size:1.1rem;margin-bottom:.35rem}
.has-tip:hover .tip,.has-tip:focus-within .tip{opacity:1;visibility:visible}
/* phones: stats wrap, so centre every tooltip under the whole stats block instead of its own stat (keeps it on screen) */
@media (max-width:640px){.has-tip{position:static}}

/* recent reviews, like little notes pinned under the shop */
.reviews{width:min(1100px,100%);margin-top:3rem}
.reviews[hidden]{display:none}
.reviews h2{font-family:var(--script);font-weight:400;font-size:clamp(2rem,4vw,2.8rem);color:var(--sage-dark)}
.reviews-src{font-size:1.05rem;color:var(--sage-dark);margin-top:.1rem}
.reviews-src a{color:var(--monogram);text-decoration-color:var(--rose);text-underline-offset:3px}
/* one row that scrolls sideways and snaps to each card */
/* side gutters hold the arrows, so they never sit on top of a review */
.review-wrap{position:relative;margin-top:1rem;padding:0 3.4rem}
.review-list{
  list-style:none;display:flex;align-items:flex-start;gap:1.2rem;overflow-x:auto;scroll-snap-type:x mandatory;scroll-behavior:smooth;
  padding:.3rem .3rem 1rem;scrollbar-width:thin;scrollbar-color:var(--rule) transparent;overscroll-behavior-x:contain;
}
.review-list:focus-visible{outline:2px solid var(--sage-dark);outline-offset:3px;border-radius:6px}
.review-list li{
  position:relative;flex:0 0 min(300px,80%);scroll-snap-align:start;
  padding:1.2rem 1.3rem 1rem;background:rgba(255,255,255,.45);border-radius:6px;text-align:left;
}
.review-arrow{
  /* centred on the cards: the row's last 1rem is the scrollbar */
  position:absolute;top:calc(50% - .5rem);translate:0 -50%;z-index:2;width:2.6rem;height:2.6rem;border-radius:50%;cursor:pointer;
  font-family:var(--serif);font-size:1.5rem;line-height:1;color:var(--monogram);
  background:var(--paper);border:1px solid var(--rose);box-shadow:0 2px 8px -3px rgba(70,56,41,.35);
}
.review-arrow:hover{background:#f8f2ea}
.review-arrow:disabled{opacity:0;pointer-events:none}
.review-arrow:focus-visible{outline:2px solid var(--sage-dark);outline-offset:3px}
.review-arrow.prev{left:0}
.review-arrow.next{right:0}
/* touch screens swipe; the arrows are for mice, so no gutters either */
@media (hover:none){.review-arrow{display:none}.review-wrap{padding:0}}
@media (prefers-reduced-motion:reduce){.review-list{scroll-behavior:auto}}
.review-list li::after{content:"";position:absolute;inset:5px;border:1.5px dashed var(--rule);border-radius:4px;pointer-events:none}
.review-list p{font-size:1.15rem;line-height:1.45;margin:.4rem 0 .5rem}
/* long reviews fold to 6 lines so one essay doesn't make the whole row tall */
.review-list p:not(.open){display:-webkit-box;-webkit-line-clamp:6;-webkit-box-orient:vertical;overflow:hidden}
.more{
  display:block;margin:-.2rem 0 .5rem;padding:0;background:none;border:0;cursor:pointer;
  font:inherit;font-size:1rem;color:var(--monogram);text-decoration:underline;text-decoration-color:var(--rose);text-underline-offset:3px;
}
.more:focus-visible{outline:2px solid var(--sage-dark);outline-offset:2px}
.review-list time{font-size:.95rem;color:var(--sage-dark)}

/* about: Bobbie's letter, written on a linen card */
.about,.contact{width:min(760px,100%);margin-top:1.4rem}
.about h2,.contact h2{font-family:var(--script);font-weight:400;font-size:clamp(2.2rem,4.5vw,3rem);color:var(--sage-dark)}
.note{
  position:relative;margin-top:1rem;padding:clamp(1.4rem,4vw,2.6rem);text-align:left;
  background:#f8f2ea;border-radius:8px;box-shadow:0 1px 0 rgba(70,56,41,.08),0 10px 24px -16px rgba(70,56,41,.5);
}
.note::after{content:"";position:absolute;inset:7px;border:1.5px dashed var(--rule);border-radius:5px;pointer-events:none}
.note p{font-size:clamp(1.15rem,2vw,1.3rem);line-height:1.65;margin-bottom:1em}
/* Bobbie Jo's photo, a tilted polaroid tucked into the letter */
.polaroid{
  float:right;width:min(40%,270px);margin:.2rem 0 1rem 1.6rem;padding:.6rem .6rem .4rem;
  background:#fff;border-radius:2px;rotate:2.5deg;box-shadow:0 2px 4px rgba(70,56,41,.12),0 12px 24px -12px rgba(70,56,41,.45);
  position:relative;z-index:1;transition:rotate .3s;
}
.polaroid:hover{rotate:0deg}
.polaroid img{display:block;width:100%;height:auto;aspect-ratio:4/5;object-fit:cover}
.polaroid figcaption{font-family:var(--script);font-size:1.5rem;line-height:1.3;text-align:center;color:var(--monogram);padding-top:.25rem}
@media (max-width:560px){.polaroid{float:none;width:min(78%,280px);margin:.4rem auto 1.4rem}}
.note .hello{font-family:var(--script);font-size:clamp(1.9rem,4vw,2.4rem);line-height:1.2;color:var(--monogram)}
.note .signoff{margin:1.6em 0 0}
.note .sig{font-family:var(--script);font-size:clamp(2.4rem,5vw,3rem);line-height:1;color:var(--monogram);margin:.2em 0 .1em}
.note .role{font-size:1rem;letter-spacing:.06em;color:var(--sage-dark);margin:0}

/* contact form, on the same linen card as the letter */
.contact-form{display:grid;gap:1rem;margin-top:1.4rem}
.contact-form .row{display:grid;grid-template-columns:1fr 1fr;gap:1rem}
.contact-form label{display:grid;gap:.35rem;font-size:1.05rem;font-weight:500;color:var(--monogram)}
.contact-form input,.contact-form select,.contact-form textarea{
  font:inherit;font-size:1.1rem;font-weight:400;color:var(--ink);padding:.6rem .8rem;
  background:#fff;border:1px solid var(--rule);border-radius:8px;width:100%;
}
.contact-form textarea{resize:vertical;min-height:8rem;line-height:1.5}
.contact-form :focus-visible{outline:2px solid var(--sage-dark);outline-offset:2px}
.send{
  justify-self:start;font:inherit;font-size:1.15rem;font-weight:500;letter-spacing:.04em;cursor:pointer;
  padding:.8rem 1.9rem;border:0;border-radius:999px;background:var(--monogram);color:var(--paper);transition:background-color .2s;
}
.send:hover{background:#5a4836}
.send:disabled{opacity:.6;cursor:wait}
.form-status{min-height:1.4em;font-size:1.05rem;margin:0}
.form-status.ok{color:#4f6b3a}
.form-status.err{color:#a2543b}
.or{margin-top:1.6rem;color:var(--sage-dark);font-size:1.05rem}
@media (max-width:560px){.contact-form .row{grid-template-columns:1fr}.send{justify-self:stretch}}

/* account: the same linen cards, stacked (signed in) or side by side (sign in / create account) */
.account{width:min(760px,100%);margin-top:1.4rem;display:grid;gap:1.4rem}
.account.cards{width:min(980px,100%);grid-template-columns:repeat(auto-fit,minmax(300px,1fr));align-items:start}
.account .note{margin-top:0}
.account h2{font-family:var(--script);font-weight:400;font-size:clamp(2rem,4vw,2.6rem);line-height:1.1;color:var(--sage-dark)}
.account .contact-form{margin-top:0}
.account small{font-weight:400;color:var(--sage-dark)}
.account .row.three{grid-template-columns:2fr 1fr 1fr}
.aside,.note .aside{font-size:1.05rem;color:var(--sage-dark);margin:0}
.account a{color:var(--monogram)}
.flash{margin:1rem auto 0;max-width:40em;padding:.7rem 1.2rem;border-radius:8px;font-size:1.1rem;background:#f8f2ea;border:1.5px dashed var(--rule)}
.flash.ok{color:#4f6b3a}
.flash.err{color:#a2543b}
.favs{list-style:none;display:grid;gap:.8rem;margin-top:.8rem}
.favs li{display:flex;align-items:center;gap:.6rem}
.favs a{flex:1;display:grid;grid-template-columns:72px 1fr auto;align-items:center;gap:.9rem;text-decoration:none;color:var(--ink);font-size:1.1rem}
.favs img{width:72px;height:72px;object-fit:cover;border-radius:6px}
.favs b{font-weight:500}
.unfav{font:inherit;font-size:1.5rem;line-height:1;width:2.2rem;height:2.2rem;border-radius:50%;border:1px solid var(--rule);background:#fff;color:var(--monogram);cursor:pointer}
.unfav:hover{background:var(--paper)}
.signout{justify-self:center}
.signout button{font:inherit;font-size:1.1rem;background:none;border:0;color:var(--monogram);text-decoration:underline;cursor:pointer;padding:.4rem}
@media (max-width:560px){.account .row.three{grid-template-columns:1fr}}
/* the favorites heart in the Store pop-up (signed-in customers only) */
.peek-fav{
  align-self:flex-start;display:inline-flex;align-items:center;gap:.5rem;margin:0 0 .8rem;cursor:pointer;
  font:inherit;font-size:1.05rem;color:var(--monogram);background:#fff;border:1px solid var(--rule);border-radius:999px;padding:.5rem 1.1rem;
}
.peek-fav svg{width:1.1rem;height:1rem;color:transparent;stroke:var(--rose);stroke-width:2;transition:color .2s}
.peek-fav[aria-pressed="true"] svg{color:var(--rose)}

/* ---- Design your own (/custom/): garment preview beside the choices ---- */
.designer{width:min(1000px,100%);display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);gap:1.6rem;align-items:start;margin-top:1.6rem;text-align:left}
.design-preview{margin:0;padding:1rem 1rem .8rem}
.design-preview svg{display:block;width:100%;height:auto}
.design-summary{text-align:center;font-size:1.05rem;color:var(--sage-dark);margin-top:.3rem}
/* garment: base colour, then knit speckle + side shading + light from above (clipped to the shape),
   folds, ribbed cuffs/waistband/collar, and topstitched seams */
.garment .body{fill:var(--g,#efe6d6);stroke:rgba(50,38,26,.4);stroke-width:1.4}
.garment .mesh-back{filter:brightness(.82)}
.garment .knit{mix-blend-mode:multiply;opacity:.55}
.garment .rib{fill:var(--g,#efe6d6);filter:brightness(.86);stroke:rgba(50,38,26,.35);stroke-width:1.2}
.garment .inner{fill:var(--g,#efe6d6);filter:brightness(.62)}
.garment .fold{fill:none;stroke:rgba(0,0,0,.13);stroke-width:2.2;stroke-linecap:round}
.garment .seam{fill:none;stroke:rgba(30,22,14,.3);stroke-width:1.1;stroke-dasharray:4 3}
.garment .pocket{fill:var(--g,#efe6d6);filter:brightness(.96);stroke:rgba(50,38,26,.3);stroke-width:1.2}
.garment .pocket-edge{fill:none;stroke:rgba(0,0,0,.22);stroke-width:3;stroke-linecap:round}
.garment .string{fill:none;stroke:#f3ede4;stroke-width:3.2;stroke-linecap:round}
.garment .aglet{fill:none;stroke:#cfc6b8;stroke-width:4;stroke-linecap:round}
.garment .grommet{fill:#d8d2c6;stroke:#9a9286;stroke-width:1.2}
/* thread edge (or the outline thread) drawn under the fill, so letters look raised like satin stitch */
#letters text{paint-order:stroke;stroke-linejoin:round}
@media (prefers-reduced-motion:no-preference){.stitch.sewing{animation:sewIn .9s steps(14,end)}}
@keyframes sewIn{from{clip-path:inset(0 100% 0 0)}to{clip-path:inset(0 0 0 0)}}
.design-controls{display:grid;gap:1.1rem}
.design-controls .field,.design-controls legend{display:grid;gap:.35rem;font-size:1.05rem;font-weight:500;color:var(--monogram)}
.design-controls legend{display:block;margin-bottom:.4rem}
#d-text,#d-text2{font:inherit;font-size:1.25rem;font-weight:400;color:var(--ink);padding:.6rem .8rem;background:#fff;border:1px solid var(--rule);border-radius:8px;width:100%}
#d-text:focus-visible,#d-text2:focus-visible{outline:2px solid var(--sage-dark);outline-offset:2px}
.design-controls small{font-weight:400;color:var(--sage-dark)}
/* size slider and arch toggle share a row */
.tune{display:flex;flex-wrap:wrap;align-items:flex-end;gap:1rem 1.6rem}
.tune .field{flex:1 1 12rem}
.tune output{font-weight:400;color:var(--sage-dark)}
#d-size{width:100%;accent-color:var(--monogram)}
.check.arch.off{opacity:.45;cursor:not-allowed}
.design-controls fieldset{border:0;padding:0;margin:0;min-width:0}
.picked{font-weight:400;color:var(--sage-dark)}
.opts{display:flex;flex-wrap:wrap;gap:.45rem}
.opt{position:relative;cursor:pointer}
/* the real radio stays for keyboards and screen readers (arrow keys move through each group) */
.opt input{position:absolute;opacity:0;width:1px;height:1px}
.opt > span:not(.dot):not(.visually-hidden){display:inline-block;padding:.4rem 1rem;border-radius:999px;border:1px solid var(--rose);background:rgba(255,255,255,.35);color:var(--monogram);font-size:1.02rem;transition:background-color .2s,color .2s}
.opt input:checked + span:not(.dot){background:var(--monogram);border-color:var(--monogram);color:var(--paper)}
.opt input:focus-visible + span{outline:2px solid var(--sage-dark);outline-offset:3px}
.swatch .dot{display:block;width:1.8rem;height:1.8rem;border-radius:50%;border:2px solid #fff;box-shadow:0 0 0 1px var(--rule);transition:box-shadow .2s,transform .15s}
/* "no outline": an empty swatch with a slash */
.swatch .dot.none{background:linear-gradient(135deg,transparent 46%,var(--rose) 46% 54%,transparent 54%),#fff}
.swatch:hover .dot{transform:scale(1.08)}
.swatch input:checked + .dot{box-shadow:0 0 0 2.5px var(--monogram)}
.design-request{margin-top:2.6rem}
.request-fields{border:0;padding:0;margin:0;min-width:0;display:grid;gap:1rem}
/* closed: the form stays visible but greyed and locked, under a woven "coming soon" label */
.design-request.closed .contact-form{position:relative}
.design-request.closed .request-fields{opacity:.4;filter:grayscale(1);pointer-events:none;user-select:none}
.soon-banner{
  position:absolute;left:50%;top:50%;translate:-50% -50%;rotate:-3deg;z-index:2;width:max-content;max-width:88%;
  display:grid;gap:.25rem;margin:0;padding:.9rem 1.8rem 1rem;text-align:center;font-size:1.05rem;line-height:1.35;color:#fbf7f1;
  background:repeating-linear-gradient(0deg,rgba(255,255,255,.07) 0 1px,transparent 1px 3px),var(--rose);
  border-radius:3px;box-shadow:0 2px 0 rgba(70,56,41,.15),0 10px 22px -10px rgba(70,56,41,.55);
}
.soon-banner strong{font-family:var(--script);font-weight:400;font-size:2.1rem;line-height:1}
/* stitched border inside the label */
.soon-banner::before{content:"";position:absolute;inset:5px 9px;border:1.5px dashed rgba(251,247,241,.75);border-radius:2px;pointer-events:none}
@media (max-width:760px){.designer{grid-template-columns:minmax(0,1fr)}}

.links{display:flex;flex-wrap:wrap;gap:1rem;justify-content:center;margin-top:2.2rem}
.links a{
  position:relative;
  display:inline-flex;align-items:center;gap:.6rem;
  font-family:var(--serif);font-size:1.15rem;font-weight:500;letter-spacing:.04em;
  text-decoration:none;padding:.8rem 1.7rem;border-radius:999px;
  transition:background-color .2s, color .2s, border-color .2s;
}
.links svg{width:1.1rem;height:1.1rem;flex:none}
.etsy{background:var(--monogram);color:var(--paper);border:1px solid var(--monogram)}
.etsy:hover{background:#5a4836;border-color:#5a4836}
.fb{color:var(--monogram);border:1px solid var(--rose);background:rgba(255,255,255,.35)}
.fb:hover{background:rgba(195,159,147,.18)}
/* stitched edge inside each button, like a sewn-on patch */
.links a::after{
  content:"";position:absolute;inset:5px;border-radius:inherit;pointer-events:none;
  border:1.5px dashed currentColor;opacity:.35;transition:opacity .2s;
}
.links a:hover::after{opacity:.75}
.links a:focus-visible{outline:2px solid var(--sage-dark);outline-offset:3px}

.flourish{width:220px;height:auto;color:var(--sage);margin-top:2.6rem}

footer{position:relative;z-index:1;text-align:center;padding:0 1rem 1.5rem;font-size:.95rem;color:var(--sage-dark);margin-top:-3rem}
.etsy-note{font-size:.8rem;max-width:40em;margin:.4rem auto 0;opacity:.8}
.credit,.friends{font-size:.85rem;margin-top:.5rem}
.friends{font-size:.95rem}
.credit a,.friends a{color:inherit;text-decoration-color:var(--rose);text-underline-offset:3px}
.credit a:hover,.friends a:hover{color:var(--monogram)}

/* one gentle entrance */
@media (prefers-reduced-motion:no-preference){
  main > *{opacity:0;animation:rise 1.1s ease-out forwards}
  main > *:nth-child(2){animation-delay:.12s}
  main > *:nth-child(3){animation-delay:.24s}
  main > *:nth-child(4){animation-delay:.36s}
  main > *:nth-child(5){animation-delay:.5s}
  main > *:nth-child(n+6){animation-delay:.65s}
  /* the slow staggered intro is for Home; other pages just fade up quickly */
  body:not(.page-home) main > *{animation-duration:.45s}
  body:not(.page-home) main > *:nth-child(n){animation-delay:0s}
  @keyframes rise{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}

  /* the divider stitches itself, one stitch at a time, outward from the heart */
  .divider::before{clip-path:inset(0 0 0 100%);animation:sewLeft 1.4s steps(18,end) .9s forwards}
  .divider::after{clip-path:inset(0 100% 0 0);animation:sewRight 1.4s steps(18,end) .9s forwards}
  @keyframes sewLeft{to{clip-path:inset(0 0 0 0)}}
  @keyframes sewRight{to{clip-path:inset(0 0 0 0)}}
  .divider .heart{animation:pop .5s ease-out 2.35s}
  @keyframes pop{50%{transform:scale(1.3)}}

  /* hoop gives a little wiggle when hovered, like it's being tightened */
  .hoop:hover svg{animation:wiggle .6s ease-in-out}
  @keyframes wiggle{25%{transform:rotate(-2deg)}75%{transform:rotate(2deg)}}

  /* cross-stitch left wherever someone clicks */
  .xstitch{position:fixed;width:18px;height:18px;margin:-9px 0 0 -9px;pointer-events:none;z-index:5;animation:stitchIn 1.6s ease-out forwards}
  .xstitch path{stroke-dasharray:18;stroke-dashoffset:18;animation:thread .35s ease-out forwards}
  .xstitch path:last-child{animation-delay:.18s}
  @keyframes thread{to{stroke-dashoffset:0}}

  @keyframes stitchIn{0%,60%{opacity:1}100%{opacity:0;transform:translateY(-6px)}}

  /* listings deal themselves in, one after another, on load, filter and page change */
  .item{animation:cardIn .45s cubic-bezier(.2,.7,.3,1) both;animation-delay:calc(var(--i,0) * 30ms)}
  @keyframes cardIn{from{opacity:0;transform:translateY(14px) scale(.97)}}
  .chips button,.pager button,.check{transition:background-color .25s,color .25s,border-color .25s,transform .15s}
  .chips button:active,.pager button:active,.check:active{transform:scale(.95)}
  .count{transition:opacity .2s}

  /* closer look: rises in over a fading backdrop, details follow, sinks away on close */
  .peek[open]{animation:peekIn .35s cubic-bezier(.2,.8,.3,1)}
  .peek[open]::backdrop{animation:fadeIn .35s ease-out}
  .peek.closing{animation:peekOut .2s ease-in forwards}
  .peek.closing::backdrop{animation:fadeOut .2s ease-in forwards}
  @keyframes peekIn{from{opacity:0;transform:translateY(18px) scale(.96)}}
  @keyframes peekOut{to{opacity:0;transform:translateY(12px) scale(.97)}}
  @keyframes fadeIn{from{opacity:0}}
  @keyframes fadeOut{to{opacity:0}}
  .peek[open] .peek-info > *{animation:rise .5s ease-out both}
  .peek[open] .peek-info > :nth-child(2){animation-delay:.05s}
  .peek[open] .peek-info > :nth-child(3){animation-delay:.1s}
  .peek[open] .peek-info > :nth-child(n+4){animation-delay:.15s}
  .thumbs button{transition:border-color .2s,transform .2s}
  .thumbs button:hover{transform:translateY(-2px)}

  /* the personalizable box pops as its check is stitched in */
  .check input:checked + .box{animation:boxPop .3s ease-out}
  @keyframes boxPop{50%{transform:scale(1.18)}}
}
/* photos fade in as they arrive instead of popping in */
.item img,.peek-media img{transition:opacity .4s ease-out}
.item img:not(.loaded){opacity:0}
@media (prefers-reduced-motion:reduce){.item img,.peek-media img{transition:none}}

@media (max-width:640px){
  .spray{height:34vh;opacity:.7}
  .links a{width:100%;max-width:300px;justify-content:center}
  .grid{grid-template-columns:repeat(2,1fr);gap:.9rem}
  .item h3{font-size:1rem}
  /* phones: search on its own line, price and sort share the next */
  .filter-row{flex-wrap:wrap}
  .filter-row input[type=search]{flex-basis:100%}
  .filter-row select{flex:1 1 0;min-width:0}
}
/* small phones: shrink the hoop a touch and keep the sprigs from squishing */
@media (max-width:400px){
  .crest{gap:.4rem}
  .hoop{width:128px}
  .sprig{width:42px;flex:none}
  .spray{opacity:.5}
}
