/* Baloo Da 2 only supplies the taka sign, which Jost does not have. */
@import url('https://fonts.googleapis.com/css2?family=Baloo+Da+2:wght@400;500;600&display=swap');

:root {
  --paper: #fff;
  --paper-2: #f6f2ec;
  --ink: #191512;
  --muted: #6b625a;
  --line: #e7e0d6;
  --oxblood: #4b1321;
  --madder: #7a2233;
  --thread: #c9a46a;
  --ok: #2f6b4f;
  --warn-bg: #f6e4d8;
  --display: 'Bodoni Moda', Didot, 'Bodoni MT', Georgia, serif;
  --body: 'Jost', 'Baloo Da 2', 'Segoe UI', system-ui, sans-serif;
  --gutter: clamp(16px, 4vw, 56px);
  --ease: cubic-bezier(.22, .7, .2, 1);
  --motion: 1;
  --radius: 0;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 16px/1.55 var(--body);
  -webkit-font-smoothing: antialiased;
}
body.no-scroll { overflow: hidden; }
main { display: block; min-height: 70vh; }
h1, h2, h3, h4, p { margin: 0; }
a { color: inherit; }
img, svg { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--madder); outline-offset: 2px; }

/* ---------- moving between pages and between pieces ---------- */
@view-transition { navigation: auto; }
::view-transition-group(*) { animation-duration: calc(.55s * var(--motion)); animation-timing-function: var(--ease); }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: calc(.4s * var(--motion)); }

/* How pieces appear when scrolled to. The whole site has one style, and a block can choose its own. */
.reveal { transition: opacity calc(.9s * var(--motion)) var(--ease), transform calc(.9s * var(--motion)) var(--ease); transition-delay: calc(var(--i, 0) * 70ms * var(--motion)); }
.reveal:not(.in) { opacity: 0; }
.reveal.in { opacity: 1; transform: none; }
html.entrance-rise .reveal:not(.in) { transform: translateY(26px); }
html.entrance-zoom .reveal:not(.in) { transform: scale(.95); }
html.entrance-slide .reveal:not(.in) { transform: translateX(44px); }
html.entrance-none .reveal { opacity: 1; transform: none; transition: none; }
.lego.enter-rise .reveal:not(.in) { opacity: 0; transform: translateY(26px); }
.lego.enter-fade .reveal:not(.in) { opacity: 0; transform: none; }
.lego.enter-zoom .reveal:not(.in) { opacity: 0; transform: scale(.95); }
.lego.enter-slide .reveal:not(.in) { opacity: 0; transform: translateX(44px); }
.lego.enter-none .reveal { opacity: 1; transform: none; transition: none; }

@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 30px;
  background: var(--ink); color: var(--paper);
  border: 1px solid var(--ink); border-radius: var(--radius);
  font-size: 12.5px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; text-decoration: none;
  cursor: pointer; transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
}
.btn:hover { background: var(--madder); border-color: var(--madder); }
.btn:disabled { background: #a79d90; border-color: #a79d90; cursor: not-allowed; }
.btn-light { background: var(--paper); color: var(--oxblood); border-color: var(--paper); }
.btn-light:hover { background: var(--thread); border-color: var(--thread); color: var(--ink); }
.btn-block { display: flex; width: 100%; }
.text-link {
  font-size: 12px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; text-decoration: none; padding-bottom: 5px;
  background: linear-gradient(currentColor, currentColor) center bottom / 100% 1px no-repeat;
  transition: background-size .45s var(--ease);
}
.text-link:hover { background-size: 40% 1px; }
.text-btn { background: none; border: 0; padding: 8px 0; font-size: 14px; color: var(--muted); text-decoration: underline; cursor: pointer; }
.icon-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; background: none; border: 0; cursor: pointer; }

/* ---------- header ---------- */
#site-header { display: contents; }
.topbar { display: grid; grid-template-columns: 1fr; align-items: center; min-height: 32px; padding: 0 var(--gutter); background: var(--oxblood); color: #f3e9dd; font-size: 11.5px; letter-spacing: .1em; }
.topbar-links { display: none; gap: 22px; }
.topbar-links a { text-decoration: none; opacity: .85; transition: opacity .3s; }
.topbar-links a:hover { opacity: 1; }
.topbar-right { justify-content: flex-end; }
.ticker { position: relative; height: 32px; overflow: hidden; }
.ticker span { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; text-align: center; line-height: 1.15; opacity: 0; transform: translateY(8px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.ticker span.on { opacity: 1; transform: none; }

.masthead {
  position: sticky; top: 0; z-index: 30;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  min-height: 60px; padding: 0 clamp(6px, 3vw, 40px);
  background: var(--paper); border-bottom: 1px solid var(--line);
}
.logo { display: inline-flex; align-items: center; gap: 9px; font: 500 20px/1 var(--display); letter-spacing: .16em; text-transform: uppercase; text-decoration: none; white-space: nowrap; }
.logo img { flex: none; width: auto; height: 42px; }
.footer-brand .logo img { height: 64px; }
.menu-btn { justify-self: start; }
.masthead .masthead-search { display: none; }
.navbar { display: none; }
.header-actions { justify-self: end; display: flex; align-items: center; gap: 12px; }
.account-link { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-width: 44px; height: 44px; font-size: 13px; letter-spacing: .04em; text-decoration: none; white-space: nowrap; }
.account-link span { display: none; }
.badge { position: absolute; top: 3px; right: 1px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 9px; background: var(--madder); color: #fff; font: 500 11px/18px var(--body); text-align: center; }

.site-search { display: flex; align-items: center; border-bottom: 1px solid var(--line); transition: border-color .35s var(--ease); }
.site-search:focus-within { border-color: var(--ink); }
.site-search input { flex: 1; min-width: 0; min-height: 40px; padding: 0 4px; background: none; border: 0; font-size: 14px; }
.site-search input:focus { outline: none; }
.site-search input::-webkit-search-cancel-button { display: none; }
.site-search button { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; background: none; border: 0; cursor: pointer; }

@media (min-width: 640px) {
  .account-link span { display: block; }
}
@media (max-width: 480px) {
  .header-actions { gap: 0; }
}
@media (max-width: 380px) {
  .topbar { font-size: 10.5px; letter-spacing: .06em; }
  .logo { font-size: 16px; letter-spacing: .08em; gap: 6px; }
  .masthead .logo img { height: 36px; }
}
@media (min-width: 1040px) {
  .topbar { grid-template-columns: 1fr minmax(0, 1.6fr) 1fr; }
  .topbar-links { display: flex; }
  .masthead { position: static; min-height: 84px; padding: 0 var(--gutter); border-bottom: 0; }
  .menu-btn { display: none; }
  .masthead .masthead-search { display: flex; justify-self: start; width: min(100%, 260px); }
  .logo { font-size: 24px; letter-spacing: .2em; gap: 12px; }
  .masthead .logo img { height: 56px; }

  .navbar {
    position: sticky; top: 0; z-index: 30;
    display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
    min-height: 46px; padding: 0 var(--gutter);
    background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
    transition: box-shadow .4s var(--ease);
  }
  .navbar.stuck { box-shadow: 0 6px 24px rgba(25, 21, 18, .07); }
  .navbar-logo, .navbar-bag { opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility 0s .4s; }
  .navbar-logo img { width: auto; height: 32px; }
  .navbar-bag { justify-self: end; }
  .navbar.stuck .navbar-logo, .navbar.stuck .navbar-bag { opacity: 1; visibility: visible; transition: opacity .4s var(--ease); }
  .main-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 34px; min-width: 0; }
  .main-nav a {
    padding: 13px 0; font-size: 12px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; text-decoration: none;
    background: linear-gradient(var(--madder), var(--madder)) center calc(100% - 9px) / 0 1px no-repeat;
    transition: background-size .45s var(--ease), color .3s;
  }
  .main-nav a:hover, .main-nav a[aria-current] { background-size: 100% 1px; }
  .main-nav a[href$='filter=sale'] { color: var(--madder); }
}

/* ---------- hero: one tall slide per signature piece ---------- */
.eyebrow { font-size: 11.5px; font-weight: 500; letter-spacing: .26em; text-transform: uppercase; color: var(--madder); }

.hero { position: relative; overflow: hidden; background: var(--ink); touch-action: pan-y; }
.hero.h-short { height: min(60svh, 440px); }
.hero.h-medium { height: min(72svh, 540px); }
.hero.h-tall { height: min(84svh, 640px); }
.hero.h-full { height: calc(100svh - var(--header-h, 60px)); }
.slide {
  --slide-ink: var(--paper); --slide-accent: var(--thread);
  position: absolute; inset: 0;
  display: grid; grid-template-rows: minmax(0, 1fr) auto;
  background: var(--slide-bg, var(--oxblood)); color: var(--slide-ink);
  opacity: 0; visibility: hidden;
  transition: opacity calc(1.1s * var(--motion)) var(--ease), transform calc(1.1s * var(--motion)) var(--ease), visibility 0s calc(1.1s * var(--motion));
}
.slide[data-tone='light'] { --slide-ink: var(--ink); --slide-accent: var(--madder); }
.slide.is-active { z-index: 1; opacity: 1; visibility: visible; transition: opacity calc(1.1s * var(--motion)) var(--ease), transform calc(1.1s * var(--motion)) var(--ease); }
.tr-slide .slide { opacity: 1; transform: translateX(100%); }
.tr-slide .slide.was-active { transform: translateX(-100%); }
.tr-slide .slide.is-active { transform: none; }
.tr-zoom .slide { transform: scale(1.08); }
.tr-zoom .slide.is-active { transform: none; }
.tr-none .slide, .tr-none .slide.is-active { transition: none; }
.slide-art { display: flex; justify-content: center; min-height: 0; transform: scale(1.06); transition: transform 7s linear; }
.slide.is-active .slide-art { transform: none; }
/* The drawings carry their own backdrop, so their edges fade into the slide. */
.slide-art svg.art {
  width: auto; height: 100%; aspect-ratio: 400 / 540;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 16%, #000 84%, transparent), linear-gradient(to bottom, #000 97%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 16%, #000 84%, transparent), linear-gradient(to bottom, #000 97%, transparent);
  -webkit-mask-composite: source-in; mask-composite: intersect;
}
.slide-art img.art { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }

.slide-copy { position: relative; z-index: 1; padding: 14px var(--gutter) 62px; text-align: center; }
.slide-copy > * { opacity: 0; transform: translateY(16px); transition: opacity calc(.9s * var(--motion)) var(--ease) .25s, transform calc(.9s * var(--motion)) var(--ease) .25s; }
.slide.is-active .slide-copy > * { opacity: 1; transform: none; }
.slide.is-active .slide-copy > :nth-child(2) { transition-delay: .4s; }
.slide.is-active .slide-copy > :nth-child(3) { transition-delay: .55s; }
.slide.is-active .slide-copy > :nth-child(4) { transition-delay: .7s; }
.slide .eyebrow { color: var(--slide-accent); }
.slide-title { margin: 8px 0 6px; font: 400 clamp(32px, 9vw, 92px)/1.03 var(--display); letter-spacing: -.01em; }
.slide-title em { color: var(--slide-accent); }
/* This display font leaves a wide gap after a capital W. */
.tuck { letter-spacing: -.1em; }
.slide-sub { font-size: clamp(14px, 1.3vw, 18px); line-height: 1.4; opacity: .88; }
.slide-cta { margin-top: 14px; }
.slide .btn { min-height: 44px; padding: 0 22px; background: var(--slide-ink); color: var(--slide-bg, var(--oxblood)); border-color: var(--slide-ink); }
.slide.has-photo .btn { color: var(--ink); }
.slide .btn:hover { background: transparent; color: var(--slide-ink); }

.slide.has-photo { display: block; background: var(--ink); }
.slide.has-photo .slide-art { position: absolute; inset: 0; }
.slide.has-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0, 0, 0, .62), rgba(0, 0, 0, 0) 58%); }
.slide.has-photo .slide-copy { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; }

.hero-controls { position: absolute; left: 0; right: 0; bottom: 10px; z-index: 3; display: flex; align-items: center; justify-content: center; gap: 4px; color: var(--paper); transition: color .8s var(--ease); pointer-events: none; }
.hero[data-tone='light'] .hero-controls { color: var(--ink); }
.hero-controls button { pointer-events: auto; background: none; border: 0; color: inherit; cursor: pointer; }
.hero-dots { display: flex; }
.hero-dot { display: flex; align-items: center; width: 44px; height: 40px; padding: 0 5px; }
.hero-dot i { position: relative; display: block; width: 100%; height: 1px; overflow: hidden; background: currentColor; opacity: .55; transition: opacity .4s; }
.hero-dot.is-active i { opacity: 1; height: 2px; background: color-mix(in srgb, currentColor 30%, transparent); }
.hero-dot.is-active i::after { content: ''; position: absolute; inset: 0; background: currentColor; transform-origin: left; animation: progress var(--slide-ms, 7s) linear forwards; }
.hero.no-auto .hero-dot.is-active i::after { animation: none; }
.hero:hover .hero-dot i::after, .hero.is-held .hero-dot i::after, .hero.is-paused .hero-dot i::after { animation-play-state: paused; }
.hero-pause { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; }
.hero-arrow { display: none; }

@media (min-width: 900px) {
  .hero.h-short { height: clamp(340px, 52svh, 520px); }
  .hero.h-medium { height: clamp(420px, 64svh, 660px); }
  .hero.h-tall { height: clamp(520px, 78svh, 800px); }
  .slide { grid-template-rows: minmax(0, 1fr); grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); }
  .slide-art { grid-column: 2; grid-row: 1; }
  .slide-copy { grid-column: 1; grid-row: 1; align-self: center; padding: 0 0 20px clamp(64px, 8vw, 128px); text-align: left; }
  .slide-title { margin: 14px 0 12px; font-size: clamp(52px, 6vw, 92px); }
  .slide-cta { margin-top: 26px; }
  .slide .btn { min-height: 50px; padding: 0 34px; }
  .slide.has-photo::after { background: linear-gradient(to right, rgba(0, 0, 0, .58), rgba(0, 0, 0, 0) 62%); }
  .slide.has-photo .slide-copy { top: 50%; bottom: auto; right: auto; max-width: 60%; transform: translateY(-50%); }
  .side-right .slide { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); }
  .side-right .slide-art { grid-column: 1; }
  .side-right .slide-copy { grid-column: 2; padding: 0 clamp(64px, 8vw, 128px) 20px 0; text-align: right; }
  .side-center .slide { grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) auto; }
  .side-center .slide-art { grid-column: 1; grid-row: 1; }
  .side-center .slide-copy { grid-column: 1; grid-row: 2; padding: 12px var(--gutter) 64px; text-align: center; }
  .side-center .slide-title { margin: 6px 0; font-size: clamp(38px, 4vw, 64px); }
  .side-center .slide-cta { margin-top: 12px; }
  .side-right .slide.has-photo::after { background: linear-gradient(to left, rgba(0, 0, 0, .58), rgba(0, 0, 0, 0) 62%); }
  .side-right .slide.has-photo .slide-copy { left: auto; right: 0; }
  .side-center .slide.has-photo::after { background: rgba(0, 0, 0, .38); }
  .side-center .slide.has-photo .slide-copy { left: 0; right: 0; max-width: none; padding-bottom: 12px; }
  .hero-controls { bottom: 18px; }
  .hero-arrow { position: absolute; bottom: calc(50svh - 100px); display: flex; align-items: center; justify-content: center; width: 52px; height: 52px; opacity: .75; transition: opacity .3s; }
  .hero-arrow:hover { opacity: 1; }
  .hero-prev { left: 8px; }
  .hero-next { right: 8px; }
}

/* ---------- sections ---------- */
.section { padding: clamp(40px, 6vw, 84px) var(--gutter); }
.space-compact.section { padding-top: clamp(20px, 3vw, 40px); padding-bottom: clamp(20px, 3vw, 40px); }
.space-roomy.section { padding-top: clamp(64px, 9vw, 128px); padding-bottom: clamp(64px, 9vw, 128px); }
.bg-tint { background: var(--paper-2); }
.bg-brand { background: var(--oxblood); color: var(--paper); }
.bg-dark { background: var(--ink); color: var(--paper); }
.bg-brand .eyebrow, .bg-dark .eyebrow { color: var(--thread); }
.bg-brand .card-meta, .bg-dark .card-meta, .bg-brand .price s, .bg-dark .price s { color: inherit; opacity: .8; }
.bg-brand .promise p, .bg-dark .promise p { color: inherit; opacity: .85; }
.bg-brand .promise svg, .bg-dark .promise svg { color: var(--thread); }
@media (max-width: 759px) { .show-laptop { display: none !important; } }
@media (min-width: 760px) { .show-phone { display: none !important; } }
.section-head { display: grid; justify-items: center; gap: 6px; margin-bottom: clamp(20px, 3vw, 40px); text-align: center; }
.section-title { font: 500 clamp(18px, 2vw, 26px)/1.25 var(--body); letter-spacing: .2em; text-transform: uppercase; }
.section-more { margin-top: clamp(22px, 3vw, 40px); text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.keep-lines { white-space: pre-line; }

/* mosaic: one large piece beside four smaller ones */
.signature { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 10px; max-width: 1120px; margin: 0 auto; }
.signature .card:first-child { grid-column: 1 / -1; }
.signature .card-art { aspect-ratio: 4 / 5; }
.signature-even { display: flex; flex-wrap: wrap; justify-content: center; }
.signature-even .card { width: calc(50% - 5px); }
.signature-even .card:first-child { width: 100%; }
@media (min-width: 760px) {
  .signature { grid-template-columns: 2fr 1fr 1fr; gap: 28px 16px; }
  .signature .card:first-child { grid-column: 1; grid-row: span 2; display: flex; flex-direction: column; }
  .signature .card:first-child .card-art { flex: 1; aspect-ratio: auto; }
  .signature .card:first-child .card-name { font-size: 18px; }
  .signature-even { display: flex; }
  .signature-even .card, .signature-even .card:first-child { display: block; width: min(30%, 320px); }
  .signature-even .card:first-child .card-art { aspect-ratio: 4 / 5; }
}

/* category tiles: a picture with its name, which darkens on hover when on a white plate */
.cats { display: grid; grid-template-columns: repeat(var(--cols-p, 2), minmax(0, 1fr)); gap: 10px; }
.cat { position: relative; display: block; overflow: hidden; text-decoration: none; }
.cat-art { aspect-ratio: var(--tile, 3 / 4); overflow: hidden; background: var(--paper-2); }
.cat .art { width: 100%; height: 100%; object-fit: cover; transition: transform calc(1.4s * var(--motion)) var(--ease); }
.cat:hover .art { transform: scale(1.07); }
.cat-label {
  position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%);
  min-width: 62%; padding: 9px 14px; background: var(--paper); color: var(--ink);
  font-size: 11.5px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; text-align: center; white-space: nowrap;
  transition: background calc(.45s * var(--motion)) var(--ease), color calc(.45s * var(--motion)) var(--ease), bottom calc(.45s * var(--motion)) var(--ease);
}
.cat:hover .cat-label { bottom: 20px; background: var(--ink); color: var(--paper); }
.label-over .cat-label, .label-over .cat:hover .cat-label { background: none; color: #fff; text-shadow: 0 1px 12px rgba(0, 0, 0, .6); }
.label-below .cat-label, .label-below .cat:hover .cat-label { position: static; display: block; transform: none; padding: 10px 0 0; background: none; color: inherit; }
@media (min-width: 760px) {
  .cats { grid-template-columns: repeat(var(--cols-d, 4), minmax(0, 1fr)); gap: 16px; }
  .cat-label { bottom: 22px; font-size: 12.5px; }
  .cat:hover .cat-label { bottom: 28px; }
}

/* picture panels */
.banners { display: grid; gap: 4px; }
.banner { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; overflow: hidden; background: var(--slide-bg, var(--oxblood)); color: var(--paper); text-decoration: none; }
.banners.h-short .banner { height: clamp(200px, 26vw, 340px); }
.banners.h-medium .banner { height: clamp(240px, 34vw, 460px); }
.banners.h-tall .banner { height: clamp(300px, 44vw, 600px); }
.banner[data-tone='light'] { color: var(--ink); }
.banner-art { grid-column: 2; grid-row: 1; height: 100%; overflow: hidden; }
.banner-art .art { width: auto; height: 100%; aspect-ratio: 400 / 540; object-fit: cover; transition: transform calc(1.4s * var(--motion)) var(--ease); }
.banner-art svg.art { -webkit-mask-image: linear-gradient(to right, transparent, #000 16%); mask-image: linear-gradient(to right, transparent, #000 16%); }
.banner:hover .art { transform: scale(1.05); }
.banner-copy { grid-column: 1; grid-row: 1; padding: 16px 12px 16px var(--gutter); }
.banner-title { font: 400 clamp(24px, 3.2vw, 46px)/1.06 var(--display); }
.banner-copy p { margin: 6px 0 12px; font-size: 14px; line-height: 1.4; opacity: .88; }
.banner .btn { min-height: 40px; padding: 0 14px; font-size: 11px; letter-spacing: .14em; }
.banner[data-tone='dark'] .btn { background: var(--paper); border-color: var(--paper); color: var(--ink); }
.banner:hover .btn { background: var(--madder); border-color: var(--madder); color: var(--paper); }
.pic-left .banner { grid-template-columns: auto minmax(0, 1fr); }
.pic-left .banner-art { grid-column: 1; }
.pic-left .banner-copy { grid-column: 2; padding: 16px var(--gutter) 16px 12px; }
.pic-left .banner-art svg.art { -webkit-mask-image: linear-gradient(to left, transparent, #000 16%); mask-image: linear-gradient(to left, transparent, #000 16%); }
@media (min-width: 760px) {
  .banners.arrange-beside { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .banner-copy { padding-left: clamp(24px, 4vw, 56px); }
  .pic-left .banner-copy { padding: 16px clamp(24px, 4vw, 56px) 16px 16px; }
  .banner-copy p { font-size: 15px; }
  .banner .btn { min-height: 44px; padding: 0 22px; font-size: 12px; letter-spacing: .18em; }
}

/* wide picture */
.wide-banner { position: relative; display: grid; align-items: center; overflow: hidden; background: var(--oxblood); color: #fff; }
.wide-banner.h-short { min-height: clamp(220px, 30vw, 360px); }
.wide-banner.h-medium { min-height: clamp(300px, 42vw, 520px); }
.wide-banner.h-tall { min-height: clamp(380px, 56vw, 720px); }
.wide-banner > .art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.wide-banner::after { content: ''; position: absolute; inset: 0; background: rgba(0, 0, 0, var(--dim, .35)); }
.wide-copy { position: relative; z-index: 1; padding: 24px var(--gutter); }
.wide-title { font: 400 clamp(30px, 5vw, 72px)/1.05 var(--display); }
.wide-copy p { margin: 8px 0 16px; font-size: clamp(14px, 1.3vw, 18px); }
.wide-copy .btn { background: #fff; border-color: #fff; color: var(--ink); }
.wide-copy .btn:hover { background: var(--madder); border-color: var(--madder); color: #fff; }
.wide-banner.side-center .wide-copy { text-align: center; }
.wide-banner.side-right .wide-copy { text-align: right; }

/* words */
.words { display: grid; justify-items: center; gap: 16px; text-align: center; }
.words.align-left { justify-items: start; text-align: left; }
.words.align-right { justify-items: end; text-align: right; }
.words > img { width: auto; height: 64px; }
.words-text { max-width: 28em; font-family: var(--display); line-height: 1.3; }
.words-small .words-text { max-width: 40em; font-family: var(--body); font-size: 17px; line-height: 1.55; }
.words-medium .words-text { font-size: clamp(20px, 2.2vw, 28px); }
.words-large .words-text { max-width: 24em; font-size: clamp(22px, 3vw, 38px); line-height: 1.25; }

/* the owner's preview in the admin */
.ll-preview [data-block-id] { position: relative; cursor: pointer; }
.ll-preview [data-block-id]:hover { outline: 2px dashed #2f6fd0; outline-offset: -2px; }
.ll-preview [data-block-id].is-editing { outline: 2px solid #2f6fd0; outline-offset: -2px; }
.preview-empty { margin: 16px var(--gutter); padding: 28px 16px; background: var(--paper-2); border: 1px dashed var(--muted); color: var(--muted); text-align: center; }

/* landing page product tiles: small pieces and centred rows, so more of the collection shows at once */
.home .grid, .home .rail { --cols: min(var(--cols-p, 3), 2); --gap: 8px; }
.home .grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px var(--gap); }
.home .rail { display: flex; gap: var(--gap); overflow-x: auto; scroll-snap-type: x proximity; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter) 8px; scrollbar-width: thin; }
.home .grid > .card { width: calc((100% - (var(--cols) - 1) * var(--gap)) / var(--cols)); }
.home .rail > .card { flex: none; width: calc((100% - (var(--cols) - 1) * var(--gap)) / var(--cols)); scroll-snap-align: start; }
.home .tiles .card-art { aspect-ratio: var(--tile, 20 / 27); }
@media (min-width: 360px) { .home .grid, .home .rail { --cols: var(--cols-p, 3); } }
@media (min-width: 760px) { .home .grid, .home .rail { --cols: min(var(--cols-d, 5), 4); --gap: 14px; } .home .grid { row-gap: 28px; } }
@media (min-width: 1040px) { .home .grid, .home .rail { --cols: var(--cols-d, 5); } }
.home .grid .card-name, .home .rail .card-name { font-size: 13.5px; line-height: 1.25; }
.home .grid .card-meta, .home .rail .card-meta { font-size: 12.5px; line-height: 1.3; }
.home .grid .price, .home .rail .price { font-size: 13.5px; }
.home .grid .tag, .home .rail .tag { top: 5px; left: 5px; padding: 1px 5px; font-size: 9.5px; }
.align-left .card { text-align: left; }
.no-color .card-meta { display: none; }
.no-price .price { display: none; }

/* product grid */
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 12px; }
@media (min-width: 760px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 18px; } }
@media (min-width: 1100px) { .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.grid > .empty { grid-column: 1 / -1; }

.card { display: block; min-width: 0; text-align: center; text-decoration: none; }
.card-art { position: relative; aspect-ratio: 20 / 27; overflow: hidden; background: var(--paper-2); margin-bottom: 10px; }
.card-art .art { width: 100%; height: 100%; object-fit: cover; transition: transform calc(1.2s * var(--motion)) var(--ease), opacity calc(.7s * var(--motion)) var(--ease); }
.card:hover .art { transform: scale(1.05); }
.art-alt { position: absolute; inset: 0; opacity: 0; }
.card:hover .art-alt { opacity: 1; }
.card-cta { position: absolute; left: 0; right: 0; bottom: 0; padding: 10px 4px; background: rgba(255, 255, 255, .94); color: var(--ink); font-size: 11px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; transform: translateY(101%); transition: transform calc(.5s * var(--motion)) var(--ease); }
@media (hover: hover) {
  .card:hover .card-cta { transform: none; }
}
.tag { position: absolute; top: 8px; left: 8px; padding: 2px 8px; background: var(--paper); color: var(--ink); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.tag-sale { background: var(--madder); color: #fff; }
.card-name { font: 400 15.5px/1.3 var(--body); }
.card-meta { font-size: 13.5px; color: var(--muted); }
.price { font-size: 15px; font-weight: 500; }
.price s { color: var(--muted); font-weight: 400; margin-right: 2px; }
.price-lg { font-size: 21px; }

/* promises */
.promises { display: grid; gap: 22px; text-align: center; }
.promise svg { margin: 0 auto 8px; color: var(--madder); }
.promise-title { font-size: 12.5px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 4px; }
.promise p { max-width: 26em; margin: 0 auto; color: var(--muted); font-size: 14px; line-height: 1.4; }
@media (min-width: 760px) { .promises { grid-template-columns: repeat(var(--items, 3), minmax(0, 1fr)); gap: 32px; } }

/* email sign-up */
.newsletter { text-align: center; }
.news-title { font: 400 clamp(26px, 3.4vw, 40px)/1.08 var(--display); margin-bottom: 6px; }
.news-text { max-width: 30em; margin: 0 auto 18px; font-size: 15px; opacity: .9; }
.news-form { display: flex; max-width: 480px; margin: 0 auto; border: 1px solid currentColor; }
.bg-brand .news-form, .bg-dark .news-form { border-color: var(--thread); }
.news-form input { flex: 1; min-width: 0; min-height: 50px; padding: 0 16px; background: none; border: 0; font-size: 16px; color: inherit; }
.news-form input::placeholder { color: inherit; opacity: .75; }
.news-form input:focus { outline: none; }
.news-form:focus-within { outline: 2px solid var(--thread); outline-offset: 2px; }
.news-form .btn { padding: 0 22px; }
.bg-brand .news-form .btn, .bg-dark .news-form .btn { background: var(--paper); color: var(--oxblood); border-color: var(--paper); }
.bg-brand .news-form .btn:hover, .bg-dark .news-form .btn:hover { background: var(--thread); border-color: var(--thread); color: var(--ink); }
.form-note { min-height: 24px; margin-top: 10px; font-size: 15px; }

/* choices from the admin's Website section */
html.no-hover-zoom .card:hover .art, html.no-hover-zoom .cat:hover .art, html.no-hover-zoom .banner:hover .art, html.no-hover-zoom .row:hover .row-art .art { transform: none; }
html.no-hover-strip .card-cta { display: none; }
html.no-topbar .topbar { display: none; }
html.no-search .masthead .masthead-search, html.no-search .menu-search { display: none; }
.shop-grid:not(.list-view) { grid-template-columns: repeat(var(--shop-cols-p, 2), minmax(0, 1fr)); }
.shop-grid .card-art { aspect-ratio: var(--shop-tile, 20 / 27); }
html.shop-head-left .page-head { text-align: left; }
@media (min-width: 760px) { .shop-grid:not(.list-view) { grid-template-columns: repeat(var(--shop-cols-t, 3), minmax(0, 1fr)); } }
@media (min-width: 1100px) { .shop-grid:not(.list-view) { grid-template-columns: repeat(var(--shop-cols-d, 4), minmax(0, 1fr)); } }
@media (min-width: 900px) {
  html.gallery-right .pdp { grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); padding: 0 0 24px var(--gutter); }
  html.gallery-right .pdp-gallery { order: 2; }
}
@media (min-width: 1040px) {
  html.logo-left .masthead { grid-template-columns: auto minmax(0, 1fr) auto; gap: 32px; }
  html.logo-left .masthead .logo { grid-column: 1; grid-row: 1; }
  html.logo-left .masthead .masthead-search { grid-column: 2; grid-row: 1; justify-self: center; }
  html.logo-left .masthead .header-actions { grid-column: 3; grid-row: 1; }
}

@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
  html { scroll-behavior: auto; }
  .slide, .slide-art, .slide-copy > *, .ticker span, .drawer { transition: none !important; }
  .slide-art { transform: none; }
  .hero-dot.is-active i::after { animation: none; transform: none; }
  .card-art .art, .cat .art, .banner-art .art { transition: none; }
  .slide.is-active, .tr-slide .slide, .tr-zoom .slide { transform: none; }
  .pdp-gallery, .pdp-info, .page-head, .menu-links a { animation: none !important; }
}
@media print {
  .reveal { opacity: 1; transform: none; }
}

/* footer */
.weave-band {
  height: 18px;
  background:
    repeating-linear-gradient(0deg, var(--oxblood) 0 2px, transparent 2px 6px),
    repeating-linear-gradient(90deg, var(--thread) 0 2px, transparent 2px 6px);
  opacity: .8;
}
.site-footer { background: var(--ink); color: #e8e0d4; }
.footer-inner { display: grid; gap: 32px; padding: 44px var(--gutter) 28px; grid-template-columns: 1fr 1fr; }
.footer-brand { grid-column: 1 / -1; }
.footer-brand p { margin-top: 12px; max-width: 26em; color: #bdb2a4; }
.site-footer h4 { font: 500 13px/1 var(--body); letter-spacing: .18em; text-transform: uppercase; margin-bottom: 12px; color: var(--thread); }
.site-footer .footer-inner div > a:not(.logo) { display: block; padding: 7px 0; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.legal { padding: 16px var(--gutter) calc(20px + env(safe-area-inset-bottom)); border-top: 1px solid #3b342e; font-size: 14px; color: #a99e90; }
@media (min-width: 760px) { .footer-inner { grid-template-columns: 2fr 1fr 1fr; } .footer-brand { grid-column: auto; } }

/* ---------- drawers ---------- */
.scrim { position: fixed; inset: 0; z-index: 40; background: rgba(25, 21, 18, .5); animation: fade .35s var(--ease); }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 50;
  display: flex; flex-direction: column;
  width: min(100vw, 440px); background: var(--paper);
  transform: translateX(100%); visibility: hidden;
  transition: transform .32s cubic-bezier(.2, .7, .2, 1), visibility 0s .32s;
}
.drawer-left { right: auto; left: 0; width: min(88vw, 380px); transform: translateX(-100%); }
.drawer.open { transform: none; visibility: visible; transition: transform .32s cubic-bezier(.2, .7, .2, 1); }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 8px 8px 8px 20px; border-bottom: 1px solid var(--line); }
.drawer-title { font: 400 24px/1 var(--display); }
.drawer-body { flex: 1; overflow-y: auto; padding: 8px 20px; }
.drawer-foot { padding: 16px 20px calc(16px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
.drawer-foot:empty { display: none; }
.menu-search { margin: 12px 20px 0; }
.menu-links { padding: 6px 20px 14px; flex: 1; overflow-y: auto; }
.menu-links a { display: block; padding: 12px 0; font: 400 26px/1.2 var(--display); text-decoration: none; border-bottom: 1px solid var(--line); }
.menu-links a[aria-current] { color: var(--madder); }
.drawer.open .menu-links a { animation: rise .6s var(--ease) both; }
.drawer.open .menu-links a:nth-child(2) { animation-delay: .05s; }
.drawer.open .menu-links a:nth-child(3) { animation-delay: .1s; }
.drawer.open .menu-links a:nth-child(4) { animation-delay: .15s; }
.drawer.open .menu-links a:nth-child(n+5) { animation-delay: .2s; }
.menu-foot { display: flex; gap: 24px; padding: 18px 20px calc(18px + env(safe-area-inset-bottom)); }

.line { display: grid; grid-template-columns: 84px minmax(0, 1fr) auto; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.line:last-child { border-bottom: 0; }
.line-art { display: block; aspect-ratio: 20 / 27; overflow: hidden; }
.line-art .art { width: 100%; height: 100%; object-fit: cover; }
.line-name { font-size: 16px; text-decoration: none; line-height: 1.3; display: block; }
.line-price { font-size: 16px; font-weight: 500; }
.line-qty { display: flex; align-items: center; gap: 14px; margin-top: 8px; flex-wrap: wrap; }
.stepper { display: inline-flex; align-items: center; border: 1px solid var(--line); }
.stepper button { width: 38px; height: 38px; background: none; border: 0; font-size: 18px; cursor: pointer; }
.stepper button:disabled { color: #bdb4a8; cursor: not-allowed; }
.stepper span { min-width: 26px; text-align: center; font-size: 15px; }

.row-between { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.total-row { margin-bottom: 12px; font-size: 18px; }
.total-row strong { font-weight: 500; }
.fine { margin-top: 10px; font-size: 14px; color: var(--muted); text-align: center; }
.free-meter { margin-bottom: 14px; font-size: 14px; color: var(--muted); }
.meter { height: 3px; margin-top: 6px; background: var(--line); }
.meter span { display: block; height: 100%; background: var(--madder); transition: width .3s; }
.empty { padding: 56px 8px; text-align: center; }
.empty-title { font: 400 28px/1.2 var(--display); margin-bottom: 8px; }
.empty .btn { margin-top: 20px; }
.notice { padding: 10px 14px; margin: 8px 0; font-size: 15px; background: var(--paper-2); }
.notice-warn { background: var(--warn-bg); color: #7a2c12; }

.toast { position: fixed; left: 50%; bottom: 24px; z-index: 60; transform: translate(-50%, 20px); padding: 12px 18px; background: var(--ink); color: var(--paper); font-size: 15px; opacity: 0; pointer-events: none; transition: .25s; max-width: calc(100vw - 32px); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- shop page ---------- */
.page-head { padding: clamp(28px, 4vw, 56px) var(--gutter) clamp(12px, 2vw, 24px); text-align: center; animation: rise .8s var(--ease) both; }
.page-title { font: 400 clamp(34px, 5vw, 64px)/1.05 var(--display); letter-spacing: -.01em; }
.filters { position: sticky; top: var(--header-h, 60px); z-index: 20; background: var(--paper); padding: 4px var(--gutter) 10px; border-bottom: 1px solid var(--line); }
.chips { display: flex; gap: 20px; overflow-x: auto; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter) 6px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: none; min-height: 40px; padding: 0; background: linear-gradient(var(--ink), var(--ink)) center calc(100% - 6px) / 0 1px no-repeat; border: 0;
  font-size: 12px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); cursor: pointer;
  transition: background-size .45s var(--ease), color .3s var(--ease);
}
.chip:hover { color: var(--ink); }
.chip[aria-pressed='true'] { background-size: 100% 1px; color: var(--ink); }
.filter-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: center; }
.filter-row input, .filter-row select { width: 100%; min-height: 44px; padding: 0 12px; background: #fff; border: 1px solid var(--line); border-radius: 0; font-size: 16px; }
.filter-row select { width: auto; max-width: 150px; }
.results-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px var(--gutter) 0; }
.count { font-size: 15px; color: var(--muted); }
.view-toggle { display: inline-flex; flex: none; border: 1px solid var(--line); }
.view-toggle button { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 12px; background: none; border: 0; font-size: 14px; cursor: pointer; transition: background .35s var(--ease), color .35s var(--ease); }
.view-toggle button[aria-pressed='true'] { background: var(--ink); color: var(--paper); }
.shop-grid { padding: 12px var(--gutter) clamp(48px, 7vw, 96px); }

/* list view */
.grid.list-view { grid-template-columns: minmax(0, 1fr); gap: 0; }
.row { display: grid; grid-template-columns: 80px minmax(0, 1fr); grid-template-rows: auto 1fr; gap: 2px 12px; padding: 10px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.row:first-child { padding-top: 0; }
.row-art { position: relative; grid-row: 1 / span 2; align-self: start; aspect-ratio: 20 / 27; overflow: hidden; background: var(--paper-2); }
.row-art .art { width: 100%; height: 100%; object-fit: cover; }
.row-art .tag { top: 4px; left: 4px; padding: 1px 5px; font-size: 10px; }
.row-info { min-width: 0; }
.row-name { font: 400 16px/1.25 var(--body); }
.row-art .art { transition: transform 1.2s var(--ease); }
.row:hover .row-art .art { transform: scale(1.05); }
.row:hover .row-name { text-decoration: underline; }
.row .card-meta { font-size: 13px; line-height: 1.3; }
.row-desc { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 1; overflow: hidden; margin-top: 2px; font-size: 13px; line-height: 1.35; color: var(--muted); }
.row-sizes { margin-top: 2px; font-size: 13px; line-height: 1.35; }
.row .price { grid-column: 2; font-size: 15px; }
@media (min-width: 760px) {
  .row { grid-template-columns: 84px minmax(0, 1fr) auto; grid-template-rows: auto; gap: 20px; }
  .row-art { grid-row: auto; }
  .row-name { font-size: 17px; }
  .row-desc { max-width: 62em; -webkit-line-clamp: 2; font-size: 14px; }
  .row .price { grid-column: auto; font-size: 17px; text-align: right; }
}
@media (min-width: 760px) {
  .filters { display: flex; justify-content: space-between; align-items: center; gap: 24px; }
  .chips { margin: 0; padding: 0; }
  .filter-row { grid-template-columns: 240px auto; }
}

/* ---------- product page ---------- */
.pdp { display: grid; padding-bottom: 24px; }
.pdp-gallery { display: grid; grid-auto-flow: column; grid-auto-columns: 86vw; gap: 6px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; animation: fade .9s var(--ease) both; }
.pdp-gallery::-webkit-scrollbar { display: none; }
.pdp-shot { aspect-ratio: 20 / 27; scroll-snap-align: start; overflow: hidden; }
.pdp-shot .art { width: 100%; height: 100%; object-fit: cover; }
.pdp-info { padding: 20px var(--gutter) 0; min-width: 0; animation: rise .9s var(--ease) .1s both; }
.crumbs { font-size: 14px; color: var(--muted); margin-bottom: 8px; }
.crumbs a { text-decoration: none; }
.pdp-name { font: 400 clamp(30px, 3.4vw, 46px)/1.08 var(--display); margin-bottom: 8px; }
.pdp-desc { margin: 14px 0; white-space: pre-line; }
.pdp-color { display: flex; align-items: center; gap: 9px; font-size: 15px; }
.dot { width: 18px; height: 18px; border-radius: 50%; border: 1px solid rgba(0, 0, 0, .2); }
.sizes { border: 0; padding: 0; margin: 20px 0 8px; }
.sizes legend { width: 100%; padding: 0; margin-bottom: 8px; font-size: 15px; }
.size-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(58px, 1fr)); gap: 6px; }
.size { min-height: 48px; padding: 4px 6px; background: none; border: 1px solid var(--line); font-size: 15px; cursor: pointer; transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease); }
.size:hover:not(:disabled) { border-color: var(--ink); }
.size[aria-pressed='true'] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.size:disabled { color: #b4aa9d; text-decoration: line-through; cursor: not-allowed; background: var(--paper-2); }
.stock-note { min-height: 24px; margin-top: 6px; font-size: 15px; color: var(--madder); }
.stock-note-error { font-weight: 500; }
.add-row { position: fixed; left: 0; right: 0; bottom: 0; z-index: 25; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 12px; align-items: center; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: var(--paper); border-top: 1px solid var(--line); }
.add-price { display: grid; min-width: 0; font-size: 14px; line-height: 1.3; }
.add-price span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: var(--muted); }
.add-price strong { font-size: 17px; font-weight: 500; }
.accordion { margin-top: 18px; border-top: 1px solid var(--line); }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion summary { padding: 14px 0; cursor: pointer; font-size: 16px; list-style: none; display: flex; justify-content: space-between; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: '+'; font-size: 20px; line-height: 1; }
.accordion details[open] summary::after { content: '−'; }
.accordion p { padding-bottom: 16px; color: var(--muted); font-size: 16px; }
.product-page { padding-bottom: 84px; }
@media (min-width: 900px) {
  .product-page { padding-bottom: 0; }
  .pdp { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 40px; padding: 0 var(--gutter) 24px 0; align-items: start; }
  .pdp-gallery { grid-auto-flow: row; grid-auto-columns: auto; grid-template-columns: 1fr 1fr; overflow: visible; }
  .pdp-info { position: sticky; top: calc(var(--header-h, 60px) + 24px); padding: 28px 0 0; }
  .add-row { position: static; display: block; padding: 0; border: 0; margin-top: 8px; background: none; }
  .add-price { display: none; }
}

/* ---------- forms + checkout ---------- */
.field { display: block; margin-bottom: 12px; min-width: 0; }
.field > span { display: block; margin-bottom: 4px; font-size: 15px; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 10px 12px;
  background: #fff; border: 1px solid #c9bdac; border-radius: 0; font-size: 16px;
}
.field textarea { min-height: 80px; }
.field input:focus, .field textarea:focus, .field select:focus { outline: 2px solid var(--madder); outline-offset: 0; border-color: var(--madder); }
.field.invalid input { border-color: #a4231d; }
.err { display: block; min-height: 0; color: #a4231d; font-size: 14px; margin-top: 3px; }
.err:empty { display: none; }
.field-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 12px; }
.hint { display: block; margin-top: 3px; font-size: 14px; color: var(--muted); }
.account-hint { margin: -6px 0 12px; font-size: 15px; color: var(--muted); }
.account-hint a { color: var(--ink); }
#password-field { margin-top: 12px; }

.checkout { display: grid; gap: 20px; padding: 16px var(--gutter) 56px; }
.checkout-title { font: 400 clamp(36px, 6vw, 60px)/1.05 var(--display); padding: 22px var(--gutter) 0; }
.co-section { padding: 18px 0 8px; border-top: 1px solid var(--line); }
.co-section:first-child { border-top: 0; padding-top: 0; }
.co-section h2 { display: flex; gap: 10px; align-items: baseline; font: 400 24px/1.2 var(--display); margin-bottom: 14px; }
.co-section h2 small { font: 400 14px var(--body); color: var(--muted); }
.choice { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; gap: 10px; align-items: start; padding: 14px; background: #fff; border: 1px solid var(--line); margin-bottom: 8px; cursor: pointer; }
.choice:has(input:checked) { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.choice.disabled { opacity: .55; cursor: not-allowed; }
.choice input { width: 18px; height: 18px; margin: 3px 0 0; accent-color: var(--madder); }
.choice small { display: block; color: var(--muted); font-size: 14px; }
.choice-price { font-weight: 500; }
.summary { background: var(--paper-2); padding: 0 16px; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter); }
.summary summary { display: flex; justify-content: space-between; align-items: center; min-height: 54px; cursor: pointer; list-style: none; }
.summary summary::-webkit-details-marker { display: none; }
.summary summary strong { font-weight: 500; font-size: 18px; }
.summary-toggle::after { content: ' ▾'; }
.summary[open] .summary-toggle::after { content: ' ▴'; }
.summary-body { padding-bottom: 18px; }
.sum-row { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; font-size: 16px; }
.sum-row.discount { color: var(--ok); }
.sum-total { margin-top: 8px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 20px; font-weight: 500; }
.promo-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; margin: 14px 0; }
.promo-row input { min-height: 46px; padding: 0 12px; background: #fff; border: 1px solid #c9bdac; border-radius: 0; font-size: 16px; text-transform: uppercase; }
.promo-row .btn { min-height: 46px; padding: 0 16px; background: none; color: var(--ink); }
.promo-row .btn:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.promo-note { margin-top: -8px; margin-bottom: 10px; font-size: 14px; color: var(--ok); }
.promo-note.bad { color: #a4231d; }
.place { margin-top: 12px; }
.secure-note { margin-top: 10px; font-size: 14px; color: var(--muted); text-align: center; }
@media (min-width: 900px) {
  .checkout { grid-template-columns: minmax(0, 1.25fr) minmax(0, .85fr); gap: 56px; align-items: start; }
  .summary { position: sticky; top: calc(var(--header-h, 60px) + 24px); order: 2; margin: 0; padding: 4px 26px 8px; }
  .summary summary { pointer-events: none; }
  .summary-toggle { visibility: hidden; }
}

/* ---------- order + tracking ---------- */
.narrow { max-width: 860px; margin: 0 auto; padding: clamp(28px, 5vw, 64px) var(--gutter) 64px; }
.lede { margin-top: 8px; color: var(--muted); font-size: 18px; }
.steps { list-style: none; margin: 26px 0; padding: 0; display: grid; gap: 0; }
.step { position: relative; padding: 0 0 22px 32px; color: var(--muted); }
.step::before { content: ''; position: absolute; left: 0; top: 5px; width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--line); background: var(--paper); z-index: 1; }
.step::after { content: ''; position: absolute; left: 6px; top: 12px; bottom: -6px; width: 2px; background: var(--line); }
.step:last-child::after { display: none; }
.step.done { color: var(--ink); }
.step.done::before { background: var(--madder); border-color: var(--madder); }
.step.done:not(:last-child)::after { background: var(--madder); }
.step.next-pending::after { background: var(--line) !important; }
.step.current strong { font-weight: 600; }
.step strong { display: block; font-weight: 400; }
.step small { font-size: 14px; color: var(--muted); }
@media (min-width: 720px) {
  .steps { grid-template-columns: repeat(5, 1fr); }
  .step { padding: 26px 8px 0 0; }
  .step::before { top: 0; }
  .step::after { left: 14px; right: 0; top: 6px; bottom: auto; width: auto; height: 2px; }
}
.panel { border: 1px solid var(--line); padding: 18px; margin-bottom: 14px; background: #fffdf9; }
.panel h2 { font: 400 22px/1.2 var(--display); margin-bottom: 10px; }
.panel-grid { display: grid; gap: 14px; }
@media (min-width: 720px) { .panel-grid { grid-template-columns: 1fr 1fr; } }
.status-banner { padding: 14px 18px; margin: 22px 0; background: var(--warn-bg); }
.order-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.btn-outline { background: none; color: var(--ink); }
.btn-outline:hover { color: var(--paper); }
.history { list-style: none; padding: 0; margin: 0; font-size: 16px; }
.history li { padding: 8px 0; border-bottom: 1px solid var(--line); }
.history li:last-child { border: 0; }
.history small { display: block; color: var(--muted); font-size: 14px; }

/* account */
.account-forms { margin-top: 24px; align-items: start; }
.account-forms .panel { margin-bottom: 0; }
.forgot-link { display: block; margin-top: 14px; font-size: 15px; text-align: center; }
.reset-form { max-width: 480px; margin-top: 24px; }
.account-order { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.account-order:last-child { border-bottom: 0; }
.account-order strong { display: block; font-weight: 500; }
.account-order small { display: block; color: var(--muted); font-size: 14px; }
.account-order > span:last-child { flex: none; text-align: right; }

/* help */
.help-section { padding: 22px 0; border-top: 1px solid var(--line); scroll-margin-top: calc(var(--header-h, 60px) + 10px); }
.help-section h2 { font: 400 28px/1.2 var(--display); margin-bottom: 8px; }
.help-section p { margin-bottom: 8px; }
.size-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.size-table th, .size-table td { padding: 9px 6px; text-align: left; border-bottom: 1px solid var(--line); }
.size-table th { font-weight: 500; }
