/* Place this file in your-theme/css/mc-design.css */
/* ========== MIGHTYCREATION — editorial dark redesign ========== */

:root {
  --bg: oklch(0.14 0.008 60);
  --bg-elev: oklch(0.18 0.008 60);
  --bg-elev-2: oklch(0.22 0.008 60);
  --border: oklch(0.27 0.008 60);
  --border-soft: oklch(0.22 0.008 60);
  --text: oklch(0.96 0.005 80);
  --text-2: oklch(0.78 0.008 60);
  --text-mute: oklch(0.58 0.008 60);
  --text-faint: oklch(0.42 0.008 60);
  --accent: oklch(0.84 0.14 86);            /* signature gold — matches brand */
  --accent-ink: oklch(0.20 0.04 86);
  --danger: oklch(0.70 0.18 25);

  --serif: "Instrument Serif", "Cormorant Garamond", Georgia, serif;
  --sans: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", monospace;

  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 16px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body { min-height: 100vh; overflow-x: hidden; }

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

::selection { background: var(--accent); color: var(--accent-ink); }

/* ── Site frame ─────────────────────────────────────────────────── */
.site {
  display: grid;
  grid-template-columns: 244px 1fr;
  min-height: 100vh;
}

/* ── Sidebar ────────────────────────────────────────────────────── */
.sidebar {
  border-right: 1px solid var(--border-soft);
  padding: 28px 24px 24px;
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0;
  text-decoration: none;
}
.brand-glyph {
  display: inline-flex;
  align-items: center;
  color: var(--text);
}
.brand-glyph img {
  display: block;
  width: auto;
  height: 56px;
  object-fit: contain;
}
.brand-wordmark {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-top: 10px;
  display: block;
}
.brand-tag {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-top: 6px;
}

.nav { display: flex; flex-direction: column; gap: 2px; }
.nav-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
  font-size: 13.5px;
  color: var(--text-2);
  letter-spacing: 0.02em;
  border-bottom: 1px solid transparent;
  transition: color .15s, border-color .15s;
}
.nav-item:hover { color: var(--text); }
.nav-item.active { color: var(--text); }
.nav-item.active::before {
  content: "";
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  margin-right: 8px;
}
.nav-item .ct {
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--text-faint);
}

.sidebar-section-label {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 12px;
}

.author-card {
  border: 1px solid var(--border-soft);
  border-radius: var(--r-md);
  padding: 14px;
  display: flex;
  gap: 12px;
  align-items: center;
}
.author-portrait {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--bg-elev-2);
  border: 1px solid var(--border);
  flex: none;
  overflow: hidden;
  filter: grayscale(1) contrast(1.08);
}
.author-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 20%;
  display: block;
}

/* Author's Choice gallery in sidebar */
.choice {
  margin-top: 4px;
}
.choice-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
  margin-top: 12px;
}
.choice-cell {
  aspect-ratio: 1.4 / 1;
  border-radius: var(--r-sm);
  overflow: hidden;
  display: grid;
  place-items: center;
  border: 1px solid var(--border-soft);
  cursor: pointer;
  transition: transform .15s, border-color .15s;
}
.choice-cell:hover { border-color: var(--accent); transform: translateY(-1px); }
.choice-cell .tile-mark { max-width: 78%; max-height: 64%; }
.choice-cell.wide { grid-column: 1 / -1; aspect-ratio: 3 / 1; }
.author-name {
  font-family: var(--serif);
  font-style: italic;
  font-size: 18px;
  line-height: 1.1;
}
.author-since {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-top: 4px;
}

.sidebar-cta {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px;
  border-radius: var(--r-md);
  font-size: 13px;
  letter-spacing: 0.04em;
  font-weight: 500;
  transition: transform .12s ease, background .15s, color .15s, border-color .15s;
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
}
.btn-primary:hover { background: oklch(0.92 0.18 105); }

.btn-ghost {
  border-color: var(--border);
  color: var(--text);
}
.btn-ghost:hover { border-color: var(--text-2); }

.btn-line {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0;
  background: none;
  border: 0;
  border-bottom: 1px solid currentColor;
  color: var(--text-2);
  padding-bottom: 2px;
}
.btn-line:hover { color: var(--accent); }

.socials {
  display: flex;
  gap: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--border-soft);
}
.socials a {
  width: 28px; height: 28px;
  border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid var(--border);
  font-size: 10px;
  font-family: var(--mono);
  color: var(--text-mute);
}
.socials a:hover { color: var(--accent); border-color: var(--accent); }

/* ── Main ───────────────────────────────────────────────────────── */
.main { min-width: 0; }

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
margin-left: 100px;
  padding: 20px 40px;
  border-bottom: 1px solid var(--border-soft);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-faint);
  position: sticky;
  top: 0;
  background: color-mix(in oklab, var(--bg) 88%, transparent);
  backdrop-filter: blur(8px);
  z-index: 20;
}
.topbar > div:first-child {
  min-width: 0;
  flex: 1 1 auto;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: flex;
  align-items: center;
}
.topbar > div:last-child {
  flex: none;
  white-space: nowrap;
}
@media (max-width: 980px) {
  .topbar > div:last-child { display: none; }
}
.topbar .live-dot {
  display: inline-block;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  margin-right: 8px;
  box-shadow: 0 0 0 0 var(--accent);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 color-mix(in oklab, var(--accent) 60%, transparent); }
  50% { box-shadow: 0 0 0 6px color-mix(in oklab, var(--accent) 0%, transparent); }
}

/* ── Hero ──────────────────────────────────────────────────────── */
.hero {
  padding: 80px 40px 56px;
  border-bottom: 1px solid var(--border-soft);
  position: relative;
}

.hero-eyebrow {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.hero-eyebrow::after {
  content: "";
  flex: 1; max-width: 80px;
  height: 1px;
  background: var(--border);
}

.hero-h {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(56px, 7.4vw, 124px);
  line-height: 1.04;
  letter-spacing: -0.025em;
  color: var(--text);
  max-width: 1100px;
  padding-bottom: 0.08em;
}
.hero-h em {
  font-style: italic;
  color: var(--text);
}
.hero-h .accent { color: var(--accent); font-style: italic; }

.hero-sub {
  margin-top: 32px;
  font-size: 17px;
  color: var(--text-2);
  max-width: 560px;
  line-height: 1.55;
}
.hero-sub strong { color: var(--text); font-weight: 500; }

.hero-stats {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}
.stat {
  padding: 22px 28px 22px 0;
  border-right: 1px solid var(--border-soft);
}
.stat:last-child { border-right: 0; padding-right: 0; }
.stat-num {
  font-family: var(--serif);
  font-size: 38px;
  font-style: italic;
  line-height: 1;
  color: var(--text);
}
.stat-label {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-top: 8px;
}

/* ── Filter bar ─────────────────────────────────────────────────── */
.filterbar {
  padding: 10px 40px !important;
  display: flex;
  align-items: center;
  gap: 28px;
  justify-content: space-between;
  flex-wrap: wrap;
  position: sticky;
  top: 0;
  z-index: 25;
  background: color-mix(in oklab, var(--bg) 92%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-soft);
}
.filterbar-left {
  display: flex;
  align-items: center;
  gap: 22px;
}
.filterbar-label {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip {
  padding: 7px 14px;
  border-radius: 100px;
  border: 1px solid var(--border);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--text-2);
  text-transform: lowercase;
  transition: all .12s;
}
.chip:hover { border-color: var(--text-2); color: var(--text); }
.chip.active {
  background: var(--text);
  border-color: var(--text);
  color: var(--bg);
}
.chip .ct {
  font-family: var(--mono);
  font-size: 10px;
  margin-left: 6px;
  color: var(--text-faint);
}
.chip.active .ct { color: color-mix(in oklab, var(--bg) 60%, transparent); }

.filterbar-right {
  display: flex;
  align-items: center;
  gap: 14px;
}
.sort {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-2);
  padding: 7px 14px;
  border: 1px solid var(--border);
  border-radius: 100px;
  background: none;
}
.toggle-sold {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-mute);
  user-select: none;
  cursor: pointer;
}
.toggle-sold .sw {
  width: 28px; height: 16px;
  background: var(--border);
  border-radius: 100px;
  position: relative;
  transition: background .15s;
}
.toggle-sold .sw::after {
  content: "";
  position: absolute;
  top: 2px; left: 2px;
  width: 12px; height: 12px;
  background: var(--text);
  border-radius: 50%;
  transition: transform .15s;
}
.toggle-sold.on .sw { background: var(--accent); }
.toggle-sold.on .sw::after { transform: translateX(12px); background: var(--accent-ink); }
.toggle-sold.on { color: var(--text); }

/* ── Catalog grid ───────────────────────────────────────────────── */
.catalog {
  padding: 28px 40px 80px;
}
.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.tile {
  position: relative;
  border-radius: var(--r-md);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 5 / 4;
  isolation: isolate;
}
.tile-bg {
  position: absolute; inset: 0;
  display: grid;
  place-items: center;
  transition: transform .35s cubic-bezier(.2,.7,.2,1);
}
/* On hover: shift the logo UP so it stays centered above the meta strip.
   The meta strip is roughly 28% of the tile height, so translate up by ~14%. */
.tile:hover .tile-bg { transform: translateY(-14%) scale(1.02); }

.tile-mark { max-width: 70%; max-height: 70%; }

.tile-meta {
  position: absolute;
  inset: auto 0 0 0;
  padding: 14px 16px;
  background: color-mix(in oklab, var(--bg) 100%, transparent);
  border-top: 1px solid color-mix(in oklab, var(--text) 8%, transparent);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .2s, transform .2s;
  pointer-events: none;
}
.tile:hover .tile-meta { opacity: 1; transform: translateY(0); pointer-events: auto; }
.tile-name {
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  line-height: 1;
  color: var(--text);
}
.tile-cat {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin-top: 5px;
}

.tile-corner {
  position: absolute;
  top: 12px; left: 14px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: color-mix(in oklab, var(--text) 60%, transparent);
  background: color-mix(in oklab, var(--bg) 60%, transparent);
  padding: 4px 8px;
  border-radius: 100px;
  backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity .2s;
}
.tile:hover .tile-corner { opacity: 1; }

/* Author's choice badge — always visible, top-right */
.tile-choice {
  position: absolute;
  top: 12px; right: 12px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-ink);
  background: var(--accent);
  padding: 4px 9px;
  border-radius: 100px;
  z-index: 2;
  white-space: nowrap;
  line-height: 1.2;
}

.tile-action {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-ink);
  background: var(--accent);
  padding: 8px 12px;
  border-radius: 100px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.tile-action::after { content: "→"; font-size: 12px; }
.tile-action.ghost {
  background: var(--bg-elev-2);
  color: var(--text-mute);
}
.tile-action.ghost::after { content: "→"; }

.tile-watching {
  position: absolute;
  top: 14px; right: 14px;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.14em;
  color: var(--text);
  background: color-mix(in oklab, var(--bg) 70%, transparent);
  padding: 5px 9px;
  border-radius: 100px;
  display: flex;
  align-items: center;
  gap: 6px;
  opacity: 0;
  transition: opacity .25s;
}
.tile:hover .tile-watching { opacity: 1; }
.tile-watching .dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 1.8s ease-in-out infinite;
}

/* sold state — keep normal colors, meta always visible, logo lifted */
.tile.sold .tile-bg { transform: translateY(-14%); }
.tile.sold:hover .tile-bg { transform: translateY(-14%) scale(1.02); }
.tile.sold .tile-meta { opacity: 1; transform: translateY(0); pointer-events: auto; }
.tile.sold .tile-corner { opacity: 1; }
.sold-stamp {
  position: absolute;
  top: 14px; right: 14px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--bg);
  background: var(--text);
  padding: 5px 9px;
  border-radius: 100px;
}

/* ── Section spacer & headers ──────────────────────────────────── */
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 80px 40px 28px;
  border-top: 1px solid var(--border-soft);
}
.section-head h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(34px, 4vw, 60px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  max-width: 700px;
  padding-bottom: 0.06em;
}
.section-head .sub {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-faint);
  max-width: 320px;
  text-align: right;
}

/* ── Process strip ──────────────────────────────────────────────── */
.process {
  padding: 0 40px 80px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--border-soft);
}
.process-step {
  padding: 36px 28px 36px 10px;
  border-right: 1px solid var(--border-soft);
}
.process-step:last-child { border-right: 0; padding-right: 0; }
.process-num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--text-faint);
}
.process-h {
  font-family: var(--serif);
  font-style: italic;
  font-size: 28px;
  line-height: 1.1;
  margin-top: 16px;
}
.process-p {
  font-size: 13.5px;
  color: var(--text-2);
  margin-top: 12px;
  max-width: 24ch;
  line-height: 1.55;
}

/* ── Footer ─────────────────────────────────────────────────────── */
.footer {
  padding: 60px 40px 40px;
  border-top: 1px solid var(--border-soft);
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
}
.footer-h {
  font-family: var(--serif);
  font-style: italic;
  font-size: 44px;
  line-height: 1.1;
  letter-spacing: -0.02em;
  padding-bottom: 0.06em;
}
.footer-sub { color: var(--text-2); margin-top: 14px; max-width: 380px; }
.footer-col-h {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 16px;
}
.footer-col a {
  display: block;
  padding: 6px 0;
  color: var(--text-2);
  font-size: 13px;
}
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  grid-column: 1 / -1;
  border-top: 1px solid var(--border-soft);
  padding-top: 20px;
  margin-top: 20px;
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-faint);
}

/* ── Activity ticker (sticky bottom-left) ──────────────────────── */
.ticker {
  position: fixed;
  left: 24px;
  bottom: 20px;
  z-index: 30;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 8px 14px 8px 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--text-2);
  max-width: 360px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0,0,0,.4);
}
.ticker .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  flex: none;
  animation: pulse 2s ease-in-out infinite;
}
.ticker-text { white-space: nowrap; }
.ticker .close {
  margin-left: 6px;
  color: var(--text-faint);
  font-size: 12px;
}

/* ── Offer panel (slides in from right) ────────────────────────── */
.scrim {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.55);
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s;
}
.scrim.open { opacity: 1; pointer-events: auto; }

.panel {
  position: fixed;
  top: 0; right: 0;
  height: 100vh;
  width: min(540px, 92vw);
  background: var(--bg);
  border-left: 1px solid var(--border);
  z-index: 110;
  transform: translateX(100%);
  transition: transform .35s cubic-bezier(.2,.7,.2,1);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}
.panel.open { transform: translateX(0); }

.panel-head {
  padding: 24px 28px;
  border-bottom: 1px solid var(--border-soft);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.panel-eyebrow {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.panel-close {
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: grid; place-items: center;
  color: var(--text-2);
}
.panel-close:hover { color: var(--text); border-color: var(--text); }

.panel-hero {
  padding: 24px 28px 28px;
  border-bottom: 1px solid var(--border-soft);
}
.panel-tile {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--r-md);
  display: grid;
  place-items: center;
  overflow: hidden;
}
.panel-tile .tile-mark { max-width: 50%; max-height: 65%; }

.panel-title-row {
  margin-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}
.panel-title {
  font-family: var(--serif);
  font-style: italic;
  font-size: 38px;
  line-height: 1;
}
.panel-id {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--text-faint);
}
.panel-tag {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin-top: 8px;
}

.panel-body { padding: 28px; flex: 1; display: flex; flex-direction: column; gap: 24px; }

.field { display: flex; flex-direction: column; gap: 8px; }
.field label {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.field input, .field textarea {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 12px 14px;
  color: var(--text);
  font: inherit;
  font-size: 14px;
  transition: border-color .15s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); }
.field textarea { resize: vertical; min-height: 96px; }

.budget {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 18px 18px 20px;
}
.budget-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 60px;
  line-height: 1;
  color: var(--text);
  display: flex;
  align-items: baseline;
  gap: 4px;
}
.budget-num .currency {
  font-family: var(--mono);
  font-style: normal;
  font-size: 14px;
  color: var(--text-mute);
  letter-spacing: 0.1em;
}
.budget-input {
  background: none;
  border: 0;
  font: inherit;
  color: inherit;
  width: 5ch;
  padding: 0;
}
.budget-input:focus { outline: none; }
.budget-input::-webkit-outer-spin-button,
.budget-input::-webkit-inner-spin-button { -webkit-appearance: none; }
.budget-hint {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-top: 8px;
}
.range {
  -webkit-appearance: none;
  width: 100%;
  height: 4px;
  background: var(--border);
  border-radius: 100px;
  margin-top: 18px;
  cursor: pointer;
}
.range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px; height: 18px;
  background: var(--accent);
  border-radius: 50%;
  border: 3px solid var(--bg);
  box-shadow: 0 0 0 1px var(--accent);
  cursor: grab;
}
.range::-moz-range-thumb {
  width: 18px; height: 18px;
  background: var(--accent);
  border-radius: 50%;
  border: 3px solid var(--bg);
  cursor: grab;
}
.budget-quicks {
  display: flex;
  gap: 6px;
  margin-top: 14px;
  flex-wrap: wrap;
}
.budget-quicks button {
  padding: 6px 11px;
  border: 1px solid var(--border);
  border-radius: 100px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-2);
}
.budget-quicks button:hover { border-color: var(--accent); color: var(--accent); }

.panel-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 24px;
  padding: 18px;
  border: 1px solid var(--border-soft);
  border-radius: var(--r-md);
  background: var(--bg-elev);
}
.panel-meta-item .l {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 4px;
}
.panel-meta-item .v {
  font-family: var(--serif);
  font-style: italic;
  font-size: 20px;
  line-height: 1.1;
}

.panel-foot {
  position: sticky;
  bottom: 0;
  padding: 20px 28px 24px;
  border-top: 1px solid var(--border-soft);
  background: color-mix(in oklab, var(--bg) 92%, transparent);
  backdrop-filter: blur(8px);
  display: flex;
  gap: 12px;
}
.panel-foot .btn { flex: 1; }

/* Confirmation state */
.panel-confirm {
  padding: 60px 32px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: center;
  justify-content: center;
  flex: 1;
}
.panel-confirm .check {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-ink);
  display: grid; place-items: center;
  font-size: 28px;
}
.panel-confirm h3 {
  font-family: var(--serif);
  font-style: italic;
  font-size: 38px;
  line-height: 1;
  font-weight: 400;
}
.panel-confirm p {
  color: var(--text-2);
  max-width: 36ch;
}

/* ── Logo detail page ──────────────────────────────────────────── */
.detail {
  padding: 40px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 60px;
  align-items: start;
}
.detail-back {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-mute);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 30px;
}
.detail-back:hover { color: var(--text); }

.detail-main { display: flex; flex-direction: column; gap: 16px; }

.detail-hero {
  border-radius: var(--r-lg);
  aspect-ratio: 5 / 4;
  display: grid;
  place-items: center;
  overflow: hidden;
  position: relative;
}
.detail-hero .tile-mark { max-width: 55%; max-height: 60%; }
.detail-id {
  position: absolute;
  top: 18px; left: 22px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  color: color-mix(in oklab, var(--text) 50%, transparent);
}

.detail-side { display: flex; flex-direction: column; gap: 28px; position: sticky; top: 80px; }
.detail-eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.detail-name {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(58px, 6vw, 92px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  margin-top: 8px;
  padding-bottom: 0.06em;
}
.detail-story {
  font-size: 16px;
  line-height: 1.55;
  color: var(--text-2);
  max-width: 42ch;
}

.detail-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border-soft);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-md);
  overflow: hidden;
}
.detail-meta > div {
  padding: 16px 18px;
  background: var(--bg);
}
.detail-meta .l {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 6px;
}
.detail-meta .v {
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  line-height: 1;
}

.detail-cta {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.detail-cta .btn-primary {
  padding: 18px 22px;
  font-size: 13.5px;
}
.detail-incl {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-faint);
  padding: 14px 0 0;
  border-top: 1px solid var(--border-soft);
  margin-top: 6px;
}
.detail-incl ul { list-style: none; display: flex; flex-direction: column; gap: 6px; margin-top: 10px; }
.detail-incl li::before { content: "↳  "; color: var(--accent); }

/* ── About page ─────────────────────────────────────────────────── */
.about {
  padding: 80px 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}
.about-left { display: flex; flex-direction: column; gap: 28px; }
.about-eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.about-h {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(56px, 6vw, 108px);
  font-style: italic;
  line-height: 1.04;
  letter-spacing: -0.025em;
  padding-bottom: 0.08em;
}
.about-portrait {
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: var(--r-lg);
  background: var(--bg-elev);
  border: 1px solid var(--border);
  overflow: hidden;
  position: relative;
}
.about-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 18%;
  display: block;
  filter: grayscale(1) contrast(1.05);
}
.about-portrait-caption {
  position: absolute;
  left: 16px; bottom: 14px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text);
  background: color-mix(in oklab, var(--bg) 75%, transparent);
  padding: 6px 10px;
  border-radius: 100px;
  backdrop-filter: blur(8px);
}
.about-right { display: flex; flex-direction: column; gap: 28px; max-width: 50ch; }
.about-p {
  font-size: 17px;
  line-height: 1.6;
  color: var(--text-2);
}
.about-p strong { color: var(--text); font-weight: 500; }
.about-pull {
  font-family: var(--serif);
  font-style: italic;
  font-size: 32px;
  line-height: 1.15;
  color: var(--text);
  padding: 20px 0;
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}
.about-fact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border-soft);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-md);
  overflow: hidden;
}
.about-fact { background: var(--bg); padding: 18px 20px; }
.about-fact .l { font-family: var(--mono); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-faint); margin-bottom: 8px; }
.about-fact .v { font-family: var(--serif); font-style: italic; font-size: 28px; line-height: 1; }

/* ── Testimonials page ──────────────────────────────────────────── */
.testimonials {
  padding: 80px 40px;
}
.test-head {
  margin-bottom: 56px;
  max-width: 800px;
}
.test-head h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(56px, 6vw, 100px);
  line-height: 1.06;
  letter-spacing: -0.025em;
  padding-bottom: 0.08em;
}
.test-head p {
  margin-top: 20px;
  color: var(--text-2);
  font-size: 17px;
  max-width: 50ch;
  line-height: 1.55;
}

/* Each testimonial = a quote card + an offset author card.
   The author card overlaps the quote card slightly to feel like
   a sticker placed on top. Rows alternate sides for rhythm. */
.test-stack {
  display: flex;
  flex-direction: column;
  gap: 60px;
}
.test-row {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, 380px);
  gap: 0;
  align-items: start;
}
.test-row.flip {
  grid-template-columns: minmax(280px, 380px) minmax(0, 1.5fr);
}
.test-row.flip .test-quote-card { order: 2; }
.test-row.flip .test-author-card { order: 1; transform: translate(28px, 40px); }

.test-quote-card {
  background: var(--bg-elev);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-md);
  padding: 44px 48px 44px 56px;
  position: relative;
  z-index: 1;
}
.test-quote-mark {
  position: absolute;
  top: 22px;
  left: 22px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 64px;
  line-height: 1;
  color: var(--accent);
}
.test-quote-text {
  font-family: var(--serif);
  font-style: italic;
  font-size: 26px;
  line-height: 1.35;
  color: var(--text);
}

.test-author-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
  z-index: 2;
  box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.6);
  transform: translate(-28px, 40px);
}

.test-author-head {
  display: flex;
  gap: 14px;
  align-items: center;
}
.test-author-head .who {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}
.test-author-head .name {
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
}
.test-author-head .role {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-2);
}
.test-author-head .loc {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.test-author-logos {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 20px;
  border-top: 1px solid var(--border-soft);
}
.test-author-logos-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.test-author-logos-row {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
  gap: 8px;
}

.test-logo-cell {
  aspect-ratio: 5 / 4;
  border-radius: var(--r-sm);
  border: 0;
  padding: 0;
  cursor: pointer;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  transition: transform .15s;
}
.test-logo-cell:hover { transform: translateY(-2px); }
.test-logo-cell .tile-mark { max-width: 100%; max-height: 100%; }
.test-logo-name {
  position: absolute;
  bottom: 4px;
  left: 0; right: 0;
  text-align: center;
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: color-mix(in oklab, var(--bg) 65%, transparent);
  opacity: 0;
  transition: opacity .15s;
}
.test-logo-cell:hover .test-logo-name { opacity: 1; }

@media (max-width: 1000px) {
  .test-row, .test-row.flip {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .test-row.flip .test-quote-card { order: 1; }
  .test-row.flip .test-author-card { order: 2; transform: translateX(20px); }
  .test-author-card { transform: translateX(20px); }
}

/* ── Live wishlist FAB (always visible on home) ────────────────── */
.fab-watch {
  position: fixed;
  right: 24px; bottom: 20px;
  z-index: 30;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-2);
  box-shadow: 0 12px 40px rgba(0,0,0,.4);
}
.fab-watch:hover { color: var(--text); border-color: var(--text-2); }
.fab-watch .num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 18px;
  color: var(--accent);
  text-transform: none;
  letter-spacing: 0;
}

/* ── Scrollbar ─────────────────────────────────────────────────── */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 100px;
  border: 3px solid var(--bg);
}

/* ── Playground page ───────────────────────────────────────────── */
.playground {
  padding: 80px 40px;
}
.play-h {
  font-family: var(--serif);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(56px, 6vw, 100px);
  line-height: 1.06;
  letter-spacing: -0.025em;
  padding-bottom: 0.08em;
}
.play-h .accent-italic { color: var(--accent); font-style: italic; }
.play-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 48px;
}
.play-cell {
  position: relative;
  border-radius: var(--r-md);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  cursor: pointer;
  display: grid;
  place-items: center;
  isolation: isolate;
  transition: transform .25s;
}
.play-cell:hover { transform: translateY(-2px); }
.play-cell-mark { width: 70%; height: 70%; display: grid; place-items: center; }
.play-cell-mark .tile-mark { max-width: 90%; max-height: 90%; }
.play-cell-foot {
  position: absolute;
  inset: auto 12px 10px 12px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: color-mix(in oklab, var(--bg) 65%, transparent);
}
.play-cell-name {
  font-family: var(--serif);
  font-style: italic;
  font-size: 16px;
  text-transform: none;
  letter-spacing: 0;
  color: var(--bg);
}
.play-cell-stage { opacity: .7; }

/* ── Contact page ──────────────────────────────────────────────── */
.contact {
  padding: 80px 40px;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.contact-h {
  font-family: var(--serif);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(56px, 5.6vw, 96px);
  line-height: 1.04;
  letter-spacing: -0.025em;
  padding-bottom: 0.08em;
  margin-top: 12px;
}
.contact-h em { font-style: italic; color: var(--accent); }
.contact-p {
  margin-top: 24px;
  font-size: 17px;
  line-height: 1.55;
  color: var(--text-2);
  max-width: 44ch;
}
.contact-p strong { color: var(--text); font-weight: 500; }
.contact-meta {
  margin-top: 40px;
  border-top: 1px solid var(--border-soft);
}
.contact-meta-row {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 20px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border-soft);
}
.contact-meta-row .l {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.contact-meta-row .v {
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  line-height: 1.1;
}
.contact-form {
  background: var(--bg-elev);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: sticky;
  top: 80px;
}
.contact-select {
  background: var(--bg-elev-2);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 12px 14px;
  color: var(--text);
  font: inherit;
  font-size: 14px;
  appearance: none;
}
.contact-select:focus { outline: none; border-color: var(--accent); }
.contact-submit { padding: 16px 22px; font-size: 13.5px; }
.contact-fine {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  color: var(--text-faint);
  line-height: 1.6;
  margin-top: 20px;
}
.contact-sent {
  text-align: center;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.contact-sent .check {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-ink);
  display: grid; place-items: center;
  font-size: 28px;
}
.contact-sent h3 {
  font-family: var(--serif);
  font-style: italic;
  font-size: 38px;
  font-weight: 400;
}
.contact-sent p { color: var(--text-2); max-width: 36ch; }

@media (max-width: 1100px) {
  .play-grid { grid-template-columns: repeat(3, 1fr); }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-form { position: static; }
}
@media (max-width: 800px) {
  .play-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ── Responsive (basic) ────────────────────────────────────────── */
@media (max-width: 1100px) {
  .grid { grid-template-columns: repeat(3, 1fr); }
  .footer { grid-template-columns: 1fr 1fr; }
  .detail, .about { grid-template-columns: 1fr; gap: 40px; }
  .detail-side { position: static; }
}
@media (max-width: 800px) {
  .site { grid-template-columns: 1fr; }
  .sidebar { position: static; height: auto; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .hero-stats, .process { grid-template-columns: repeat(2, 1fr); }
}


/* ── Avatar (used in testimonials + buyer card) ────────────────── */
.avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  overflow: hidden;
  flex: none;
  border: 1px solid var(--border);
  background: var(--bg-elev-2);
}
.avatar img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(.9) contrast(1.06);
}
.avatar-initials {
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  color: oklch(0.97 0 0);
  letter-spacing: 0.02em;
  border-color: transparent;
}

/* ── Detail page wrapper (for similar-logos block below) ──────── */
.detail-wrap { padding-bottom: 80px; }

/* author's choice badge on detail hero */
.detail-choice {
  position: absolute;
  top: 18px; right: 22px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-ink);
  background: var(--accent);
  padding: 6px 11px;
  border-radius: 100px;
}

/* sold tag inline with eyebrow */
.detail-sold-tag {
  color: var(--accent);
  font-weight: 500;
  margin-left: 6px;
}

/* ── Detail gallery (scrollable, hidden when empty) ────────────── */
.detail-gallery {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.detail-gallery-label {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.detail-gallery-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(280px, 1fr);
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 8px;
  scrollbar-width: thin;
}
.detail-gallery-item {
  aspect-ratio: 4 / 3;
  border-radius: var(--r-md);
  background: var(--bg-elev);
  border: 1px solid var(--border-soft);
  overflow: hidden;
  scroll-snap-align: start;
}
.detail-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ── Buyer testimonial card (replaces "what you receive" on sold) */
.buyer-testimonial {
  background: var(--bg-elev);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-md);
  padding: 24px 22px 22px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.buyer-label {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}
.buyer-quote {
  font-family: var(--serif);
  font-style: italic;
  font-size: 21px;
  line-height: 1.35;
  color: var(--text);
}
.buyer-quote-empty {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--text-2);
}
.buyer-foot {
  display: flex;
  gap: 14px;
  align-items: center;
  padding-top: 14px;
  border-top: 1px solid var(--border-soft);
}
.buyer-name {
  font-size: 14px;
  font-weight: 500;
}
.buyer-role {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin-top: 3px;
}
.buyer-loc {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-top: 2px;
}

/* ── Similar logos section (below detail) ──────────────────────── */
.similar {
  padding: 40px 40px 0;
  border-top: 1px solid var(--border-soft);
  margin-top: 40px;
}
.similar-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}
.similar-label {
  font-family: var(--serif);
  font-style: italic;
  font-size: 32px;
  line-height: 1;
  color: var(--text);
}
.similar-label em {
  color: var(--accent);
  font-style: italic;
  text-transform: capitalize;
}
.similar-sub {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.similar-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}
.similar-cell {
  position: relative;
  aspect-ratio: 5 / 4;
  border-radius: var(--r-md);
  overflow: hidden;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: transform .15s;
  border: 0;
  padding: 0;
}
.similar-cell:hover { transform: translateY(-2px); }
.similar-cell .tile-mark { max-width: 68%; max-height: 68%; }
.similar-cell-foot {
  position: absolute;
  inset: auto 10px 8px 10px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: color-mix(in oklab, var(--bg) 65%, transparent);
  opacity: 0;
  transition: opacity .2s;
}
.similar-cell:hover .similar-cell-foot { opacity: 1; }
.similar-cell-name {
  font-family: var(--serif);
  font-style: italic;
  font-size: 14px;
  text-transform: none;
  letter-spacing: 0;
  color: var(--bg);
}
@media (max-width: 1100px) {
  .similar-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 800px) {
  .similar-grid { grid-template-columns: repeat(2, 1fr); }
  .similar { padding: 30px 20px 0; }
}

/* (Old testimonials styles removed — replaced by .test-row layout above.) */


/* ── Gallery placeholders (when no images uploaded yet) ────────── */
.detail-gallery-item.placeholder {
  background: transparent;
  border: 1px dashed var(--border);
  display: grid;
  place-items: center;
  color: var(--text-faint);
}
.detail-gallery-item.placeholder .placeholder-text {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* Ensure the detail right column stays static while gallery scrolls.
   Sticky was already set; make sure it survives long galleries. */
.detail {
  align-items: start;
}
.detail-side {
  position: sticky;
  top: 80px;
  align-self: start;
  max-height: calc(100vh - 100px);
  overflow-y: auto;
  padding-right: 4px;
  scrollbar-width: thin;
}
@media (max-width: 1100px) {
  .detail-side { position: static; max-height: none; overflow: visible; }
}


/* ── Offer panel — file list, exclusive rights, process mini ─── */
.panel-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 18px 18px 18px;
  border: 1px solid var(--border-soft);
  border-radius: var(--r-md);
  background: var(--bg-elev);
}
.panel-section-label {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.panel-section-label.accent { color: var(--accent); }

.file-list {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.file-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: var(--text-2);
}
.file-list .file-tag {
  flex: none;
  width: 48px;
  text-align: center;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  font-weight: 500;
  text-transform: uppercase;
  color: var(--text);
  background: var(--bg-elev-2);
  border: 1px solid var(--border);
  padding: 4px 0;
  border-radius: 4px;
}
.file-variants {
  margin-top: 4px;
  padding-top: 12px;
  border-top: 1px dashed var(--border-soft);
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.55;
}
.file-variants strong {
  color: var(--text);
  font-weight: 500;
}

.panel-section.guarantee {
  background: color-mix(in oklab, var(--accent) 8%, var(--bg-elev));
  border-color: color-mix(in oklab, var(--accent) 30%, var(--border));
}
.guarantee-text {
  font-size: 14px;
  line-height: 1.55;
  color: var(--text);
}
.guarantee-text strong {
  color: var(--accent);
  font-weight: 600;
}

.process-mini-list {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  counter-reset: step;
}
.process-mini-list li {
  display: flex;
  gap: 12px;
  font-size: 13.5px;
  color: var(--text-2);
  line-height: 1.5;
}
.process-mini-list .step-n {
  flex: none;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--accent);
  padding-top: 1px;
}

/* ═══ WORDPRESS ADDITIONS ═══════════════════════════════════════ */

/* Tile image */
.tile-bg { background: var(--bg-elev); }
.tile-img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }

/* Fix sold tiles — hide meta by default, show on hover via CSS */
.tile.sold .tile-bg    { transform: none; }
.tile.sold .tile-meta  { opacity: 0 !important; transform: translateY(8px) !important; pointer-events: none !important; }
.tile.sold:hover .tile-bg   { transform: translateY(-14%) scale(1.02); }
.tile.sold:hover .tile-meta { opacity: 1 !important; transform: translateY(0) !important; pointer-events: auto !important; }

/* Badges */
.sold-stamp  { z-index: 5; position: absolute; top: 14px; right: 14px; }
.tile-choice { z-index: 5; }
.tile-meta   { z-index: 6; }

/* Sidebar */
.sidebar { justify-content: center; }

/* About page */
.about-bio p { font-size: 17px; line-height: 1.6; color: var(--text-2); margin-bottom: 24px; }
.about-bio p strong { color: var(--text); font-weight: 500; }
.about-bio h2, .about-bio h3 { font-family: var(--serif); font-style: italic; font-size: 28px; line-height: 1.2; color: var(--text); padding: 20px 0; border-top: 1px solid var(--border-soft); border-bottom: 1px solid var(--border-soft); margin: 24px 0; font-weight: 400; }
.about-bio blockquote, .about-bio blockquote p { font-family: var(--serif); font-style: italic; font-size: 28px; line-height: 1.2; color: var(--text); padding: 20px 0; border-top: 1px solid var(--border-soft); border-bottom: 1px solid var(--border-soft); margin: 24px 0; border-left: none; background: none; }

/* Testimonial logos */
.test-author-logos-row { gap: 17px; }
.test-logo-cell { min-height: 90px; background: var(--bg-elev-2); }
.test-logo-cell img { width: 100%; height: 100%; object-fit: cover; object-position: center; }

/* Contact form */
.contact-form input, .contact-form textarea, .contact-form select { width: 100%; background: var(--bg-elev); border: 1px solid var(--border); border-radius: var(--r-md); padding: 12px 14px; color: var(--text); font: inherit; font-size: 14px; margin-bottom: 12px; display: block; }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--accent); }
.contact-form input[type="submit"], .contact-form button[type="submit"] { background: var(--accent); color: var(--accent-ink); border: none; padding: 16px 22px; border-radius: var(--r-md); font-size: 13.5px; cursor: pointer; width: 100%; font-weight: 500; }

/* Buttons */
.btn { cursor: pointer; }
.tile { cursor: pointer; }
.tile-action { cursor: pointer; }

/* Offer panel */
#mc-panel { position: fixed; top: 0; right: 0; height: 100vh; width: min(540px, 92vw); background: var(--bg); border-left: 1px solid var(--border); z-index: 110; transform: translateX(100%); transition: transform .35s cubic-bezier(.2,.7,.2,1); overflow-y: auto; display: flex; flex-direction: column; }
#mc-panel.open { transform: translateX(0); }
#mc-scrim { position: fixed; inset: 0; background: rgba(0,0,0,.55); z-index: 100; opacity: 0; pointer-events: none; transition: opacity .25s; }
#mc-scrim.open { opacity: 1; pointer-events: auto; }
#mc-panel-tile { padding: 0; border-radius: var(--r-md); overflow: hidden; }

/* Right menu panel */
.right-menu { position: fixed; top: 0; right: 0; height: 100vh; width: min(540px, 92vw); background: var(--bg); border-left: 1px solid var(--border); z-index: 110; transform: translateX(100%); transition: transform .35s cubic-bezier(.2,.7,.2,1); overflow-y: auto; padding: 40px 32px; }
.right-menu.right-menu-show { transform: translateX(0); }
.right-menu-close::before { content: "×"; font-size: 20px; }
body.no-scroll { overflow: hidden; }

/* Social links */
.socials li { list-style: none; }
.socials ul { display: flex; gap: 14px; padding: 12px 0 0; border-top: 1px solid var(--border-soft); list-style: none; margin: 0; flex-wrap: wrap; }

/* Accent color */
:root { --accent: #eadd24; }

.tile-bg {
    display: flex;
    align-items: center;
    justify-content: center;
}
.tile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    min-height: 100%;
}
.about-portrait {
    width: 70%;
    border: none;
    background: none;
padding: 20px;
}
/* ── Legal pages ────────────────────────────────────────────── */
.legal-page {
    padding: 80px 40px;
}
.legal-grid {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 80px;
    align-items: start;
}
.legal-h {
    font-family: var(--serif);
    font-style: italic;
    font-weight: 400;
    font-size: clamp(40px, 4vw, 64px);
    line-height: 1.1;
    letter-spacing: -.02em;
    margin-top: 12px;
    margin-bottom: 32px;
}
.legal-meta {
    border-top: 1px solid var(--border-soft);
}
.legal-content {
    max-height: calc(100vh - 100px);
    overflow-y: auto;
    padding-right: 4px;
    scrollbar-width: thin;
}
.legal-content h2 {
    font-family: var(--serif);
    font-style: italic;
    font-weight: 400;
    font-size: 28px;
    line-height: 1.2;
    color: var(--text);
    margin: 40px 0 16px;
    padding-top: 32px;
    border-top: 1px solid var(--border-soft);
}
.legal-content h2:first-child {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}
.legal-content p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-2);
    margin-bottom: 16px;
}
.legal-content p strong { color: var(--text); font-weight: 500; }
.legal-content ul, .legal-content ol { padding-left: 20px; margin-bottom: 16px; }
.legal-content li { font-size: 15px; line-height: 1.7; color: var(--text-2); margin-bottom: 6px; }
.legal-content a { color: var(--accent); text-decoration: underline; }
@media (max-width: 900px) {
    .legal-grid { grid-template-columns: 1fr; gap: 40px; }
    .legal-content { max-height: none; }
}
/* Legal page fixes */
.legal-content {
    position: static;
    max-height: none;
    overflow-y: visible;
}
.contact-meta-row .v {
    font-size: 16px;
    line-height: 1.4;
    word-break: break-word;
}
.legal-content {
    overflow: visible;
    max-height: none;
    padding-right: 0;
    scrollbar-width: none;
}
.legal-content::-webkit-scrollbar {
    display: none;
}

/* ── Large screen scaling ───────────────────────────────────── */
@media (min-width: 1600px) {
    .sidebar { width: 280px; }
    .nav-item { font-size: 15px; }
    .hero-h { font-size: clamp(72px, 6vw, 120px); }
    .hero-sub { font-size: 17px; max-width: 640px; }
    .stat-num { font-size: 48px; }
    .stat-label { font-size: 12px; }
    .filterbar { padding: 16px 48px; }
    .chip { font-size: 13px; padding: 6px 14px; }
    .grid { gap: 20px; padding: 32px 48px; }
    .hero { padding: 80px 48px 60px; }
    .tile-name { font-size: 18px; }
    .tile-cat { font-size: 12px; }
    .tile-action { font-size: 13px; padding: 10px 18px; }
    .tile-corner { font-size: 11px; padding: 5px 10px; }
    .tile-choice { font-size: 11px; padding: 5px 12px; }
    .sold-stamp { font-size: 11px; padding: 5px 12px; }
    .logo-mark { width: 52px; height: 52px; }
    .logo-name { font-size: 10px; }
    .sidebar-cta { font-size: 13px; padding: 14px 20px; }
}

@media (min-width: 2000px) {
    .sidebar { width: 320px; }
    .nav-item { font-size: 16px; }
    .hero-h { font-size: clamp(96px, 6vw, 140px); }
    .grid { grid-template-columns: repeat(5, 1fr); padding: 40px 64px; gap: 24px; }
    .hero { padding: 100px 64px 80px; }
    .filterbar { padding: 20px 64px; }
    .chip { font-size: 14px; }
    .stat-num { font-size: 56px; }
    .tile-name { font-size: 20px; }
    .tile-action { font-size: 14px; padding: 12px 22px; }
    .tile-corner { font-size: 12px; }
    .tile-choice { font-size: 12px; }
    .sold-stamp { font-size: 12px; }
    .logo-mark { width: 60px; height: 60px; }
    .sidebar-cta { font-size: 14px; padding: 16px 24px; }
}
@media (min-width: 1600px) {
    .hero-h {
        font-size: clamp(72px, 5vw, 110px);
        max-width: 1500px;
    }
}
/* ═══════════════════════════════════════════════════════════════
 * SPACING & SCALE IMPROVEMENTS — matches Claude Design
 * ═══════════════════════════════════════════════════════════════ */

/* Hero — more breathing room */
.hero {
    padding: 100px 60px 72px;
}
.hero-h {
    font-size: clamp(56px, 6.5vw, 120px);
    max-width: 1000px;
}
.hero-sub {
    font-size: 18px;
    max-width: 580px;
    margin-top: 40px;
}
.hero-stats {
    margin-top: 64px;
}
.stat {
    padding: 28px 40px 28px 10px;
}
.stat-num {
    font-size: 44px;
}

/* Filter bar */
.filterbar {
    padding: 36px 60px 0;
    gap: 32px;
}

/* Grid — bigger tiles, more space */
.catalog {
    padding: 36px 60px 100px;
}
.grid {
    gap: 20px;
}
.tile-meta {
    padding: 18px 20px;
}
.tile-name {
    font-size: 17px;
}
.tile-cat {
    font-size: 11.5px;
    margin-top: 4px;
}
.tile-action {
    font-size: 13px;
    padding: 10px 18px;
}
.tile-corner {
    top: 16px;
    left: 16px;
    font-size: 11px;
    padding: 5px 10px;
}
.tile-choice {
    top: 16px;
    right: 16px;
    font-size: 11px;
    padding: 5px 12px;
}
.sold-stamp {
    top: 16px;
    right: 16px;
}

/* Section head */
.section-head {
    padding: 80px 60px 40px;
}

/* Process */
.process {
    padding: 0 60px 80px;
}
.process-step {
    padding-right: 48px;
}

/* Footer */
.footer {
    padding: 80px 60px;
}

/* Sidebar */
.sidebar {
    padding: 32px 24px 32px 28px;
}
.nav-list {
    gap: 6px;
}
.nav-item a {
    font-size: 14px;
    padding: 7px 10px;
}

/* Large screens */
@media (min-width: 1600px) {
    .hero { padding: 120px 80px 80px; }
    .hero-h { font-size: clamp(72px, 5.5vw, 130px); max-width: 1100px; }
    .hero-sub { font-size: 19px; max-width: 640px; }
    .stat-num { font-size: 52px; }
    .filterbar { padding: 40px 80px 0; }
    .catalog { padding: 40px 80px 120px; }
    .grid { gap: 24px; }
    .tile-name { font-size: 19px; }
    .tile-action { font-size: 14px; padding: 12px 20px; }
    .section-head { padding: 100px 80px 48px; }
    .process { padding: 0 80px 100px; }
    .footer { padding: 100px 80px; }
    .sidebar { padding: 40px 28px 40px 36px; }
    .nav-item a { font-size: 15px; }
}

@media (min-width: 2000px) {
    .hero { padding: 140px 100px 100px; }
    .hero-h { font-size: clamp(96px, 5.5vw, 150px); }
    .stat-num { font-size: 60px; }
    .filterbar { padding: 48px 100px 0; }
    .catalog { padding: 48px 100px 140px; }
    .grid { grid-template-columns: repeat(5, 1fr); gap: 28px; }
    .tile-name { font-size: 21px; }
    .section-head { padding: 120px 100px 56px; }
    .process { padding: 0 100px 120px; }
    .footer { padding: 120px 100px; }
    .sidebar { padding: 48px 32px 48px 40px; }
    .nav-item a { font-size: 16px; }
}

@media (max-width: 980px) {
    .hero { padding: 60px 24px 48px; }
    .filterbar { padding: 24px 24px 0; }
    .catalog { padding: 24px 24px 60px; }
    .section-head { padding: 60px 24px 32px; }
    .process { padding: 0 24px 60px; }
    .footer { padding: 60px 24px; }
}
/* ── Max 4 columns always ── */
.grid {
    grid-template-columns: repeat(4, 1fr) !important;
}

@media (max-width: 1200px) {
    .grid { grid-template-columns: repeat(3, 1fr) !important; }
}
@media (max-width: 800px) {
    .grid { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 500px) {
    .grid { grid-template-columns: 1fr !important; }
}
/* ── 4K / 3840px ── */
@media (min-width: 3200px) {
    .site { grid-template-columns: 420px 1fr; }
    .sidebar { padding: 56px 36px 56px 48px; }
    .logo-mark { width: 80px; height: 80px; }
    .logo-name { font-size: 13px; letter-spacing: .18em; }
    .logo-est { font-size: 11px; }
    .nav-item a { font-size: 20px; padding: 10px 14px; }
    .nav-count { font-size: 14px; }
    .sidebar-cta { font-size: 18px; padding: 20px 28px; border-radius: 60px; }
    .socials ul { gap: 20px; }
    .socials a { width: 44px; height: 44px; font-size: 14px; }

    .hero { padding: 160px 120px 100px; }
    .hero-eyebrow { font-size: 14px; letter-spacing: .22em; }
    .hero-h { font-size: clamp(80px, 4.2vw, 160px); max-width: 1600px; }
    .hero-sub { font-size: 24px; max-width: 800px; line-height: 1.6; }
    .stat-num { font-size: 72px; }
    .stat-label { font-size: 14px; letter-spacing: .16em; }
    .stat { padding: 40px 60px 40px 0; }

    .filterbar { padding: 56px 120px 0; gap: 40px; }
    .chip { font-size: 16px; padding: 10px 20px; border-radius: 40px; }
    .filterbar-label { font-size: 14px; }

    .catalog { padding: 56px 120px 160px; }
    .grid { gap: 32px; }
    .tile-name { font-size: 24px; }
    .tile-cat { font-size: 14px; }
    .tile-action { font-size: 16px; padding: 14px 24px; border-radius: 40px; }
    .tile-corner { font-size: 13px; padding: 7px 14px; }
    .tile-choice { font-size: 13px; padding: 7px 16px; }
    .sold-stamp { font-size: 13px; padding: 7px 16px; }
    .tile-meta { padding: 24px 28px; }

    .section-head { padding: 140px 120px 64px; }
    .section-head h2 { font-size: 72px; }
    .section-head .sub { font-size: 18px; }
    .process { padding: 0 120px 140px; }
    .process-num { font-size: 13px; }
    .process-h { font-size: 28px; }
    .process-p { font-size: 17px; }

    .footer { padding: 140px 120px; }
    .footer-h { font-size: 56px; }
    .footer-sub { font-size: 18px; }
    .footer-col-h { font-size: 13px; }
    .footer-col a { font-size: 16px; }
    .footer-bottom { font-size: 14px; }

    .topbar { font-size: 12px; padding: 0 40px; }
}
/* ── 4K fix — remove max-width constraint on hero title ── */
@media (min-width: 2560px) {
    .hero-h {
        max-width: none;
        font-size: clamp(56px, 4.2vw, 124px);
    }
    .hero {
        padding: 80px 60px 56px;
    }
    .hero-sub {
        max-width: 680px;
        font-size: 19px;
    }
    .stat-num { font-size: 44px; }
    .catalog { padding: 28px 60px 80px; }
    .filterbar { padding: 32px 60px 0; }
    .section-head { padding: 80px 60px 40px; }
    .process { padding: 0 60px 80px; }
    .footer { padding: 80px 60px; }
    .grid { gap: 20px; }
}

@media (min-width: 3400px) {
    .site { grid-template-columns: 320px 1fr; }
    .hero-h { font-size: clamp(56px, 3.5vw, 124px); }
    .nav-item a { font-size: 17px; }
    .sidebar-cta { font-size: 16px; }
    .chip { font-size: 14px; }
    .tile-name { font-size: 20px; }
    .stat-num { font-size: 52px; }
}

/* ── About page fixes ───────────────────────────────────────── */
.about {
    padding: 80px 60px;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}
.about-left {
    gap: 32px;
}
.about-right {
    max-width: none;
    gap: 32px;
}
.about-portrait {
    width: 100% !important;
    border: none !important;
    background-size: cover !important;
    background-position: 50% 18% !important;
    aspect-ratio: 3/4;
    border-radius: var(--r-md);
    padding: 0 !important;
    position: relative;
    overflow: hidden;
}
.about-portrait-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 16px 20px;
    background: linear-gradient(to top, rgba(0,0,0,.7), transparent);
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: rgba(255,255,255,.7);
}
.about-h {
    font-size: clamp(36px, 4vw, 72px);
}
.about-fact-grid {
    grid-template-columns: repeat(2, 1fr);
}
.hero,
.filterbar,
.catalog,
.about,
.process,
.section-head,
.footer {
    margin-left: 100px;
}
/* Prevent sidebar nav items from overflowing */
.nav-item span:first-child {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 0;
}

.nav-item {
    overflow: hidden;
}

/* Remove the margin-left I added earlier — not needed inside .main grid */
.hero,
.filterbar,
.catalog,
.about,
.process,
.section-head,
.footer {
    margin-left: 0;
}
.hero,
.filterbar,
.catalog,
.about,
.process,
.section-head,
.footer {
    padding-left: 150px;
}

/* ── Content alignment fix ───────────────────────────────────── */
.hero,
.filterbar,
.catalog,
.about,
.process,
.section-head,
.footer,
.contact,
.testimonials{
    padding-left: 150px !important;
    padding-right: 100px !important;
}

.grid {
    padding: 0 !important;
}
.about-portrait {
    width: 60% !important;
    max-width: 480px !important;
    aspect-ratio: 3/4 !important;
}
.contact,
.about {
    max-width: 1400px !important;

}

.contact-grid,
.about {
    gap: 60px !important;
}
.contact,
.about,
.testimonials {
    max-width: 1400px !important;
    padding-left: 60px !important;
    padding-right: 60px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}
/* ── Single product page fixes ──────────────────────────────── */
.detail-wrap {
    padding: 0;
}

.detail-back-row {
    padding: 24px 40px 0;
}

.detail-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--text-mute);
    margin-bottom: 0;
}
.detail-back:hover { color: var(--text); }

.detail {
    padding: 32px 40px 40px !important;
    display: grid !important;
    grid-template-columns: 1.1fr 0.9fr !important;
    gap: 48px !important;
    align-items: start !important;
}

.detail-hero {
    aspect-ratio: 5 / 4 !important;
    border-radius: var(--r-lg) !important;
    display: grid !important;
    place-items: center !important;
    overflow: hidden !important;
    position: relative !important;
    width: 100% !important;
}

.detail-hero .tile-mark {
    max-width: 60% !important;
    max-height: 60% !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
}

.detail-side {
    position: sticky !important;
    top: 80px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 24px !important;
}

.detail-name {
    font-family: var(--serif) !important;
    font-style: italic !important;
    font-size: clamp(48px, 5vw, 80px) !important;
    line-height: 1.04 !important;
    font-weight: 400 !important;
    letter-spacing: -0.02em !important;
}

.detail-gallery {
    margin-top: 20px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
}

.detail-gallery-track {
    display: grid !important;
    grid-auto-flow: column !important;
    grid-auto-columns: minmax(240px, 1fr) !important;
    gap: 12px !important;
    overflow-x: auto !important;
}

.detail-nav {
    display: flex;
    gap: 20px;
    padding: 24px 0 0;
    border-top: 1px solid var(--border-soft);
    margin-top: 8px;
}

.detail-nav-btn {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-mute);
    transition: color .15s;
}
.detail-nav-btn:hover { color: var(--text); }

.similar {
    padding: 40px 40px 80px !important;
}

.order-disclaimer {
    font-size: 12px;
    color: var(--text-faint);
    line-height: 1.6;
}
/* ── Single product fixes ────────────────────────────────────── */
.detail {
    padding: 32px 40px 40px !important;
    grid-template-columns: 1.2fr 1fr !important;
    gap: 48px !important;
}

.detail-hero {
    width: 100% !important;
    aspect-ratio: 5 / 4 !important;
    max-height: 60vh !important;
    border-radius: var(--r-lg) !important;
    display: grid !important;
    place-items: center !important;
    overflow: hidden !important;
    position: relative !important;
}

.similar {
    padding: 40px !important;
    border-top: 1px solid var(--border-soft) !important;
}

.similar-grid {
    display: grid !important;
    grid-template-columns: repeat(6, 1fr) !important;
    gap: 12px !important;
    margin-top: 24px !important;
}

.similar-cell {
    background: var(--bg-elev) !important;
    aspect-ratio: 5/4 !important;
    border-radius: var(--r-md) !important;
    display: grid !important;
    place-items: center !important;
    overflow: hidden !important;
    position: relative !important;
}

.similar-cell .tile-mark {
    max-width: 65% !important;
    max-height: 65% !important;
    object-fit: contain !important;
}
.detail-wrap {
    padding-left: 100px !important;
}

.detail {
    padding: 32px 40px 40px !important;
    grid-template-columns: 1.2fr 1fr !important;
    gap: 48px !important;
}

.detail-hero .tile-mark {
    max-width: 80% !important;
    max-height: 80% !important;
    width: 80% !important;
    height: 80% !important;
    object-fit: contain !important;
}

.detail-gallery-item {
    flex: 0 0 calc(33.333% - 8px) !important;
    height: 220px !important;
    border-radius: var(--r-md) !important;
    overflow: hidden !important;
}

.detail-gallery-track {
    display: flex !important;
    gap: 12px !important;
    overflow-x: auto !important;
    width: 100% !important;
}
.grid {
    gap: 8px !important;
}
/* ── Sidebar adjustments ─────────────────────────────────────── */
.brand-glyph img {
    height: 24px !important;
}

.nav-item {
    font-size: 12px !important;
    padding: 6px 0 !important;
}

.nav-item .ct {
    font-size: 9px !important;
}

/* ── Make offer button ───────────────────────────────────────── */
.btn.btn-primary.jsOrderLogoShow {
    padding: 12px 16px !important;
    font-size: 12px !important;
}
.tile-action {
    font-size: 9px !important;
    padding: 6px 10px !important;
    border-radius: 100px !important;
}
.brand-glyph img {
    height: 30px !important;
}
.sidebar-cta a.btn,
.sidebar-cta .btn {
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
    box-sizing: border-box !important;
}
.site {
    grid-template-columns: 194px 1fr !important;
}

.sidebar-cta {
    padding: 0 !important;
    align-items: center !important;
}

.sidebar-cta .btn {
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
    box-sizing: border-box !important;
}

.socials,
.socials ul {
    justify-content: center !important;
    width: 100% !important;
}
.hero,
.filterbar,
.catalog,
.about,
.process,
.section-head,
.footer,
.contact,
.testimonials,
.detail-wrap,
.similar,
.playground,
.legal-page {
    padding-left: 50px !important;
    padding-right: 50px !important;
}

.grid {
    padding: 0 !important;
}
.main {
    padding-left: 80px !important;
}
.avatar img,
.test-author-head .avatar img,
.buyer-foot .avatar img {
    filter: none !important;
}
.nav {
    margin-top: 100px !important;
}
.chip {
    font-size: 11px !important;
    padding: 5px 11px !important;
}

.filterbar-label {
    font-size: 9.5px !important;
}

.sort {
    font-size: 10px !important;
    padding: 5px 11px !important;
}
.detail-hero .tile-mark {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: cover !important;

}

.detail-main {
    max-width: 700px !important;
}
.detail-meta .v {
    font-size: 18px !important;
}
.detail-story {
    font-size: 16px !important;
    line-height: 1.55 !important;
    color: var(--text-2) !important;
    max-width: 42ch !important;
}
.detail-side .detail-story {
    font-size: 16px !important;
    line-height: 1.55 !important;
    color: var(--text-2) !important;
    max-width: none !important;
}
.detail-story p {
    font-size: 14px !important;
    line-height: 1.55 !important;
    color: var(--text-2) !important;
    max-width: none !important;
}
.similar-cell .tile-mark {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: cover !important;
}
.detail-nav {
  display: flex;
  justify-content: space-between;
}
.detail-nav .detail-nav-btn:only-child {
  margin-left: auto;
}
.site {
    grid-template-columns: 240px 1fr !important;
}

.sidebar {
    width: 240px !important;
    min-width: 240px !important;
    max-width: 240px !important;
}
.main {
    padding-left: 0 !important;
}
.site {
    grid-template-columns: 220px 1fr !important;
}
.hero,
.filterbar,
.catalog,
.about,
.process,
.section-head,
.footer,
.contact,
.testimonials,
.detail-wrap,
.similar,
.playground,
.legal-page {
    padding-right: 20px !important;
}
.hero-sub {
    font-size: 14px !important;
    max-width: 580px !important;
    margin-top: 40px !important;
}
.sidebar {
    padding: 32px 8px 32px 10px !important;
}
.site {
    grid-template-columns: 250px 1fr !important;
}

.sidebar {
    width: 150px !important;
    min-width: 220px !important;
    max-width: 220px !important;
}
.hero,
.filterbar,
.catalog,
.about,
.process,
.section-head,
.footer,
.contact,
.testimonials,
.detail-wrap,
.similar,
.playground,
.legal-page,
.topbar {
    padding-left: 0px !important;
}

.about-bio p,
.about-bio div {
    font-size: 13px !important;
    line-height: 1.6 !important;
}

.about-bio blockquote,
.about-bio blockquote p {
    font-size: 28px !important;
}
.test-logo-cell {
    width: 60px !important;
    height: 60px !important;
    min-height: 60px !important;
}

.test-author-logos-row {
    grid-template-columns: repeat(auto-fill, minmax(60px, 1fr)) !important;
}
.test-logo-cell {
    width: 100px !important;
    height: 60px !important;
    min-height: 60px !important;
    aspect-ratio: 5/3 !important;
}

.test-author-logos-row {
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr)) !important;
}
.test-author-logos {
    margin-top: -5px !important;
}
.test-logo-cell .tile-mark {
    transform: translateY(-5px) !important;
}
.testimonials {
    max-width: 1200px !important;
}
.detail-gallery-item {
    aspect-ratio: 5 / 4 !important;
    height: auto !important;
    flex: 0 0 calc(33.333% - 8px) !important;
}
.detail-hero {
    max-width: 930px !important;
    width: 930px !important;
}

.detail-main {
    max-width: 930px !important;
}
.detail-hero {
    width: 890px !important;
    max-width: 890px !important;
    height: 712px !important;
    aspect-ratio: unset !important;
}

.detail-main {
    max-width: 890px !important;
}

.detail-gallery-item {
    flex: 0 0 290px !important;
    width: 290px !important;
    height: 220px !important;
    aspect-ratio: unset !important;
}
.detail-hero {
    width: 890px !important;
    max-width: 890px !important;
    min-height: 712px !important;
    height: 712px !important;
    aspect-ratio: unset !important;
    flex-shrink: 0 !important;
}
.detail-hero {
    width: 690px !important;
    max-width: 690px !important;
    min-height: 512px !important;
    height: 512px !important;
}

.detail-main {
    max-width: 690px !important;
}

.detail-gallery-item {
    flex: 0 0 218px !important;
    width: 218px !important;
    height: 165px !important;
}
.detail-hero {
    width: 790px !important;
    max-width: 790px !important;
    min-height: 612px !important;
    height: 612px !important;
}

.detail-main {
    max-width: 790px !important;
}

.detail-gallery-item {
    flex: 0 0 254px !important;
    width: 254px !important;
    height: 192px !important;
}
.topbar {
    padding-left: 40px !important;
    margin-left: 0 !important;
}
.sidebar {
    padding: 32px 20px 32px 20px !important;
}
.nav {
    margin-top: 0px !important;
}
.panel {
    width: min(500px, 92vw) !important;
}
#mc-panel-tile img,
.panel-tile img,
.panel-tile .tile-mark {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: cover !important;
}
.about-fact-grid {
    max-width: 500px !important;
}
.detail-gallery-track {
    display: flex !important;
    flex-direction: row !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory !important;
    gap: 8px !important;
    width: 790px !important;
    max-width: 790px !important;
}

.detail-gallery-item {
    flex: 0 0 790px !important;
    width: 790px !important;
    height: 612px !important;
    scroll-snap-align: start !important;
    aspect-ratio: unset !important;
    border-radius: var(--r-lg) !important;
}
.detail-gallery-track {
    display: flex !important;
    flex-direction: column !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    scroll-snap-type: y mandatory !important;
    gap: 8px !important;
    width: 790px !important;
    max-width: 790px !important;
    max-height: 612px !important;
}

.detail-gallery-item {
    flex: 0 0 612px !important;
    width: 790px !important;
    height: 612px !important;
    scroll-snap-align: start !important;
    aspect-ratio: unset !important;
    border-radius: var(--r-lg) !important;
}
.detail-main {
    max-width: 790px !important;
    height: 612px !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    scroll-snap-type: y mandatory !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    scrollbar-width: none !important;
}

.detail-main::-webkit-scrollbar {
    display: none !important;
}

.detail-hero {
    flex: 0 0 612px !important;
    width: 790px !important;
    height: 612px !important;
    max-width: 790px !important;
    min-height: 612px !important;
    scroll-snap-align: start !important;
    aspect-ratio: unset !important;
}

.detail-gallery {
    display: contents !important;
}

.detail-gallery-label {
    display: none !important;
}

.detail-gallery-track {
    display: contents !important;
}

.detail-gallery-item {
    flex: 0 0 612px !important;
    width: 790px !important;
    height: 612px !important;
    scroll-snap-align: start !important;
    aspect-ratio: unset !important;
    border-radius: var(--r-lg) !important;
}
.detail-main {
    height: 680px !important;
    scroll-snap-type: none !important;
    overflow-y: scroll !important;
}

.detail-hero {
    flex: 0 0 612px !important;
    min-height: 612px !important;
}

.detail-gallery-item {
    flex: 0 0 612px !important;
    min-height: 612px !important;
}
/* ── Bid ticker ──────────────────────────────────────────────── */
.bid-ticker {
    margin-top: auto;
    border: 1px solid var(--border-soft);
    border-radius: var(--r-md);
    padding: 10px 12px;
    background: var(--bg-elev);
    opacity: 0;
    transform: translateY(8px);
    transition: opacity .4s, transform .4s;
}
.bid-ticker.visible {
    opacity: 1;
    transform: translateY(0);
}
.bid-ticker-label {
    font-family: var(--mono);
    font-size: 9px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 8px;
}
.bid-ticker-inner {
    display: flex;
    align-items: center;
    gap: 10px;
}
.bid-ticker-img {
    width: 36px;
    height: 36px;
    border-radius: var(--r-sm);
    background: var(--bg-elev-2);
    flex-shrink: 0;
    overflow: hidden;
    background-size: cover;
    background-position: center;
}
.bid-ticker-name {
    font-family: var(--sans);
    font-size: 12px;
    font-weight: 300;
    color: var(--text);
    line-height: 1.3;
}
.bid-ticker-time {
    font-family: var(--mono);
    font-size: 9.5px;
    letter-spacing: 0.1em;
    color: var(--text-faint);
    margin-top: 3px;
}
.btn.btn-primary.jsOrderLogoShow {
    animation: btnpulse 3s ease-in-out infinite !important;
}

@keyframes btnpulse {
    0%, 100% { box-shadow: 0 0 0 0 color-mix(in oklab, var(--accent) 40%, transparent); }
    50% { box-shadow: 0 0 0 8px color-mix(in oklab, var(--accent) 0%, transparent); }
}
.btn.btn-primary.jsOrderLogoShow {
    font-weight: 700 !important;
    font-size: 13px !important;
    letter-spacing: 0.06em !important;
}
.btn.btn-primary.jsOrderLogoShow {
    font-weight: 400 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.12em !important;
    font-size: 12px !important;
}
/* ═══════════════════════════════════════════════════════════════
   FAQ PAGE — exact styles from Claude Code project
   ═══════════════════════════════════════════════════════════════ */

.faq {
  padding: 0 0 80px;
}
.faq-head {
  padding: 72px 40px 56px;
  border-bottom: 1px solid var(--border-soft);
  max-width: 1100px;
}
.faq-h {
  font-family: var(--serif);
  font-weight: 400;
  font-style: normal;
  font-size: clamp(56px, 6.4vw, 108px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  padding-bottom: 0.08em;
  margin-top: 18px;
}
.faq-h em { font-style: italic; color: var(--text); }
.faq-h-accent {
  font-style: italic;
  color: var(--accent);
  display: inline-block;
  position: relative;
}
.faq-h-accent::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: 0.18em;
  height: 1px;
  background: var(--accent);
  opacity: 0.5;
}
.faq-lead {
  margin-top: 28px;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text-2);
  max-width: 56ch;
}
.faq-head-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.faq-view-switch {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--border);
  border-radius: 100px;
  background: var(--bg-elev);
}
.faq-view-switch-label {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-faint);
  padding: 0 10px 0 12px;
}
.faq-view-btn {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-2);
  padding: 7px 14px;
  border-radius: 100px;
  border: 0;
  background: none;
  transition: background .15s, color .15s;
}
.faq-view-btn:hover { color: var(--text); }
.faq-view-btn.is-active { background: var(--accent); color: var(--accent-ink); }

/* ── INDEX VIEW ─────────────────────────────────────────────── */
.faq-grid {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 80px;
  padding: 56px 40px 0;
  align-items: start;
}
.faq-index {
  position: sticky;
  top: 88px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.faq-index-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-faint);
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-soft);
}
.faq-index-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.faq-index-item button {
  display: grid;
  grid-template-columns: 28px 1fr auto;
  gap: 10px;
  align-items: baseline;
  width: 100%;
  padding: 10px 0;
  text-align: left;
  border-bottom: 1px solid transparent;
  color: var(--text-2);
  transition: color .15s, border-color .15s, padding .15s;
}
.faq-index-item button:hover { color: var(--text); }
.faq-index-num { font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; color: var(--text-faint); }
.faq-index-label-text { font-family: var(--serif); font-style: italic; font-size: 19px; line-height: 1.1; }
.faq-index-ct { font-family: var(--mono); font-size: 10px; color: var(--text-faint); letter-spacing: 0.08em; }
.faq-index-item.is-active button { color: var(--text); padding-left: 14px; position: relative; }
.faq-index-item.is-active button::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  width: 6px; height: 6px;
  margin-top: -3px;
  background: var(--accent);
  border-radius: 50%;
}
.faq-index-item.is-active .faq-index-label-text { color: var(--accent); }
.faq-still { margin-top: 12px; padding: 18px 0 0; border-top: 1px solid var(--border-soft); display: flex; flex-direction: column; gap: 10px; }
.faq-still-label { font-family: var(--mono); font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-faint); }
.faq-still-text { font-family: var(--serif); font-style: italic; font-size: 18px; line-height: 1.35; color: var(--text); max-width: 24ch; margin-bottom: 6px; }
.faq-list { display: flex; flex-direction: column; gap: 8px; max-width: 780px; }
.faq-section { margin-top: 56px; }
.faq-section:first-child { margin-top: 0; }
.faq-section-head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; padding-bottom: 14px; border-bottom: 1px solid var(--border-soft); }
.faq-section-num { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); }
.faq-section-label { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text); }
.faq-section-rule { flex: 1; height: 1px; background: var(--border-soft); }
.faq-item { border-bottom: 1px solid var(--border-soft); transition: background .25s; }
.faq-item.is-open { background: color-mix(in oklab, var(--accent) 4%, transparent); }
.faq-q {
  display: grid;
  grid-template-columns: 56px 1fr 36px;
  gap: 20px;
  align-items: baseline;
  width: 100%;
  padding: 26px 6px 26px 0;
  text-align: left;
  background: none;
  border: 0;
  color: var(--text);
  cursor: pointer;
  transition: padding .2s, color .15s;
}
.faq-q:hover { color: var(--accent); }
.faq-q:hover .faq-q-num { color: var(--accent); }
.faq-q-num { font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; color: var(--text-faint); align-self: start; padding-top: 8px; transition: color .15s; }
.faq-q-text { font-family: var(--serif); font-style: italic; font-size: clamp(22px, 2.2vw, 30px); line-height: 1.18; letter-spacing: -0.005em; padding-bottom: 0.06em; }
.faq-q-toggle { align-self: center; position: relative; width: 22px; height: 22px; display: inline-block; border: 1px solid var(--border); border-radius: 50%; flex: none; transition: border-color .15s, background .15s, transform .25s; }
.faq-q:hover .faq-q-toggle { border-color: var(--accent); }
.faq-q-toggle .bar { position: absolute; background: currentColor; color: var(--text-2); transition: opacity .25s, transform .25s, background .15s; }
.faq-q-toggle .bar-h { left: 5px; right: 5px; top: 50%; height: 1px; margin-top: -0.5px; }
.faq-q-toggle .bar-v { top: 5px; bottom: 5px; left: 50%; width: 1px; margin-left: -0.5px; }
.faq-item.is-open .faq-q-toggle { background: var(--accent); border-color: var(--accent); transform: rotate(180deg); }
.faq-item.is-open .faq-q-toggle .bar { background: var(--accent-ink); }
.faq-item.is-open .faq-q-toggle .bar-v { opacity: 0; }
.faq-a-wrap { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s cubic-bezier(.2,.7,.2,1); }
.faq-item.is-open .faq-a-wrap { grid-template-rows: 1fr; }
.faq-a { min-height: 0; overflow: hidden; }
.faq-item .faq-a > * { opacity: 0; transform: translateY(-4px); transition: opacity .3s .04s, transform .3s .04s; }
.faq-item.is-open .faq-a > * { opacity: 1; transform: translateY(0); }
.faq-a { padding: 0 36px 4px 76px; }
.faq-item.is-open .faq-a { padding-bottom: 32px; }
.faq-a p { font-size: 16px; line-height: 1.7; color: var(--text-2); max-width: 60ch; }
.faq-a p + p { margin-top: 14px; }
.faq-a strong { color: var(--text); font-weight: 500; }
.faq-files { list-style: none; margin: 18px 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 28px; max-width: 60ch; }
.faq-files li { display: flex; align-items: baseline; gap: 14px; font-size: 14px; line-height: 1.5; color: var(--text-2); }
.faq-file-tag { flex: none; min-width: 44px; text-align: center; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.14em; font-weight: 500; color: var(--accent); background: color-mix(in oklab, var(--accent) 10%, transparent); border: 1px solid color-mix(in oklab, var(--accent) 30%, var(--border)); padding: 3px 6px; border-radius: 4px; }
.faq-aside { font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; color: var(--text-faint); line-height: 1.6; border-left: 2px solid var(--border); padding-left: 14px; max-width: 56ch; }
.faq-checklist { list-style: none; margin: 14px 0 6px; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.faq-checklist li { font-size: 15px; line-height: 1.4; color: var(--text); padding-left: 20px; position: relative; }
.faq-checklist li::before { content: "↳"; position: absolute; left: 0; color: var(--accent); font-family: var(--mono); font-size: 13px; }
.faq-fine { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.08em; color: var(--text-faint); text-transform: uppercase; margin-left: 6px; }
.faq-tail { margin-top: 80px; padding: 32px 0 0; border-top: 1px solid var(--border-soft); text-align: center; }
.faq-tail-mark { font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--accent); letter-spacing: 0.5em; }
.faq-tail-text { margin-top: 18px; font-family: var(--serif); font-style: italic; font-size: 19px; line-height: 1.5; color: var(--text-2); max-width: 48ch; margin-left: auto; margin-right: auto; }

/* ── MANUSCRIPT VIEW ─────────────────────────────────────────── */
.faq-manuscript { padding: 56px 40px 80px; }
.faq-ms-rule { display: flex; align-items: baseline; gap: 14px; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--text-faint); padding-bottom: 18px; border-bottom: 1px solid var(--border); margin-bottom: 56px; max-width: 820px; margin-left: auto; margin-right: auto; }
.faq-ms-rule-dots { flex: 1; letter-spacing: 0.4em; color: var(--text-faint); overflow: hidden; white-space: nowrap; }
.faq-ms-doc { max-width: 820px; margin: 0 auto; }
.faq-ms-section { position: relative; padding: 0 0 56px; }
.faq-ms-section + .faq-ms-section { padding-top: 56px; border-top: 1px solid var(--border-soft); }
.faq-ms-section-head { display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto auto; gap: 4px 24px; margin-bottom: 40px; }
.faq-ms-section-num { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--accent); grid-column: 1; }
.faq-ms-section-title { grid-column: 1; font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(38px, 4.4vw, 64px); line-height: 1.04; letter-spacing: -0.02em; color: var(--text); padding-bottom: 0.06em; }
.faq-ms-section-meta { grid-column: 2; grid-row: 1 / span 2; align-self: end; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-faint); padding-bottom: 0.6em; }
.faq-ms-entries { display: flex; flex-direction: column; gap: 0; }
.faq-ms-entry { display: grid; grid-template-columns: 64px 1fr; gap: 28px; padding: 32px 0 36px; position: relative; }
.faq-ms-entry + .faq-ms-entry { border-top: 1px dashed var(--border-soft); }
.faq-ms-numeral { font-family: var(--serif); font-style: italic; font-size: 44px; line-height: 1; color: var(--accent); letter-spacing: -0.02em; padding-top: 6px; text-align: right; }
.faq-ms-body { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.faq-ms-q { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: baseline; font-weight: 400; }
.faq-ms-q-mark { font-family: var(--mono); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-faint); padding-top: 8px; }
.faq-ms-q-text { font-family: var(--serif); font-style: italic; font-size: clamp(22px, 2.2vw, 30px); line-height: 1.2; letter-spacing: -0.005em; color: var(--text); padding-bottom: 0.06em; }
.faq-ms-a { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: baseline; }
.faq-ms-a-mark { font-family: var(--mono); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent); padding-top: 4px; }
.faq-ms-a-text { font-size: 16px; line-height: 1.7; color: var(--text-2); }
.faq-ms-a-text p { font-size: 16px; line-height: 1.7; color: var(--text-2); }
.faq-ms-a-text p + p { margin-top: 14px; }
.faq-ms-a-text strong { color: var(--text); font-weight: 500; }
.faq-ms-entry-first .faq-ms-a-text::first-letter { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 4em; line-height: 0.82; float: left; margin: 0.08em 0.12em 0 -0.04em; color: var(--accent); }
.faq-ms-a-text .faq-files { margin: 16px 0; }
.faq-ms-a-text .faq-checklist li { font-size: 15px; line-height: 1.5; }
.faq-ms-a-text .faq-aside { margin-top: 14px; color: var(--text-mute); }
.faq-ms-foot { margin-top: 56px; text-align: center; display: flex; flex-direction: column; gap: 22px; align-items: center; }
.faq-ms-foot-rule { width: 80px; height: 1px; background: var(--border); }
.faq-ms-foot-lines { display: flex; flex-direction: column; gap: 10px; }
.faq-ms-foot-l { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--accent); }
.faq-ms-foot-r { font-family: var(--serif); font-style: italic; font-size: 15px; color: var(--text-mute); max-width: 46ch; line-height: 1.5; }
.faq-ms-foot-r em { font-style: italic; color: var(--text-2); }

@media (max-width: 1100px) {
  .faq-grid { grid-template-columns: 1fr; gap: 40px; }
  .faq-index { position: static; }
  .faq-files { grid-template-columns: 1fr; }
}
@media (max-width: 800px) {
  .faq-head { padding: 56px 24px 40px; }
  .faq-grid { padding: 32px 24px 0; }
  .faq-q { grid-template-columns: 38px 1fr 28px; gap: 12px; padding: 20px 0; }
  .faq-a { padding: 0 12px 4px 50px; }
  .faq-item.is-open .faq-a { padding-bottom: 24px; }
  .faq-manuscript { padding: 40px 24px 60px; }
  .faq-ms-entry { grid-template-columns: 44px 1fr; gap: 16px; }
  .faq-ms-numeral { font-size: 32px; }
  .faq-ms-q { grid-template-columns: 1fr; gap: 6px; }
  .faq-ms-a { grid-template-columns: 1fr; gap: 6px; }
  .faq-ms-section-head { grid-template-columns: 1fr; }
  .faq-ms-section-meta { grid-column: 1; grid-row: auto; padding-bottom: 0; }
}/* ── Mobile bar + hamburger drawer (≤ 800px) ───────────────────── */
.mobile-bar { display: none; }
.sidebar-scrim { display: none; }
.hamburger { display: none; }

@media (max-width: 800px) {
  /* Push content below the fixed mobile bar */
  body { padding-top: 56px; }

  .mobile-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    height: 56px;
    padding: 0 20px;
    position: fixed;
    top: 0; left: 0; right: 0;
    background: color-mix(in oklab, var(--bg) 92%, transparent);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-soft);
    z-index: 60;
  }
  .mobile-brand .brand-glyph img {
    height: 28px;
  }

  .hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px; height: 40px;
    border: 1px solid var(--border);
    border-radius: 50%;
    background: none;
    cursor: pointer;
    gap: 4px;
    transition: border-color .15s;
  }
  .hamburger:hover { border-color: var(--text-2); }
  .hamburger-bar {
    display: block;
    width: 14px;
    height: 1.5px;
    background: var(--text);
    transition: transform .25s, opacity .2s;
  }
  .hamburger.is-open .hamburger-bar:nth-child(1) {
    transform: translateY(5.5px) rotate(45deg);
  }
  .hamburger.is-open .hamburger-bar:nth-child(2) {
    opacity: 0;
  }
  .hamburger.is-open .hamburger-bar:nth-child(3) {
    transform: translateY(-5.5px) rotate(-45deg);
  }

  /* Scrim behind drawer */
  .sidebar-scrim {
    display: block;
    position: fixed;
    inset: 56px 0 0 0;
    background: rgba(0,0,0,.55);
    opacity: 0;
    pointer-events: none;
    z-index: 50;
    transition: opacity .25s;
  }
  .sidebar-scrim.is-open {
    opacity: 1;
    pointer-events: auto;
  }

  /* Sidebar becomes a left drawer */
  .sidebar {
    position: fixed;
    top: 56px;
    left: 0;
    bottom: 0;
    height: calc(100vh - 56px);
    width: min(320px, 88vw);
    transform: translateX(-100%);
    transition: transform .3s cubic-bezier(.2,.7,.2,1);
    background: var(--bg);
    z-index: 55;
    overflow-y: auto;
    padding: 24px 22px 24px;
    gap: 24px;
  }
  .sidebar.is-open { transform: translateX(0); }
  .sidebar .brand-glyph img { height: 32px; }

  .nav-item { padding: 12px 0; font-size: 15px; }

  /* Layout */
  .grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .hero-stats, .process { grid-template-columns: repeat(2, 1fr); }

  /* Topbar shows briefer */
  .topbar { padding: 14px 20px; font-size: 9.5px; letter-spacing: 0.12em; }
  .topbar > div:first-child { font-size: 9.5px; }

  /* Hero — much tighter */
  .hero { padding: 40px 20px 32px; }
  .hero-eyebrow { margin-bottom: 18px; font-size: 9.5px; }
  .hero-h { font-size: clamp(40px, 11vw, 64px); line-height: 1.04; }
  .hero-sub { font-size: 15px; margin-top: 22px; }
  .hero-stats { margin-top: 32px; }
  .stat { padding: 18px 16px 18px 0; }
  .stat-num { font-size: 30px; }

  .filterbar { padding: 24px 20px 0; gap: 16px; }
  .filterbar-left { gap: 14px; flex-wrap: wrap; }
  .chips { gap: 5px; }
  .chip { padding: 6px 11px; font-size: 11px; }
  .filterbar-right { width: 100%; justify-content: space-between; }

  .catalog { padding: 20px 20px 60px; }

  .section-head { padding: 56px 20px 22px; flex-direction: column; align-items: flex-start; gap: 14px; }
  .section-head .sub { text-align: left; }

  .process { padding: 0 20px 60px; grid-template-columns: 1fr; }
  .process-step { padding: 26px 0; border-right: 0; border-bottom: 1px solid var(--border-soft); }
  .process-step:last-child { border-bottom: 0; }

  .footer { padding: 40px 20px 32px; grid-template-columns: 1fr; gap: 32px; }
  .footer-h { font-size: 36px; }
  .footer-bottom { flex-direction: column; gap: 8px; align-items: flex-start; }

  /* Offer panel & ticker */
  .panel { width: 100vw; }
  .panel-head, .panel-hero, .panel-body, .panel-foot { padding-left: 20px; padding-right: 20px; }
  .panel-title { font-size: 30px; }
  .ticker { left: 12px; right: 12px; bottom: 12px; max-width: none; }
  .fab-watch { right: 12px; bottom: 12px; }

  /* Detail */
  .detail { padding: 24px 20px 40px; gap: 28px; }
  .detail-name { font-size: clamp(44px, 11vw, 64px); }
  .detail-back { margin-bottom: 20px; }
  .detail-meta { grid-template-columns: 1fr 1fr; }

  /* About */
  .about { padding: 48px 20px; gap: 36px; grid-template-columns: 1fr; }
  .about-h { font-size: clamp(44px, 12vw, 68px); }
  .about-p { font-size: 15.5px; }
  .about-pull { font-size: 24px; }

  /* Testimonials */
  .testimonials { padding: 48px 20px; }
  .test-head h1 { font-size: clamp(44px, 12vw, 64px); }
  .test-head p { font-size: 15px; }
  .test-quote-card { padding: 30px 22px 28px 32px; }
  .test-quote-text { font-size: 19px; }
  .test-quote-mark { font-size: 44px; top: 10px; left: 14px; }
  .test-author-card { padding: 22px; }

  /* Playground / Contact already responsive, refine */
  .playground { padding: 48px 20px; }
  .play-h { font-size: clamp(44px, 12vw, 64px); }
  .play-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }

  .contact { padding: 48px 20px !important; padding-left: 20px !important; padding-right: 20px !important; }
  .contact-h { font-size: clamp(44px, 12vw, 60px); }
  .contact-form { padding: 22px; }
  .contact-meta-row { grid-template-columns: 110px 1fr; gap: 12px; }
  .contact-meta-row .v { font-size: 17px; }
}

/* ── Phone-tight (≤ 480px) ─────────────────────────────────────── */
@media (max-width: 480px) {
  .grid { grid-template-columns: 1fr; gap: 12px; }
  .tile { aspect-ratio: 4 / 3; }
  .hero { padding: 32px 18px 28px; }
  .hero-h { font-size: clamp(36px, 12vw, 52px); }
  .stat { padding: 14px 12px 14px 0; }
  .stat-num { font-size: 26px; }
  .stat-label { font-size: 9.5px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(3) { border-top: 1px solid var(--border-soft); padding-top: 14px; }
  .stat:nth-child(4) { border-top: 1px solid var(--border-soft); padding-top: 14px; }

  .topbar > div:last-child { display: none; }
  .play-grid { grid-template-columns: 1fr; }
  .play-cell { aspect-ratio: 5 / 3; }
  .play-cell:first-child { grid-column: 1 !important; }

  .detail-meta { grid-template-columns: 1fr; }
}


/* ── Avatar (used in testimonials + buyer card) ────────────────── */
.avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  overflow: hidden;
  flex: none;
  border: 1px solid var(--border);
  background: var(--bg-elev-2);
}
.avatar img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(.9) contrast(1.06);
}
.avatar-initials {
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  color: oklch(0.97 0 0);
  letter-spacing: 0.02em;
  border-color: transparent;
}

/* ── Detail page wrapper (for similar-logos block below) ──────── */
.detail-wrap { padding-bottom: 80px; }

/* author's choice badge on detail hero */
.detail-choice {
  position: absolute;
  top: 18px; right: 22px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-ink);
  background: var(--accent);
  padding: 6px 11px;
  border-radius: 100px;
}

/* sold tag inline with eyebrow */
.detail-sold-tag {
  color: var(--accent);
  font-weight: 500;
  margin-left: 6px;
}

/* ── Detail gallery (scrollable, hidden when empty) ────────────── */
.detail-gallery {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* ── Mobile: contact padding override ───────────────────────── */
@media (max-width: 800px) {
  .contact { padding: 48px 20px !important; padding-left: 20px !important; padding-right: 20px !important; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
}
/* ── Mobile padding fixes (override !important desktop rules) ── */
@media (max-width: 800px) {
  .main { padding-left: 0 !important; }
  .contact,
  .testimonials,
  .about,
  .playground,
  .hero,
  .filterbar,
  .catalog,
  .process,
  .section-head,
  .footer,
  .detail-wrap,
  .similar,
  .legal-page {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }
}


/* ════════════════════════════════════════════════════════════════
   FINAL MOBILE OVERRIDES (≤ 800px)
   Override desktop !important rules — these MUST appear last.
   ════════════════════════════════════════════════════════════════ */
@media (max-width: 800px) {

  /* ── Layout: collapse main + sidebar to single column ─────── */
  .site {
    grid-template-columns: 1fr !important;
  }
  .main {
    padding-left: 0 !important;
    padding-right: 0 !important;
    min-width: 0 !important;
    width: 100% !important;
  }
  body {
    overflow-x: hidden;
  }

  /* ── Topbar — compact ─────────────────────────────────────── */
  .topbar {
    padding: 12px 16px !important;
    font-size: 9px !important;
    letter-spacing: 0.1em !important;
    gap: 12px !important;
  }
  .topbar > div:last-child { display: none !important; }
  .topbar > div:first-child {
    font-size: 9px !important;
    line-height: 1.3 !important;
  }

  /* ── Hero ─────────────────────────────────────────────────── */
  .hero {
    padding: 40px 20px 32px !important;
  }
  .hero-h {
    font-size: clamp(40px, 11vw, 64px) !important;
    line-height: 1.04 !important;
    max-width: 100% !important;
  }
  .hero-sub {
    font-size: 15px !important;
    margin-top: 22px !important;
  }
  .hero-stats {
    grid-template-columns: repeat(2, 1fr) !important;
    margin-top: 32px !important;
  }
  .stat {
    padding: 16px 14px 16px 10px !important;
    border-right: 1px solid var(--border-soft);
  }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(3),
  .stat:nth-child(4) {
    border-top: 1px solid var(--border-soft);
    padding-top: 16px !important;
  }
  .stat-num { font-size: 28px !important; }
  .stat-label { font-size: 9px !important; }

  /* ── Filter bar ───────────────────────────────────────────── */
  .filterbar {
    padding: 24px 20px 0 !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 14px !important;
  }
  .filterbar-left {
    width: 100%;
    flex-wrap: wrap !important;
    gap: 12px !important;
  }
  .chips { flex-wrap: wrap !important; gap: 5px !important; }
  .chip { padding: 6px 11px !important; font-size: 11px !important; }
  .filterbar-right {
    width: 100%;
    justify-content: space-between !important;
  }

  /* ── Product grid ─────────────────────────────────────────── */
  .catalog {
    padding: 20px 20px 60px !important;
  }
  .grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }
  .tile-name { font-size: 16px !important; }
  .tile-cat { font-size: 9px !important; }
  .tile-action {
    padding: 6px 10px !important;
    font-size: 9px !important;
    letter-spacing: 0.14em !important;
  }
  .tile-corner {
    font-size: 9px !important;
    padding: 3px 6px !important;
  }
  .tile-choice {
    font-size: 8px !important;
    padding: 3px 7px !important;
    letter-spacing: 0.1em !important;
  }
  .sold-stamp {
    font-size: 9px !important;
    padding: 4px 8px !important;
  }

  /* ── Section heads + process ──────────────────────────────── */
  .section-head {
    padding: 56px 20px 22px !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 14px !important;
  }
  .section-head h2 { font-size: clamp(30px, 8vw, 44px) !important; }
  .section-head .sub { text-align: left !important; }

  .process {
    padding: 0 20px 60px !important;
    grid-template-columns: 1fr !important;
  }
  .process-step {
    padding: 26px 0 !important;
    border-right: 0 !important;
    border-bottom: 1px solid var(--border-soft);
  }
  .process-step:last-child { border-bottom: 0; }
  .process-h { font-size: 22px !important; }

  /* ── Footer ───────────────────────────────────────────────── */
  .footer {
    padding: 40px 20px 32px !important;
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }
  .footer-h { font-size: 32px !important; }
  .footer-bottom {
    flex-direction: column !important;
    gap: 8px !important;
    align-items: flex-start !important;
  }
  .footer-bottom > div:last-child {
    flex-direction: column !important;
    gap: 6px !important;
    align-items: flex-start !important;
  }

  /* ── Detail page — strong overrides ───────────────────────── */
  .detail-wrap {
    padding: 0 !important;
  }
  .detail {
    padding: 24px 20px 40px !important;
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }
  .detail-hero {
    max-height: 60vw !important;
    aspect-ratio: 5 / 4 !important;
  }
  .detail-hero .tile-mark {
    max-width: 65% !important;
    max-height: 65% !important;
    width: auto !important;
    height: auto !important;
  }
  .detail-side {
    position: static !important;
    max-height: none !important;
    overflow: visible !important;
    padding-right: 0 !important;
    gap: 18px !important;
  }
  .detail-name {
    font-size: clamp(40px, 11vw, 60px) !important;
  }
  .detail-story { font-size: 15px !important; max-width: 100% !important; }
  .detail-meta {
    grid-template-columns: 1fr 1fr !important;
  }
  .detail-main {
    height: auto !important;
    scroll-snap-type: none !important;
  }
  /* Reset the display:contents !important hacks so gallery flows normally */
  .detail-gallery {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    margin-top: 12px !important;
  }
  .detail-gallery-label {
    display: block !important;
  }
  .detail-gallery-track {
    display: grid !important;
    grid-auto-flow: column !important;
    grid-auto-columns: 85% !important;
    gap: 10px !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
  }
  .detail-gallery-item {
    flex: none !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: 5 / 4 !important;
    max-width: none !important;
    scroll-snap-align: start !important;
  }
  .detail-nav { padding: 18px 0 0 !important; }

  /* ── Similar logos — drop to 2 columns ───────────────────── */
  .similar {
    padding: 32px 20px !important;
  }
  .similar-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }
  .similar-label { font-size: 24px !important; }

  /* ── About ────────────────────────────────────────────────── */
  .about {
    padding: 48px 20px !important;
    grid-template-columns: 1fr !important;
    gap: 36px !important;
  }
  .about-h { font-size: clamp(40px, 12vw, 64px) !important; }
  .about-p { font-size: 15px !important; }
  .about-pull { font-size: 22px !important; }
  .about-portrait { aspect-ratio: 4 / 5 !important; }
  .about-fact-grid { grid-template-columns: 1fr 1fr !important; }
  .about-fact .v { font-size: 22px !important; }

  /* ── Testimonials ─────────────────────────────────────────── */
  .testimonials { padding: 48px 20px !important; }
  .test-head h1 { font-size: clamp(40px, 12vw, 60px) !important; }
  .test-head p { font-size: 15px !important; }
  .test-row,
  .test-row.flip {
    grid-template-columns: 1fr !important;
    gap: 0 !important;
  }
  .test-quote-card {
    padding: 28px 22px 26px 32px !important;
  }
  .test-quote-text { font-size: 18px !important; line-height: 1.4 !important; }
  .test-quote-mark { font-size: 40px !important; top: 10px !important; left: 14px !important; }
  .test-author-card,
  .test-row.flip .test-author-card {
    padding: 20px !important;
    transform: translateX(16px) !important;
  }
  .test-author-logos-row {
    grid-template-columns: repeat(3, 1fr) !important;
  }

  /* ── Playground ───────────────────────────────────────────── */
  .playground { padding: 48px 20px !important; }
  .play-h { font-size: clamp(40px, 12vw, 60px) !important; }
  .play-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }
  .play-cell { aspect-ratio: 5 / 4 !important; }
  .play-cell:first-child { grid-column: auto !important; }

  /* ── Contact ──────────────────────────────────────────────── */
  .contact { padding: 48px 20px !important; }
  .contact-grid {
    grid-template-columns: 1fr !important;
    gap: 40px !important;
  }
  .contact-h { font-size: clamp(40px, 12vw, 56px) !important; }
  .contact-p { font-size: 15px !important; }
  .contact-form {
    padding: 22px !important;
    position: static !important;
  }
  .contact-meta-row {
    grid-template-columns: 100px 1fr !important;
    gap: 12px !important;
    padding: 14px 0 !important;
  }
  .contact-meta-row .v { font-size: 16px !important; }
  .contact-meta-row .l { font-size: 9.5px !important; }

  /* ── FAQ pages ────────────────────────────────────────────── */
  .faq-head { padding: 40px 20px 32px !important; }
  .faq-head-top {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 14px !important;
  }
  .faq-h { font-size: clamp(40px, 11vw, 60px) !important; }
  .faq-lead { font-size: 15px !important; }
  .faq-grid {
    grid-template-columns: 1fr !important;
    padding: 28px 20px 0 !important;
    gap: 32px !important;
  }
  .faq-index { position: static !important; }
  .faq-manuscript { padding: 40px 20px 60px !important; }
  .faq-ms-doc { max-width: 100% !important; }
  .faq-ms-entry {
    grid-template-columns: 40px 1fr !important;
    gap: 14px !important;
    padding: 24px 0 28px !important;
  }
  .faq-ms-numeral { font-size: 28px !important; }
  .faq-ms-q,
  .faq-ms-a {
    grid-template-columns: 1fr !important;
    gap: 6px !important;
  }
  .faq-ms-q-mark, .faq-ms-a-mark { padding-top: 0 !important; }
  .faq-ms-q-text { font-size: clamp(19px, 5.5vw, 24px) !important; }
  .faq-ms-section-head { grid-template-columns: 1fr !important; }
  .faq-ms-section-meta {
    grid-column: 1 !important;
    grid-row: auto !important;
    padding-bottom: 0 !important;
  }
  .faq-ms-section-title { font-size: clamp(28px, 8vw, 40px) !important; }

  /* ── Offer panel ──────────────────────────────────────────── */
  .panel {
    width: 100vw !important;
    max-width: 100vw !important;
  }
  .panel-head { padding: 18px 20px !important; }
  .panel-hero { padding: 18px 20px 22px !important; }
  .panel-body { padding: 22px 20px !important; }
  .panel-foot { padding: 16px 20px 18px !important; }
  .panel-title { font-size: 26px !important; }
  .budget-num { font-size: 44px !important; }
  .panel-meta { grid-template-columns: 1fr 1fr !important; }

  /* ── Legal pages ──────────────────────────────────────────── */
  .legal-page {
    padding: 40px 20px !important;
  }
  .legal-grid {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }
  .legal-content { max-height: none !important; }

  /* ── Activity ticker + FAB ───────────────────────────────── */
  .ticker,
  .fab-watch {
    left: 12px !important;
    right: 12px !important;
    bottom: 12px !important;
    max-width: none !important;
  }

  /* Body scroll lock helper (used by JS in header.php / footer.php) */
  body.no-scroll { overflow: hidden !important; }
}

/* ── Phone-tight (≤ 480px): tighten further ─────────────────── */
@media (max-width: 480px) {
  .grid {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }
  .tile { aspect-ratio: 5 / 3 !important; }
  .similar-grid {
    grid-template-columns: 1fr 1fr !important;
  }
  .play-grid {
    grid-template-columns: 1fr !important;
  }
  .play-cell { aspect-ratio: 5 / 3 !important; }
  .detail-meta { grid-template-columns: 1fr !important; }
  .panel-meta { grid-template-columns: 1fr !important; }
  .about-fact-grid { grid-template-columns: 1fr !important; }
  .test-author-logos-row { grid-template-columns: repeat(2, 1fr) !important; }
  .hero-h { font-size: clamp(36px, 12vw, 52px) !important; }
  .footer-h { font-size: 28px !important; }
}


/* ════════════════════════════════════════════════════════════════
   MOBILE PATCH v2 — must appear LAST
   Fixes: panel buttons hidden behind phone bar, detail-hero overflow,
   gallery overflow, filter dropdown, sticky bottom CTA.
   ════════════════════════════════════════════════════════════════ */

/* ── Sticky mobile CTA bar (hidden on desktop) ─────────────── */
.mobile-cta-bar { display: none; }

@media (max-width: 800px) {

  /* ── Sticky bottom "Order custom logo" bar ─────────────── */
  .mobile-cta-bar {
    display: flex !important;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 45;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
    background: color-mix(in oklab, var(--bg) 92%, transparent);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--border-soft);
    justify-content: center;
  }
  .mobile-cta-bar .mobile-cta-btn {
    width: 100%;
    max-width: 480px;
    padding: 14px 18px !important;
    font-size: 12.5px !important;
    letter-spacing: 0.14em !important;
    text-transform: uppercase;
  }
  /* Hide when the offer panel or sidebar drawer is open */
  body.no-scroll .mobile-cta-bar {
    transform: translateY(120%);
    pointer-events: none;
  }
  .mobile-cta-bar {
    transition: transform .25s ease;
  }

  /* Push body content above the sticky CTA bar */
  body {
    padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px));
  }

  /* The order-CTA inside the sidebar drawer is redundant when there is
     a sticky bar, but keep it so users see the button if they open the
     drawer. Just tighten its margin. */
  .sidebar .sidebar-cta .btn-primary { margin-top: 12px; }

  /* ── Offer panel: keep Cancel/Send always visible above phone bar ── */
  .panel {
    width: 100vw !important;
    max-width: 100vw !important;
    height: 100vh !important;
    height: 100dvh !important;
    display: flex !important;
    flex-direction: column !important;
  }
  .panel-body {
    flex: 1 1 auto !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 20px !important;
  }
  .panel-foot {
    position: sticky !important;
    bottom: 0 !important;
    flex: none !important;
    padding: 14px 20px calc(14px + env(safe-area-inset-bottom, 0px)) !important;
    background: color-mix(in oklab, var(--bg) 96%, transparent) !important;
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--border-soft);
    z-index: 5;
  }
  .panel-foot .btn {
    padding: 14px 18px !important;
    font-size: 12.5px !important;
  }

  /* ── Detail page: hero + gallery confined to viewport width ─── */
  .main, .detail-wrap, .detail, .detail-main, .detail-hero,
  .detail-gallery, .detail-gallery-track, .detail-gallery-item {
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  .detail-hero {
    width: 100% !important;
    max-height: none !important;
    aspect-ratio: 5 / 4 !important;
  }
  .detail-hero img,
  .detail-hero .tile-img {
    max-width: 100% !important;
    max-height: 100% !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
  }
  .detail-main {
    height: auto !important;
    width: 100% !important;
    overflow: visible !important;
  }

  /* ── Detail gallery: stack vertically (no horizontal scroll) ─ */
  .detail-gallery {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    margin-top: 16px !important;
    width: 100% !important;
  }
  .detail-gallery-label {
    display: block !important;
  }
  .detail-gallery-track {
    display: flex !important;
    flex-direction: column !important;
    grid-auto-flow: unset !important;
    grid-auto-columns: unset !important;
    grid-template-columns: 1fr !important;
    gap: 10px !important;
    overflow: visible !important;
    overflow-x: visible !important;
    scroll-snap-type: none !important;
    padding-bottom: 0 !important;
    width: 100% !important;
  }
  .detail-gallery-item {
    flex: none !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    min-height: 0 !important;
    height: auto !important;
    aspect-ratio: 5 / 4 !important;
    scroll-snap-align: none !important;
    border-radius: var(--r-md) !important;
  }
  .detail-gallery-item img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
  }

  /* ── Filter: hide chips, show native select ─────────────── */
  .filterbar .chips { display: none !important; }
  .filterbar-left {
    width: 100%;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    gap: 10px !important;
  }
  .filter-select-wrap {
    position: relative;
    flex: 1 1 auto;
    min-width: 0;
  }
  .filter-select {
    appearance: none;
    -webkit-appearance: none;
    width: 100%;
    background: var(--bg-elev);
    color: var(--text);
    font-family: var(--mono);
    font-size: 12px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border: 1px solid var(--border);
    border-radius: 100px;
    padding: 10px 36px 10px 16px;
    line-height: 1.2;
  }
  .filter-select:focus { outline: none; border-color: var(--accent); }
  .filter-select-caret {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-family: var(--mono);
    color: var(--text-mute);
    pointer-events: none;
    font-size: 12px;
  }
  .filterbar-right { flex: none !important; width: auto !important; margin-left: auto; }
}

/* Desktop: hide native select, show chips */
@media (min-width: 801px) {
  .filter-select-wrap { display: none; }
}

/* ── Phone-tight (≤ 480px): make CTA + spacing snappier ───── */
@media (max-width: 480px) {
  body { padding-bottom: calc(68px + env(safe-area-inset-bottom, 0px)); }
  .mobile-cta-bar { padding-left: 12px; padding-right: 12px; }
  .mobile-cta-bar .mobile-cta-btn {
    padding: 13px 16px !important;
    font-size: 12px !important;
  }
}


/* ════════════════════════════════════════════════════════════════
   MOBILE PATCH v3 — must appear LAST
   Fixes after-screenshot review:
   - Detail hero / image still overflowing → force 100% width chain
   - "Make offer · $XXX" button too wide → size for narrow screens
   - Native filter select styled to match brand
   - Bigger sidebar drawer + nav font
   - Catalog tiles: meta + "Make offer" always visible (no hover required)
   ════════════════════════════════════════════════════════════════ */

@media (max-width: 800px) {

  /* ── DETAIL HERO + IMAGE: bulletproof full-width ──────────── */
  .detail-wrap,
  .detail,
  .detail-main,
  .detail-side,
  .detail-hero {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box !important;
  }
  .detail {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
    padding-top: 20px !important;
    padding-bottom: 32px !important;
  }
  .detail-main, .detail-side {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .detail-hero {
    margin: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    aspect-ratio: 5 / 4 !important;
    max-height: none !important;
    overflow: hidden !important;
    display: grid !important;
    place-items: center !important;
  }
  /* Any descendant of the hero never exceeds its box */
  .detail-hero *,
  .detail-hero > *,
  .detail-hero .tile-bg,
  .detail-hero .tile-mark,
  .detail-hero .tile-img,
  .detail-hero img {
    max-width: 100% !important;
    max-height: 100% !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    position: relative !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
  }
  /* The tile-bg fills the hero (it's the colored backdrop) */
  .detail-hero .tile-bg {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    display: grid !important;
    place-items: center !important;
  }
  .detail-hero .tile-bg > img,
  .detail-hero .tile-bg .tile-img {
    max-width: 70% !important;
    max-height: 70% !important;
    width: auto !important;
    height: auto !important;
  }

  /* ── DETAIL "Make offer · $X" CTA fits screen ─────────────── */
  .detail-cta { width: 100% !important; }
  .detail-cta .btn,
  .detail-cta .btn-primary,
  .detail-cta .jsOrderLogoShow {
    width: 100% !important;
    max-width: 100% !important;
    padding: 14px 16px !important;
    font-size: 12.5px !important;
    letter-spacing: 0.1em !important;
    white-space: normal !important;
    word-break: break-word !important;
    text-align: center !important;
    box-sizing: border-box !important;
  }
  .detail-cta .btn-primary span,
  .detail-cta .btn span { white-space: normal !important; }

  /* ── FILTER: custom-styled dropdown ──────────────────────── */
  .filterbar {
    padding: 22px 20px 0 !important;
  }
  .filterbar-left {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 10px !important;
    width: 100% !important;
  }
  .filterbar-label {
    font-size: 10px !important;
    letter-spacing: 0.22em !important;
    color: var(--text-faint) !important;
  }
  .filter-select-wrap {
    display: block !important;
    position: relative !important;
    width: 100% !important;
  }
  .filter-select {
    appearance: none !important;
    -webkit-appearance: none !important;
    width: 100% !important;
    background: var(--bg-elev) !important;
    color: var(--text) !important;
    font-family: var(--mono) !important;
    font-size: 12.5px !important;
    letter-spacing: 0.14em !important;
    text-transform: uppercase !important;
    border: 1px solid var(--border) !important;
    border-radius: 12px !important;
    padding: 14px 44px 14px 18px !important;
    line-height: 1.2 !important;
    cursor: pointer;
  }
  .filter-select:focus {
    outline: none !important;
    border-color: var(--accent) !important;
    box-shadow: 0 0 0 3px color-mix(in oklab, var(--accent) 18%, transparent);
  }
  .filter-select option {
    background: var(--bg) !important;
    color: var(--text) !important;
  }
  .filter-select-caret {
    position: absolute !important;
    right: 16px !important;
    top: 50%;
    transform: translateY(-50%);
    color: var(--accent) !important;
    font-size: 14px !important;
    pointer-events: none;
  }
  .filterbar-right { display: none !important; }

  /* ── SIDEBAR DRAWER: bigger, wider, more breathing room ───── */
  .sidebar {
    width: min(420px, 92vw) !important;
    padding: 28px 26px 28px !important;
    gap: 28px !important;
  }
  .sidebar .brand-glyph img { height: 38px !important; }
  .brand-wordmark { font-size: 11px !important; letter-spacing: 0.2em !important; }

  .nav {
    gap: 4px !important;
    margin-top: 4px !important;
  }
  .nav-item {
    padding: 16px 0 !important;
    font-size: 18px !important;
    letter-spacing: 0.01em !important;
    border-bottom: 1px solid var(--border-soft) !important;
  }
  .nav-item .ct {
    font-size: 11.5px !important;
    color: var(--text-faint);
  }
  .nav-item.active::before {
    width: 8px !important;
    height: 8px !important;
  }
  .sidebar-cta .btn-primary {
    padding: 16px 18px !important;
    font-size: 13.5px !important;
  }
  .socials {
    padding-top: 16px !important;
    gap: 16px !important;
  }
  .socials a {
    width: 36px !important;
    height: 36px !important;
    font-size: 11px !important;
  }

  /* Sidebar bid ticker — make it more readable */
  .bid-ticker-name { font-size: 13px !important; }
  .bid-ticker-time { font-size: 10.5px !important; }

  /* ── CATALOG TILES: meta + button always visible (no hover) ─ */
  .tile,
  .tile.sold {
    aspect-ratio: 5 / 5 !important;
  }
  .tile .tile-bg {
    transform: translateY(-12%) !important;
  }
  .tile .tile-meta {
    opacity: 1 !important;
    transform: translateY(0) !important;
    pointer-events: auto !important;
    padding: 10px 12px !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 8px !important;
    background: color-mix(in oklab, var(--bg) 80%, transparent) !important;
    backdrop-filter: blur(6px);
    border-top: 1px solid color-mix(in oklab, var(--text) 8%, transparent) !important;
  }
  .tile .tile-meta > div:first-child {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    overflow: hidden;
  }
  .tile .tile-name {
    font-size: 16px !important;
    line-height: 1.1 !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .tile .tile-cat {
    font-size: 9px !important;
    letter-spacing: 0.14em !important;
  }
  .tile .tile-action {
    width: 100% !important;
    padding: 9px 12px !important;
    font-size: 10px !important;
    letter-spacing: 0.16em !important;
    text-align: center !important;
    justify-content: center !important;
    border-radius: 100px !important;
  }
  .tile .tile-action::after { content: "→" !important; margin-left: 4px; }
  .tile .tile-action.ghost {
    background: var(--bg-elev-2) !important;
    color: var(--text-mute) !important;
  }
  /* Corners + badges */
  .tile .tile-corner { opacity: 1 !important; }
  .tile .tile-choice { font-size: 8.5px !important; padding: 3px 8px !important; }
}

/* ── Phone-tight (≤ 480px): single column tiles + tighter ──── */
@media (max-width: 480px) {
  .tile { aspect-ratio: 4 / 3 !important; }
  .tile .tile-meta {
    flex-direction: row !important;
    align-items: flex-end !important;
    justify-content: space-between !important;
    gap: 8px !important;
  }
  .tile .tile-action {
    width: auto !important;
    flex: none !important;
    padding: 8px 11px !important;
    font-size: 9.5px !important;
  }
  .nav-item { font-size: 17px !important; }
  .sidebar { width: 92vw !important; }
}


/* ════════════════════════════════════════════════════════════════
   MOBILE PATCH v4 — must appear LAST
   - Tiles: clean, no info bar, just "View more →" pill bottom-right
   - Detail page: bulletproof responsive (hero + gallery + button)
   - Wider sidebar drawer (opens further across the screen)
   - Custom-designed filter dropdown matching brand
   ════════════════════════════════════════════════════════════════ */

/* ── Custom filter dropdown (hidden on desktop) ──────────────── */
.filter-dropdown { display: none; }

@media (max-width: 800px) {

  /* ──────────────────────────────────────────────────────────
     1) CATALOG TILES — "View more →" pill, no info bar
     ────────────────────────────────────────────────────────── */
  .tile, .tile.sold {
    aspect-ratio: 5 / 4 !important;
    position: relative;
    isolation: isolate;
  }
  .tile .tile-bg,
  .tile.sold .tile-bg {
    transform: none !important;
  }
  .tile:hover .tile-bg { transform: none !important; }

  /* Hide the info bar entirely on mobile */
  .tile .tile-meta {
    display: none !important;
  }
  /* Hide hover-only watcher chip too */
  .tile .tile-watching { display: none !important; }

  /* Inject a permanent "View more →" pill in the bottom-right corner.
     Uses ::after so we don't have to change PHP template markup. */
  .tile::after {
    content: "View more";
    position: absolute;
    right: 12px;
    bottom: 12px;
    z-index: 3;
    background: var(--accent);
    color: var(--accent-ink);
    font-family: var(--mono);
    font-size: 9.5px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-weight: 500;
    padding: 7px 11px 7px 12px;
    border-radius: 100px;
    pointer-events: none;
    line-height: 1;
    display: inline-flex;
    align-items: center;
  }
  /* Inline arrow as a separate pseudo-element so it sits tight */
  .tile::before {
    content: "→";
    position: absolute;
    right: 18px;
    bottom: 12px;
    z-index: 4;
    color: var(--accent-ink);
    font-family: var(--mono);
    font-size: 11px;
    line-height: 1;
    padding: 7px 0;
    pointer-events: none;
  }
  /* Sold tiles: ghost variant */
  .tile.sold::after {
    content: "View";
    background: color-mix(in oklab, var(--bg) 65%, transparent);
    color: var(--text);
    backdrop-filter: blur(6px);
    border: 1px solid var(--border);
  }
  .tile.sold::before {
    color: var(--text);
  }

  /* Sold stamp + author's choice badges keep their place */
  .tile .tile-corner { opacity: 1 !important; top: 12px; left: 12px; }
  .tile .tile-choice { font-size: 8.5px !important; padding: 3px 8px !important; }

  /* ──────────────────────────────────────────────────────────
     2) SINGLE LOGO (DETAIL) — bulletproof responsive
     ────────────────────────────────────────────────────────── */
  /* The whole page must never exceed the viewport */
  html, body { max-width: 100vw; overflow-x: hidden !important; }

  .main, .detail-wrap {
    width: 100vw !important;
    max-width: 100vw !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow-x: hidden !important;
    box-sizing: border-box !important;
  }
  .detail {
    width: 100% !important;
    max-width: 100% !important;
    grid-template-columns: 1fr !important;
    gap: 24px !important;
    padding: 20px 16px 32px !important;
    margin: 0 !important;
    box-sizing: border-box !important;
  }
  .detail-main,
  .detail-side {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    position: static !important;
    overflow: visible !important;
    max-height: none !important;
  }

  /* Hero */
  .detail-hero {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    aspect-ratio: 5 / 4 !important;
    max-height: none !important;
    height: auto !important;
    border-radius: var(--r-lg) !important;
    overflow: hidden !important;
    position: relative !important;
    display: block !important;
    margin: 0 !important;
  }
  .detail-hero > * { box-sizing: border-box !important; }
  .detail-hero .tile-bg {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    display: grid !important;
    place-items: center !important;
    transform: none !important;
  }
  .detail-hero img,
  .detail-hero .tile-img,
  .detail-hero .tile-mark {
    max-width: 75% !important;
    max-height: 75% !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    position: relative !important;
    transform: none !important;
    inset: auto !important;
  }

  /* Gallery — stacked, fits screen */
  .detail-gallery {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  .detail-gallery-track {
    display: flex !important;
    flex-direction: column !important;
    grid-auto-flow: unset !important;
    grid-auto-columns: unset !important;
    grid-template-columns: 1fr !important;
    overflow: visible !important;
    overflow-x: visible !important;
    scroll-snap-type: none !important;
    gap: 12px !important;
    padding: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  .detail-gallery-item {
    flex: none !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: 5 / 4 !important;
    box-sizing: border-box !important;
  }
  .detail-gallery-item img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    display: block !important;
  }

  /* Detail title + meta */
  .detail-name { font-size: clamp(36px, 11vw, 56px) !important; }
  .detail-story {
    font-size: 15px !important;
    max-width: 100% !important;
  }
  .detail-meta {
    grid-template-columns: 1fr 1fr !important;
  }
  .detail-meta > div { padding: 14px 16px !important; }
  .detail-meta .v { font-size: 18px !important; }

  /* Make-offer button — responsive */
  .detail-cta {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    width: 100% !important;
  }
  .detail-cta .btn,
  .detail-cta .btn-primary,
  .detail-cta .jsOrderLogoShow,
  .detail .btn-primary {
    display: flex !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 14px 18px !important;
    font-size: 12.5px !important;
    letter-spacing: 0.1em !important;
    line-height: 1.3 !important;
    white-space: normal !important;
    text-align: center !important;
    justify-content: center !important;
    align-items: center !important;
    box-sizing: border-box !important;
    word-break: break-word !important;
  }

  /* Similar grid bounded */
  .similar { padding: 28px 16px !important; }
  .similar-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  .similar-cell, .similar-cell .tile-mark { max-width: 100% !important; }

  /* ──────────────────────────────────────────────────────────
     3) SIDEBAR DRAWER — wider, bigger
     ────────────────────────────────────────────────────────── */
  .sidebar {
    width: 94vw !important;
    max-width: 540px !important;
    padding: 28px 28px 28px !important;
    gap: 28px !important;
  }
  .sidebar .brand-glyph img { height: 42px !important; }
  .brand-wordmark { font-size: 11px !important; letter-spacing: 0.22em !important; }

  .nav-item {
    padding: 18px 0 !important;
    font-size: 20px !important;
    border-bottom: 1px solid var(--border-soft) !important;
  }
  .nav-item .ct { font-size: 12px !important; }
  .sidebar-cta .btn-primary {
    padding: 16px 20px !important;
    font-size: 13.5px !important;
    letter-spacing: 0.12em !important;
  }
  .socials a { width: 38px !important; height: 38px !important; font-size: 11px !important; }

  /* ──────────────────────────────────────────────────────────
     4) CUSTOM FILTER DROPDOWN
     ────────────────────────────────────────────────────────── */
  .filterbar { padding: 22px 16px 0 !important; }
  .filterbar-left {
    flex-direction: column !important;
    align-items: stretch !important;
    width: 100% !important;
    gap: 8px !important;
  }
  .filterbar .chips { display: none !important; }
  .filterbar-right { display: none !important; }

  .filter-dropdown {
    display: block !important;
    position: relative !important;
    width: 100% !important;
  }
  .filter-dropdown-trigger {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    width: 100% !important;
    background: var(--bg-elev) !important;
    border: 1px solid var(--border) !important;
    border-radius: 14px !important;
    padding: 14px 16px !important;
    color: var(--text) !important;
    font-family: var(--sans) !important;
    cursor: pointer;
    transition: border-color .15s, background .15s;
    text-align: left;
  }
  .filter-dropdown-trigger:hover { border-color: var(--text-2) !important; }
  .filter-dropdown.is-open .filter-dropdown-trigger {
    border-color: var(--accent) !important;
    box-shadow: 0 0 0 3px color-mix(in oklab, var(--accent) 18%, transparent);
  }
  .filter-dropdown-label {
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--text-faint);
    flex: none;
  }
  .filter-dropdown-current {
    flex: 1;
    min-width: 0;
    display: inline-flex;
    align-items: baseline;
    gap: 8px;
    font-family: var(--serif);
    font-style: italic;
    font-size: 20px;
    line-height: 1;
    color: var(--text);
    overflow: hidden;
  }
  .filter-dropdown-name {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .filter-dropdown-ct {
    font-family: var(--mono);
    font-style: normal;
    font-size: 11px;
    color: var(--accent);
    letter-spacing: 0.06em;
  }
  .filter-dropdown-caret {
    flex: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 1px solid var(--border);
    position: relative;
    transition: transform .25s, border-color .15s, background .15s;
  }
  .filter-dropdown-caret::before {
    content: "";
    position: absolute;
    left: 50%; top: 50%;
    width: 7px; height: 7px;
    border-right: 1.5px solid var(--text);
    border-bottom: 1.5px solid var(--text);
    transform: translate(-50%, -68%) rotate(45deg);
    transition: border-color .15s;
  }
  .filter-dropdown.is-open .filter-dropdown-caret {
    background: var(--accent);
    border-color: var(--accent);
    transform: rotate(180deg);
  }
  .filter-dropdown.is-open .filter-dropdown-caret::before {
    border-color: var(--accent-ink);
  }

  /* Panel */
  .filter-dropdown-panel {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    z-index: 35;
    background: var(--bg-elev);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 6px;
    box-shadow: 0 18px 50px -16px rgba(0,0,0,.6);
    max-height: 60vh;
    overflow-y: auto;
    opacity: 0;
    transform: translateY(-6px);
    pointer-events: none;
    transition: opacity .2s, transform .2s;
    display: flex;
    flex-direction: column;
    gap: 2px;
  }
  .filter-dropdown.is-open .filter-dropdown-panel {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
  .filter-dropdown-option {
    display: flex !important;
    align-items: baseline !important;
    justify-content: space-between !important;
    gap: 14px !important;
    width: 100% !important;
    padding: 12px 14px !important;
    background: none !important;
    border: 0 !important;
    border-radius: 10px !important;
    color: var(--text-2) !important;
    font-family: var(--sans) !important;
    font-size: 15px !important;
    text-align: left !important;
    cursor: pointer;
    transition: background .15s, color .15s;
  }
  .filter-dropdown-option:hover {
    background: var(--bg-elev-2) !important;
    color: var(--text) !important;
  }
  .filter-dropdown-option.is-active {
    background: color-mix(in oklab, var(--accent) 14%, transparent) !important;
    color: var(--accent) !important;
  }
  .filter-dropdown-option-name {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .filter-dropdown-option-ct {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.06em;
    color: var(--text-faint);
    flex: none;
  }
  .filter-dropdown-option.is-active .filter-dropdown-option-ct { color: var(--accent); }
}

/* ── Phone-tight (≤ 480px): single column tiles ────────────── */
@media (max-width: 480px) {
  .grid {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }
  .tile { aspect-ratio: 5 / 4 !important; }
  .sidebar { width: 96vw !important; }
  .nav-item { font-size: 18px !important; }
}

/* ═══════════════════════════════════════════════════════════════
   SWIPE CAROUSEL — desktop + mobile
   ═══════════════════════════════════════════════════════════════ */

.detail-swipe {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: var(--r-lg);
}

.detail-swipe-track {
  display: flex;
  transition: transform 0.35s cubic-bezier(.4,0,.2,1);
  will-change: transform;
}

.detail-swipe-slide {
  flex: 0 0 100%;
  width: 100%;
  aspect-ratio: 5 / 4;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.detail-swipe-slide.is-hero {
  background: var(--bg-elev);
}

.detail-swipe-slide img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}

.detail-swipe-slide:not(.is-hero) img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-swipe-slide .tile-mark {
  max-width: 70%;
  max-height: 70%;
  object-fit: contain;
}

.detail-swipe-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  padding: 12px 0 4px;
}

.detail-swipe-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--border);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s, transform 0.2s;
}

.detail-swipe-dot.active {
  background: var(--accent);
  transform: scale(1.3);
}

/* Desktop: keep old layout visible, hide swipe dots */
@media (min-width: 801px) {
  .detail-swipe-dots { display: none; }
}

/* Mobile: hero slightly smaller aspect ratio */
@media (max-width: 800px) {
  .detail-swipe-slide {
    aspect-ratio: 4 / 3;
  }
  .detail-swipe-slide .tile-mark {
    max-width: 75%;
    max-height: 75%;
  }
}

/* ── Final mobile overrides ── */
@media screen and (max-width: 800px) {
  body .detail-wrap { padding: 0 0 80px !important; overflow-x: hidden !important; max-width: 100vw !important; }
  body .detail-back-row { padding: 16px 16px 0 !important; }
  body .detail { padding: 16px !important; grid-template-columns: 1fr !important; gap: 24px !important; }
  body .sidebar .sidebar-brand .brand-glyph { display: none !important; }
  body .sidebar .brand-wordmark { display: none !important; }
  body .bid-ticker { display: block !important; }
  body .nav-item { padding: 10px 0 !important; font-size: 16px !important; line-height: 1.2 !important; }
  body .sidebar { overflow-y: auto !important; }
  body .filterbar { position: sticky !important; top: 56px !important; z-index: 20 !important; background: var(--bg) !important; padding: 12px 16px !important; }
  body .filter-dropdown-trigger { background: var(--accent) !important; border-color: var(--accent) !important; color: var(--accent-ink) !important; }
  body .filter-dropdown-current { color: var(--accent-ink) !important; }
  body .filter-dropdown-caret { border-color: var(--accent-ink) !important; }
  body .filter-dropdown-caret::before { border-color: var(--accent-ink) !important; }
}
/* ── Logo image fit in hero slide ── */
body .detail-swipe-slide.is-hero .tile-mark {
  max-width: 80% !important;
  max-height: 80% !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
  display: block !important;
}
body .detail-swipe-slide.is-hero .tile-mark {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: cover !important;
}
/* ── Desktop: vertical image stack, mobile: hide it ── */
.detail-desktop-images {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

.detail-gallery-desktop {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.detail-gallery-desktop .detail-gallery-item {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--r-lg);
  overflow: hidden;
}

.detail-gallery-desktop .detail-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Mobile: hide desktop stack, show swipe */
@media (max-width: 800px) {
  .detail-desktop-images { display: none !important; }
  .detail-swipe { display: block; }
}

/* Desktop: hide swipe, show stack */
@media (min-width: 801px) {
  .detail-swipe { display: none !important; }
  .detail-desktop-images { display: flex !important; }
}
/* ── Hide mobile CTA bar on contact page ── */
.page-template-contact .mobile-cta-bar { display: none !important; }

body .detail-copyright {
  position: absolute;
  top: 14px;
  left: 16px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(0,0,0,0.75);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px !important;
  font-family: Arial, sans-serif;
  padding-top: 1px;
  z-index: 3;
}
.detail-name sup,
.detail-name .copyright-mark {
  font-size: 0.35em !important;
  vertical-align: super;
  font-style: normal;
}
.tile-copyright {
  position: absolute;
  top: 14px;
  left: 14px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(0,0,0,0.75);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-family: Arial, sans-serif;
  padding-top: 2px;
  z-index: 3;
}
.sort.active {
  background: var(--accent);
  color: var(--accent-ink);
  border-color: var(--accent);
}
.tile-corner { display: none !important; }
/* ── Custom filter dropdown ──────────────────────────────────── */
.filter-dropdown { display: none; }

/* Desktop sticky filterbar */
@media (min-width: 801px) {
  .filter-select-wrap { display: none !important; }
  .filter-dropdown { display: none !important; }
}

/* Mobile: sticky filterbar + custom dropdown */
@media (max-width: 800px) {
  .filterbar {
    position: fixed !important;
    top: 56px !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 45 !important;
    background: color-mix(in oklab, var(--bg) 97%, transparent) !important;
    backdrop-filter: blur(10px) !important;
    padding: 12px 16px !important;
    border-bottom: 1px solid var(--border-soft) !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 10px !important;
    overflow: visible !important;
  }
  /* Push catalog down to account for fixed filterbar */
  .catalog {
    margin-top: 80px !important;
  }
  .filterbar-left {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 8px !important;
    width: 100% !important;
  }
  .filterbar .chips { display: none !important; }
  .filterbar-right { display: none !important; }
  .filter-select-wrap { display: none !important; }

  /* Show custom dropdown */
  .filter-dropdown {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
    width: 100% !important;
  }
  .filter-dropdown-trigger {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    width: 100% !important;
    background: var(--accent) !important;
    border: none !important;
    border-radius: 12px !important;
    padding: 14px 16px !important;
    color: var(--accent-ink) !important;
    cursor: pointer;
    text-align: left;
  }
  .filter-dropdown-label {
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: color-mix(in oklab, var(--accent-ink) 70%, transparent);
    flex: none;
  }
  .filter-dropdown-current {
    flex: 1;
    display: inline-flex;
    align-items: baseline;
    gap: 8px;
    font-family: var(--serif);
    font-style: italic;
    font-size: 20px;
    line-height: 1;
    color: var(--accent-ink);
    overflow: hidden;
  }
  .filter-dropdown-name {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .filter-dropdown-ct {
    font-family: var(--mono);
    font-style: normal;
    font-size: 11px;
    color: var(--accent-ink);
    opacity: 0.7;
    letter-spacing: 0.06em;
  }
  .filter-dropdown-caret {
    flex: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 1.5px solid var(--accent-ink);
    position: relative;
    transition: transform .25s;
  }
  .filter-dropdown-caret::before {
    content: "";
    position: absolute;
    left: 50%; top: 50%;
    width: 7px; height: 7px;
    border-right: 1.5px solid var(--accent-ink);
    border-bottom: 1.5px solid var(--accent-ink);
    transform: translate(-50%, -68%) rotate(45deg);
  }
  .filter-dropdown.is-open .filter-dropdown-caret {
    transform: rotate(180deg);
  }
  .filter-dropdown-panel {
    position: absolute;
    top: calc(100% + 8px);
    left: 0; right: 0;
    z-index: 35;
    background: var(--bg-elev);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 6px;
    box-shadow: 0 18px 50px -16px rgba(0,0,0,.6);
    max-height: 60vh;
    overflow-y: auto;
    opacity: 0;
    transform: translateY(-6px);
    pointer-events: none;
    transition: opacity .2s, transform .2s;
  }
  .filter-dropdown.is-open .filter-dropdown-panel {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
  .filter-dropdown-option {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    padding: 13px 14px !important;
    background: none !important;
    border: 0 !important;
    border-radius: 10px !important;
    color: var(--text-2) !important;
    font-family: var(--sans) !important;
    font-size: 15px !important;
    text-align: left !important;
    cursor: pointer;
    transition: background .15s, color .15s;
  }
  .filter-dropdown-option:hover {
    background: var(--bg-elev-2) !important;
    color: var(--text) !important;
  }
  .filter-dropdown-option.is-active {
    background: color-mix(in oklab, var(--accent) 14%, transparent) !important;
    color: var(--accent) !important;
  }
  .filter-dropdown-option-name { flex: 1; }
  .filter-dropdown-option-ct {
    font-family: var(--mono);
    font-size: 11px;
    color: var(--text-faint);
  }
  .filter-dropdown-option.is-active .filter-dropdown-option-ct { color: var(--accent); }
}

/* ── Sticky filterbar on mobile ── */
@media (max-width: 800px) {
  .filterbar.is-sticky {
    position: fixed !important;
    top: 56px !important;
    left: 0 !important;
    right: 0 !important;
    width: 100vw !important;
    z-index: 999 !important;
    background: var(--bg) !important;
    border-bottom: 1px solid var(--border-soft) !important;
    padding: 10px 16px !important;
    box-sizing: border-box !important;
    overflow: visible !important;
  }
}
#mcBackTop {
  position: fixed;
  bottom: 30px;
  right: 20px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-ink);
  border: none;
  font-size: 18px;
  cursor: pointer;
z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
  transition: opacity .2s;
}
#mcBackTop.visible {
  display: flex;
}
.product-item-wrap[data-product-id="1726"] .jsOrderLogoShow {
  display: none !important;
}

.product-item-wrap[data-product-id="1726"]:hover::after {
  content: "View →";
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #1a1a00;
  background: #eadd24;
  padding: 10px 20px;
  border-radius: 6px;
  white-space: nowrap;
  z-index: 10;
}
.grid-controls {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-right: 12px;
}
.grid-toggle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid #3a3228;
  background: none;
  color: #b0a898;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .15s;
}
.grid-toggle.active,
.grid-toggle:hover {
  background: #eadd24;
  color: #1a1a00;
  border-color: #eadd24;
}
.filterbar-right { display: flex; align-items: center; gap: 10px; }
.grid-controls { display: flex !important; align-items: center; gap: 6px; }
.grid-toggle { display: flex !important; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; border: 1px solid #3a3228; background: none; color: #b0a898; font-size: 16px; cursor: pointer; }
.grid-toggle.active, .grid-toggle:hover { background: #eadd24; color: #1a1a00; border-color: #eadd24; }