/* Palette pulled from the logo */
:root {
  --paper: #F8F5EC;
  --ink: #17140F;
  --navy: #1E3554;
  --ochre: #DCA236;
  --brass: #AE8A4A;
  --stone: #ECE6D8;
  --muted: #5E584D;
  --line: #D9D1BF;

  --serif: "Libre Bodoni", "Bodoni 72", Georgia, serif;
  --sans: "Jost", "Futura", "Century Gothic", system-ui, sans-serif;

  --gutter: clamp(16px, 4vw, 56px);
  --max: 1440px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 16px/1.65 var(--sans);
  letter-spacing: .01em;
  -webkit-font-smoothing: antialiased;
}
body.no-scroll { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; margin: 0; line-height: 1.12; }
p { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 1.5px solid var(--navy); outline-offset: 3px; }
main:focus { outline: none; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--paper); padding: 8px 14px; z-index: 50; }
.skip:focus { left: 8px; }

/* ---------- Masthead ---------- */
.masthead {
  position: sticky; top: 0; z-index: 20;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 18px var(--gutter);
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.nav { display: flex; gap: clamp(16px, 2.4vw, 36px); font-size: 14px; }
.nav--right { justify-content: flex-end; align-items: center; }
.nav a, .cart-toggle { position: relative; padding: 4px 0; }
.nav a[aria-current]::after, .nav a:hover::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--brass);
}
.cart-toggle { background: none; border: 0; cursor: pointer; font-size: 14px; }

.wordmark { display: flex; flex-direction: column; align-items: center; line-height: 1; }
.wordmark__main { font-family: var(--serif); font-size: clamp(22px, 2.4vw, 30px); letter-spacing: .06em; text-transform: uppercase; }
.wordmark__sub {
  margin-top: 6px; padding-top: 6px; border-top: 1px solid var(--brass);
  font-size: 9.5px; letter-spacing: .5em; text-transform: uppercase; padding-left: .5em;
}

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 30px;
  font-size: 14px; letter-spacing: .04em; cursor: pointer;
  border: 1px solid var(--ink); border-radius: 0;
  transition: background .2s, color .2s;
}
.btn--solid { background: var(--ink); color: var(--paper); }
.btn--solid:hover:not(:disabled) { background: var(--navy); border-color: var(--navy); }
.btn--solid:disabled { background: transparent; color: var(--muted); border-color: var(--line); cursor: default; }
.btn--line { background: transparent; }
.btn--line:hover { background: var(--ink); color: var(--paper); }
.btn--wide { width: 100%; }
.link {
  background: none; border: 0; padding: 0; cursor: pointer;
  font-size: 14px; display: inline-flex; align-items: center; gap: 8px;
  border-bottom: 1px solid var(--brass); padding-bottom: 2px;
}
.link:hover { color: var(--navy); }
.shape { display: inline-block; flex: none; }

/* ---------- Hero: the one orchestrated moment ---------- */
.hero {
  position: relative; overflow: hidden; background: var(--ink);
  min-height: clamp(540px, 86vh, 920px);
  display: grid; place-items: center;
  padding: clamp(56px, 8vw, 112px) var(--gutter);
  text-align: center; color: var(--paper);
}
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; animation: reveal 1.4s cubic-bezier(.2,.7,.2,1) both; }
/* Darken the photo so the text on top stays readable */
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(23,20,15,.46), rgba(23,20,15,.58)); }
@keyframes reveal { from { opacity: 0; transform: scale(1.03); } to { opacity: 1; transform: none; } }
.hero__inner { position: relative; z-index: 1; max-width: 900px; display: flex; flex-direction: column; align-items: center; }
.hero__title {
  font-size: clamp(40px, 6.6vw, 92px);
  line-height: 1.08; letter-spacing: -.01em;
  max-width: 14ch;
  text-shadow: 0 1px 24px rgba(23,20,15,.35);
  animation: rise 1s .35s cubic-bezier(.2,.7,.2,1) both;
}
.hero__lede {
  max-width: 46ch; margin: 28px auto 40px;
  color: var(--paper); font-size: clamp(16px, 1.3vw, 19px);
  text-shadow: 0 1px 16px rgba(23,20,15,.45);
  animation: rise 1s .5s both;
}
.btn--hero { background: var(--paper); border-color: var(--paper); color: var(--ink); animation: rise 1s .65s both; }
.btn--hero:hover { background: transparent; color: var(--paper); }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ---------- Category trio ---------- */
.cats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.cat {
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  padding: clamp(36px, 5vw, 64px) 16px;
  transition: background .25s;
}
.cat + .cat { border-left: 1px solid var(--line); }
.cat:hover { background: var(--stone); }
.cat__name { font-family: var(--serif); font-size: clamp(22px, 2.4vw, 32px); }
.cat__count { font-size: 13px; color: var(--muted); }

/* ---------- Grids ---------- */
.block { max-width: var(--max); margin: 0 auto; padding: clamp(64px, 8vw, 112px) var(--gutter) 0; }
.block--top { padding-top: clamp(40px, 6vw, 80px); }
.block__head { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; margin-bottom: clamp(28px, 3vw, 44px); }
.block__head h2 { font-size: clamp(28px, 3.2vw, 44px); }

.grid {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(40px, 5vw, 72px) clamp(16px, 2.4vw, 36px);
}
.card a { display: block; }
.card__img { position: relative; overflow: hidden; background: var(--stone); }
.card__img .art { width: 100%; aspect-ratio: 1; object-fit: contain; transition: transform .9s cubic-bezier(.2,.7,.2,1); }
.card a:hover .art { transform: scale(1.025); }
.card__text { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; padding-top: 16px; }
.card__name { font-family: var(--sans); font-weight: 400; font-size: 15px; line-height: 1.4; }
.card__price { font-size: 15px; grid-column: 2; grid-row: 1; }
.card__meta { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.card.is-sold .card__name, .card.is-sold .card__price { color: var(--muted); }
.card__sold {
  position: absolute; left: 14px; top: 14px;
  background: var(--paper); padding: 4px 10px; font-size: 12px; letter-spacing: .04em;
}

/* Placeholder drawings */
.art__bg { fill: var(--tone); }
.art__floor { stroke: var(--line); stroke-width: 1.5; }
.art__lines { fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; }
.art__lines .acc { fill: var(--acc); stroke: none; }

/* ---------- Story ---------- */
.story {
  max-width: var(--max); margin: clamp(80px, 10vw, 140px) auto 0; padding: 0 var(--gutter);
  display: grid; grid-template-columns: 5fr 6fr; gap: clamp(32px, 7vw, 120px); align-items: center;
}
.story__art { margin: 0; background: var(--stone); }
.story__art img { width: 100%; aspect-ratio: 1; object-fit: cover; object-position: 78% 50%; }
.story__text { max-width: 34rem; }
.story__text h2 { font-size: clamp(34px, 4.4vw, 60px); margin-bottom: 28px; }
.story__text p { font-family: var(--sans); font-size: 17px; line-height: 1.75; margin-bottom: 20px; }
.story__text .link { margin-top: 12px; }

/* ---------- Service strip ---------- */
.service {
  max-width: var(--max); margin: clamp(80px, 10vw, 140px) auto 0; padding: 0 var(--gutter);
  display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 4vw, 64px);
}
.service > div { border-top: 1px solid var(--ink); padding-top: 22px; }
.service h3 { font-size: 22px; margin-bottom: 10px; }
.service p { color: var(--muted); font-size: 16px; line-height: 1.7; max-width: 36ch; }

/* ---------- Shop ---------- */
.shop-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.shop-head h1 { font-size: clamp(40px, 5.6vw, 76px); }
.filters { display: flex; gap: 8px; flex-wrap: wrap; }
.filters a {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px; font-size: 14px; border: 1px solid var(--line); border-radius: 999px;
  transition: border-color .2s;
}
.filters a:hover { border-color: var(--ink); }
.filters a[aria-current] { border-color: var(--ink); background: var(--ink); color: var(--paper); }
.filters a[aria-current] .shape [fill="var(--ink)"] { fill: var(--paper); }
.shop-sub { color: var(--muted); font-size: 14px; margin: 18px 0 clamp(36px, 4vw, 56px); }

/* ---------- Piece ---------- */
.piece {
  max-width: var(--max); margin: 0 auto; padding: clamp(24px, 4vw, 56px) var(--gutter) 0;
  display: grid; grid-template-columns: 7fr 5fr; gap: clamp(32px, 6vw, 96px); align-items: start;
}
.piece__img { background: var(--stone); }
.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); gap: 10px; margin-top: 12px; }
.thumb { padding: 0; border: 1px solid transparent; background: var(--stone); cursor: pointer; aspect-ratio: 1; }
.thumb img { width: 100%; height: 100%; object-fit: cover; opacity: .7; transition: opacity .2s; }
.thumb:hover img, .thumb[aria-current] img { opacity: 1; }
.thumb[aria-current] { border-color: var(--ink); }
.piece__img .art { width: 100%; aspect-ratio: 1; object-fit: contain; }
.piece__info { position: sticky; top: 110px; max-width: 30rem; }
.piece__back { margin-bottom: 28px; }
.piece__name { font-size: clamp(32px, 3.6vw, 50px); margin-bottom: 14px; }
.piece__price { font-size: 18px; margin-bottom: 28px; }
.piece__note { font-family: var(--sans); font-size: 17px; line-height: 1.75; margin-bottom: 32px; }
.piece__aside { font-size: 14px; color: var(--muted); margin: 16px 0 40px; }
.piece__aside a, .specs a, .prose a:not(.btn), .contact a { border-bottom: 1px solid var(--brass); }
.specs { margin: 0; border-top: 1px solid var(--line); }
.specs div { display: grid; grid-template-columns: 8.5rem 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.specs dt { color: var(--muted); }
.specs dd { margin: 0; }

/* ---------- Prose pages ---------- */
.prose { max-width: 40rem; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.prose h1 { font-size: clamp(36px, 4.6vw, 62px); margin-bottom: 32px; }
.prose h2 { font-size: 24px; margin: 44px 0 12px; }
.prose p { font-family: var(--sans); font-size: 17px; line-height: 1.75; margin-bottom: 20px; }
.prose .prose__lede { font-size: clamp(20px, 1.8vw, 24px); line-height: 1.55; margin-bottom: 36px; }
.prose__shapes { display: flex; gap: 14px; align-items: flex-end; margin: 48px 0; }
.prose__close { margin: 40px 0 48px !important; font-size: 22px !important; line-height: 1.6 !important; }
.center { text-align: center; }
.center .prose__shapes { justify-content: center; }

/* ---------- Story ---------- */
.st-hero, .st-origin, .st-process, .dl-options, .dl-faq {
  max-width: var(--max); margin-left: auto; margin-right: auto; padding-left: var(--gutter); padding-right: var(--gutter);
}
.st-hero { display: grid; grid-template-columns: 6fr 5fr; gap: clamp(32px, 6vw, 96px); align-items: center; padding-top: clamp(32px, 5vw, 72px); }
.st-shapes { display: flex; gap: 10px; align-items: flex-end; margin-bottom: 32px; }
.st-hero h1 { font-size: clamp(42px, 5.8vw, 84px); line-height: 1.04; letter-spacing: -.01em; max-width: 12ch; margin-bottom: 32px; }
.st-hero p { font-family: var(--sans); font-size: clamp(17px, 1.4vw, 19px); line-height: 1.7; color: var(--muted); max-width: 34ch; }
.st-hero__img, .st-origin__img { margin: 0; background: var(--stone); }
.st-hero__img img, .st-origin__img img { width: 100%; aspect-ratio: 1; object-fit: cover; }

.st-origin { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(32px, 7vw, 120px); align-items: center; margin-top: clamp(88px, 11vw, 160px); }
.st-origin blockquote { margin: 0 0 36px; font-family: var(--serif); font-style: italic; font-size: clamp(26px, 2.9vw, 40px); line-height: 1.3; }
.st-origin blockquote::before { content: ""; display: block; width: 56px; height: 1px; background: var(--brass); margin-bottom: 28px; }
.st-origin p { font-family: var(--sans); font-size: 17px; line-height: 1.75; margin-bottom: 18px; max-width: 36rem; }

.st-process { margin-top: clamp(88px, 11vw, 160px); }
.st-process > h2 { font-size: clamp(32px, 3.6vw, 50px); margin-bottom: clamp(32px, 4vw, 52px); }
.st-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 48px); }
.st-steps img { width: 100%; aspect-ratio: 1; object-fit: cover; background: var(--stone); }
.st-step__head { display: flex; align-items: center; gap: 12px; margin: 22px 0 10px; }
.st-step__head h3 { font-size: 28px; }
.st-steps p { color: var(--muted); font-size: 16px; line-height: 1.7; max-width: 34ch; }

.st-belief { max-width: 980px; margin: 0 auto; padding: clamp(96px, 12vw, 180px) var(--gutter); text-align: center; }
.st-belief p { font-family: var(--serif); font-size: clamp(26px, 3.2vw, 44px); line-height: 1.3; }
.st-belief .st-belief__sub { font-family: var(--sans); font-size: clamp(17px, 1.4vw, 19px); line-height: 1.7; color: var(--muted); max-width: 46ch; margin: 28px auto 0; }

.manifesto { background: var(--navy); color: var(--paper); text-align: center; padding: clamp(72px, 10vw, 136px) var(--gutter); }
.manifesto__shapes { display: flex; justify-content: center; align-items: flex-end; gap: 12px; }
.manifesto .shape [fill="var(--navy)"] { fill: var(--paper); }
.manifesto .shape [fill="var(--ink)"] { fill: var(--paper); }
.manifesto__lines { font-family: var(--serif); font-size: clamp(30px, 4.2vw, 58px); line-height: 1.18; margin: 32px auto 44px; max-width: 18ch; }
.manifesto--short { padding: clamp(56px, 7vw, 96px) var(--gutter); margin-top: clamp(88px, 11vw, 160px); }
.manifesto--short .manifesto__lines { font-size: clamp(26px, 3vw, 40px); margin-top: 0; }
.btn--paper { border-color: var(--paper); color: var(--paper); background: transparent; }
.btn--paper:hover { background: var(--paper); color: var(--navy); }
body[data-view="about"] .footer, body[data-view="delivery"] .footer { margin-top: 0; padding-top: clamp(56px, 7vw, 96px); }

/* ---------- Delivery ---------- */
.page-hero { position: relative; overflow: hidden; background: var(--ink); color: var(--paper); min-height: clamp(360px, 58vh, 620px); display: grid; align-items: end; padding: clamp(40px, 6vw, 80px) var(--gutter); }
.page-hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(23,20,15,.25), rgba(23,20,15,.68)); }
.page-hero__inner { position: relative; z-index: 1; max-width: var(--max); width: 100%; margin: 0 auto; }
.page-hero h1 { font-size: clamp(42px, 6.2vw, 88px); line-height: 1.04; margin-bottom: 18px; text-shadow: 0 1px 24px rgba(23,20,15,.35); }
.page-hero p { font-size: clamp(17px, 1.4vw, 19px); line-height: 1.7; max-width: 44ch; text-shadow: 0 1px 16px rgba(23,20,15,.45); }

.dl-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 28px); margin-top: clamp(48px, 6vw, 88px); }
.dl-options article { background: var(--stone); padding: clamp(28px, 3vw, 44px); display: flex; flex-direction: column; }
.dl-options h2 { font-family: var(--sans); font-weight: 500; font-size: 15px; letter-spacing: .02em; }
.dl-price { font-family: var(--serif); font-size: clamp(24px, 2.4vw, 38px); line-height: 1.1; white-space: nowrap; margin: 18px 0 22px; padding-bottom: 22px; border-bottom: 1px solid var(--brass); }
.dl-options p:last-child { color: var(--muted); font-size: 16px; line-height: 1.7; }

.dl-steps { max-width: var(--max); margin: clamp(88px, 11vw, 160px) auto 0; padding: 0 var(--gutter); }
.dl-steps > h2, .dl-visit h2, .dl-faq h2 { font-size: clamp(32px, 3.6vw, 50px); margin-bottom: clamp(32px, 4vw, 52px); }
.dl-steps ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 3vw, 48px); }
.dl-steps li { border-top: 1px solid var(--ink); padding-top: 20px; }
.dl-steps__n { display: block; font-family: var(--serif); font-size: clamp(44px, 4.6vw, 68px); line-height: 1; color: var(--brass); margin-bottom: 18px; }
.dl-steps h3 { font-size: 22px; margin-bottom: 8px; }
.dl-steps p { color: var(--muted); font-size: 16px; line-height: 1.7; }

.dl-visit { max-width: var(--max); margin: clamp(88px, 11vw, 160px) auto 0; padding: 0 var(--gutter); display: grid; grid-template-columns: 7fr 5fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.dl-visit figure { margin: 0; background: var(--stone); }
.dl-visit img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.dl-visit h2 { margin-bottom: 20px; }
.dl-visit p { font-size: 17px; line-height: 1.75; margin-bottom: 32px; max-width: 38ch; }

.dl-faq { display: grid; grid-template-columns: 4fr 7fr; gap: clamp(24px, 6vw, 96px); margin-top: clamp(88px, 11vw, 160px); }
.faq { border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; padding: 22px 0; font-family: var(--serif); font-size: clamp(18px, 1.6vw, 22px); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--sans); font-size: 22px; line-height: 1; color: var(--brass); transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); font-size: 16px; line-height: 1.75; max-width: 60ch; padding: 0 0 24px; }

/* ---------- Contact ---------- */
.banner { height: clamp(220px, 34vw, 480px); overflow: hidden; background: var(--stone); }
.banner img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 38%; }
.contact {
  max-width: var(--max); margin: 0 auto; padding: clamp(40px, 5vw, 72px) var(--gutter) 0;
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(40px, 7vw, 112px);
}
.contact h1 { font-size: clamp(28px, 2.6vw, 34px); margin-bottom: 10px; }
.form { display: grid; gap: 14px; max-width: 720px; }
.field { display: block; border: 1px solid var(--line); background: color-mix(in srgb, var(--paper) 60%, #fff); padding: 8px 14px 6px; transition: border-color .2s; }
.field:focus-within { border-color: var(--ink); }
.field span { display: block; font-size: 12px; color: var(--muted); }
.field input, .field select, .field textarea {
  display: block; width: 100%; border: 0; background: transparent; padding: 2px 0 4px;
  font-size: 16px; color: var(--ink); border-radius: 0; -webkit-appearance: none; appearance: none;
}
.field select { cursor: pointer; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6' fill='%2317140F'/%3E%3C/svg%3E") no-repeat right 2px center; }
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; }
.btn--send {
  justify-self: start; margin-top: 18px; min-height: 46px; padding: 0 34px;
  background: var(--navy); border-color: var(--navy); color: var(--paper);
  font-size: 12px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase;
}
.btn--send:hover { background: var(--ink); border-color: var(--ink); }
.contact__info { display: grid; gap: 34px; align-content: start; padding-top: 6px; }
.contact__info h2 { font-size: 20px; margin-bottom: 10px; }
.contact__info p { font-size: 14px; color: var(--muted); line-height: 1.7; }
.ig { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; }
.ig:hover { color: var(--navy); }
.field-row input {
  width: 100%; background: transparent; color: var(--ink); font-size: 16px;
  border: 0; border-bottom: 1px solid var(--ink); border-radius: 0; padding: 8px 0;
}
.form-msg { font-size: 14px; min-height: 1.4em; color: var(--navy); }
.form-msg.is-error { color: #8A2E1C; }

/* ---------- Footer ---------- */
.footer { max-width: var(--max); margin: clamp(96px, 12vw, 180px) auto 0; padding: 0 var(--gutter) 32px; }
.footer__mark { width: 84px; margin-bottom: 40px; }
.footer__cols {
  display: grid; grid-template-columns: repeat(3, 1fr) 1.4fr; gap: 32px;
  padding: 40px 0; border-top: 1px solid var(--ink); font-size: 14px;
}
.footer__head { display: block; font-weight: 500; margin-bottom: 10px; color: var(--ink); }
.footer__cols p { color: var(--muted); }
.footer__cols a:hover { color: var(--ink); }
.field-row { display: flex; gap: 12px; }
.field-row button { background: none; border: 0; border-bottom: 1px solid var(--ink); cursor: pointer; padding: 0 4px; }
.footer__fine { font-size: 12px; color: var(--muted); padding-top: 24px; border-top: 1px solid var(--line); }

/* ---------- Cart drawer ---------- */
.scrim { position: fixed; inset: 0; background: rgba(23, 20, 15, .32); z-index: 40; }
.cart {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 41;
  width: min(440px, 100vw); background: var(--paper);
  display: flex; flex-direction: column;
  transform: translateX(100%); visibility: hidden;
  transition: transform .45s cubic-bezier(.2,.7,.2,1), visibility 0s .45s;
}
.cart.is-open { transform: none; visibility: visible; transition: transform .45s cubic-bezier(.2,.7,.2,1); }
.cart:focus { outline: none; }
.cart__top { display: flex; justify-content: space-between; align-items: center; padding: 22px 28px; border-bottom: 1px solid var(--line); }
.cart__top h2 { font-size: 24px; }
.cart__close { background: none; border: 0; cursor: pointer; font-size: 14px; border-bottom: 1px solid var(--brass); padding: 0 0 2px; }
.cart__body { flex: 1; overflow-y: auto; padding: 24px 28px; display: flex; flex-direction: column; }
.cart__empty { font-family: var(--sans); font-size: 16px; line-height: 1.7; margin-bottom: 28px; }
.cart__body > .btn { align-self: flex-start; }
.cart__list { list-style: none; margin: 0; padding: 0; flex: 1; }
.cart__item { display: grid; grid-template-columns: 76px 1fr auto; gap: 16px; padding: 0 0 20px; margin-bottom: 20px; border-bottom: 1px solid var(--line); }
.cart__thumb .art { width: 76px; aspect-ratio: 1; object-fit: contain; }
.cart__name { font-size: 15px; line-height: 1.4; display: block; }
.cart__meta { font-size: 13px; color: var(--muted); margin: 2px 0 10px; }
.cart__item .link { font-size: 13px; }
.cart__price { font-size: 15px; }
.cart__foot { padding-top: 8px; }
.cart__row { display: flex; justify-content: space-between; font-size: 17px; margin-bottom: 10px; }
.cart__note { font-size: 13px; color: var(--muted); margin-bottom: 20px; }
.cart__foot .form-msg { margin-top: 12px; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .piece, .story, .contact, .st-hero, .st-origin, .dl-visit, .dl-faq { grid-template-columns: 1fr; }
  .st-steps, .dl-options { grid-template-columns: 1fr; }
  .dl-steps ol { grid-template-columns: 1fr 1fr; }
  .contact__info { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
  .piece__info { position: static; }
  .story__art { max-width: 420px; }
  .footer__cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .dl-steps ol { grid-template-columns: 1fr; }
  .hero { min-height: 78vh; }
  .hero__bg { object-position: 32% 50%; }
  .banner { height: auto; aspect-ratio: 4 / 3; }
  .masthead { grid-template-columns: 1fr auto; row-gap: 14px; padding-top: 14px; padding-bottom: 12px; }
  .wordmark { grid-column: 1; grid-row: 1; align-items: flex-start; }
  .nav--right { grid-column: 2; grid-row: 1; gap: 18px; }
  .nav--left { grid-column: 1 / -1; grid-row: 2; gap: 22px; }
  .cats { grid-template-columns: 1fr; padding: 0; }
  .cat { flex-direction: row; justify-content: flex-start; gap: 18px; padding: 22px var(--gutter); }
  .cat + .cat { border-left: 0; border-top: 1px solid var(--line); }
  .cat .shape { width: 30px; height: 28px; }
  .cat__count { margin-left: auto; }
  .grid { gap: 36px 14px; }
  .card__text { grid-template-columns: 1fr; }
  .card__price { grid-column: 1; grid-row: auto; }
  .card__meta { display: none; }
  .card__name { font-size: 14px; }
  .service, .footer__cols { grid-template-columns: 1fr; }
  .block__head { flex-direction: column; gap: 10px; }
  .specs div { grid-template-columns: 1fr; gap: 2px; }
}

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

.form-msg a { border-bottom: 1px solid currentColor; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact__info a, .footer__cols a[href^="mailto"] { border-bottom: 1px solid var(--brass); }

/* Cart inquiry form */
.cart__inquiry { display: grid; gap: 10px; }
.cart__inquiry .cart__row, .cart__inquiry .cart__note { margin-bottom: 4px; }
.cart__inquiry .field textarea { min-height: 56px; }
.cart__inquiry .btn { margin-top: 8px; }
.cart__sent h3 { font-size: 28px; margin-bottom: 14px; }
.cart__sent p { font-size: 16px; line-height: 1.7; margin-bottom: 28px; }
