/* Public site styles. iPhone first; wider screens are layered on with min-width queries.
   Black and white, grey dividers, colour only for links, square-cornered buttons. */

:root {
  color-scheme: light;
  --ink: #111111;
  --ink-2: #3d3d3d;
  --muted: #6f6f6f;
  --line: #e7e7e7;
  --line-strong: #c9c9c9;
  --bg: #ffffff;
  --bg-soft: #f5f5f3;
  --link: #1d4ea3;
  --focus: #1d4ea3;
  --serif: "Cormorant Garamond", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Instrument Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --gutter: 16px;
  --section: 32px;
  --header-h: 56px;
  --max: 1440px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
/* The hidden attribute must win over component display rules (e.g. WhatsApp
   buttons stay hidden when no number is set). */
[hidden] { display: none !important; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
}
html.is-locked, html.is-locked body { overflow: hidden; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
svg { display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3 { margin: 0; font-weight: 600; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

a { color: var(--link); text-underline-offset: 3px; text-decoration-thickness: 1px; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 8px; top: -60px; z-index: 100; padding: 12px 16px;
  background: var(--ink); color: #fff; text-decoration: none;
}
.skip-link:focus { top: 8px; }

/* ---------- icons and buttons ---------- */

.icon-btn {
  display: inline-flex; align-items: center; justify-content: center; position: relative;
  width: 44px; height: 44px; padding: 0; border: 0; background: none; color: var(--ink);
  text-decoration: none; flex: none;
}
.icon-btn svg, .icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.icon-btn[aria-pressed="true"] svg { fill: currentColor; }
.icon-btn[hidden] { display: none; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border: 1px solid var(--ink); border-radius: 0;
  font-family: var(--sans); font-size: 15px; font-weight: 600; letter-spacing: .01em;
  text-decoration: none; text-align: center; line-height: 1.2; background: var(--bg); color: var(--ink);
  transition: background-color .15s, color .15s;
}
.btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.btn--primary { background: var(--ink); color: #fff; }
.btn--primary:hover { background: #2b2b2b; }
.btn--secondary:hover { background: var(--bg-soft); }
.btn--block { display: flex; width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .5; cursor: default; }
.text-link {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0; border: 0; background: none;
  color: var(--link); text-decoration: underline; text-underline-offset: 3px; font-size: 15px;
}

.input, .select, .textarea {
  width: 100%; min-height: 48px; padding: 10px 12px; border: 1px solid var(--line-strong); border-radius: 0;
  background: #fff; font-size: 16px; /* 16px stops iOS zooming into fields */
}
.textarea { min-height: 112px; resize: vertical; }
.input:focus, .select:focus, .textarea:focus { border-color: var(--ink); outline: none; box-shadow: 0 0 0 1px var(--ink); }

.status-label {
  display: inline-block; padding: 2px 6px; border: 1px solid var(--line-strong);
  font-size: 11px; line-height: 1.4; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--muted);
}
.status-label--reserved { border-color: var(--ink); color: var(--ink); }
.status-label--sold { border-color: var(--ink); background: var(--ink); color: #fff; }

/* ---------- header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, .97);
  border-bottom: 1px solid var(--line);
}
.site-header__bar {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  height: var(--header-h); max-width: var(--max); margin: 0 auto; padding: 0 6px;
}
.site-header__bar > :first-child { justify-self: start; }
.site-header__actions { justify-self: end; display: flex; align-items: center; }
.wordmark {
  font-family: var(--serif); font-weight: 600; font-size: 19px; line-height: 1;
  letter-spacing: .16em; text-transform: uppercase; color: var(--ink); text-decoration: none; white-space: nowrap;
  padding: 12px 4px;
}
.fav-dot { position: absolute; top: 10px; right: 9px; width: 7px; height: 7px; border-radius: 50%; background: var(--ink); border: 1.5px solid #fff; }

.site-search { max-width: var(--max); margin: 0 auto; padding: 10px var(--gutter) 6px; }
.search-field {
  display: flex; align-items: center; gap: 10px; width: 100%; min-height: 44px; padding: 0 12px;
  border: 1px solid var(--line-strong); background: #fff; color: var(--muted); font-size: 15px; text-align: left;
}
.search-field svg { width: 20px; height: 20px; fill: none; stroke: var(--ink); stroke-width: 1.5; stroke-linecap: round; flex: none; }
.search-field span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- layout ---------- */

main { display: block; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter) 48px; }
.home-section { margin-top: var(--section); }
.section-title { font-family: var(--serif); font-weight: 600; font-size: 24px; line-height: 1.15; margin-bottom: 16px; }
.page-title { font-family: var(--serif); font-weight: 600; font-size: 28px; line-height: 1.1; }
/* Pages without a breadcrumb (saved pieces, search) need the same space above the title. */
.browse > .page-title:first-child { margin: 20px 0 6px; }
.eyebrow { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }

.breadcrumb { padding: 6px 0 0; font-size: 13px; color: var(--muted); }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 0; margin: 0; padding: 0; list-style: none; }
.breadcrumb li { display: flex; align-items: center; }
.breadcrumb li + li::before { content: "/"; margin: 0 8px; color: var(--line-strong); }
.breadcrumb a { color: var(--muted); text-decoration: none; display: inline-flex; min-height: 44px; align-items: center; }
.breadcrumb li > span { display: inline-flex; min-height: 44px; align-items: center; }
.breadcrumb a:hover { color: var(--ink); text-decoration: underline; }
.breadcrumb [aria-current] { color: var(--ink); }

/* ---------- home ---------- */

.spotlight { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 10px; }
.tile { display: block; color: var(--ink); text-decoration: none; }
.tile__media { display: block; aspect-ratio: 4 / 5; background: var(--bg-soft); overflow: hidden; }
.tile__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.tile:hover .tile__media img { transform: scale(1.02); }
.tile__label { display: block; margin-top: 10px; font-family: var(--serif); font-size: 21px; font-weight: 600; line-height: 1.15; }
.tile--placeholder .tile__media { display: flex; align-items: flex-end; padding: 14px; }

.edit { border-top: 1px solid var(--line); padding-top: var(--section); }
.edit__title { font-family: var(--serif); font-size: 30px; line-height: 1.1; }
.edit__text { margin: 12px 0 20px; color: var(--ink-2); max-width: 560px; }
.edit .row-scroll { margin-top: 24px; }

.trust { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-top: 40px; }
.trust__list { display: grid; grid-template-columns: 1fr 1fr; }
.trust__list li {
  display: flex; align-items: center; justify-content: center; text-align: center; min-height: 88px; padding: 16px 10px;
  font-family: var(--serif); font-size: 18px; line-height: 1.2;
}
.trust__list li:nth-child(odd) { border-right: 1px solid var(--line); }
.trust__list li:nth-child(-n+2) { border-bottom: 1px solid var(--line); }

/* ---------- product cards and grids ---------- */

.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 10px; }
.card { position: relative; min-width: 0; }
.card__link { display: block; color: var(--ink); text-decoration: none; }
.card__media { position: relative; display: block; aspect-ratio: 1; background: #fff; overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: contain; }
.card__media--empty { background: var(--bg-soft); }
.card__body { display: block; padding-top: 10px; }
.card__title {
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  font-size: 14px; line-height: 1.35; margin: 0;
}
.card__price { display: block; margin-top: 4px; font-size: 14px; font-weight: 600; }
.card__line { display: block; margin-top: 2px; font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card__status { display: block; margin-top: 8px; }
.card__heart { position: absolute; top: 0; right: 0; z-index: 1; color: var(--ink); }
.card__heart svg { width: 22px; height: 22px; }
.card__link:hover .card__title { text-decoration: underline; text-underline-offset: 3px; }

.row-scroll {
  display: grid; grid-auto-flow: column; grid-auto-columns: 44%; gap: 12px;
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
  margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter) 8px; scroll-padding: 0 var(--gutter);
  scrollbar-width: thin;
}
.row-scroll > * { scroll-snap-align: start; }

.empty { padding: 48px 0 56px; text-align: center; }
.empty__title { font-family: var(--serif); font-size: 24px; font-weight: 600; }
.empty__text { margin: 8px auto 20px; color: var(--muted); max-width: 420px; }

/* ---------- browse ---------- */

.browse__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 4px 0 14px; }
.browse__count { color: var(--muted); font-size: 13px; white-space: nowrap; margin-top: 6px; }
.browse__sort-desktop { display: none; }
.browse-bar {
  position: sticky; top: var(--header-h); z-index: 30; display: grid; grid-template-columns: 1fr 1fr;
  margin: 0 calc(var(--gutter) * -1) 16px; background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.browse-bar__btn, .browse-bar__sort select {
  width: 100%; min-height: 48px; border: 0; background: #fff; font-size: 14px; font-weight: 600; text-align: center;
}
.browse-bar__btn { border-right: 1px solid var(--line); }
.browse-bar__sort { display: block; }
.browse-bar__sort select {
  appearance: none; -webkit-appearance: none; text-align-last: center; padding: 0 12px; border-radius: 0; color: var(--ink);
}
.browse__layout { display: block; }
.filters-side { display: none; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.chips:empty { display: none; }
.chip {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 12px;
  border: 1px solid var(--line-strong); background: #fff; font-size: 13px;
}
.chip svg { width: 14px; height: 14px; stroke: currentColor; stroke-width: 1.6; fill: none; }
.chip--clear { border-color: transparent; text-decoration: underline; text-underline-offset: 3px; }

.pager { display: flex; justify-content: center; flex-wrap: wrap; gap: 4px; margin-top: 40px; }
.pager:empty { display: none; }
.pager a, .pager span {
  display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 8px;
  font-size: 14px; color: var(--ink); text-decoration: none; border: 1px solid transparent;
}
.pager a:hover { border-color: var(--line-strong); }
.pager [aria-current="page"] { border-color: var(--ink); font-weight: 600; }
.pager .pager__gap { color: var(--muted); }

.search-page__form { display: flex; gap: 8px; margin: 16px 0; }
.search-page__form .btn { flex: none; }

/* ---------- filter groups (sheet on phone, column on desktop) ---------- */

.filter-group { border-bottom: 1px solid var(--line); }
.filter-group > summary {
  display: flex; align-items: center; justify-content: space-between; min-height: 56px; cursor: pointer;
  list-style: none; font-weight: 600; font-size: 15px;
}
.filter-group > summary::-webkit-details-marker { display: none; }
.filter-group > summary::after { content: "+"; font-weight: 400; font-size: 20px; color: var(--muted); }
.filter-group[open] > summary::after { content: "–"; }
.filter-group__body { padding-bottom: 14px; }
.filter-option { display: flex; align-items: center; gap: 12px; min-height: 44px; cursor: pointer; font-size: 15px; }
.filter-option input { width: 20px; height: 20px; margin: 0; accent-color: var(--ink); flex: none; }
.filter-option__label { flex: 1; }
.filter-option__count { color: var(--muted); font-size: 13px; }
.price-range { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 8px; }
.price-range label { font-size: 12px; color: var(--muted); }
.price-range .input { margin-top: 4px; }
.filter-note { font-size: 12px; color: var(--muted); margin-top: 4px; }

/* ---------- dialogs: sheets, menu, search, viewer ---------- */

dialog { padding: 0; border: 0; color: var(--ink); background: #fff; }
dialog::backdrop { background: rgba(0, 0, 0, .35); }

.sheet {
  position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0;
  display: none; flex-direction: column;
}
.sheet[open] { display: flex; }
.sheet__head {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: 56px; padding: 0 6px;
  border-bottom: 1px solid var(--line); flex: none;
}
.sheet__head > :first-child { justify-self: start; }
.sheet__head > :last-child { justify-self: end; }
.sheet__title { font-size: 16px; font-weight: 600; }
.sheet__body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 0 var(--gutter) 24px; -webkit-overflow-scrolling: touch; }
.sheet__foot { flex: none; padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: #fff; }
.sheet__text-btn { min-height: 44px; padding: 0 10px; border: 0; background: none; font-size: 14px; text-decoration: underline; text-underline-offset: 3px; }

.menu {
  position: fixed; inset: 0 auto 0 0; width: min(88vw, 400px); height: 100%; max-height: none; margin: 0;
  overflow: hidden; display: none;
}
.menu[open] { display: block; animation: slide-in-left .25s var(--ease); }
.menu__panel {
  position: absolute; inset: 0; display: flex; flex-direction: column; background: #fff;
  transition: transform .25s var(--ease), visibility .25s;
}
.menu__panel[data-level="1"] { transform: translateX(100%); visibility: hidden; }
.menu__panel.is-active[data-level="1"] { transform: none; visibility: visible; }
.menu__panel.is-behind { transform: translateX(-20%); visibility: hidden; }
.menu__head { display: flex; align-items: center; justify-content: space-between; min-height: 56px; padding: 0 6px 0 var(--gutter); border-bottom: 1px solid var(--line); }
.menu__head-title { font-family: var(--serif); font-size: 20px; font-weight: 600; }
.menu__back { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; padding: 0 10px 0 0; border: 0; background: none; font-size: 14px; }
.menu__back svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.5; }
.menu__body { flex: 1; overflow-y: auto; padding: 8px var(--gutter) 32px; }
.menu__list a, .menu__list button {
  display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 52px;
  padding: 0; border: 0; border-bottom: 1px solid var(--line); background: none; text-align: left;
  color: var(--ink); text-decoration: none; font-size: 16px;
}
.menu__list svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.5; }
.menu__list--main a, .menu__list--main button { font-family: var(--serif); font-size: 22px; font-weight: 600; }
.menu__group { margin-top: 20px; }
.menu__group-title { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.menu__all { font-weight: 600; }
.menu__new { margin-top: 24px; }

.search-overlay { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; display: none; flex-direction: column; }
.search-overlay[open] { display: flex; }
.search-overlay__bar { display: flex; align-items: center; gap: 8px; padding: 8px 6px 8px var(--gutter); border-bottom: 1px solid var(--line); }
.search-overlay__bar form { flex: 1; display: flex; align-items: center; gap: 8px; border: 1px solid var(--ink); padding: 0 10px; min-height: 44px; }
.search-overlay__bar svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; flex: none; }
.search-overlay__bar input { flex: 1; min-width: 0; border: 0; outline: none; font-size: 16px; min-height: 42px; background: transparent; }
.search-overlay__bar input::-webkit-search-cancel-button { -webkit-appearance: none; }
.search-overlay__body { flex: 1; overflow-y: auto; padding: 8px var(--gutter) 32px; }
.search-section { margin-top: 16px; }
.search-section__title { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.search-recent { display: flex; flex-wrap: wrap; gap: 8px; }
.search-result { display: grid; grid-template-columns: 64px 1fr; gap: 12px; align-items: center; min-height: 72px; padding: 6px 0; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.search-result__img { width: 64px; height: 64px; background: var(--bg-soft); }
.search-result__img img { width: 64px; height: 64px; object-fit: contain; background: #fff; }
.search-result__title { font-size: 14px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.search-result__meta { font-size: 12px; color: var(--muted); }
.search-all { margin-top: 16px; }

.viewer {
  position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0;
  background: #000; color: #fff; display: none;
}
.viewer[open] { display: block; }
.viewer::backdrop { background: #000; }
.viewer__stage { position: absolute; inset: 0; overflow: hidden; touch-action: none; display: flex; align-items: center; justify-content: center; }
.viewer__stage img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; transform-origin: 0 0; will-change: transform; user-select: none; -webkit-user-drag: none; }
.viewer__bar { position: absolute; top: 0; left: 0; right: 0; display: flex; justify-content: space-between; align-items: center; padding: calc(4px + env(safe-area-inset-top)) 6px 4px var(--gutter); z-index: 2; font-size: 14px; }
.viewer .icon-btn { color: #fff; }
.viewer__nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; background: rgba(0, 0, 0, .35); }
.viewer__nav--prev { left: 6px; }
.viewer__nav--next { right: 6px; }
.viewer__label { position: absolute; left: 0; right: 0; bottom: calc(16px + env(safe-area-inset-bottom)); text-align: center; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; z-index: 2; }

@keyframes slide-in-left { from { transform: translateX(-100%); } to { transform: none; } }

/* ---------- item page ---------- */

.item-skeleton { aspect-ratio: 1; background: var(--bg-soft); margin: 0 calc(var(--gutter) * -1); }
.preview-banner { background: var(--ink); color: #fff; text-align: center; padding: 10px 16px; font-size: 14px; font-weight: 600; margin: 0 calc(var(--gutter) * -1); }

.gallery { position: relative; margin: 0 calc(var(--gutter) * -1); }
.gallery__track {
  display: flex; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
  scrollbar-width: none; background: #fff;
}
.gallery__track::-webkit-scrollbar { display: none; }
.gallery__slide { position: relative; flex: 0 0 100%; scroll-snap-align: center; aspect-ratio: 1; margin: 0; }
.gallery__slide button { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: #fff; cursor: zoom-in; }
.gallery__slide img { width: 100%; height: 100%; object-fit: contain; }
.gallery__slot { position: absolute; left: 12px; top: 12px; padding: 3px 8px; background: rgba(255, 255, 255, .92); border: 1px solid var(--line); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; pointer-events: none; }
.gallery__counter { position: absolute; right: 12px; bottom: 12px; padding: 3px 9px; background: rgba(255, 255, 255, .92); border: 1px solid var(--line); font-size: 12px; pointer-events: none; }
.gallery__arrow { display: none; }
.gallery__dots { display: none; }
.gallery--empty { aspect-ratio: 1; background: var(--bg-soft); }

.item-head { display: flex; align-items: flex-start; gap: 8px; padding-top: 18px; }
.item-title { flex: 1; font-family: var(--serif); font-weight: 600; font-size: 25px; line-height: 1.15; }
.item-head__actions { display: flex; margin-top: -8px; margin-right: -10px; }
.item-sub { margin-top: 6px; color: var(--muted); font-size: 13px; }
.item-status { margin-top: 12px; }

.buy { padding: 20px 0 8px; }
.buy__price { font-size: 22px; font-weight: 600; line-height: 1.2; }
.buy__actions { display: grid; gap: 10px; margin-top: 16px; }
.buy__offer { justify-self: center; }
.buy__note { margin-top: 8px; font-size: 13px; color: var(--muted); text-align: center; }

.item-sections { margin-top: 24px; }
.section-links { display: flex; gap: 4px 18px; flex-wrap: wrap; padding: 0 0 8px; font-size: 13px; }
.section-links a { display: inline-flex; min-height: 44px; align-items: center; color: var(--ink-2); }
.accordion { border-top: 1px solid var(--line); }
.accordion:last-child { border-bottom: 1px solid var(--line); }
.accordion > summary {
  display: flex; align-items: center; justify-content: space-between; min-height: 60px; cursor: pointer; list-style: none;
  font-family: var(--serif); font-size: 21px; font-weight: 600;
}
.accordion > summary::-webkit-details-marker { display: none; }
.accordion > summary::after { content: "+"; font-family: var(--sans); font-weight: 400; font-size: 22px; color: var(--muted); }
.accordion[open] > summary::after { content: "–"; }
.accordion__body { padding: 0 0 24px; }
.details-table { display: grid; grid-template-columns: minmax(0, 40%) minmax(0, 60%); margin: 0; font-size: 14px; }
.details-table dt, .details-table dd { margin: 0; padding: 10px 0; border-bottom: 1px solid var(--line); }
.details-table dt { color: var(--muted); font-size: 13px; padding-right: 12px; }
.details-table dd { overflow-wrap: anywhere; }
.prose p + p { margin-top: 14px; }
.prose { font-size: 16px; line-height: 1.7; color: var(--ink-2); max-width: 680px; white-space: normal; }

.collector-card { display: grid; grid-template-columns: 72px 1fr; gap: 14px; align-items: start; }
.collector-card__photo { width: 72px; height: 72px; background: var(--bg-soft); object-fit: cover; }
.collector-card__name { font-family: var(--serif); font-size: 20px; font-weight: 600; }
.collector-card__meta { font-size: 13px; color: var(--muted); margin-top: 2px; }
.collector-card__bio { margin-top: 10px; grid-column: 1 / -1; }

.item-row { margin-top: 40px; }
.item-row--similar { margin-top: 24px; }

.sticky-buy {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 35; display: flex; align-items: center; gap: 8px;
  padding: 8px var(--gutter) calc(8px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line);
  transform: translateY(110%); transition: transform .2s var(--ease); visibility: hidden;
}
.sticky-buy.is-visible { transform: none; visibility: visible; }
.sticky-buy__price { flex: 1; font-weight: 600; font-size: 15px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sticky-buy .btn { min-height: 46px; padding: 0 16px; }
.sticky-buy .icon-btn { width: 46px; height: 46px; border: 1px solid var(--ink); }
body.has-sticky-buy .site-footer { padding-bottom: calc(80px + env(safe-area-inset-bottom)); }

/* reservation form */
.form-row { margin-top: 16px; }
.form-row label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.form-hint { font-size: 12px; color: var(--muted); margin-top: 4px; }
.form-error { color: #8a1c1c; font-size: 14px; margin-top: 12px; }
.form-intro { margin-top: 16px; color: var(--ink-2); }
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.confirmation { padding: 32px 0; text-align: center; }
.confirmation__title { font-family: var(--serif); font-size: 26px; font-weight: 600; }
.confirmation p { margin: 10px auto 0; max-width: 420px; color: var(--ink-2); }
.confirmation .btn { margin-top: 20px; }

.toast {
  position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom)); z-index: 60; transform: translateX(-50%);
  padding: 12px 18px; background: var(--ink); color: #fff; font-size: 14px; max-width: calc(100% - 32px);
}

/* ---------- text pages, collector ---------- */

.text-page .page-title { margin: 24px 0 18px; }
.text-page__section, .collector { margin-top: 40px; border-top: 1px solid var(--line); padding-top: 28px; }
.not-found__links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }

/* ---------- footer ---------- */

.site-footer { border-top: 1px solid var(--line); margin-top: 24px; }
.site-footer__inner { max-width: var(--max); margin: 0 auto; padding: 32px var(--gutter) 8px; display: grid; gap: 28px; }
.site-footer__title { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 500; margin-bottom: 6px; }
.site-footer a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer__legal { max-width: var(--max); margin: 0 auto; padding: 16px var(--gutter) 32px; font-family: var(--serif); font-size: 16px; letter-spacing: .14em; text-transform: uppercase; }

/* ---------- wider screens ---------- */

@media (min-width: 640px) {
  :root { --gutter: 24px; }
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 12px; }
  .row-scroll { grid-auto-columns: 30%; }
  .spotlight { grid-template-columns: repeat(4, 1fr); gap: 16px; }
  .trust__list { grid-template-columns: repeat(4, 1fr); }
  .trust__list li { border-right: 1px solid var(--line); border-bottom: 0 !important; }
  .trust__list li:last-child { border-right: 0; }
  .site-footer__inner { grid-template-columns: repeat(3, 1fr); }
  .reserve-dialog.sheet { inset: 0; width: min(520px, 100%); height: auto; max-height: 90vh; margin: auto; }
  .reserve-dialog.sheet[open] { display: flex; }
}

@media (min-width: 1024px) {
  :root { --gutter: 32px; --section: 48px; --header-h: 64px; }
  body { font-size: 15px; }
  .wordmark { font-size: 24px; }
  .site-search { padding-top: 12px; }
  .search-field { max-width: 560px; margin: 0 auto; }
  .page-title { font-size: 36px; }
  .section-title { font-size: 30px; }
  .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 12px; }
  .row-scroll { grid-auto-columns: calc((100% - 48px) / 5); margin: 0; padding: 0 0 8px; }
  .tile__label { font-size: 24px; }

  .browse-bar { display: none; }
  .browse__head { padding: 8px 0 24px; align-items: flex-end; }
  .browse__sort-desktop { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); }
  .browse__sort-desktop .select { width: auto; min-width: 180px; min-height: 44px; font-size: 14px; color: var(--ink); }
  .browse__layout { display: grid; grid-template-columns: 248px minmax(0, 1fr); gap: 40px; align-items: start; }
  .browse__layout.is-empty { display: block; }
  .browse__layout.is-empty .filters-side { display: none; }
  .browse__sort-desktop[hidden] { display: none; }
  .filters-side { display: block; position: sticky; top: calc(var(--header-h) + 16px); max-height: calc(100vh - var(--header-h) - 32px); overflow-y: auto; padding-right: 4px; }
  .filters-side__head { display: flex; justify-content: space-between; align-items: center; min-height: 44px; border-bottom: 1px solid var(--line); }
  .filters-side__sort { margin: 8px 0 4px; }

  .item-layout { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; align-items: start; }
  .item-layout > .item-main { position: sticky; top: calc(var(--header-h) + 16px); }
  .gallery { margin: 0; }
  .gallery__arrow {
    display: flex; position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; background: rgba(255, 255, 255, .9); border: 1px solid var(--line);
  }
  .gallery__arrow--prev { left: 12px; }
  .gallery__arrow--next { right: 12px; }
  .item-head { padding-top: 0; }
  .item-title { font-size: 32px; }
  .buy__actions { grid-template-columns: 1fr; }
  .item-skeleton { margin: 0; }
  .preview-banner { margin: 0; }
  .sticky-buy { display: none; }
  .sheet.reserve-dialog { width: 520px; }
}

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