/* Wren storefront. One typeface. Border beam is the libraries.dev effect, used once on the buy card. */
:root{
  --ink:#1c1917; --ink-soft:#3f3832; --muted:#6f675e; --faint:#948b80;
  --bg:#f3eee6; --surface:#fffdf8; --surface-2:#efe8dc;
  --line:#e4dbcf; --line-strong:#d3c7b6;
  --brand:#1c1917; --brand-deep:#0e0c0a; --brand-ink:#1c1917;
  --brand-wash:#f6efe4; --accent:#9a3412; --sale:#9a3412;
  --radius:10px; --radius-lg:14px; --radius-sm:8px;
  --shadow:none;
  --shadow-lg:none;
  --maxw:1120px;
  --sans:"Instrument Sans",-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  color-scheme:light;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{margin:0;background:var(--bg);color:var(--ink);font-family:var(--sans);font-size:16px;line-height:1.5;
  -webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
h1,h2,h3,h4,p{margin:0}
img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}
button,input,select,textarea{font:inherit;color:inherit}
button{cursor:pointer;border:0;background:none}
button:disabled{cursor:not-allowed;opacity:.45}
:focus-visible{outline:2px solid var(--ink);outline-offset:3px}
.wrap{width:min(var(--maxw),calc(100% - 40px));margin-inline:auto}
.muted{color:var(--muted)}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:12px 18px;
  border-radius:var(--radius-sm);background:var(--brand);color:#f6f1e8;font-weight:600;font-size:15px}
.btn:hover:not(:disabled){background:var(--brand-deep)}
.btn svg{width:18px;height:18px}
.btn-ghost{background:transparent;color:var(--ink);border:1px solid var(--line-strong)}
.btn-ghost:hover:not(:disabled){background:var(--surface-2)}
.btn-block{width:100%}
.btn-sm{min-height:44px;padding:8px 14px;font-size:14px}
.chip{display:inline-flex;align-items:center;gap:7px;min-height:40px;padding:8px 14px;border-radius:var(--radius-sm);
  border:1px solid var(--line-strong);background:transparent;font-weight:600;font-size:14px;color:var(--ink-soft)}
.chip:hover{border-color:var(--ink)}
.chip.on{background:var(--ink);color:#f6f1e8;border-color:var(--ink)}

.promo{margin:0;background:var(--ink);color:#f6f1e8;text-align:center;padding:10px 16px;font-size:13.5px;font-weight:500}
.promo b{font-weight:650}

.hdr{position:sticky;top:0;z-index:40;background:rgba(243,238,230,.92);backdrop-filter:blur(12px);border-bottom:1px solid var(--line)}
.hdr-in{display:flex;align-items:center;gap:28px;min-height:68px}
.brand{display:inline-flex;align-items:center;gap:10px;color:var(--ink)}
.brand .mark{width:9px;height:9px;border-radius:2px;background:var(--accent);display:block}
.brand .word{font-weight:600;font-size:22px;letter-spacing:-.045em;line-height:1}
.nav{display:flex;gap:22px;font-weight:500;font-size:15px;color:var(--ink-soft)}
.nav a{padding:6px 0;border-bottom:1px solid transparent}
.nav a:hover{color:var(--ink);border-bottom-color:var(--ink)}
.hdr-actions{margin-left:auto;display:flex;align-items:center;gap:8px}
.bag{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:8px 12px;border-radius:var(--radius-sm);
  background:transparent;border:1px solid var(--line-strong);font-weight:600}
.bag:hover{border-color:var(--ink)}
.bag b{min-width:22px;height:22px;display:grid;place-items:center;border-radius:99px;background:var(--ink);color:#f6f1e8;font-size:12px}
.icon-btn{width:44px;height:44px;display:grid;place-items:center;border-radius:var(--radius-sm);border:1px solid var(--line-strong)}
.menu-btn{display:none}
.ico{width:20px;height:20px;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}

.hero{padding:48px 0 12px}
.hero-grid{display:grid;grid-template-columns:.9fr 1.15fr;gap:48px;align-items:center}
.kick{display:inline-flex;align-items:center;color:var(--accent);font-size:13px;font-weight:600;letter-spacing:.04em;text-transform:uppercase}
.hero h1{font-size:clamp(40px,5vw,64px);line-height:.98;letter-spacing:-.045em;font-weight:560;margin:14px 0 14px}
.hero .lede{font-size:17px;color:var(--muted);max-width:42ch}
.trust{list-style:none;padding:0;margin:28px 0 0;display:grid;gap:12px}
.trust li{display:flex;align-items:center;gap:10px;font-weight:500}
.trust .tick{flex:0 0 22px;width:22px;height:22px;display:grid;place-items:center;color:var(--accent)}
.trust .tick svg{width:16px;height:16px}

.buycard{position:relative;background:var(--surface);border-radius:var(--radius-lg);padding:16px;isolation:isolate}
.buycard::before{
  content:"";position:absolute;inset:0;border-radius:inherit;padding:1px;pointer-events:none;
  background:conic-gradient(from var(--beam,0deg),transparent 0 72%,#c2410c 86%,#f6d7c4 93%,transparent 100%);
  -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);
  -webkit-mask-composite:xor;mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);mask-composite:exclude;
  animation:beam 9s linear infinite}
@property --beam{syntax:"<angle>";inherits:false;initial-value:0deg}
@keyframes beam{to{--beam:360deg}}
.buycard .layout{display:grid;grid-template-columns:minmax(180px,.8fr) 1fr;gap:22px;align-items:center}
.photo{position:relative;border-radius:var(--radius);background:var(--surface-2);min-height:340px;display:grid;place-items:center;overflow:hidden}
.photo img{width:min(250px,80%);height:310px;object-fit:contain}
.tag{position:absolute;top:12px;left:12px;background:var(--ink);color:#f6f1e8;border-radius:var(--radius-sm);padding:4px 8px;font-size:12px;font-weight:600}
.tag.sale,.tag.refurb{background:var(--accent)}
.eyebrow{color:var(--accent);font-size:12px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;margin-bottom:6px}
.buycard h2{font-size:clamp(28px,3vw,36px);line-height:1.02;letter-spacing:-.035em;font-weight:560;margin:0 0 4px}
.sub{color:var(--muted);margin-bottom:6px}
.price{display:flex;align-items:baseline;gap:8px;margin:12px 0;flex-wrap:wrap}
.price strong{font-size:28px;letter-spacing:-.03em;font-weight:600}
.price del{color:var(--faint);font-size:16px}
.price .off{font-size:12px;font-weight:600;color:var(--sale)}
.spec{font-weight:500;color:var(--ink-soft);margin:2px 0 14px;font-size:14.5px}
.instock{color:#3f6212}.soldout{color:var(--sale)}
.fine{color:var(--faint);font-size:13px;margin-top:12px}

.opts{display:grid;gap:14px;margin:14px 0}
.opts legend,.opts .lbl{display:block;font-size:12px;letter-spacing:.04em;text-transform:uppercase;color:var(--muted);margin-bottom:8px}
.opts .lbl b{color:var(--ink);font-weight:600;margin-left:6px;text-transform:none;letter-spacing:0;font-size:14px}
.swatches{display:flex;flex-wrap:wrap;gap:8px}
.sw{width:44px;height:44px;padding:4px;border-radius:99px;border:1px solid transparent;display:grid;place-items:center}
.sw span{width:28px;height:28px;border-radius:99px;background:var(--c,#b0b4b5);border:1px solid rgba(0,0,0,.18)}
.sw.on{border-color:var(--ink)}
.caps{display:flex;flex-wrap:wrap;gap:8px}
.cap{min-height:44px;padding:8px 14px;border-radius:var(--radius-sm);border:1px solid var(--line-strong);background:transparent;font-size:14px;font-weight:550}
.cap:hover{border-color:var(--ink)}
.cap.on{border-color:var(--ink);background:var(--ink);color:#f6f1e8}

.sec{padding:64px 0}
.sec-head{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;flex-wrap:wrap;margin-bottom:22px}
.sec-head h2{font-size:clamp(28px,3vw,40px);letter-spacing:-.04em;font-weight:560}
.sec-head p{color:var(--muted);margin-top:6px}
.filters{display:flex;gap:8px;flex-wrap:wrap}
.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:16px}
.card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;display:flex;flex-direction:column}
.card:hover{border-color:var(--line-strong)}
.card-photo{position:relative;border:0;width:100%;aspect-ratio:1/1;background:var(--surface-2);display:grid;place-items:center;padding:16px}
.card-photo img{height:78%;width:auto;object-fit:contain}
.card-body{padding:16px;display:flex;flex-direction:column;gap:2px;flex:1}
.card-body .cond{font-size:12px;color:var(--muted);font-weight:550}
.card-body h3{font-size:18px;letter-spacing:-.02em;font-weight:600;margin:2px 0}
.card .opts{margin:12px 0}
.card-buy{margin-top:auto;display:flex;flex-direction:column;align-items:stretch;gap:10px;padding-top:12px}
.card-buy .price{margin:0}
.card-buy .price strong{font-size:18px}
.card-buy .btn{white-space:nowrap}
.selwrap{display:flex;align-items:center;gap:8px}
.selwrap label{font-size:12px;text-transform:uppercase;letter-spacing:.04em;color:var(--muted)}
.selwrap select{border:1px solid var(--line-strong);border-radius:var(--radius-sm);padding:8px 10px;background:var(--surface);font-size:16px;font-weight:550;min-height:44px}
.empty{text-align:center;color:var(--muted);padding:40px 0}

.props{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.prop{background:transparent;border-top:1px solid var(--line-strong);border-radius:0;padding:20px 0 0}
.prop .n{width:28px;height:28px;color:var(--accent);display:grid;place-items:center;margin-bottom:12px}
.prop .n svg{width:22px;height:22px;stroke:currentColor;fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.prop h3{font-size:18px;margin-bottom:6px;letter-spacing:-.02em;font-weight:600}
.prop p{color:var(--muted);font-size:15px}

.faq{max-width:760px}
.faq details{border-bottom:1px solid var(--line);padding:0}
.faq summary{list-style:none;cursor:pointer;font-weight:600;padding:18px 0;display:flex;justify-content:space-between;gap:16px;align-items:center}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"+";font-size:20px;font-weight:400;color:var(--ink)}
.faq details[open] summary::after{content:"–"}
.faq details p{color:var(--muted);padding:0 0 18px;margin:0;max-width:62ch}

footer{background:#1c1917;color:#d9d0c4;margin-top:20px;padding:48px 0 28px}
footer .brand{color:#f6f1e8}
footer .cols{display:grid;grid-template-columns:1.5fr 1fr 1fr;gap:28px;margin-bottom:28px}
footer h4{color:#f6f1e8;font-size:13px;letter-spacing:.04em;text-transform:uppercase;margin-bottom:10px;font-weight:600}
footer a{display:block;padding:5px 0;color:#d9d0c4}
footer a:hover{color:#fff}
footer .fine{border-top:1px solid #3a342e;padding-top:18px;color:#a3988c;font-size:13px;display:flex;justify-content:space-between;gap:14px;flex-wrap:wrap}
footer p.about{color:#c9bfb3;max-width:38ch;margin-top:14px;font-size:14px}

.sticky{position:fixed;left:0;right:0;bottom:0;z-index:35;display:none;align-items:center;gap:12px;
  background:rgba(255,253,248,.96);backdrop-filter:blur(10px);border-top:1px solid var(--line);padding:10px 14px;padding-bottom:max(10px,env(safe-area-inset-bottom))}
.sticky img{width:36px;height:44px;object-fit:contain}
.sticky .price{margin:0}.sticky .price strong{font-size:16px}
.sticky .btn{margin-left:auto}

.overlay{position:fixed;inset:0;z-index:60;background:rgba(28,25,23,.46);display:flex}
.overlay.right{justify-content:flex-end}
.overlay.center{align-items:center;justify-content:center;padding:18px}
.dialog{background:var(--surface);width:100%;max-width:560px;max-height:100%;overflow:auto;display:flex;flex-direction:column}
.drawer{width:min(420px,100%);height:100%;border-left:1px solid var(--line)}
.sheet{border-radius:var(--radius-lg);max-height:92vh;border:1px solid var(--line)}
.d-head{position:sticky;top:0;background:var(--surface);display:flex;align-items:center;gap:12px;padding:16px 18px;border-bottom:1px solid var(--line);z-index:2}
.d-head .k{font-size:12px;letter-spacing:.06em;text-transform:uppercase;color:var(--faint);font-weight:600}
.d-head h2{font-size:20px;letter-spacing:-.03em;font-weight:600}
.d-head .close{margin-left:auto;width:44px;height:44px;border-radius:var(--radius-sm);display:grid;place-items:center;border:1px solid var(--line)}
.d-body{padding:18px}

.cart-note{display:flex;align-items:center;gap:10px;background:var(--brand-wash);color:var(--ink);padding:12px 14px;border-radius:var(--radius-sm);font-size:14px;font-weight:550;margin-bottom:8px}
.cart-note svg{width:18px;height:18px;flex:0 0 18px}
.citem{display:grid;grid-template-columns:64px 1fr auto;gap:12px;padding:14px 0;border-bottom:1px solid var(--line)}
.citem img{width:64px;height:72px;object-fit:contain;background:var(--surface-2);border-radius:var(--radius-sm)}
.citem h3{font-size:15px;font-weight:600}
.citem .meta{color:var(--muted);font-size:13px;margin-bottom:8px}
.qty{display:inline-flex;align-items:center;border:1px solid var(--line-strong);border-radius:var(--radius-sm);overflow:hidden}
.qty button{width:36px;height:36px;display:grid;place-items:center}
.qty button:hover:not(:disabled){background:var(--surface-2)}
.qty span{min-width:28px;text-align:center;font-weight:600;font-size:14px}
.citem .ln{font-weight:600;white-space:nowrap}
.sum{margin:16px 0}
.sum .row{display:flex;justify-content:space-between;padding:6px 0;color:var(--muted);font-size:14.5px}
.sum .row.save{color:var(--sale);font-weight:600}
.sum .row.total{color:var(--ink);font-weight:650;font-size:18px;border-top:1px solid var(--line);margin-top:8px;padding-top:12px}
.empty-cart{text-align:center;padding:36px 8px;color:var(--muted)}
.empty-cart svg{width:40px;height:40px;margin:0 auto 12px;stroke:var(--line-strong);fill:none;stroke-width:1.6}

.field{margin-bottom:14px}
.field label{display:block;font-size:13px;font-weight:550;color:var(--ink-soft);margin-bottom:6px}
.field input,.field select{width:100%;min-height:48px;border:1px solid var(--line-strong);border-radius:var(--radius-sm);padding:12px 12px;background:var(--surface);font-size:16px}
.field input:focus,.field select:focus{border-color:var(--ink);outline:none;box-shadow:0 0 0 3px rgba(28,25,23,.12)}
.row2{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.row3{display:grid;grid-template-columns:2fr 1fr 1fr;gap:12px}
.note{display:flex;gap:12px;background:var(--surface-2);border-radius:var(--radius-sm);padding:12px 14px;margin:6px 0 16px}
.note svg{width:20px;height:20px;flex:0 0 20px;color:var(--accent)}
.note strong{display:block;font-size:14px}.note p{font-size:13px;color:var(--muted);margin-top:2px}
.err{background:#f8ece6;color:#7c2d12;border:1px solid #e8c8b8;border-radius:var(--radius-sm);padding:11px 14px;font-size:14px;font-weight:550;margin-bottom:14px}
.ok-screen{text-align:left;padding:12px 0}
.ok-screen .mark{width:48px;height:48px;border-radius:var(--radius-sm);background:var(--brand-wash);color:var(--accent);display:grid;place-items:center;margin:0 0 14px}
.ok-screen .mark svg{width:26px;height:26px;stroke-width:2}
.pay-wait{display:grid;gap:10px;justify-items:start;padding:8px 0 16px}
.pay-wait h2{font-size:26px;letter-spacing:-.03em;font-weight:560;margin:0}
.pay-wait p{margin:0}
.pay-wait .eyebrow{margin:0}
.pay-wait-track{width:100%;height:8px;border-radius:99px;background:var(--surface-2);overflow:hidden}
.pay-wait-track span{display:block;height:100%;width:0;background:var(--accent);transition:width .2s linear}
.pay-wait-pct{font-size:32px;font-weight:600;letter-spacing:-.03em}
.ok-screen h2{font-size:26px;margin-bottom:8px;letter-spacing:-.03em;font-weight:560}
.ok-screen p{color:var(--muted)}
.ordernum{display:inline-block;margin-top:14px;background:var(--surface-2);border-radius:var(--radius-sm);padding:8px 12px;font-weight:600}
.spin{width:28px;height:28px;border-radius:99px;border:2px solid var(--line-strong);border-top-color:var(--ink);margin:0 0 14px;animation:sp .8s linear infinite}
@keyframes sp{to{transform:rotate(360deg)}}

.mlinks{display:grid}
.mlinks a{padding:16px 0;border-bottom:1px solid var(--line);font-weight:550;font-size:17px}

@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  .buycard::before,.spin{animation:none}
}
@media(max-width:900px){
  .hero-grid{grid-template-columns:1fr;gap:28px}
  .props{grid-template-columns:1fr}
  footer .cols{grid-template-columns:1fr 1fr}
}
@media(max-width:720px){
  .nav{display:none}.menu-btn{display:grid}.bag span{display:none}
  .buycard .layout{grid-template-columns:1fr}
  .photo{min-height:260px}
  .sticky{display:flex}
  body{padding-bottom:78px}
  .row3{grid-template-columns:1fr 1fr}
  footer .cols{grid-template-columns:1fr}
  .qty button{width:44px;height:44px}
}
