@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(/fonts/instrument-sans-latin.woff2) format('woff2');
}

:root {
  --ink: #151515;
  --soft: #5f5d59;
  --line: #e4e2de;
  --tile: #efeeea;
  --bg: #fff;
  --error: #a3261b;
  --pad: 40px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 15px/1.55 'Instrument Sans', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
body.locked { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
img { max-width: 100%; display: block; }
svg { display: block; }
h1, h2, h3 { font-weight: 500; letter-spacing: -.02em; margin: 0; }
::selection { background: var(--ink); color: #fff; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.wrap { max-width: 1360px; margin: 0 auto; padding: 0 var(--pad); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.icon { width: 22px; height: 22px; flex: none; display: inline-block; vertical-align: middle; }
.icon svg { width: 100%; height: 100%; }

/* announcement + header */
.announce { background: var(--ink); color: #fff; text-align: center; font-size: 13px; padding: 9px 16px; }
.site-header { border-bottom: 1px solid var(--line); background: #fff; position: sticky; top: 0; z-index: 20; }
.bar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 72px; }
.nav { display: flex; gap: 28px; font-size: 14px; }
.nav a:hover, .nav a[aria-current] { text-decoration: underline; text-underline-offset: 5px; }
.logo { font-weight: 600; font-size: 17px; letter-spacing: .32em; text-transform: uppercase; padding-left: .32em; white-space: nowrap; }
.tools { display: flex; justify-content: flex-end; gap: 18px; align-items: center; }
.cart-btn { display: flex; align-items: center; gap: 6px; background: none; border: 0; padding: 6px 0; }
.cart-btn b { font-weight: 500; font-size: 12px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--ink); color: #fff; display: grid; place-items: center; }
.menu-btn { display: none; background: none; border: 0; padding: 6px 0; justify-self: start; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 50px; padding: 0 28px; background: var(--ink); color: #fff; border: 1px solid var(--ink); font-size: 15px; font-weight: 500; transition: background .2s, color .2s; }
.btn:hover { background: #000; }
.btn.ghost { background: #fff; color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: #fff; }
.btn[disabled] { opacity: .5; cursor: default; }
.btn .icon { width: 18px; height: 18px; }
.link { font-size: 14px; text-decoration: underline; text-underline-offset: 5px; }
.link:hover { text-decoration-thickness: 2px; }

/* hero */
.hero { position: relative; height: 640px; overflow: hidden; background: #e3e1dc; }
.hero .art { position: absolute; inset: 0; }
.hero .art svg, .hero .art img { width: 100%; height: 100%; object-fit: cover; }
.hero .text { position: absolute; left: 0; right: 0; bottom: 64px; }
.hero h1 { font-size: 56px; line-height: 1.04; letter-spacing: -.025em; margin: 0 0 18px; max-width: 12ch; }
.hero p { margin: 0 0 28px; color: #3b3936; font-size: 17px; max-width: 40ch; }

/* sections */
.section { padding: 88px 0 0; }
.head { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; margin-bottom: 28px; }
.head h2, .page-title h1 { font-size: 30px; }
.page-title { padding: 56px 0 8px; }
.page-title h1 { font-size: 40px; }
.page-title p { color: var(--soft); margin: 8px 0 0; max-width: 60ch; }

/* product grid */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px 20px; }
.card { display: block; }
.card .shot { aspect-ratio: 4/5; position: relative; overflow: hidden; background: var(--tile); }
.card .shot > svg, .card .shot > img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.card:hover .shot > svg, .card:hover .shot > img { transform: scale(1.035); }
.quick { position: absolute; left: 12px; right: 12px; bottom: 12px; height: 44px; background: #fff; border: 0; font-size: 14px; font-weight: 500; opacity: 0; transform: translateY(6px); transition: opacity .25s, transform .25s, background .2s, color .2s; }
.card:hover .quick, .quick:focus-visible { opacity: 1; transform: none; }
.quick:hover { background: var(--ink); color: #fff; }
.card h3 { font-size: 15px; margin: 14px 0 2px; letter-spacing: 0; }
.card .notes { color: var(--soft); font-size: 13.5px; margin: 0 0 6px; }
.card .price { font-size: 15px; }
.card .opts { color: var(--soft); font-size: 13px; margin-top: 2px; }

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 32px; }
.chip { height: 40px; padding: 0 18px; background: #fff; border: 1px solid #cfcdc8; font-size: 14px; border-radius: 999px; display: inline-flex; align-items: center; }
.chip:hover { border-color: var(--ink); }
.chip.on, .chip[aria-pressed="true"], .chip[aria-checked="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.count { color: var(--soft); font-size: 14px; }

/* moods */
.moods { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.mood .shot { aspect-ratio: 1; overflow: hidden; }
.mood .shot svg, .mood .shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.mood:hover .shot svg, .mood:hover .shot img { transform: scale(1.035); }
.mood p { display: flex; justify-content: space-between; align-items: center; margin: 14px 0 0; font-size: 16px; font-weight: 500; }
.mood p .icon { width: 20px; height: 20px; transition: transform .25s; }
.mood:hover p .icon { transform: translateX(4px); }

/* product page */
.crumb { color: var(--soft); font-size: 13px; padding: 28px 0 24px; }
.crumb a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.pdp { display: grid; grid-template-columns: 1.15fr 1fr; gap: 64px; align-items: start; }
.gallery .main { aspect-ratio: 4/5; background: var(--tile); overflow: hidden; }
.gallery .main svg, .gallery .main img { width: 100%; height: 100%; object-fit: cover; }
.thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 10px; }
.thumbs button { aspect-ratio: 1; background: var(--tile); border: 0; padding: 0; overflow: hidden; }
.thumbs button svg, .thumbs button img { width: 100%; height: 100%; object-fit: cover; }
.thumbs button[aria-current="true"] { outline: 1px solid var(--ink); outline-offset: -1px; }
.info { position: sticky; top: 100px; }
.info h1 { font-size: 38px; line-height: 1.1; }
.info .notes { color: var(--soft); margin: 6px 0 0; }
.info .p { font-size: 20px; margin: 14px 0 4px; font-variant-numeric: tabular-nums; }
.info .tax { color: var(--soft); font-size: 13px; margin: 0 0 22px; }
.info .desc { color: #3b3936; margin: 0 0 26px; max-width: 52ch; }
.opt { margin: 0 0 22px; border: 0; padding: 0; }
.opt legend { font-size: 14px; margin-bottom: 10px; padding: 0; }
.opt legend b { font-weight: 500; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips .chip { height: 44px; padding: 0 20px; }
.buy { display: flex; gap: 10px; margin-top: 6px; }
.qty { display: flex; align-items: center; border: 1px solid #cfcdc8; height: 54px; }
.qty button { width: 42px; height: 100%; background: none; border: 0; font-size: 18px; }
.qty button:hover { background: var(--tile); }
.qty span { min-width: 28px; text-align: center; font-variant-numeric: tabular-nums; }
.buy .btn { flex: 1; height: 54px; }
.perks { display: grid; gap: 10px; margin: 22px 0 0; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: 14px; }
.perks div { display: flex; align-items: center; gap: 12px; }
.perks .icon { width: 20px; height: 20px; }
details { border-bottom: 1px solid var(--line); }
summary { list-style: none; display: flex; justify-content: space-between; align-items: center; padding: 18px 0; font-weight: 500; font-size: 15px; cursor: pointer; }
summary::-webkit-details-marker { display: none; }
summary .icon { width: 18px; height: 18px; transition: transform .25s; }
details[open] summary .icon { transform: rotate(45deg); }
details p { margin: 0 0 18px; color: #3b3936; font-size: 14px; max-width: 65ch; }

/* story band */
.story { display: grid; grid-template-columns: 1fr 1fr; background: var(--tile); }
.story .art { min-height: 520px; position: relative; overflow: hidden; }
.story .art svg, .story .art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.story .text { padding: 72px; align-self: center; }
.story h2 { font-size: 38px; line-height: 1.12; max-width: 14ch; margin-bottom: 18px; }
.story p { color: #3b3936; max-width: 44ch; margin: 0 0 28px; }

.follow { text-align: center; padding: 96px 0 0; }
.follow p { color: var(--soft); margin: 10px 0 24px; }

/* text pages */
.prose { max-width: 68ch; padding-bottom: 40px; }
.prose h2 { font-size: 24px; margin: 40px 0 10px; }
.prose p { color: #3b3936; margin: 0 0 14px; }
.contact { display: grid; grid-template-columns: 1fr 1.3fr; gap: 64px; padding: 24px 0 40px; }
.contact .ways { display: grid; gap: 18px; align-content: start; }
.contact .way { border: 1px solid var(--line); padding: 22px; display: flex; gap: 14px; align-items: flex-start; }
.contact .way:hover { border-color: var(--ink); }
.contact .way b { display: block; font-weight: 500; }
.contact .way span { color: var(--soft); font-size: 14px; }
.faq h2 { font-size: 24px; margin-bottom: 8px; }

.notice { text-align: center; padding: 120px 0 140px; }
.notice h1 { font-size: 40px; margin-bottom: 12px; }
.notice p { color: var(--soft); margin: 0 auto 28px; max-width: 48ch; }

/* footer */
.site-footer { background: var(--ink); color: #d8d6d2; padding: 64px 0 32px; font-size: 14px; margin-top: 96px; }
.cols { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
.site-footer h4 { color: #fff; font-weight: 500; margin: 0 0 14px; font-size: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.site-footer .logo { color: #fff; display: inline-block; margin-bottom: 12px; padding-left: 0; }
.legal { border-top: 1px solid #333; margin-top: 48px; padding-top: 20px; display: flex; justify-content: space-between; gap: 16px; color: #9b9893; font-size: 13px; }

/* drawers */
.scrim { position: fixed; inset: 0; background: rgba(21,21,21,.4); opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; z-index: 40; }
.scrim.open { opacity: 1; visibility: visible; }
.drawer { position: fixed; top: 0; bottom: 0; right: 0; width: min(440px, 100%); background: #fff; z-index: 50; display: flex; flex-direction: column; transform: translateX(100%); visibility: hidden; transition: transform .4s cubic-bezier(.2,.7,.2,1), visibility .4s; }
.drawer.left { right: auto; left: 0; transform: translateX(-100%); }
.drawer.open { transform: none; visibility: visible; box-shadow: 0 0 60px rgba(0,0,0,.18); }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 20px 24px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { font-size: 18px; }
.close { background: none; border: 0; width: 36px; height: 36px; display: grid; place-items: center; margin-right: -8px; }
.close .icon { width: 20px; height: 20px; }
.drawer-body { flex: 1; overflow: auto; padding: 8px 24px; }
.drawer-foot { border-top: 1px solid var(--line); padding: 20px 24px 24px; }
.mobile-nav { display: grid; padding: 12px 24px; }
.mobile-nav a { font-size: 22px; padding: 12px 0; border-bottom: 1px solid var(--line); }

.line { display: grid; grid-template-columns: 76px 1fr auto; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.line .thumb { aspect-ratio: 4/5; background: var(--tile); overflow: hidden; }
.line .thumb svg, .line .thumb img { width: 100%; height: 100%; object-fit: cover; }
.line b { font-weight: 500; display: block; }
.line .meta { color: var(--soft); font-size: 13px; }
.line .qty { height: 34px; margin-top: 8px; width: max-content; }
.line .qty button { width: 32px; font-size: 15px; }
.line .right { text-align: right; display: flex; flex-direction: column; justify-content: space-between; align-items: flex-end; font-variant-numeric: tabular-nums; }
.remove { background: none; border: 0; padding: 0; color: var(--soft); font-size: 13px; text-decoration: underline; text-underline-offset: 3px; }
.remove:hover { color: var(--ink); }
.empty { padding: 48px 0; text-align: center; color: var(--soft); }
.empty .btn { margin-top: 18px; }

.delivery { border: 0; padding: 0; margin: 0 0 16px; display: grid; gap: 8px; }
.delivery legend { font-size: 14px; font-weight: 500; margin-bottom: 8px; padding: 0; }
.delivery label { display: flex; gap: 12px; align-items: flex-start; border: 1px solid #cfcdc8; padding: 12px 14px; cursor: pointer; }
.delivery label:has(input:checked) { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.delivery input { accent-color: var(--ink); margin: 3px 0 0; }
.delivery span { flex: 1; font-size: 14px; }
.delivery small { display: block; color: var(--soft); font-size: 13px; }
.sum { display: flex; justify-content: space-between; font-size: 14px; color: var(--soft); margin-bottom: 4px; font-variant-numeric: tabular-nums; }
.sum.total { color: var(--ink); font-size: 16px; font-weight: 500; margin: 10px 0 16px; }
.drawer-foot .btn { width: 100%; }
.err { color: var(--error); font-size: 14px; margin: 10px 0 0; }
.fine { color: var(--soft); font-size: 12.5px; text-align: center; margin: 12px 0 0; }

.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); background: var(--ink); color: #fff; padding: 12px 20px; font-size: 14px; opacity: 0; transition: opacity .25s, transform .25s; z-index: 60; pointer-events: none; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 1020px) {
  .grid { grid-template-columns: repeat(3, 1fr); }
  .pdp { gap: 40px; }
  .story .text { padding: 48px; }
}

@media (max-width: 820px) {
  :root { --pad: 18px; }
  .nav { display: none; }
  .menu-btn { display: block; }
  .bar { height: 60px; }
  .logo { font-size: 14px; letter-spacing: .26em; }
  .hero { height: auto; background: #fff; }
  .hero .art { position: relative; height: 340px; background: #e3e1dc; }
  .hero .text { position: static; padding: 28px 0 0; }
  .hero h1 { font-size: 38px; }
  .hero p { font-size: 16px; }
  .section { padding-top: 60px; }
  .head h2 { font-size: 24px; }
  .grid, .moods { grid-template-columns: repeat(2, 1fr); gap: 24px 12px; }
  .quick { display: none; }
  .pdp, .story, .contact { grid-template-columns: 1fr; gap: 28px; }
  .info { position: static; }
  .info h1 { font-size: 30px; }
  .story .text { padding: 40px var(--pad); }
  .story .art { min-height: 340px; }
  .cols { grid-template-columns: 1fr 1fr; }
  .cols > div:first-child { grid-column: 1 / -1; }
  .legal { flex-direction: column; }
  .page-title h1 { font-size: 30px; }
}
