:root{--grass:#6E8B6A;--white:#fff;--leaf:#E7E2C8;--moss:#C5B48A;--forest:#3E4A3A;--logo:#6B1414;--blush:#F3D2C4;--ink:#3A332C;--pop:#3EAE4A}
*{box-sizing:border-box}html{color-scheme:only light}html,body{background:#fff}body{margin:0;font-family:"Nunito",system-ui,sans-serif;line-height:1.7;color:var(--ink)}
body.hello-open{overflow:hidden}
.hello{position:fixed;inset:0;z-index:200;display:grid;place-items:center;background:#3A4528;transition:opacity .9s ease}
.hello.out{opacity:0;pointer-events:none}
.hello[hidden]{display:none}
.hello-word{margin:0;font-family:"Fraunces",serif;font-weight:560;font-style:italic;font-size:clamp(4.4rem,18vw,10rem);color:#fff;letter-spacing:-.04em;line-height:1}
.hello-caret{display:inline-block;width:.045em;height:.78em;margin-left:.08em;background:#fff;vertical-align:-.02em;animation:blink .85s steps(1) infinite}
.hello.out .hello-caret,.hello.ready .hello-caret{display:none}
.hello-invite{display:block;margin:1.2rem auto 0;border:1px solid rgba(255,255,255,.55);background:transparent;color:#fff;font-family:"Fraunces",serif;font-style:italic;font-size:clamp(1.35rem,3vw,1.7rem);padding:.35rem 1.25rem .45rem;border-radius:999px;opacity:0;pointer-events:none;cursor:pointer}
.hello-invite[hidden]{display:none}
.hello.ready{cursor:pointer}
.hello.ready .hello-invite{opacity:1;pointer-events:auto;transition:opacity .5s ease;animation:invite 2.6s ease-in-out infinite}
@keyframes invite{50%{transform:translateY(-5px)}}
@keyframes blink{50%{opacity:0}}
a{color:inherit}
.banner{background:var(--forest);color:var(--leaf);overflow:hidden;white-space:nowrap;font-size:.9rem;padding:.5rem 0}
.banner .track{display:inline-flex;animation:scroll 40s linear infinite}.banner span{padding-right:3rem}
@keyframes scroll{to{transform:translateX(-50%)}}
@media (prefers-reduced-motion:reduce){.banner .track{animation:none}}
header.top{display:flex;align-items:center;justify-content:space-between;gap:.75rem;padding:.7rem 1rem;background:#fff;position:sticky;top:0;z-index:20;backdrop-filter:blur(10px);box-shadow:0 8px 24px #3e4a3a0d}
.wordmark{font-family:"Fraunces",serif;font-weight:560;font-style:italic;font-size:clamp(1.9rem,4vw,2.4rem);color:var(--forest);text-decoration:none;letter-spacing:-.03em;line-height:1}
.toplinks{display:flex;align-items:center;gap:.15rem;flex-wrap:wrap;justify-content:flex-end}
.toplinks a{text-decoration:none;padding:.4rem .75rem;border-radius:999px;font-weight:700;color:var(--forest)}
.toplinks a:hover{background:#fff;transform:translateY(-1px)}
main{padding:1rem;max-width:1100px;margin-inline:auto}
.hero{background:var(--moss) url(img/hero.jpg) center/cover;color:var(--white);border-radius:16px;padding:4rem 1.5rem;text-align:center}
.hero h1{font-size:clamp(1.8rem,6vw,3rem);margin:0}.btn{display:inline-block;background:var(--grass);color:var(--white);padding:.7rem 1.4rem;border-radius:999px;text-decoration:none;font-weight:600;margin-top:1rem;border:0}
.grid{display:grid;grid-template-columns:repeat(2,1fr);gap:1rem}@media(min-width:700px){.grid{grid-template-columns:repeat(4,1fr)}}
.card{background:#fff;border-radius:12px;overflow:hidden;border:1px solid #31572c22}.ph{aspect-ratio:1;background:var(--leaf);display:grid;place-items:center;color:var(--moss)}
.card div.t{padding:.6rem}.card small{color:var(--grass)}
section{margin:2rem 0}section[id]{scroll-margin-top:5.5rem}h2{color:var(--forest)}
form{display:grid;gap:.8rem;max-width:640px}form label{display:grid;gap:.3rem;font-weight:700}input,textarea,select{padding:.7rem;border:1px solid var(--moss);border-radius:14px;font:inherit;background:#fff}
details{background:#fff;border:1px solid #31572c22;border-radius:10px;padding:.8rem;margin:.6rem 0}summary{font-weight:600;cursor:pointer}
body>footer{background:var(--forest);color:var(--white);padding:1.5rem;text-align:center;font-size:.9rem}

main{width:100%}
h1,h2,h3{font-family:"Fraunces",serif;font-weight:560;color:var(--forest);line-height:1.2}h1{font-size:clamp(2rem,5vw,3rem)}h2{font-size:clamp(1.7rem,3vw,2.15rem)}h3{font-size:1.35rem;font-weight:620}
@media(min-width:1000px){body{font-size:17px}main{max-width:1200px}section{margin:64px 0}}
.btn:hover{background:var(--forest)}.hero .btn{background:var(--leaf);color:var(--forest)}
.hero{position:relative;isolation:isolate;border-radius:16px}.hero:before{content:"";position:absolute;inset:0;background:linear-gradient(#31572c66,#31572caa);border-radius:16px;z-index:-1}
.hero h1{font-size:clamp(2.1rem,5vw,3.1rem);color:#fffaf3}.card{border-radius:16px;box-shadow:0 4px 16px rgba(49,87,44,.08)}
.cat-banner{background:center/cover;border-radius:16px;min-height:160px;display:flex;align-items:flex-end;padding:16px 24px;position:relative;isolation:isolate}.cat-banner:before{content:"";position:absolute;inset:0;border-radius:16px;background:linear-gradient(transparent,#31572ccc);z-index:-1}.cat-banner h1{color:var(--white);margin:0}
@media(min-width:1000px){.cat-banner{min-height:240px}}
.tiles{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}@media(min-width:700px){.tiles{gap:16px}}@media(min-width:700px){.tiles{grid-template-columns:repeat(3,1fr)}}
.tile{position:relative;aspect-ratio:1;background:center/cover;border-radius:16px;display:flex;align-items:flex-end;text-decoration:none;overflow:hidden;box-shadow:0 4px 16px rgba(49,87,44,.08);transition:transform .35s cubic-bezier(.2,.8,.2,1)}.tile:hover{transform:translateY(-6px) rotate(-.4deg)}
.tile > span:not(.tile-bloom){width:100%;background:#fbf6eef2;color:var(--forest);padding:.55rem .7rem;font-family:"Fraunces",serif;font-size:clamp(1rem,2vw,1.35rem);font-weight:560;line-height:1.2;text-align:left}
.tile-bloom{position:absolute;top:8px;right:8px;width:42px;height:42px;opacity:0;transform:scale(.35) rotate(-16deg);transition:transform .4s cubic-bezier(.2,1.35,.28,1),opacity .25s;filter:drop-shadow(0 4px 4px #3e4a3a22);pointer-events:none}
.tile:hover .tile-bloom,.tile:focus-visible .tile-bloom{opacity:1;transform:scale(1) rotate(8deg)}
.tile-bloom svg{width:100%;height:100%;display:block}
.panel{position:relative;border:1px solid #3e4a3a18;border-radius:32px;padding:1.35rem 1.15rem 1.2rem;background:#fff;box-shadow:0 18px 40px #3e4a3a12}
.panel:before{content:"";position:absolute;inset:11px;border:1.5px dashed #6e8b6a55;border-radius:22px;pointer-events:none;z-index:0}
.panel>*{position:relative;z-index:1}
#shop.panel,#hats.panel,#bags.panel,#accessories.panel,#about.panel,#faq.panel{background:#fff}
.panel-head{margin:0 0 .9rem;padding-bottom:.7rem;border-bottom:1.5px dashed #c5b48aaa}
.panel-kicker{margin:0;font-size:.72rem;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--grass)}
.panel h2{margin:0;font-style:italic}
.about-body{display:grid;gap:1.15rem;align-items:center}
.about-photo{margin:0;border-radius:28px;overflow:hidden;background:#efe4d4;box-shadow:0 16px 30px #3e4a3a18;aspect-ratio:4/5}
.about-photo img{width:100%;height:100%;object-fit:cover;display:block;transform:scale(1.06);animation:about-drift 8s ease-in-out infinite}
@keyframes about-drift{50%{transform:scale(1.12) translateY(-1.5%)}}
.about-copy p{margin:.7rem 0 0}
.about-copy p:first-child{margin-top:0}
@media(min-width:760px){.about-body{grid-template-columns:minmax(200px,.72fr) 1.3fr;gap:1.7rem}}
.panel details:last-of-type{margin-bottom:0}

header .cart-btn{position:relative;top:auto;right:auto;transform:none;width:48px;height:48px;border:0;background:transparent;color:var(--forest);cursor:pointer;display:grid;place-items:center}
.cart-btn svg{width:28px;height:28px}
.cart-count{position:absolute;top:4px;right:2px;min-width:1.2rem;height:1.2rem;padding:0 .3rem;border-radius:999px;background:var(--grass);color:#fff;font-size:.72rem;font-weight:700;line-height:1.2rem;text-align:center}
.cart-count.bump{animation:bump .35s ease}
@keyframes bump{50%{transform:scale(1.35)}}
.grid.shop-grid{grid-template-columns:1fr;justify-content:start}
@media(min-width:700px){.grid.shop-grid{grid-template-columns:repeat(auto-fit,minmax(240px,280px))}}
.product-card{position:relative;background:#fff;border:1px solid #31572c22;border-radius:16px;overflow:visible;box-shadow:0 4px 16px rgba(49,87,44,.08);display:flex;flex-direction:column;animation:rise .55s ease both,glow 4.8s ease-in-out infinite;transition:transform .35s cubic-bezier(.2,.8,.2,1),box-shadow .35s}
.shop-grid .product-card:nth-child(2){animation-delay:.05s,0s}
.shop-grid .product-card:nth-child(3){animation-delay:.1s,0s}
.shop-grid .product-card:nth-child(4){animation-delay:.15s,0s}
.product-card:hover,.product-card.show-blooms{z-index:3}
@keyframes glow{0%,100%{box-shadow:0 4px 16px rgba(49,87,44,.08)}50%{box-shadow:0 12px 28px rgba(64,145,108,.16)}}
.product-card.settled{animation:glow 4.8s ease-in-out infinite}
.product-card.lift{animation:none;transform:translateY(-10px) rotate(-.5deg);box-shadow:0 18px 36px rgba(49,87,44,.18)}
.product-card.lift .preview img{transform:scale(1.06)}
.preview{position:relative;aspect-ratio:1;background:var(--leaf);overflow:hidden;touch-action:pan-y;cursor:pointer;border-radius:15px 15px 0 0}
.preview img{width:100%;height:100%;object-fit:cover;display:block;transform:scale(1);transition:opacity .25s ease,transform .45s ease}
.preview img.fading{opacity:.35}
.handmade-pill{position:absolute;top:10px;left:10px;background:var(--leaf);color:var(--forest);font-size:.72rem;font-weight:700;letter-spacing:.02em;padding:.2rem .55rem;border-radius:999px}
.nav-photo{position:absolute;top:50%;transform:translateY(-50%);width:36px;height:36px;border:0;border-radius:50%;background:#fffdf8ee;color:var(--forest);font-size:1.5rem;line-height:1;cursor:pointer;box-shadow:0 2px 8px #0002}
.nav-photo.prev{left:8px}.nav-photo.next{right:8px}
.dots{position:absolute;left:0;right:0;bottom:8px;display:flex;justify-content:center;gap:6px}
.dot{width:28px;height:28px;padding:0;border:0;border-radius:50%;background:transparent;cursor:pointer;position:relative}
.dot:before{content:"";position:absolute;left:50%;top:50%;width:11px;height:11px;border-radius:50%;transform:translate(-50%,-50%);background:#fff;box-shadow:0 0 0 1.5px var(--forest)}
.dot.on:before{background:var(--leaf);width:13px;height:13px}
.product-copy{padding:.75rem .85rem 1rem;display:flex;flex-direction:column;gap:.55rem;background:#fff;border-radius:0 0 15px 15px}
.blooms{position:absolute;inset:0;pointer-events:none;z-index:4}
.bloom{position:absolute;opacity:0;transform:scale(.25) rotate(var(--spin,0deg));transition:transform .45s cubic-bezier(.2,1.35,.28,1),opacity .28s;filter:drop-shadow(0 4px 4px #3e4a3a22)}
.bloom svg{width:100%;height:100%;display:block}
.product-card:hover .bloom,.product-card.show-blooms .bloom,.product-card:focus-within .bloom{opacity:1;transform:scale(1) rotate(var(--spin,0deg))}
.sound-btn{width:44px;height:44px;border:0;background:transparent;color:var(--forest);cursor:pointer;display:grid;place-items:center;border-radius:50%}
.sound-btn svg{width:26px;height:26px}
.sound-btn .icon-off{display:none}
.sound-btn.is-muted .icon-on{display:none}
.sound-btn.is-muted .icon-off{display:block}
.sound-btn:hover{background:#fff}
.product-open{all:unset;cursor:pointer;display:grid;gap:.15rem}
.product-open:focus-visible,.swatch:focus-visible,.nav-photo:focus-visible,.dot:focus-visible,.size-opt:focus-visible,.cart-btn:focus-visible,.icon-x:focus-visible,.add-btn:focus-visible{outline:2px solid var(--grass);outline-offset:2px}
.look-label{font-size:.75rem;font-weight:700;color:var(--grass);letter-spacing:.03em;text-transform:uppercase}
.product-open h3{margin:0;font-family:"Fraunces",serif;font-size:1.35rem;font-weight:620;color:var(--forest)}
.blurb{margin:0;color:#31572ccc;font-size:.92rem}
.price{margin:0;font-weight:700;color:var(--grass)}
.swatches{display:flex;flex-wrap:wrap;gap:.35rem;align-items:center}
.swatch{display:inline-block;width:22px;height:22px;border-radius:50%;border:2px solid #fff;box-shadow:0 0 0 1px #31572c44;padding:0}
.swatch.on{box-shadow:0 0 0 2px var(--forest)}
.swatch.lg{width:36px;height:36px}
.modal[hidden],.cart-drawer[hidden],.cart-backdrop[hidden]{display:none}
.modal{position:fixed;inset:0;z-index:70;display:grid;place-items:end center}
.modal-backdrop,.cart-backdrop{position:absolute;inset:0;background:#1c3318aa;opacity:0;transition:opacity .25s}
.modal.show .modal-backdrop,.cart-backdrop.show{opacity:1}
.modal-panel{position:relative;background:var(--white);width:100%;max-height:min(100%,920px);overflow:auto;border-radius:20px 20px 0 0;transform:translateY(16px);opacity:0;transition:transform .28s ease,opacity .28s;z-index:1;display:grid}
.modal.show .modal-panel{transform:none;opacity:1}
.modal-gallery{position:relative;background:var(--leaf);min-height:220px;overflow:hidden}
.modal-gallery img{width:100%;height:42vh;object-fit:cover;display:block}
@media(min-width:800px){
  .modal{place-items:center}
  .modal-panel{width:min(960px,calc(100% - 2rem));height:min(88vh,780px);max-height:min(88vh,780px);border-radius:20px;grid-template-columns:1.05fr .95fr;grid-template-rows:minmax(0,1fr);overflow:hidden}
  .modal-info{overflow:auto}
  .modal-gallery{height:100%;min-height:0}
  .modal-gallery img{position:absolute;inset:0;width:100%;height:100%;max-height:none}
}
.modal-info{padding:1.1rem 1.15rem 1.3rem}
.modal-x{position:absolute;top:10px;right:10px;z-index:2;background:#fffdf8ee}
.eyebrow{margin:0;color:var(--moss);font-weight:700;letter-spacing:.04em;text-transform:uppercase;font-size:.75rem}
.modal-info h2{margin:.2rem 0 .35rem;font-size:clamp(1.6rem,3vw,2.1rem)}
.desc{margin:.4rem 0 .8rem}
.choice{border:0;margin:0 0 .8rem;padding:0}
.choice legend{font-weight:700;padding:0;margin-bottom:.4rem}
.chosen{color:var(--grass);font-weight:700}
.fine{margin:.35rem 0 0;color:#31572ccc;font-size:.85rem}
.size-row{display:flex;flex-wrap:wrap;gap:.5rem}
.size-opt{min-width:76px;min-height:48px;border-radius:12px;border:1.5px solid var(--moss);background:#fff;color:var(--forest);cursor:pointer;padding:.35rem .6rem;display:grid;place-items:center;line-height:1.1}
.size-opt small{font-weight:600;color:#31572caa}
.size-opt.on{background:var(--forest);color:#fff;border-color:var(--forest)}
.size-opt.on small{color:var(--leaf)}
.color-opt{display:inline-flex;flex-direction:row;align-items:center;gap:.45rem;padding:.4rem .75rem}
.color-opt .swatch{width:16px;height:16px;pointer-events:none}
.size-opt.on .swatch{box-shadow:0 0 0 1px #fff}
.size-row.need{animation:shake .35s linear}
@keyframes shake{25%{transform:translateX(-4px)}50%{transform:translateX(4px)}75%{transform:translateX(-3px)}}
.modal-buy{display:flex;gap:.6rem;align-items:center;position:sticky;bottom:0;background:linear-gradient(#faf9f600,var(--white) 20%);padding-top:.6rem}
.qty{display:inline-flex;align-items:center;border:1px solid var(--moss);border-radius:999px;overflow:hidden;background:#fff}
.qty button{width:40px;height:40px;border:0;background:transparent;color:var(--forest);font-size:1.2rem;cursor:pointer}
.qty span{min-width:1.2rem;text-align:center;font-weight:700}
.add-btn{flex:1;text-align:center;margin-top:0}
.view-cart{border:0;background:transparent;color:var(--forest);font:inherit;font-weight:700;text-decoration:underline;cursor:pointer;padding:.35rem .2rem}
.icon-x{width:40px;height:40px;border:0;border-radius:50%;background:#fff;color:var(--forest);font-size:1.5rem;cursor:pointer;line-height:1}
.cart-backdrop{position:fixed;z-index:74}
.cart-drawer{position:fixed;z-index:75;top:0;right:0;height:100%;width:min(420px,100%);background:var(--white);box-shadow:-8px 0 30px #0002;display:flex;flex-direction:column;transform:translateX(104%);transition:transform .28s ease}
.cart-drawer.show{transform:none}
.cart-head{display:flex;align-items:center;justify-content:space-between;padding:1rem 1rem .4rem}
.cart-head h2{margin:0}
.cart-body{flex:1;overflow:auto;padding:0 1rem 1rem}
.cart-empty{margin-top:.4rem}
.cart-line{display:grid;grid-template-columns:72px 1fr auto auto;gap:.6rem;align-items:center;padding:.7rem 0;border-bottom:1px solid #31572c18}
.cart-line img{width:72px;height:72px;object-fit:cover;border-radius:10px;background:var(--leaf)}
.cart-line strong{display:block}
.cart-line small{color:#31572ccc}
.line-price{font-weight:700;color:var(--grass)}
.line-remove{border:0;background:transparent;font-size:1.4rem;color:var(--forest);cursor:pointer;width:36px;height:36px}
.cart-foot{padding:1rem;border-top:1px solid #31572c18}
.cart-total{display:flex;justify-content:space-between;margin-bottom:.6rem;font-size:1.05rem}
.cart-wa{width:100%;text-align:center;margin-top:0}
.cart-note{margin:.55rem 0 0;font-size:.85rem;color:#31572ccc}
.toast{position:fixed;left:50%;bottom:1.2rem;transform:translateX(-50%) translateY(12px);background:var(--forest);color:#fff;padding:.7rem 1rem;border-radius:999px;opacity:0;pointer-events:none;transition:.25s;z-index:300;max-width:calc(100% - 2rem);text-align:center}
.toast.show{opacity:1;transform:translateX(-50%) translateY(0)}
body.modal-open,body.cart-open{overflow:hidden}
@media(max-width:699px){
  header.top{padding:.55rem .55rem;gap:.3rem}
  .wordmark{font-size:1.65rem}
  .toplinks{flex-wrap:nowrap;gap:0}
  .sound-btn,header .cart-btn{width:40px;height:40px}
  .nav-photo{width:42px;height:42px}
  .modal-buy{flex-wrap:wrap}
  .view-cart{width:100%;text-align:center}
  .toplinks a{padding:.3rem .28rem;font-size:.82rem}
}
.lede{max-width:40rem}
fieldset.choice{border:0;margin:0;padding:0}
fieldset.choice legend{font-weight:700;padding:0;margin-bottom:.4rem}
.choice-picks{display:flex;flex-wrap:wrap;gap:.55rem}
.type-opt,.size-pick,.ship-opt,.kind-opt{border:1.5px solid #3e4a3a22;background:#fff;border-radius:18px;cursor:pointer;color:var(--forest);font:inherit;font-weight:700}
.type-opt{display:grid;justify-items:center;gap:.35rem;padding:.45rem .55rem .6rem;min-width:92px}
.type-opt img{width:68px;height:68px;object-fit:cover;border-radius:50%;box-shadow:0 6px 16px #3e4a3a22}
.type-opt.on,.size-pick.on,.ship-opt.on,.kind-opt.on,.yarn.on{border-color:var(--forest);box-shadow:0 8px 18px #3e4a3a1f}
.subnav{display:flex;flex-wrap:wrap;gap:.5rem;margin:.15rem 0 1.15rem}
.shelf-tab{border:1.5px dashed transparent;background:transparent;color:#6b6258;font-family:"Fraunces",serif;font-style:italic;font-weight:560;font-size:1.08rem;line-height:1;padding:.5rem .9rem;border-radius:999px;cursor:pointer;transition:background .28s ease,color .28s ease,transform .28s ease,box-shadow .28s ease,border-color .28s ease}
.shelf-tab:hover{color:var(--forest);background:rgba(255,253,248,.7)}
.shelf-tab.on{background:#fffdf8;color:var(--forest);border-color:var(--grass);box-shadow:0 8px 16px #3e4a3a16;transform:translateY(-2px)}
.kind-label{margin:0;font-size:.82rem;font-weight:700;color:var(--grass)}
.kind-hint{margin:.1rem 0 .45rem;color:#3e4a3aaa}
.shop-empty{margin:.2rem 0 0}
.shop-empty a{color:var(--forest);font-weight:700}
.size-pick,.ship-opt{min-height:48px;padding:.55rem .9rem}
.yarn{width:44px;height:44px;border-radius:50%;border:3px solid #fff;box-shadow:0 0 0 1px #3e4a3a55;cursor:pointer;padding:0}
.yarn.on{box-shadow:0 0 0 3px var(--forest)}
.soft-card{background:#fffdf8;border:1px solid #3e4a3a14;border-radius:24px;padding:1.1rem;box-shadow:0 10px 30px #3e4a3a0f}
.shop-number{display:inline-block;margin-top:.3rem;font-weight:700;color:var(--forest)}
.pay[hidden]{display:none}
.pay{position:fixed;inset:0;z-index:85;display:grid;place-items:end center;background:#3e4a3acc}
.pay-card{background:var(--white);width:min(520px,100%);max-height:min(92vh,760px);overflow:auto;border-radius:24px 24px 0 0;padding:1.1rem 1.1rem 1.4rem;box-shadow:0 20px 50px #0003}
.pay-card .icon-x{float:right}
@media(min-width:700px){.pay{place-items:center}.pay-card{border-radius:24px}}
.order-no{font-family:"Fraunces",serif;font-size:clamp(1.8rem,5vw,2.4rem);margin:.2rem 0;letter-spacing:-.02em;color:var(--forest)}
.saved-choices{display:flex;flex-wrap:wrap;gap:.3rem;margin-top:.2rem}
.saved-chip{display:inline-flex;align-items:center;gap:.3rem;background:#fff;border:1.5px solid #3eae4a44;border-radius:999px;padding:.1rem .5rem;font-size:.82rem;font-weight:600}
.saved-chip .swatch{width:14px;height:14px}
.estimate{background:#fff;border-radius:22px;padding:.85rem 1rem;box-shadow:0 0 0 1.5px #c5b48a,0 10px 24px #3e4a3a12}
.estimate-label{font-weight:700;color:var(--forest)}
.estimate strong{display:block;font-family:"Fraunces",serif;font-weight:560;font-size:2.1rem;line-height:1.15;color:var(--forest)}
.estimate strong.pop{animation:bump .35s ease}
.estimate p{margin:.15rem 0 0;color:#3e4a3acc}
.atelier{position:relative;overflow:hidden;background:#fff;
  border:1px solid #3e4a3a14;border-radius:32px;padding:1.5rem 1.05rem 1.25rem;box-shadow:0 22px 50px #3e4a3a14}
.atelier:before{content:"";position:absolute;inset:11px;border:1.5px dashed #6e8b6a66;border-radius:24px;pointer-events:none;z-index:0}
.atelier-flowers{position:absolute;inset:0;pointer-events:none;z-index:0}
.atelier-head,.atelier-grid{position:relative;z-index:1}
.float-flower{position:absolute;width:46px;height:46px;opacity:.92;filter:drop-shadow(0 6px 6px #3e4a3a14);animation:bob 7s ease-in-out infinite}
.float-flower.a{top:10px;right:16px;width:54px;height:54px}
.float-flower.b{bottom:16px;left:14px;width:42px;height:42px;animation-delay:-2s}
.float-flower.c{top:12px;left:46%;width:28px;height:28px;animation-delay:-4s;opacity:.8}
.float-flower.d{bottom:22px;right:28px;width:40px;height:40px;animation-delay:-1s}
.float-flower.e{bottom:28%;left:10px;width:30px;height:30px;animation-delay:-3s;opacity:.7}
@keyframes bob{0%,100%{transform:translateY(0) rotate(-8deg)}50%{transform:translateY(-12px) rotate(8deg)}}
.atelier-head{position:relative;max-width:38rem;margin-bottom:1.15rem}
.atelier-kicker{margin:0 0 .2rem;font-weight:700;letter-spacing:.14em;text-transform:uppercase;font-size:.74rem;color:var(--grass)}
.atelier h2{margin:.1rem 0 0;font-style:italic}
.atelier-lede{margin:.4rem 0 0;max-width:34rem}
.atelier-grid{position:relative;display:flex;flex-direction:column-reverse;gap:1.15rem}
#custom form{max-width:none;gap:1rem}
#custom input{background:#fffdf8;border:1.5px solid #e6d3bc;border-radius:16px;padding:.85rem .95rem;box-shadow:inset 0 1px 0 #fff}
#custom input:focus{outline:none;border-color:var(--grass);box-shadow:0 0 0 4px #6e8b6a24}
#custom fieldset.choice legend{font-family:"Fraunces",serif;font-weight:560;font-size:1.15rem;margin-bottom:.55rem}
.who{display:grid;gap:.75rem}
#custom .type-opt{min-width:104px;padding:.5rem .5rem .65rem;background:#fffdf8ee;border-radius:22px;transition:transform .3s ease, box-shadow .3s ease}
#custom .type-opt img{width:92px;height:92px;border:4px solid #fff;transition:transform .35s ease}
#custom .type-opt.on{background:#fff;transform:translateY(-4px);box-shadow:0 12px 24px #3e4a3a18}
#custom .type-opt.on img{transform:scale(1.04);box-shadow:0 0 0 3px var(--grass), 0 8px 16px #3e4a3a22}
#custom .kind-hint{margin:0}
#custom #co-kind:empty{display:none}
#custom .kind-opt{padding:.5rem .95rem;border-radius:999px;background:#fffdf8}
#custom #co-kind .kind-opt{animation:rise .4s ease both}
#custom #co-kind .kind-opt:nth-child(2){animation-delay:.04s}
#custom #co-kind .kind-opt:nth-child(3){animation-delay:.08s}
#custom #co-kind .kind-opt:nth-child(4){animation-delay:.12s}
#custom #co-kind .kind-opt:nth-child(5){animation-delay:.16s}
#custom #co-kind .kind-opt:nth-child(6){animation-delay:.2s}
#custom .kind-opt.on,#custom .size-pick.on,#custom .ship-opt.on{background:var(--forest);color:#fbf6ee;border-color:var(--forest)}
#custom .yarn{width:50px;height:50px;background-image:radial-gradient(circle at 32% 30%, rgba(255,255,255,.78), transparent 42%);box-shadow:inset -8px -9px 0 rgba(62,74,58,.13), inset 4px 5px 0 rgba(255,255,255,.45), 0 0 0 1px #3e4a3a33;transition:transform .25s ease}
#custom .yarn.on{transform:translateY(-3px) scale(1.08);box-shadow:0 0 0 3px var(--forest), inset -8px -9px 0 rgba(62,74,58,.13), inset 4px 5px 0 rgba(255,255,255,.4)}
.chosen-name{font-family:"Fraunces",serif;font-style:italic;font-weight:560;color:var(--grass);letter-spacing:0;text-transform:none}
.chosen-name:empty{display:none}
.chosen-name:not(:empty):before{content:"· "}
.split-choices{display:grid;gap:1rem}
#custom #co-size{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.45rem}
#custom .size-pick{min-width:0;white-space:nowrap;text-align:center;border-radius:999px;background:#fffdf8;padding:.65rem .3rem}
#custom .ship-opt{display:grid;justify-items:start;text-align:left;min-width:0;flex:1;padding:.8rem .85rem;border-radius:18px;background:#fffdf8;line-height:1.25}
#custom .ship-opt b{font-family:"Fraunces",serif;font-weight:560;font-size:1.05rem}
#custom .ship-opt small{display:block;margin-top:.15rem;font-weight:600;color:#3e4a3aaa;line-height:1.3}
#custom .ship-opt.on small{color:#e7e2c8}
#custom #co-delivery{display:grid;grid-template-columns:1fr 1fr;gap:.55rem}
.atelier-send{width:100%;text-align:center;margin-top:.15rem;padding:.85rem 1.4rem;font-size:1.02rem}
.piece-card{position:relative;background:linear-gradient(#fffdf9,#fbf6ee);border-radius:28px;padding:.85rem .85rem 1rem;box-shadow:0 16px 36px #3e4a3a16;border:1px solid #3e4a3a10}
.piece-stage{position:relative;height:220px;border-radius:22px;overflow:hidden;background:#f3eadf}
.cloth{position:relative;height:100%;display:flex;align-items:center;justify-content:center;gap:.7rem;padding:.9rem .85rem;background:radial-gradient(circle at 16% 18%, rgba(255,255,255,.75), transparent 34%),linear-gradient(165deg,#f7f1e6,#efe2d2)}
.cloth-flower{position:absolute;top:8px;left:8px;width:30px;height:30px;pointer-events:none;animation:bob 6.5s ease-in-out infinite}
.cloth-flower svg{width:100%;height:100%;display:block}
.cloth-photo{width:min(72%,210px);aspect-ratio:1;border-radius:18px;display:grid;place-items:center;border:1.5px dashed #c5b48a;background:rgba(255,253,248,.4)}
.cloth:has(.skein:not([hidden])) .cloth-photo{width:min(58%,180px)}
.cloth-wait{margin:0;text-align:center;font-family:"Fraunces",serif;font-style:italic;font-size:1.12rem;line-height:1.25;color:#3e4a3ab5;max-width:8.5rem}
.cloth-photo.has-shot{border:0;background:#fff;padding:7px;box-shadow:0 14px 26px #3e4a3a24;transform:rotate(-2.5deg);animation:settle .45s ease}
@keyframes settle{from{opacity:0;transform:translateY(10px) rotate(-7deg)}to{opacity:1;transform:rotate(-2.5deg)}}
.piece-stage img{width:100%;height:100%;object-fit:cover;border-radius:12px;display:block}
.piece-stage img[hidden],.skein[hidden],.cloth-wait[hidden]{display:none}
.skein{display:grid;justify-items:center;align-content:center;gap:.28rem;flex:none;animation:yarn-breathe 5.5s ease-in-out infinite}
@keyframes yarn-breathe{0%,100%{transform:translateY(0)}50%{transform:translateY(-6px)}}
.skein-ball{width:62px;height:62px;border-radius:50%;background-color:#F3E6D0;background-image:radial-gradient(circle at 32% 28%, rgba(255,255,255,.92), transparent 36%);box-shadow:inset -10px -12px 0 rgba(62,74,58,.16),0 10px 16px #3e4a3a22;position:relative;color:#F3E6D0}
.skein-ball:after{content:"";position:absolute;right:-7px;bottom:8px;width:24px;height:24px;border:3px solid currentColor;border-radius:50%;border-right-color:transparent;border-bottom-color:transparent}
.skein-name{font-size:.72rem;font-weight:700;letter-spacing:.03em;color:var(--forest)}
.piece-kicker{margin:.95rem .2rem .1rem;font-size:.74rem;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--grass)}
.piece-card h3{margin:0 .2rem;-webkit-text-stroke:0;font-style:italic;font-size:1.7rem}
.piece-meta{display:flex;flex-wrap:wrap;gap:.35rem;margin:.45rem .2rem .85rem;color:#3e4a3acc}
.piece-meta span{background:#fff;border:1px solid #e6d3bc;border-radius:999px;padding:.12rem .6rem;font-size:.82rem;font-weight:700;color:var(--forest)}
#custom .estimate{background:transparent;box-shadow:none;border-top:1px dashed #c5b48a;border-radius:0;padding:.75rem .2rem 0}
@media(min-width:860px){
  .atelier{padding:2.1rem 1.7rem 1.6rem}
  .atelier-grid{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(280px,.78fr);gap:1.5rem;align-items:start}
  .piece-card{position:sticky;top:5.6rem}
  .who{grid-template-columns:1fr 1fr}
}
@media(max-width:699px){
  #custom .type-opt{min-width:0;flex:1 1 0;padding:.4rem .25rem .5rem}
  #custom .type-opt img{width:74px;height:74px}
  #custom .yarn{width:44px;height:44px}
}
.steps{margin:.4rem 0 1rem;padding-left:1.1rem}
.steps li{margin:.35rem 0}
.receipt{background:#fff;border-radius:16px;padding:.8rem 1rem;border:1px dashed var(--moss)}
section{animation:rise .7s ease both}
@keyframes rise{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}
.hero{border-radius:28px}
.tile,.product-card,.soft-card{border-radius:22px}
@media(prefers-reduced-motion:reduce){
  .product-card,.cart-count.bump,.size-row.need,section{animation:none}
  .product-card,.preview img,.modal-panel,.cart-drawer,.toast,.modal-backdrop,.bloom{transition:none}
  .product-card:hover .bloom,.product-card.show-blooms .bloom,.product-card:focus-within .bloom{opacity:0}
  .hello-caret,.float-flower,.skein,.cloth-flower,.hello.ready .hello-invite,.cloth-photo.has-shot,.about-photo img{animation:none}
  .tile-bloom,.shelf-tab{transition:none}
  #custom #co-kind .kind-opt{animation:none}
}
#custom-order .who .full{grid-column:1/-1}
/* phone: buy bar sits in the flow after the sizes instead of floating over them */
@media(max-width:799px){.modal-buy{position:static;background:none;padding-top:0;margin-top:1rem}}
/* PC: centre product cards when a panel has only a few */
@media(min-width:700px){.grid.shop-grid{justify-content:center}}

/* --- Oct 17 round --- */
/* 7: phone category tiles become wide cards that scroll sideways */
@media(max-width:699px){
  .tiles{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;gap:12px;padding:4px 2px 12px;margin:0 -2px;-webkit-overflow-scrolling:touch;scrollbar-width:none}
  .tiles::-webkit-scrollbar{display:none}
  .tiles .tile{flex:0 0 72%;aspect-ratio:4/5;scroll-snap-align:start}
  .tile span{font-size:1rem;padding:10px 14px}
}
/* 8: phone custom order shows the form first, then the preview */
@media(max-width:899px){.atelier-grid{flex-direction:column}}
/* 9: FAQ plus signs */
details summary{list-style:none;display:flex;justify-content:space-between;align-items:center;gap:1rem}
details summary::-webkit-details-marker{display:none}
details summary::after{content:"+";flex:0 0 28px;height:28px;border-radius:50%;background:var(--grass);color:var(--white);display:grid;place-items:center;font-size:1.2rem;line-height:1;transition:transform .2s}
details[open] summary::after{transform:rotate(45deg)}
/* 19: how ordering works */
.how{margin:1.5rem 0}
.how ol{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(2,1fr);gap:10px}
@media(min-width:700px){.how ol{grid-template-columns:repeat(4,1fr)}}
.how li{display:flex;align-items:center;gap:10px;background:#fffdf8;border:1px dashed var(--moss);border-radius:16px;padding:12px 14px;font-weight:700;color:var(--forest)}
.how b{flex:0 0 30px;height:30px;border-radius:50%;background:var(--grass);color:var(--white);display:grid;place-items:center;font-family:"Fraunces",serif}
/* 15: checkout totals */
.pay-sum{border-top:1px dashed var(--moss);margin:.4rem 0 .8rem;padding-top:.6rem}
.pay-sum div{display:flex;justify-content:space-between}
.pay-sum-total{font-size:1.1rem;margin-top:.3rem}
/* 10: footer taller, small logo, reaches the bottom */
body{min-height:100vh;display:flex;flex-direction:column}
main{flex:1 0 auto}
body>footer{padding:2.5rem 1.5rem 3rem;display:flex;flex-direction:column;align-items:center;gap:.4rem}
body>footer p{margin:0}
.foot-logo{width:96px;height:auto;object-fit:contain;background:var(--white);border-radius:22px;padding:0}
.foot-line{font-family:"Fraunces",serif;font-size:1.1rem}
.foot-links{display:flex;flex-wrap:wrap;justify-content:center;gap:.5rem}
.foot-links a{color:var(--leaf)}
.foot-small{opacity:.75;font-size:.85rem}
/* 20: on phones the toast sits at the top, clear of the Add to cart button */
@media(max-width:799px){.toast{top:1rem;bottom:auto;transform:translateX(-50%) translateY(-12px)}.toast.show{transform:translateX(-50%) translateY(0)}}

/* Oct 17 fixes round 2 */
.cart-foot{background:var(--white);color:var(--forest)}
.cart-total{gap:1rem}
.hello.out .hello-invite,.hello.out .hello-word{opacity:0;animation:none;transition:opacity .25s ease}
@media(max-width:560px){
  header.top{flex-wrap:wrap;row-gap:.25rem}
  header.top .toplinks{display:contents}
  header.top .wordmark{flex:1 0 calc(100% - 100px);order:0}
  header.top .sound-btn,header.top .cart-btn{order:1}
  header.top .toplinks a{order:2;flex:1 1 20%;text-align:center;font-size:.9rem;padding:.3rem .2rem}
}
