/* wulet store. One sheet for every page: tokens, header, the swatch ring, shop, product, journal, cart. */

:root {
  --espresso: #3B2A20;
  --espresso-deep: #2C211A;
  --ivory: #F4EFE6;
  --sand: #D9C8B0;
  --linen: #EBE3D6;
  --muted: #6E5D51;
  --line: #DCCFBD;
  --on-dark-muted: #CDBDA8;
  --font: "Jost", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1360px;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; }
body { margin: 0; background: var(--ivory); color: var(--espresso); font-family: var(--font); font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .22em; text-decoration-thickness: 1px; }
button { font: inherit; color: inherit; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-weight: 500; line-height: 1.08; letter-spacing: -.02em; text-wrap: balance; }
::selection { background: var(--espresso); color: var(--ivory); }
:focus-visible { outline: 2px solid var(--espresso); outline-offset: 3px; border-radius: 4px; }
.price { font-variant-numeric: tabular-nums; white-space: nowrap; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.note { font-size: 14px; color: var(--muted); }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 999px; background: var(--espresso); color: var(--ivory); }
.skip:focus { top: 12px; }
.section { padding-top: clamp(56px, 8vw, 104px); }
.section-h { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.section-h h2 { font-size: clamp(26px, 3.6vw, 40px); }
.section-h a { font-size: 15px; font-weight: 500; }

/* buttons */
.pill { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px; border-radius: 999px; border: 0; background: var(--espresso); color: var(--ivory); text-decoration: none; font-weight: 500; font-size: 16px; cursor: pointer; transition: background .2s var(--ease-out); }
.pill:hover { background: var(--espresso-deep); }
.pill--light { background: var(--ivory); color: var(--espresso); }
.pill--light:hover { background: #fff; }
.pill--ghost { background: none; color: var(--espresso); box-shadow: inset 0 0 0 1.5px var(--espresso); }
.pill--ghost:hover { background: var(--espresso); color: var(--ivory); }
.pill--block { width: 100%; }
.pill:disabled { opacity: .6; cursor: progress; }

/* header */
.head { position: sticky; top: 0; z-index: 40; background: rgba(244, 239, 230, .94); backdrop-filter: saturate(1.2) blur(8px); -webkit-backdrop-filter: saturate(1.2) blur(8px); border-bottom: 1px solid transparent; transition: border-color .3s; }
.head.scrolled { border-bottom-color: var(--line); }
.head__in { max-width: var(--max); margin: 0 auto; display: flex; align-items: center; gap: 20px; padding: 14px var(--gutter); }
.head__logo img { height: 26px; width: auto; }
.nav { display: flex; gap: 24px; margin-left: auto; font-size: 16px; }
.nav a { text-decoration: none; padding: 6px 0; }
.nav a:hover, .nav a[aria-current="page"] { text-decoration: underline; }
.cart-link { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-size: 16px; }
.cart-count { display: inline-grid; place-items: center; min-width: 24px; height: 24px; padding: 0 7px; border-radius: 999px; background: var(--espresso); color: var(--ivory); font-size: 13px; font-variant-numeric: tabular-nums; }
.cart-count.bump { animation: bump .5s var(--ease-out); }
@keyframes bump { 30% { transform: scale(1.3); } }
.menu-btn { display: none; min-height: 40px; padding: 0 14px; border: 0; border-radius: 999px; background: var(--linen); cursor: pointer; font-size: 15px; }
@media (max-width: 760px) {
  .menu-btn { display: inline-flex; align-items: center; margin-left: auto; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; gap: 0; margin: 0; padding: 8px var(--gutter) 20px; background: var(--ivory); border-bottom: 1px solid var(--line); font-size: 20px; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
}

/* breadcrumbs */
.crumbs { max-width: var(--max); margin: 0 auto; padding: 14px var(--gutter) 0; font-size: 14px; color: var(--muted); }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 8px; }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--sand); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

/* page heads */
.page-head { max-width: var(--max); margin: 0 auto; padding: clamp(20px, 4vw, 48px) var(--gutter) 8px; }
.page-head h1 { font-size: clamp(38px, 6.4vw, 76px); }
.page-head .lede { margin-top: 12px; color: var(--muted); max-width: 56ch; font-size: clamp(17px, 1.5vw, 19px); }

/* men / women toggle */
.side { display: inline-grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border-radius: 999px; background: var(--linen); }
.side a, .side button { display: grid; place-items: center; min-width: 108px; min-height: 44px; padding: 0 16px; border: 0; border-radius: 999px; background: transparent; color: var(--espresso); font-size: 16px; font-weight: 500; text-decoration: none; cursor: pointer; transition: background .3s var(--ease-out), color .3s var(--ease-out); }
.side [aria-pressed="true"], .side [aria-current="page"] { background: var(--espresso); color: var(--ivory); }

/* the swatch ring */
.hero { text-align: center; padding: clamp(20px, 4vw, 48px) var(--gutter) 0; }
.hero .side { margin-bottom: 18px; }
.hero h1 { font-size: clamp(38px, 7.4vw, 84px); }
.hero .lede { margin: 12px auto 0; color: var(--muted); max-width: 42ch; }
.fan { position: relative; height: var(--fh, clamp(250px, 40vw, 380px)); margin: 18px auto 0; max-width: 760px; --cw: clamp(58px, 9vw, 92px); --ch: calc(var(--fh, clamp(250px, 40vw, 380px)) - 30px); }
.fan--sm { --fh: 230px; --cw: 54px; }
.ring { position: absolute; left: 50%; bottom: 14px; width: 26px; height: 26px; margin-left: -13px; border-radius: 50%; border: 5px solid #A49B8F; background: var(--ivory); z-index: 20; box-shadow: 0 2px 4px rgba(44, 33, 26, .25); }
.sw { position: absolute; left: 50%; bottom: 0; width: var(--cw); height: var(--ch); margin-left: calc(var(--cw) / -2); transform-origin: 50% calc(100% - 27px); transform: rotate(var(--r)); border: 0; padding: 0; cursor: pointer; border-radius: 10px; background: var(--linen); box-shadow: 0 6px 14px -8px rgba(44, 33, 26, .55); transition: transform .55s var(--ease-out), box-shadow .3s; display: flex; flex-direction: column; overflow: hidden; text-decoration: none; }
.sw__c { flex: 1; background: var(--c); }
.sw__l { padding: 10px 8px 44px; font-size: 10px; line-height: 1.25; letter-spacing: .04em; text-transform: uppercase; color: var(--espresso); text-align: center; }
.sw:hover { transform: rotate(var(--r)) translateY(-8px); }
.sw[aria-checked="true"] { transform: rotate(var(--r)) translateY(-26px); box-shadow: 0 16px 26px -10px rgba(44, 33, 26, .6); z-index: 10; }
.fan.closed .sw { transform: rotate(0deg); }
.pick { text-align: center; padding: 26px var(--gutter) 0; }
.pick h2 { font-size: clamp(26px, 4vw, 40px); }
.pick p { margin-top: 6px; color: var(--muted); }
.missing { text-align: center; padding: 22px var(--gutter) 0; }

/* the swatch strip: the fan laid flat, for shop filters */
.strip { display: flex; gap: 8px; overflow-x: auto; padding: 14px 0 8px; scrollbar-width: none; }
.strip::-webkit-scrollbar { display: none; }
.strip > * { flex: none; width: 64px; height: 116px; border: 0; padding: 0; border-radius: 9px; overflow: hidden; cursor: pointer; display: flex; flex-direction: column; text-decoration: none; color: var(--espresso); background: var(--linen); box-shadow: 0 4px 10px -7px rgba(44, 33, 26, .55); transition: transform .35s var(--ease-out); }
.strip > * span:first-child { flex: 1; background: var(--c); }
.strip > * span:last-child { padding: 7px 6px 9px; font-size: 10px; line-height: 1.2; letter-spacing: .04em; text-transform: uppercase; }
.strip > [aria-pressed="true"] { transform: translateY(-8px); box-shadow: 0 12px 18px -10px rgba(44, 33, 26, .6); }
.strip > .all span:first-child { background: var(--all); }
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 4px 0; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px; border: 0; background: var(--linen); color: var(--espresso); font-size: 15px; text-decoration: none; cursor: pointer; transition: background .2s var(--ease-out), color .2s var(--ease-out); }
.chip:hover { background: var(--sand); }
.chip[aria-pressed="true"], .chip[aria-current="page"] { background: var(--espresso); color: var(--ivory); }
.shop-head { max-width: var(--max); margin: 0 auto; padding: 8px var(--gutter) 0; display: grid; gap: 6px; }
.shop-head .side { justify-self: start; margin-top: 8px; }

/* product cards */
.grid { list-style: none; margin: 0 auto; padding: 26px var(--gutter) 0; max-width: var(--max); display: grid; gap: 24px 14px; grid-template-columns: repeat(auto-fill, minmax(min(46%, 260px), 1fr)); }
.grid--flush { padding-left: 0; padding-right: 0; }
.card { text-decoration: none; display: block; }
.card__f { position: relative; aspect-ratio: 4 / 3.4; border-radius: 14px; display: grid; place-items: center; background: var(--f); overflow: hidden; transition: background .5s var(--ease-out); }
.card__f::after { content: ""; position: absolute; right: 10px; bottom: 10px; width: 16px; height: 26px; border-radius: 4px; background: var(--c); box-shadow: 0 0 0 2px var(--ivory); }
.card__f svg { width: 84%; }
.card h3 { margin-top: 10px; font-size: 17px; font-weight: 500; letter-spacing: 0; }
.card__price { margin-top: 4px; font-size: 17px; font-weight: 500; color: var(--espresso); }
.card__meta { margin-top: 2px; font-size: 14px; color: var(--muted); }
.card:hover h3 { text-decoration: underline; }
.dots { display: flex; gap: 4px; margin-top: 6px; }
.dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(59, 42, 32, .12); }

/* shop by piece */
.tiles { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(46%, 200px), 1fr)); }
.tile { display: grid; gap: 2px; text-decoration: none; }
.tile__f { aspect-ratio: 1; border-radius: 14px; background: var(--f); display: grid; place-items: center; margin-bottom: 8px; transition: background .5s var(--ease-out); }
.tile__f svg { width: 86%; }
.tile b { font-weight: 500; font-size: 17px; }
.tile:hover b { text-decoration: underline; }

/* promise strip */
.promise ul { list-style: none; margin: 0; padding: 24px 0; display: grid; gap: 18px 40px; border-top: 1px solid var(--sand); border-bottom: 1px solid var(--sand); }
@media (min-width: 760px) { .promise ul { grid-template-columns: repeat(3, 1fr); } }
.promise li, .made li { display: grid; gap: 4px; }
.promise b, .made b { font-weight: 500; font-size: 17px; }
.promise li span { color: var(--muted); font-size: 15px; }
.promise .note { margin-top: 10px; }

/* dark band */
.band { margin-top: clamp(56px, 8vw, 104px); background: var(--espresso); color: var(--ivory); padding: clamp(44px, 7vw, 88px) var(--gutter); text-align: center; }
.band h2 { font-size: clamp(30px, 5vw, 52px); }
.band > p { margin: 12px auto 0; color: var(--on-dark-muted); max-width: 46ch; }
.band .pill { margin-top: 30px; }
.band :focus-visible { outline-color: var(--sand); }
.made { list-style: none; margin: 28px auto 0; padding: 0; max-width: 900px; display: grid; gap: 18px 32px; text-align: center; }
@media (min-width: 760px) { .made { grid-template-columns: repeat(3, 1fr); text-align: center; } }
.made span { color: var(--on-dark-muted); font-size: 15px; }
.band + .foot { margin-top: 0; }

/* intro copy on landing and category pages */
.intro { display: grid; gap: 14px; max-width: 68ch; }
.intro p { color: var(--espresso); }
.cols { display: grid; gap: 28px 56px; }
@media (min-width: 900px) { .cols { grid-template-columns: 1fr 1fr; } }

/* questions */
.qa { margin-top: 18px; border-top: 1px solid var(--line); }
.qa details { border-bottom: 1px solid var(--line); }
.qa summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; font-weight: 500; font-size: 18px; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; flex: none; font-weight: 400; font-size: 22px; line-height: 1; transition: transform .3s var(--ease-out); }
.qa details[open] summary::after { transform: rotate(45deg); }
.qa details > div { padding: 0 0 18px; max-width: 64ch; color: var(--espresso); }
.qa details > div p + p { margin-top: 10px; }

/* product */
.pdp { max-width: var(--max); margin: 0 auto; padding: 16px var(--gutter) 0; display: grid; gap: 24px 64px; }
.pdp > * { min-width: 0; }
@media (min-width: 960px) { .pdp { grid-template-columns: 1.1fr 1fr; align-items: start; } .pdp__media { position: sticky; top: 84px; } }
.pdp__art { position: relative; border-radius: 20px; background: var(--f); aspect-ratio: 4 / 3.2; display: grid; place-items: center; overflow: hidden; transition: background .5s var(--ease-out); }
.pdp__art::after { content: ""; position: absolute; right: 16px; bottom: 16px; width: 24px; height: 40px; border-radius: 5px; background: var(--c); box-shadow: 0 0 0 3px var(--ivory); transition: background .5s var(--ease-out); }
.pdp__art svg { width: 86%; }
.pdp h1 { font-size: clamp(36px, 5vw, 60px); }
.pdp .meta { margin-top: 8px; color: var(--muted); }
.pdp .big-price { margin-top: 14px; font-size: 30px; font-weight: 500; }
.pdp .desc { margin-top: 12px; max-width: 48ch; }
.pdp .shade-h { margin-top: 24px; font-size: 15px; color: var(--muted); }
.pdp .shade-h b { color: var(--espresso); font-weight: 500; }
.shades { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.shade { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px 0 8px; border-radius: 999px; border: 0; background: var(--linen); color: var(--espresso); text-decoration: none; font-size: 15px; cursor: pointer; }
.shade i { width: 24px; height: 24px; border-radius: 50%; background: var(--c); }
.shade[aria-checked="true"] { box-shadow: inset 0 0 0 2px var(--espresso); }
.buy { margin-top: 22px; display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.qty { display: inline-grid; grid-template-columns: 44px 36px 44px; align-items: center; height: 48px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px currentColor; }
.qty button { display: grid; place-items: center; height: 44px; border: 0; background: none; cursor: pointer; border-radius: 999px; }
.qty button svg { width: 16px; height: 16px; }
.qty button:hover { background: rgba(59, 42, 32, .08); }
.qty output { text-align: center; font-variant-numeric: tabular-nums; font-weight: 500; }
.pdp h2 { font-size: 22px; margin-top: 32px; }
.inside { margin: 14px 0 0; padding: 0; list-style: none; counter-reset: i; display: grid; gap: 10px; }
.inside li { counter-increment: i; display: grid; grid-template-columns: 30px 1fr; gap: 10px; }
.inside li::before { content: counter(i); display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--espresso); color: var(--ivory); font-size: 13px; font-weight: 500; }
.specs { margin: 14px 0 0; display: grid; }
.specs div { display: grid; grid-template-columns: 8em 1fr; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.specs dt { color: var(--muted); }
.specs dd { margin: 0; }
.long p + p { margin-top: 12px; }
.long { margin-top: 12px; max-width: 60ch; }
.buybar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: none; align-items: center; justify-content: space-between; gap: 12px; padding: 10px var(--gutter) max(10px, env(safe-area-inset-bottom)); background: var(--ivory); border-top: 1px solid var(--line); transform: translateY(100%); transition: transform .4s var(--ease-out); }
.buybar.show { transform: none; }
.buybar b { display: block; font-weight: 500; font-size: 15px; line-height: 1.2; }
.buybar span { font-size: 14px; color: var(--muted); }
@media (max-width: 959px) { .buybar { display: flex; } }

/* journal */
.posts { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 28px 20px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.post-card { display: grid; gap: 8px; text-decoration: none; }
.post-card__f { aspect-ratio: 16 / 10; border-radius: 14px; background: var(--f); display: grid; place-items: center; overflow: hidden; }
.post-card__f svg { width: 62%; }
.post-card small { font-size: 14px; color: var(--muted); }
.post-card h3 { font-size: 21px; }
.post-card p { font-size: 15px; color: var(--muted); }
.post-card:hover h3 { text-decoration: underline; }
.topics { margin-top: 18px; }
.article { max-width: 760px; margin: 0 auto; padding: clamp(20px, 4vw, 44px) var(--gutter) 0; }
.article h1 { font-size: clamp(36px, 5.6vw, 64px); }
.article .byline { margin-top: 14px; font-size: 14px; color: var(--muted); }
.article .art { margin-top: 24px; aspect-ratio: 16 / 9; border-radius: 18px; background: var(--f); display: grid; place-items: center; }
.article .art svg { width: 56%; }
.toc { margin-top: 28px; padding: 18px 20px; border-radius: 14px; background: var(--linen); font-size: 15px; }
.toc b { font-weight: 500; }
.toc ol { margin: 8px 0 0; padding-left: 20px; display: grid; gap: 4px; }
.prose { margin-top: 28px; font-size: 18px; line-height: 1.65; }
.prose > * + * { margin-top: 16px; }
.prose h2 { font-size: clamp(26px, 3.4vw, 34px); margin-top: 44px; scroll-margin-top: 90px; }
.prose h3 { font-size: 21px; margin-top: 28px; letter-spacing: -.01em; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li + li { margin-top: 8px; }
.prose a { text-decoration-color: var(--sand); text-decoration-thickness: 2px; }
.prose a:hover { text-decoration-color: var(--espresso); }
.prose strong { font-weight: 500; }
.feature { margin-top: 44px; padding: 22px; border-radius: 18px; background: var(--linen); }
.feature h2 { font-size: 22px; }
.feature .grid { padding: 16px 0 0; }

/* plain info pages */
.doc { max-width: 760px; margin: 0 auto; padding: 0 var(--gutter); }
.draft { margin-top: 18px; padding: 14px 16px; border-radius: 12px; background: var(--linen); font-size: 15px; }
.draft b { font-weight: 500; }

/* cart */
.cart-root { max-width: var(--max); margin: 0 auto; padding: 16px var(--gutter) 0; }
.cart { display: grid; gap: 32px; align-items: start; }
.cart > *, .line > div { min-width: 0; }
@media (min-width: 960px) { .cart { grid-template-columns: 1fr 420px; gap: 56px; } }
.lines { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.line { display: grid; grid-template-columns: 80px 1fr auto; gap: 12px; align-items: start; }
.line__thumb { position: relative; overflow: hidden; display: grid; place-items: center; aspect-ratio: 1; border-radius: 12px; background: var(--f); }
.line__thumb svg { width: 88%; }
.line__thumb::after { content: ""; position: absolute; right: 6px; bottom: 6px; width: 10px; height: 16px; border-radius: 3px; background: var(--c); box-shadow: 0 0 0 2px var(--ivory); }
.line__name { font-weight: 500; text-decoration: none; }
.line__name:hover { text-decoration: underline; }
.line__ctrl { display: flex; align-items: center; gap: 14px; margin-top: 10px; flex-wrap: wrap; }
.remove { border: 0; background: none; padding: 8px 0; text-decoration: underline; color: var(--muted); cursor: pointer; font-size: 15px; }
.summary { min-width: 0; background: var(--espresso); color: var(--ivory); border-radius: 18px; padding: clamp(22px, 3vw, 32px); }
.summary h2 { font-size: 28px; }
.summary dl { margin: 18px 0 22px; display: grid; gap: 8px; }
.summary dl div { display: flex; justify-content: space-between; gap: 16px; }
.summary dt { color: var(--on-dark-muted); }
.summary dd { margin: 0; text-align: right; }
.summary .total { padding-top: 12px; margin-top: 4px; border-top: 1px solid rgba(244, 239, 230, .2); font-weight: 500; font-size: 19px; }
.summary .total dt { color: var(--ivory); }
.summary :focus-visible { outline-color: var(--sand); }
.form { display: grid; gap: 12px; }
.form label { display: grid; gap: 6px; font-size: 14px; color: var(--on-dark-muted); }
.form label, .form .row > label { min-width: 0; }
.form input { width: 100%; min-width: 0; min-height: 48px; padding: 0 14px; border-radius: 10px; border: 1px solid rgba(244, 239, 230, .28); background: rgba(244, 239, 230, .06); color: var(--ivory); font: inherit; font-size: 16px; }
.form input::placeholder { color: rgba(244, 239, 230, .5); }
.form input:focus { outline: 2px solid var(--sand); outline-offset: 1px; }
.form input[aria-invalid="true"] { border-color: #E59A85; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.err { color: #F2B4A3; font-size: 15px; }
.err:empty { display: none; }
.pay-status { font-size: 14px; color: var(--on-dark-muted); text-align: center; }
.empty p { color: var(--muted); max-width: 40ch; }
.empty .pill { margin-top: 20px; }

/* toast */
.toast { position: fixed; left: 50%; bottom: 84px; z-index: 60; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; display: flex; align-items: center; gap: 16px; padding: 12px 14px 12px 18px; border-radius: 14px; background: var(--espresso); color: var(--ivory); box-shadow: 0 14px 30px -12px rgba(44, 33, 26, .55); font-size: 15px; width: max-content; max-width: calc(100vw - 32px); transition: opacity .3s var(--ease-out), transform .45s var(--ease-out); }
.toast.show { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.toast a { flex: none; font-weight: 500; }
.toast :focus-visible { outline-color: var(--sand); }

/* footer */
.foot { margin-top: clamp(56px, 8vw, 104px); background: var(--espresso); color: var(--ivory); padding: 44px var(--gutter) 40px; }
.foot__in { max-width: var(--max); margin: 0 auto; display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.foot img { height: 74px; width: auto; }
.foot h2 { font-size: 15px; font-weight: 500; letter-spacing: 0; color: var(--on-dark-muted); }
.foot ul { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 6px; }
.foot a { text-decoration: none; }
.foot a:hover { text-decoration: underline; }
.foot .base { max-width: var(--max); margin: 36px auto 0; padding-top: 18px; border-top: 1px solid rgba(244, 239, 230, .18); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 14px; color: var(--on-dark-muted); }
.foot :focus-visible { outline-color: var(--sand); }
body.has-buybar .foot { padding-bottom: 110px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* sizes, about photos, band links */
.sizes { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.size { min-width: 52px; min-height: 44px; padding: 0 12px; border: 0; border-radius: 999px; background: var(--linen); font-size: 16px; font-variant-numeric: tabular-nums; cursor: pointer; }
.size:hover { background: var(--sand); }
.size[aria-checked="true"] { background: var(--espresso); color: var(--ivory); }
.err-inline { margin-top: 8px; font-size: 15px; color: #A33A26; }
.err-inline:empty { display: none; }
.band__links { display: flex; justify-content: center; align-items: center; gap: 12px 24px; flex-wrap: wrap; margin-top: 30px; }
.band__links .pill { margin-top: 0; }
.band__more { font-weight: 500; }
.photos { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); }
.photos figure { margin: 0; }
.photos img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 14px; }
.photos figcaption { margin-top: 6px; font-size: 14px; color: var(--muted); }

/* long buying guides and hub pages */
.longcopy { margin-top: clamp(48px, 7vw, 88px); }
.longcopy__h { font-size: clamp(30px, 4.4vw, 46px); }
.longcopy .toc { margin-top: 20px; }
.actions-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }

/* shade pages */
.chip--shade { gap: 8px; padding-left: 8px; }
.chip--shade i { width: 22px; height: 22px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(59, 42, 32, .15); }
.shade-badge { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 12px; font-size: 15px; color: var(--muted); }
.shade-badge i { width: 18px; height: 30px; border-radius: 4px; background: var(--c); }
.shade-tiles { list-style: none; margin: 8px auto 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(46%, 220px), 1fr)); }
.shade-tile { display: grid; gap: 2px; text-decoration: none; }
.shade-tile__sw { aspect-ratio: 1; border-radius: 14px; background: var(--f); display: grid; place-items: center; margin-bottom: 8px; position: relative; }
.shade-tile__sw::after { content: ""; width: 34%; height: 62%; border-radius: 10px; background: var(--c); box-shadow: 0 10px 18px -10px rgba(44, 33, 26, .6); }
.shade-tile b { font-weight: 500; font-size: 17px; }
.shade-tile:hover b { text-decoration: underline; }

/* homepage questions: short and narrow */
.home-qa .qa { max-width: 760px; }
/* a page that ends on the dark band runs straight into the footer */
main:has(> .band:last-child) + .foot { margin-top: 0; border-top: 1px solid rgba(244, 239, 230, .12); }

/* the four promises, under the hero, the buy button and in the cart */
.assure { list-style: none; margin: 22px auto 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; font-size: 14px; color: var(--muted); }
.assure li { display: inline-flex; align-items: center; gap: 7px; }
.assure svg { width: 15px; height: 15px; flex: none; color: var(--espresso); }
.assure a { color: var(--espresso); }
.assure--tight { justify-content: flex-start; margin: 18px 0 0; gap: 6px 18px; }
.hero__cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; padding: 24px var(--gutter) 0; }
.pdp__caption { margin-top: 8px; font-size: 12px; color: var(--muted); letter-spacing: .02em; }
.summary__assure { list-style: none; margin: 16px 0 0; padding: 14px 0 0; border-top: 1px solid rgba(244, 239, 230, .18); display: grid; gap: 6px; font-size: 13px; color: var(--on-dark-muted); }
.summary__assure a { color: var(--ivory); }
.pill--sm { min-height: 40px; padding: 0 16px; font-size: 14px; }
.addon { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); }
.addon h2 { font-size: 20px; }
.addon ul { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 12px; }
.addon li { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; align-items: center; }
.addon li > div { min-width: 0; }
.addon__thumb { display: grid; place-items: center; aspect-ratio: 1; border-radius: 10px; background: var(--f); }
.addon__thumb svg { width: 88%; }

/* delivery line in the checkout summary */
.del-note { margin: -8px 0 16px; font-size: 14px; color: var(--sand); }
.del-note:empty { display: none; }
