:root {
  --bg: #f6f2ea;
  --paper: #fcfaf6;
  --ink: #1c1a17;
  --ink-2: #4a463f;
  --muted: #7a746a;
  --line: #e3dccf;
  --wall: #ece6da;
  --accent: #b4532a;
  --dark: #1f2a26;
  --radius: 14px;
  --radius-sm: 8px;
  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --max: 1200px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, ul, ol, dl, dd, fieldset { margin: 0; padding: 0; }
ul, ol { list-style: none; }
fieldset { border: 0; min-width: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2 { font-family: var(--serif); font-weight: 400; line-height: 1.06; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.3rem, 6vw, 4.2rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); }
h3 { font-size: 1.05rem; font-weight: 500; line-height: 1.3; }
h1 em, h2 em { font-style: italic; color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
[hidden] { display: none !important; }

.wrap { max-width: var(--max); margin: 0 auto; padding-inline: 20px; }
.section { padding: 64px 0; }
.section-tint { background: #efe9de; }
.eyebrow { font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); font-weight: 600; margin-bottom: 14px; }
.lead { font-size: 1.1rem; color: var(--ink-2); max-width: 56ch; }
.fine { font-size: 0.82rem; color: var(--muted); }
.link { border-bottom: 1px solid currentColor; padding-bottom: 1px; font-weight: 500; }
.link:hover { color: var(--accent); }
.head { max-width: 640px; margin-bottom: 36px; }
.head .lead { margin-top: 14px; }
.head-row { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.center { text-align: center; margin-top: 40px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5em; padding: 0.95em 1.6em; border-radius: 999px; font: 500 0.95rem/1 var(--sans); border: 1px solid var(--ink); background: var(--ink); color: #fff; cursor: pointer; transition: background 0.15s, color 0.15s, transform 0.15s; }
.btn:hover { background: #000; }
.btn:active { transform: translateY(1px); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-light { background: #fff; color: var(--ink); border-color: #fff; }
.btn-light:hover { background: #f1ece2; }
.btn-block { width: 100%; }
.btn-lg { padding: 1.15em 1.6em; font-size: 1rem; }

/* header */
/* The wrapper div app.js fills must not box the header in, or it cannot stick. */
#site-header { display: contents; }
.site-header { position: sticky; top: 0; z-index: 50; background: var(--bg); border-bottom: 1px solid var(--line); }
.header-in { display: flex; align-items: center; gap: 12px; height: 64px; }
.logo { font-family: var(--serif); font-size: 1.45rem; letter-spacing: -0.01em; margin-right: auto; white-space: nowrap; }
.logo em { font-style: italic; color: var(--accent); }
.nav { display: none; }
.nav a { color: var(--ink-2); font-size: 0.95rem; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
.nav a[aria-current="page"] { box-shadow: 0 1px 0 var(--ink); }
.nav.open { display: flex; flex-direction: column; position: absolute; top: 64px; left: 0; right: 0; background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 20px 20px; }
.nav.open a { padding: 12px 0; font-size: 1.1rem; border-bottom: 1px solid var(--line); box-shadow: none; }
.nav-toggle { width: 40px; height: 40px; margin-left: -8px; border: 0; background: none; cursor: pointer; display: grid; place-content: center; gap: 6px; }
.nav-toggle span { width: 22px; height: 1.5px; background: var(--ink); transition: transform 0.2s; }
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.75px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
.cart-btn { position: relative; width: 44px; height: 44px; margin-right: -10px; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.icon-btn { width: 44px; height: 44px; margin-right: -8px; border: 0; background: none; color: var(--ink); cursor: pointer; display: grid; place-items: center; }
.search { border-top: 1px solid var(--line); padding-block: 12px 14px; }
.search[hidden] { display: none; }
.search-in { display: flex; align-items: center; gap: 8px; }
.search input { flex: 1; min-width: 0; padding: 11px 18px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); color: var(--ink); font: 400 1rem var(--sans); }
.search input:focus { outline: none; border-color: var(--ink); }
.search-ideas { margin-top: 10px; }
.cart-count { position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--accent); color: #fff; font-size: 0.7rem; font-weight: 600; line-height: 18px; text-align: center; }

/* canvases on walls */
.canvas { display: block; object-fit: cover; background: #ddd; border-radius: 1.5px; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.04), 0 2px 3px rgba(60, 45, 25, 0.18), 0 18px 28px -14px rgba(60, 45, 25, 0.45); }
.canvas[data-framed] { box-shadow: 0 0 0 2px #2a241c, 0 0 0 8px var(--frame), 0 3px 4px 8px rgba(60, 45, 25, 0.12), 0 26px 30px -10px rgba(60, 45, 25, 0.45); }
.canvas-empty { background: repeating-linear-gradient(45deg, #f4efe6, #f4efe6 6px, #ebe4d7 6px, #ebe4d7 12px); }
.o-portrait { height: 76%; aspect-ratio: 2 / 3; }
.o-landscape { width: 80%; aspect-ratio: 3 / 2; }
.o-square { width: 68%; aspect-ratio: 1; }
.card-wall, .viewer-stage, .mini { position: relative; background: var(--wall); overflow: hidden; }
.card-wall .canvas, .viewer-stage .canvas, .mini .canvas { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.card-wall { aspect-ratio: 4 / 5; border-radius: var(--radius-sm); }
.card-wall .canvas { transition: transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1); }
.card:hover .canvas, .cat:hover .canvas { transform: translate(-50%, -50%) scale(1.035); }

/* product cards */
.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 14px; }
.card-meta { padding: 12px 2px 0; }
.card-meta p { display: flex; justify-content: space-between; gap: 8px; font-size: 0.85rem; color: var(--muted); margin-top: 2px; }
.card-custom .card-wall { background: var(--dark); color: #f1ece2; display: grid; place-items: center; padding: 18px; text-align: center; }
.card-custom b { display: block; font: 400 1.5rem/1.1 var(--serif); }
.card-custom span { display: block; font-size: 0.88rem; opacity: 0.8; margin: 10px 0 16px; }
.card-custom i { font-style: normal; font-size: 0.88rem; font-weight: 500; border-bottom: 1px solid currentColor; }

/* hero */
.hero { padding: 36px 0 56px; }
.hero-grid { display: grid; gap: 36px; align-items: center; }
.hero .lead { margin-top: 20px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 4px 0; margin-top: 24px; font-size: 0.88rem; color: var(--muted); }
.hero-facts li + li::before { content: "·"; margin: 0 10px; }
.hero-wall { position: relative; aspect-ratio: 5 / 4; background: linear-gradient(#f0eadf, #e9e2d4); border-radius: var(--radius); overflow: hidden; }
.hero-wall::after { content: ""; position: absolute; inset: auto 0 0; height: 7%; background: linear-gradient(#d8cdba, #cdc1ac); }
.hero-wall .canvas { position: absolute; }
.hero-wall .h-a { left: 9%; top: 11%; height: 72%; width: auto; aspect-ratio: 2 / 3; }
.hero-wall .h-b { left: 54%; top: 13%; width: 37%; height: auto; aspect-ratio: 3 / 2; }
.hero-wall .h-c { left: 59%; top: 51%; width: 26%; height: auto; aspect-ratio: 1; }

/* fact strip */
.strip { border-block: 1px solid var(--line); background: var(--paper); }
.strip ul { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px 16px; padding: 24px 0; }
.strip li { display: flex; gap: 12px; align-items: flex-start; font-size: 0.9rem; line-height: 1.35; }
.strip svg { flex: none; color: var(--accent); }
.strip b { display: block; font-weight: 500; }
.strip div > span { color: var(--muted); font-size: 0.84rem; }

/* categories */
.cats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 14px; }
.cat-meta { padding-top: 12px; }
.cat-meta h3 { font: 400 1.45rem/1.15 var(--serif); }
.cat-meta p { font-size: 0.9rem; color: var(--ink-2); margin-top: 4px; }
.cat-meta span { font-size: 0.8rem; color: var(--muted); }

/* steps */
.steps { display: grid; gap: 28px; counter-reset: step; }
.steps li { counter-increment: step; border-top: 1px solid var(--ink); padding-top: 16px; }
.steps li::before { content: "0" counter(step); display: block; font: 400 1.6rem/1 var(--serif); color: var(--accent); margin-bottom: 14px; }
.steps b { display: block; font-weight: 500; font-size: 1.05rem; margin-bottom: 6px; }
.steps span { color: var(--ink-2); font-size: 0.95rem; }

/* dark bands */
/* home: the hand-painted promise */
.promise { text-align: center; }
.promise .wrap { max-width: 820px; }
.promise h2 { font-size: clamp(2.1rem, 4.6vw, 3.3rem); }
.promise .lead { margin: 18px auto 0; max-width: 62ch; }
.promise-points { list-style: none; padding: 0; margin: 30px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 14px; }
.promise-points li { border: 1px solid var(--line); border-radius: 99px; padding: 8px 16px; font-size: 0.92rem; color: var(--ink-2); background: var(--paper); }

.band { background: var(--dark); color: #f1ece2; padding: 64px 0; }
.band-grid { display: grid; gap: 32px; align-items: center; }
.band .lead { color: #c9cfc9; margin: 16px 0 28px; }
.band .eyebrow { color: #e0a47f; }
.band h2 em { color: #e0a47f; }
.band-list { display: grid; gap: 12px; }
.band-list li { border: 1px solid rgba(255, 255, 255, 0.16); border-radius: var(--radius-sm); padding: 16px 18px; }
.band-list b { display: block; font-weight: 500; }
.band-list span { font-size: 0.9rem; color: #b9c1ba; }
.band-sand { background: #e7dccb; color: var(--ink); }
.band-sand .lead { color: var(--ink-2); }
.band-sand .eyebrow, .band-sand h2 em { color: var(--accent); }
.band-sand .band-list li { border-color: rgba(28, 26, 23, 0.18); }
.band-sand .band-list span { color: var(--ink-2); }

/* artists */
.artists { display: grid; gap: 56px; }
.artist img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); margin-bottom: 22px; }
.artist h3 { font: 400 clamp(2.2rem, 4.4vw, 3rem)/1.05 var(--serif); letter-spacing: -0.02em; }
.artist-meta { color: var(--muted); font-size: 0.92rem; margin: 6px 0 4px; }
.artist-story p { color: var(--ink-2); margin-top: 12px; max-width: 60ch; }
.artist blockquote, .project blockquote { margin: 22px 0; padding-left: 18px; border-left: 2px solid var(--accent); font: italic 400 1.3rem/1.4 var(--serif); }
.artist-cats, .project-designs { font-size: 0.9rem; color: var(--muted); }
.artist-cats a, .project-designs a { color: var(--ink); border-bottom: 1px solid currentColor; }
.faces { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 28px; }
.face img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-sm); margin-bottom: 10px; }
.face b { display: block; font: 400 1.25rem/1.2 var(--serif); }
.face span { display: block; font-size: 0.82rem; line-height: 1.35; color: var(--muted); margin-top: 2px; }
.face:hover b { color: var(--accent); }
.maker { display: flex; gap: 14px; align-items: center; margin-top: 22px; padding: 12px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--paper); }
.maker:hover { border-color: #bdb3a2; }
.maker img { width: 60px; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 6px; flex: none; }
.maker small { display: block; font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.maker b { display: block; font: 400 1.3rem/1.2 var(--serif); }
.maker-note { display: block; font-size: 0.86rem; line-height: 1.4; color: var(--ink-2); margin-top: 2px; }

/* reviews: a sideways row on every screen, swiped on phones and scrolled with
   a trackpad or the thin scrollbar on computers */
.reviews { display: flex; align-items: start; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: -20px; padding: 0 20px 4px; }
.reviews::-webkit-scrollbar { display: none; }
.review { flex: none; width: min(78vw, 340px); margin: 0; scroll-snap-align: center; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.review img { width: 100%; height: auto; }
.review figcaption { display: grid; gap: 8px; padding: 16px 18px 18px; }
.stars { color: var(--accent); letter-spacing: 2px; font-size: 0.9rem; line-height: 1; }
.stars i { font-style: normal; color: var(--line); }
.review blockquote { margin: 0; font-size: 0.95rem; line-height: 1.55; }
.review-by { font-size: 0.85rem; color: var(--ink-2); }
.review-by b { font-weight: 500; color: var(--ink); }
.review-what { font-size: 0.82rem; color: var(--muted); }
.review-what a { border-bottom: 1px solid currentColor; }
@media (hover: hover) and (pointer: fine) {
  .reviews { scrollbar-width: thin; scrollbar-color: var(--line) transparent; padding-bottom: 14px; }
  .reviews::-webkit-scrollbar { display: block; height: 6px; }
  .reviews::-webkit-scrollbar-thumb { background: var(--line); border-radius: 3px; }
}

/* villa projects */
.projects { display: grid; gap: 72px; }
.project-imgs { display: grid; gap: 10px; margin-bottom: 26px; }
.project-imgs img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius-sm); }
.project h3 { font: 400 clamp(1.7rem, 3vw, 2.2rem)/1.1 var(--serif); letter-spacing: -0.01em; }
.project-facts { display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 0 16px; }
.project-facts li { font-size: 0.82rem; padding: 4px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); }
.project-body p:not(.eyebrow) { color: var(--ink-2); }
.project cite { display: block; margin-top: 8px; font: normal 400 0.85rem var(--sans); color: var(--muted); }

/* accordion */
.faq { max-width: 760px; }
.acc { border-bottom: 1px solid var(--line); }
.acc:first-of-type { border-top: 1px solid var(--line); }
.acc summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; font-weight: 500; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: "+"; font-size: 1.3rem; line-height: 1; color: var(--muted); }
.acc[open] summary::after { content: "−"; }
.acc p { padding: 0 0 18px; color: var(--ink-2); font-size: 0.95rem; max-width: 62ch; }
.acc p a { border-bottom: 1px solid currentColor; }

/* footer */
.site-footer { background: var(--ink); color: #d9d2c4; padding: 56px 0 28px; font-size: 0.92rem; }
.footer-grid { display: grid; gap: 32px; grid-template-columns: repeat(2, 1fr); }
.footer-grid > div:first-child { grid-column: 1 / -1; max-width: 340px; }
.footer-grid .logo { color: #fff; display: inline-block; margin-bottom: 12px; }
.footer-grid h4 { font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: #9a9385; font-weight: 500; margin-bottom: 12px; }
.footer-grid a, .footer-grid span { display: block; padding: 3px 0; }
.footer-grid a:hover { color: #fff; }
.footer-fine { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.12); font-size: 0.8rem; color: #9a9385; }

/* collection */
.page-head { padding-block: 40px 24px; }
.page-head .lead { margin-top: 12px; }
.filters { position: sticky; top: 64px; z-index: 20; background: var(--bg); border-block: 1px solid var(--line); margin-bottom: 28px; }
.filters-in { display: flex; flex-direction: column; gap: 8px; padding-block: 10px; }
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin-inline: -20px; padding-inline: 20px; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; border: 1px solid var(--line); background: var(--paper); border-radius: 999px; padding: 8px 15px; font-size: 0.9rem; cursor: pointer; white-space: nowrap; }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip-quiet { background: none; border-color: transparent; color: var(--muted); padding-inline: 10px; }
.chip-quiet[aria-pressed="true"] { background: none; color: var(--ink); border-color: var(--ink); }
.count-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 16px; margin-bottom: 16px; }
.count { font-size: 0.85rem; color: var(--muted); }
.chips-format { margin-inline: 0; padding-inline: 0; }

/* product page */
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 0.85rem; color: var(--muted); padding: 20px 0; }
.crumbs a:hover { color: var(--ink); }
.product-grid { display: grid; gap: 28px; }
/* Lower on phones, so the picture and all four sizes fit on one screen. */
.viewer-stage { aspect-ratio: 100 / 85; border-radius: var(--radius); }
.viewer-stage .canvas.big.o-portrait { height: 84%; }
.viewer-stage .canvas.big.o-landscape { width: 84%; }
.viewer-stage .canvas.big.o-square { width: 74%; }
.room { position: relative; width: 100%; height: 100%; }
.room img, .room svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.room img { object-fit: cover; }
.viewer-tabs { display: flex; gap: 6px; margin-top: 12px; }
.viewer-tabs button { flex: 1; padding: 10px; border: 1px solid var(--line); background: none; border-radius: 999px; cursor: pointer; font-size: 0.9rem; color: var(--ink-2); }
.viewer-tabs button[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.viewer-cap { font-size: 0.82rem; color: var(--muted); margin-top: 10px; text-align: center; }
.buy h1 { font-size: clamp(2rem, 4.4vw, 3rem); }
.buy .lead { margin-top: 12px; font-size: 1.02rem; }
.price { font: 400 1.9rem/1 var(--serif); margin: 22px 0 6px; }
.opts { margin-top: 22px; }
.opts legend, .block legend { font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); font-weight: 500; margin-bottom: 10px; padding: 0; }
.opt-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.opt-list { display: grid; gap: 8px; }
.opt { position: relative; cursor: pointer; display: block; }
.opt input { position: absolute; opacity: 0; inset: 0; }
.opt-box { display: grid; gap: 1px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--paper); font-size: 0.88rem; color: var(--ink-2); height: 100%; transition: border-color 0.15s; }
.opt-box b { color: var(--ink); font-weight: 500; font-size: 0.98rem; }
.opt:hover .opt-box { border-color: #bdb3a2; }
.opt input:checked + .opt-box { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.opt input:focus-visible + .opt-box { outline: 2px solid var(--accent); outline-offset: 2px; }
.opt-price { color: var(--ink); }
.opt-row .opt-box { grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; }
.opt-row .opt-box > .opt-text:first-child { grid-column: 1 / 3; }
.opt-text { display: grid; }
.swatch { width: 22px; height: 22px; border-radius: 4px; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.12); }
.buy .btn-lg { margin-top: 24px; }
.viewer .opts { margin-top: 16px; }
.opts-size .opt-box { padding: 9px 14px; line-height: 1.4; }
.assure { margin-top: 18px; display: grid; gap: 6px; font-size: 0.92rem; color: var(--ink-2); }
.assure li { padding-left: 22px; position: relative; }
.assure li::before { content: ""; position: absolute; left: 2px; top: 0.5em; width: 10px; height: 5px; border-left: 1.5px solid var(--accent); border-bottom: 1.5px solid var(--accent); transform: rotate(-45deg); }
.note { margin: 24px 0; padding: 18px 20px; background: #efe9de; border-radius: var(--radius-sm); font-size: 0.92rem; }
.note b { font-weight: 500; }
.note p { color: var(--ink-2); margin-top: 4px; }
.more { padding: 64px 0; }
.more-tight { padding-top: 0; }

/* cart drawer */
dialog { color: inherit; }
.drawer { margin: 0 0 0 auto; width: min(430px, 100vw); height: 100dvh; max-height: none; max-width: none; border: 0; padding: 0; background: var(--bg); }
.drawer[open] { display: flex; flex-direction: column; }
.drawer::backdrop { background: rgba(28, 26, 23, 0.45); }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.drawer-head h3 { font: 400 1.5rem var(--serif); }
.x { width: 40px; height: 40px; border: 0; background: none; font-size: 1.7rem; line-height: 1; cursor: pointer; color: var(--ink-2); }
.drawer-body { flex: 1; overflow-y: auto; display: flex; flex-direction: column; }
.lines { padding: 4px 20px; flex: 1; }
.line { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.mini { width: 64px; aspect-ratio: 4 / 5; border-radius: 6px; flex: none; }
.mini .canvas { box-shadow: 0 2px 5px rgba(60, 45, 25, 0.3); }
.line-info { flex: 1; display: grid; align-content: start; gap: 1px; font-size: 0.85rem; color: var(--muted); }
.line-info b { font-weight: 500; font-size: 0.98rem; color: var(--ink); }
.line-price { font-weight: 500; }
.qty { display: inline-flex; align-items: center; gap: 12px; margin-top: 6px; border: 1px solid var(--line); border-radius: 999px; width: fit-content; padding: 0 4px; color: var(--ink); }
.qty button { width: 28px; height: 28px; border: 0; background: none; cursor: pointer; font-size: 1.1rem; }
.cart-foot { padding: 16px 20px 24px; border-top: 1px solid var(--line); background: var(--paper); display: grid; gap: 10px; }
.row { display: flex; justify-content: space-between; gap: 16px; font-size: 0.95rem; color: var(--ink-2); }
.row.total { font: 400 1.4rem var(--serif); color: var(--ink); padding-top: 8px; border-top: 1px solid var(--line); }
.cart-empty { margin: auto; text-align: center; display: grid; gap: 16px; padding: 40px 20px; color: var(--ink-2); }

/* forms */
.block { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 20px; margin-bottom: 16px; }
.block legend { float: left; width: 100%; display: flex; align-items: center; gap: 10px; margin-bottom: 16px; color: var(--ink); font-size: 0.82rem; }
.block legend + * { clear: both; }
.n { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 0.75rem; letter-spacing: 0; }
.field { display: grid; align-content: start; gap: 6px; margin-bottom: 14px; font-size: 0.88rem; color: var(--ink-2); }
.field input, .field select, .field textarea { width: 100%; padding: 12px 14px; border: 1px solid #d5cdbf; border-radius: var(--radius-sm); background: #fff; font-size: 1rem; color: var(--ink); }
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--ink); outline-offset: -1px; border-color: var(--ink); }
.field-row { display: grid; gap: 0 14px; }
.drop { display: grid; justify-items: center; gap: 6px; text-align: center; padding: 34px 20px; border: 1.5px dashed #bdb3a2; border-radius: var(--radius-sm); background: #fff; cursor: pointer; margin-bottom: 14px; transition: background 0.15s, border-color 0.15s; }
.drop:hover, .drop.over { border-color: var(--accent); background: #fdf6f1; }
.drop svg { color: var(--accent); margin-bottom: 6px; }
.drop b { font-weight: 500; }
.drop span { font-size: 0.85rem; color: var(--muted); }
.drop.has-files { padding-block: 18px; }
.drop-sm { padding: 20px 14px; margin-bottom: 10px; }
.drop-sm svg { margin-bottom: 0; }
.drop-sm.has-files { padding-block: 12px; }
.thumbs { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.thumbs:empty { display: none; }
.thumbs li { position: relative; width: 88px; height: 88px; border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--line); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.thumbs-sm li { width: 60px; height: 60px; }
.thumbs button { position: absolute; top: 4px; right: 4px; width: 24px; height: 24px; border-radius: 50%; border: 0; background: rgba(28, 26, 23, 0.75); color: #fff; cursor: pointer; line-height: 1; }
.seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 14px; }
.seg .opt-box { text-align: center; justify-items: center; gap: 8px; }
.seg .shape { border: 1.5px solid currentColor; border-radius: 2px; color: var(--ink-2); }
.shape-p { width: 18px; height: 27px; }
.shape-l { width: 27px; height: 18px; margin-block: 4.5px; }
.shape-s { width: 22px; height: 22px; margin-block: 2.5px; }
.need { display: grid; gap: 6px; }
.need-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 6px 6px 6px 14px; border: 1px solid #d5cdbf; border-radius: var(--radius-sm); background: #fff; color: var(--ink); }
.need-row b { display: inline-block; min-width: 2.6em; font-weight: 500; }
.need-row .qty { margin: 0; }
.field .qty input { width: 2.4em; padding: 4px 0; border: 0; background: none; text-align: center; font-size: 0.95rem; -moz-appearance: textfield; appearance: textfield; }
.qty input::-webkit-inner-spin-button, .qty input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.need-total { font-weight: 500; color: var(--ink); }
.need-total:empty { display: none; }
.error { color: #a12b1c; font-size: 0.88rem; margin-bottom: 10px; }

/* custom page */
.split { display: grid; gap: 24px; align-items: start; padding-bottom: 72px; }
.aside-box { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 20px; }
.aside-box h3 { font: 400 1.5rem var(--serif); margin-bottom: 16px; }
.sum { display: flex; gap: 16px; margin-bottom: 16px; }
.sum .mini { width: 84px; }
.sum dl { flex: 1; display: grid; gap: 6px; font-size: 0.88rem; align-content: start; }
.sum dl div { display: flex; justify-content: space-between; gap: 12px; }
.sum dt { color: var(--muted); }
.sum dd { text-align: right; }
.aside-box .row.total { margin-bottom: 16px; }
.aside-box .assure { margin-top: 16px; font-size: 0.88rem; }

/* checkout */
.checkout { padding-block: 32px 72px; }
.checkout h1 { font-size: clamp(2rem, 4.4vw, 3rem); margin-bottom: 24px; }
.checkout-grid { display: grid; gap: 24px; align-items: start; }
.order { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; display: grid; gap: 10px; order: -1; }
.order h3 { font: 400 1.4rem var(--serif); }
.order .lines { padding: 0; }
.pay-note { font-size: 0.92rem; color: var(--ink-2); }
.pay-mode { margin-top: 12px; padding: 12px 14px; border-radius: var(--radius-sm); background: #fff; border: 1px solid var(--line); font-size: 0.88rem; color: var(--ink-2); }
.checkout-form .btn-lg { margin: 8px 0 10px; }
.done, .empty-page { max-width: 640px; margin: 0 auto; padding: 48px 0 24px; display: grid; gap: 20px; justify-items: start; }
.done .steps { width: 100%; margin-top: 12px; }
.lines-box { width: 100%; padding: 0; border-top: 1px solid var(--line); }
.done .row { width: 100%; }

@media (min-width: 620px) {
  .field-row { grid-template-columns: 1fr 1fr; }
  .strip ul { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 700px) {
  .grid { grid-template-columns: repeat(3, 1fr); gap: 40px 24px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps-3 { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: auto; }
  .opt-grid { grid-template-columns: repeat(4, 1fr); }
  .project-imgs { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 900px) {
  .wrap { padding-inline: 40px; }
  .section { padding: 104px 0; }
  .nav { display: flex; gap: 30px; margin-right: 18px; }
  .nav-toggle { display: none; }
  .hero { padding: 72px 0 96px; }
  .hero-grid { grid-template-columns: 1.02fr 1fr; gap: 64px; }
  .steps { grid-template-columns: repeat(4, 1fr); }
  .cats { grid-template-columns: repeat(4, 1fr); gap: 48px 24px; }
  .steps-3 { grid-template-columns: repeat(3, 1fr); }
  .steps-5 { grid-template-columns: repeat(5, 1fr); }
  .band { padding: 96px 0; }
  .band-grid { grid-template-columns: 1.1fr 1fr; gap: 72px; }
  .chips { flex-wrap: wrap; overflow: visible; margin-inline: 0; padding-inline: 0; }
  .product-grid { grid-template-columns: 1.08fr 1fr; gap: 64px; }
  .viewer { position: sticky; top: 88px; align-self: start; }
  .viewer-stage { aspect-ratio: 1; }
  .opts-size .opt-box { padding: 12px 14px; line-height: inherit; }
  .buy .opt-grid { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1.35fr 1fr; gap: 40px; }
  .split aside { position: sticky; top: 88px; }
  .checkout { padding-block: 48px 96px; }
  .checkout-grid { grid-template-columns: 1.3fr 1fr; gap: 48px; }
  .order { order: 0; position: sticky; top: 88px; }
  .two { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
  .reviews { gap: 24px; margin-inline: -40px; padding-inline: 40px; scroll-padding-inline: 40px; }
  .review { scroll-snap-align: start; }
  .artists { gap: 96px; }
  .artist { display: grid; grid-template-columns: 0.85fr 1fr; gap: 64px; align-items: center; }
  .artist img { margin: 0; }
  .artist:nth-child(even) { grid-template-columns: 1fr 0.85fr; }
  .artist:nth-child(even) img { order: 2; }
  .projects { gap: 104px; }
  .project-body { display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; }
  .project blockquote { margin-top: 36px; }
}

@media (min-width: 1000px) {
  .grid { grid-template-columns: repeat(4, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}

/* legal page */
.legal { padding-bottom: 72px; }
.legal > * { max-width: 760px; }
.legal h2 { font-size: 1.45rem; margin: 40px 0 12px; scroll-margin-top: 88px; }
.legal p, .legal li { color: var(--ink-2); }
.legal p { margin-bottom: 10px; }
.legal ul { list-style: disc; padding-left: 20px; display: grid; gap: 8px; }
.legal-draft { padding: 10px 14px; border-radius: var(--radius-sm); background: #fff; border: 1px dashed #bdb3a2; font-size: 0.88rem; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 6px 18px; }

/* cookie notice for Meta's pixel, shown until the visitor decides */
.consent { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60; max-width: 620px; margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; padding: 14px 16px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 10px 30px rgba(28, 26, 23, 0.14); font-size: 0.88rem; line-height: 1.45; }
.consent p { flex: 1 1 260px; margin: 0; color: var(--ink-2); }
.consent p a { text-decoration: underline; }
.consent div { display: flex; gap: 8px; margin-left: auto; }
.consent .btn { padding: 0.75em 1.3em; font-size: 0.88rem; }
