/* ------------------------------------------------------------------
   Neeva - design system
   Layout: chalk-white gallery wall, left-aligned editorial grid, art first.
   Palette: chalk (cool off-white), ink, cobalt accent, night for dark bands.
   Type: Instrument Serif for display, Instrument Sans for everything else.
------------------------------------------------------------------- */
:root {
  --paper: #f3f3ef;
  --paper-2: #e9eae5;
  --paper-3: #dfe1db;
  --ink: #121417;
  --ink-2: #5d626a;
  --ink-3: #8e939b;
  --line: rgba(18, 20, 23, 0.14);
  --line-2: rgba(18, 20, 23, 0.07);
  --accent: #1f3d8f;
  --accent-2: #172f70;
  --accent-soft: #e4e9f5;
  --night: #0f1216;
  --night-2: #171b21;
  --night-ink: #ecede8;
  --night-ink-2: #a9adb3;
  --good: #2f6b3a;
  --warn: #8a5a12;
  --shadow: 0 30px 60px -30px rgba(18, 20, 23, 0.35), 0 8px 18px -10px rgba(18, 20, 23, 0.18);
  --shadow-sm: 0 10px 24px -14px rgba(18, 20, 23, 0.3);
  --font-display: "Instrument Serif", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --font-ui: "Instrument Sans", "Helvetica Neue", Arial, system-ui, sans-serif;
  --wrap: 1360px;
  --gutter: clamp(16px, 4vw, 48px);
  --head-h: 72px;
  --radius: 2px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #121417;
    --paper-2: #191c21;
    --paper-3: #22262c;
    --ink: #ecede8;
    --ink-2: #a9adb3;
    --ink-3: #7b8088;
    --line: rgba(236, 237, 232, 0.16);
    --line-2: rgba(236, 237, 232, 0.08);
    --accent: #93aaf0;
    --accent-2: #b4c4f5;
    --accent-soft: #1c2438;
    --night: #0a0c0f;
    --night-2: #121519;
    --night-ink: #ecede8;
    --night-ink-2: #a9adb3;
    --shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.7), 0 8px 18px -10px rgba(0, 0, 0, 0.5);
    --shadow-sm: 0 10px 24px -14px rgba(0, 0, 0, 0.6);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #121417;
  --paper-2: #191c21;
  --paper-3: #22262c;
  --ink: #ecede8;
  --ink-2: #a9adb3;
  --ink-3: #7b8088;
  --line: rgba(236, 237, 232, 0.16);
  --line-2: rgba(236, 237, 232, 0.08);
  --accent: #93aaf0;
  --accent-2: #b4c4f5;
  --accent-soft: #1c2438;
  --night: #0a0c0f;
  --night-2: #121519;
  --night-ink: #ecede8;
  --night-ink-2: #a9adb3;
  --shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.7), 0 8px 18px -10px rgba(0, 0, 0, 0.5);
  --shadow-sm: 0 10px 24px -14px rgba(0, 0, 0, 0.6);
  color-scheme: dark;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; text-wrap: balance; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

/* ---------- type ---------- */
.display { font-family: var(--font-display); font-weight: 400; line-height: 1.02; letter-spacing: -0.01em; }
.display-xl { font-size: clamp(2.8rem, 6.2vw, 5.6rem); }
.display-l { font-size: clamp(2.2rem, 4.2vw, 3.6rem); }
.display-m { font-size: clamp(1.7rem, 2.8vw, 2.4rem); }
.display-s { font-size: clamp(1.35rem, 2vw, 1.7rem); line-height: 1.15; }
.display em, .display i { font-style: italic; }
.eyebrow { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-2); }
.eyebrow--accent { color: var(--accent); }
.lede { font-size: clamp(1.05rem, 1.5vw, 1.25rem); line-height: 1.55; color: var(--ink-2); max-width: 36em; }
.small { font-size: 0.85rem; color: var(--ink-2); }
.muted { color: var(--ink-2); }
.num { font-variant-numeric: tabular-nums; }
.prose { max-width: 66ch; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-family: var(--font-display); font-size: clamp(1.6rem, 2.6vw, 2.2rem); line-height: 1.1; margin-top: 2em; }
.prose h3 { font-family: var(--font-display); font-size: 1.45rem; line-height: 1.2; margin-top: 1.6em; }
.prose p { color: var(--ink); }
.prose ul { list-style: disc; padding-left: 1.2em; }
.prose li + li { margin-top: 0.4em; }
.prose a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--ink-3); }
.prose a:hover { text-decoration-color: var(--accent); color: var(--accent); }
.prose strong { font-weight: 600; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2.4em 0; }
.prose blockquote { margin: 1.5em 0; padding-left: 1.2em; border-left: 2px solid var(--accent); font-family: var(--font-display); font-size: 1.35rem; line-height: 1.3; }

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: 920px; }
.section { padding-block: clamp(56px, 8vw, 112px); }
.section--tight { padding-block: clamp(32px, 5vw, 64px); }
.section--night { background: var(--night); color: var(--night-ink); }
.section--night .eyebrow { color: var(--night-ink-2); }
.section--night .lede, .section--night .muted, .section--night .small { color: var(--night-ink-2); }
.section--stone { background: var(--paper-2); }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px 32px; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head .lede { margin-top: 10px; }
.grid { display: grid; gap: clamp(20px, 3vw, 40px); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1100px) { .grid-4 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 860px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; } }
.stack > * + * { margin-top: var(--stack, 16px); }
.cluster { display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: center; }
.rule { border: 0; border-top: 1px solid var(--line); margin: 0; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 24px; border-radius: var(--radius);
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  border: 1px solid var(--ink); color: var(--ink); background: transparent;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease);
  white-space: nowrap;
}
.btn:hover { background: var(--ink); color: var(--paper); }
.btn-primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-2); border-color: var(--accent-2); color: #fff; }
:root[data-theme="dark"] .btn-primary, :root[data-theme="dark"] .btn-primary:hover { color: #0f1216; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .btn-primary, :root:not([data-theme="light"]) .btn-primary:hover { color: #0f1216; } }
.btn-light { border-color: var(--night-ink); color: var(--night-ink); }
.btn-light:hover { background: var(--night-ink); color: var(--night); }
.btn-block { width: 100%; }
.btn-lg { min-height: 56px; padding-inline: 32px; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; }
.btn-text { display: inline-flex; align-items: center; gap: 8px; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; border-bottom: 1px solid currentColor; padding-bottom: 3px; }
.btn-text:hover { color: var(--accent); }
.btn-text svg { width: 14px; height: 14px; transition: transform 0.25s var(--ease); }
.btn-text:hover svg { transform: translateX(3px); }
.icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; position: relative; }
.icon-btn:hover { background: var(--paper-2); }
.icon-btn svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.5; }
.count { position: absolute; top: 4px; right: 2px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 8px; background: var(--accent); color: #fff; font-size: 0.62rem; font-weight: 600; line-height: 16px; text-align: center; }
.count[data-n="0"] { display: none; }

/* ---------- header ---------- */
.ticker { background: var(--night); color: var(--night-ink-2); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; text-align: center; padding: 9px var(--gutter); }
.ticker b { color: var(--night-ink); font-weight: 600; }
.ticker span + span::before { content: "·"; margin: 0 12px; opacity: 0.5; }
@media (max-width: 720px) { .ticker span:nth-child(n+3) { display: none; } }
@media (max-width: 560px) { .ticker span:nth-child(n+2) { display: none; } }
.site-head {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 40;
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  backdrop-filter: saturate(140%) blur(14px); -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line-2);
}
.site-head .wrap { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: var(--head-h); gap: 16px; }
.brand { display: inline-flex; align-items: baseline; gap: 10px; }
.brand__name { font-family: var(--font-display); font-size: 1.7rem; letter-spacing: 0.01em; line-height: 1; }
.brand__sub { font-size: 0.62rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-2); }
.nav { display: flex; gap: clamp(18px, 2.4vw, 36px); justify-content: center; }
.nav a { font-size: 0.82rem; font-weight: 500; letter-spacing: 0.04em; padding: 6px 0; border-bottom: 1px solid transparent; transition: border-color 0.2s; }
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--ink); }
.head-actions { display: flex; justify-content: flex-end; align-items: center; gap: 2px; }
.burger { display: none; }
@media (max-width: 900px) {
  .site-head .wrap { grid-template-columns: auto 1fr; }
  .nav { display: none; }
  .burger { display: inline-flex; }
}
.menu-panel { position: fixed; inset: 0; z-index: 60; background: var(--paper); padding: 24px var(--gutter); overflow: auto; }
.menu-panel .menu-top { display: flex; justify-content: space-between; align-items: center; min-height: var(--head-h); }
.menu-panel nav a { display: block; font-family: var(--font-display); font-size: 2.4rem; line-height: 1.25; padding: 6px 0; border-bottom: 1px solid var(--line-2); }
.menu-panel .menu-foot { margin-top: 28px; display: grid; gap: 10px; }
.menu-panel .menu-foot a { font-size: 0.9rem; color: var(--ink-2); }

/* ---------- hero ---------- */
.hero { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 72px); align-items: center; padding-block: clamp(40px, 6vw, 88px); }
.hero__copy { display: grid; gap: 22px; }
.hero__copy .display { max-width: 11em; }
.hero__art { position: relative; min-height: 420px; }
.hero__main { position: relative; z-index: 1; margin-left: auto; width: 82%; box-shadow: var(--shadow); }
.hero__aside { position: absolute; left: 0; bottom: -8%; width: 34%; box-shadow: var(--shadow); z-index: 2; border: 6px solid var(--paper); }
.hero__main img, .hero__aside img { width: 100%; height: auto; }
.hero__caption { position: absolute; right: 0; bottom: -34px; font-size: 0.72rem; color: var(--ink-3); letter-spacing: 0.06em; }
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .hero__art { min-height: 0; margin-bottom: 40px; }
  .hero__main { width: 90%; }
  .hero__aside { width: 36%; bottom: -24px; }
  .hero__caption { bottom: -50px; }
}

/* ---------- trust bar ---------- */
.trust { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trust ul { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.trust li { display: flex; align-items: center; gap: 12px; padding: 18px 16px; font-size: 0.8rem; font-weight: 500; letter-spacing: 0.02em; border-left: 1px solid var(--line-2); }
.trust li:first-child { border-left: 0; }
.trust svg { width: 22px; height: 22px; stroke: var(--accent); fill: none; stroke-width: 1.4; flex: none; }
@media (max-width: 900px) { .trust ul { grid-template-columns: repeat(3, minmax(0, 1fr)); } .trust li:nth-child(4) { border-left: 0; } }
@media (max-width: 560px) { .trust ul { grid-template-columns: 1fr 1fr; } .trust li { padding: 14px 8px; font-size: 0.74rem; } .trust li:nth-child(odd) { border-left: 0; } .trust li:nth-child(4) { border-left: 1px solid var(--line-2); } }

/* ---------- cards ---------- */
.art-card { display: grid; gap: 14px; position: relative; }
.art-card__media { position: relative; overflow: hidden; background: var(--paper-2); aspect-ratio: 4 / 5; }
.art-card__media img { width: 100%; height: 100%; object-fit: cover; transition: opacity 0.5s var(--ease), transform 0.9s var(--ease); }
.art-card__media .alt { position: absolute; inset: 0; opacity: 0; }
.art-card:hover .art-card__media .alt { opacity: 1; }
.art-card:hover .art-card__media .main { transform: scale(1.03); }
.art-card__meta { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; align-items: baseline; }
.art-card__title { font-family: var(--font-display); font-size: 1.3rem; line-height: 1.15; }
.art-card__sub { grid-column: 1; font-size: 0.78rem; color: var(--ink-2); letter-spacing: 0.02em; }
.art-card__price { grid-column: 2; grid-row: 1; font-size: 0.9rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.art-card__edition { grid-column: 2; font-size: 0.72rem; color: var(--ink-3); text-align: right; white-space: nowrap; }
.art-card .save { position: absolute; top: 10px; right: 10px; z-index: 2; width: 36px; height: 36px; border-radius: 50%; background: color-mix(in srgb, var(--paper) 80%, transparent); display: inline-flex; align-items: center; justify-content: center; opacity: 0; transition: opacity 0.25s; }
.art-card:hover .save, .save[aria-pressed="true"] { opacity: 1; }
.save svg { width: 18px; height: 18px; stroke: var(--ink); fill: none; stroke-width: 1.5; }
.save[aria-pressed="true"] svg { fill: var(--accent); stroke: var(--accent); }
.badge { position: absolute; top: 12px; left: 12px; z-index: 2; font-size: 0.62rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; padding: 6px 9px; background: var(--paper); color: var(--ink); }
.badge--low { background: var(--ink); color: var(--paper); }
.badge--preview { background: var(--accent-soft); color: var(--accent); }
.art-card--landscape .art-card__media { aspect-ratio: 4 / 5; }
.art-card--landscape .art-card__media img.main { object-fit: contain; padding: 5%; background: var(--paper-2); }
.art-card[data-collection="cosmos"] .art-card__media { background: var(--night); }
.art-card[data-collection="cosmos"] .art-card__media img.main { background: var(--night); }

/* ---------- collection tiles ---------- */
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2.5vw, 32px); }
.tile { position: relative; display: block; overflow: hidden; background: var(--paper-2); aspect-ratio: 4 / 3; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.tile:hover img { transform: scale(1.04); }
.tile__text { position: absolute; left: 0; right: 0; bottom: 0; padding: clamp(18px, 3vw, 32px); color: #fff; background: linear-gradient(to top, rgba(15, 18, 22, 0.72), rgba(15, 18, 22, 0)); display: grid; gap: 6px; }
.tile__text .eyebrow { color: rgba(255, 255, 255, 0.75); }
.tile__text .display { color: #fff; }
.tile__text p { color: rgba(255, 255, 255, 0.85); font-size: 0.9rem; }
@media (max-width: 720px) { .tiles { grid-template-columns: 1fr; } }
.tiles--3 { grid-template-columns: repeat(3, 1fr); }
.tiles--3 .tile { aspect-ratio: 4 / 5; }
@media (max-width: 860px) { .tiles--3 { grid-template-columns: 1fr; } .tiles--3 .tile { aspect-ratio: 4 / 3; } }
.paper-panel { width: 100%; aspect-ratio: 4 / 5; background: var(--paper-2); border: 1px solid var(--line); display: grid; place-items: center; text-align: center; font-family: var(--font-display); font-size: 1.4rem; color: var(--ink-3); background-image: repeating-linear-gradient(0deg, transparent 0 27px, var(--line-2) 27px 28px); }
.paper-panel small { display: block; font-family: var(--font-ui); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; margin-top: 8px; }
.paper-panel--tall { aspect-ratio: 2 / 3; }
@media (max-width: 720px) { .process .paper-panel { aspect-ratio: 16 / 10; } }

/* ---------- process ---------- */
.process { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); }
.process figure { margin: 0; display: grid; gap: 14px; }
.process figure img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: var(--paper-2); }
.process .step { font-family: var(--font-display); font-size: 1.1rem; color: var(--ink-3); }
.process h3 { font-family: var(--font-display); font-size: 1.5rem; line-height: 1.15; }
.process p { font-size: 0.95rem; color: var(--ink-2); max-width: 34em; }
@media (max-width: 720px) { .process { grid-template-columns: 1fr; } .process figure img { aspect-ratio: 16 / 10; } }

/* ---------- split (image + copy) ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.split--reverse > :first-child { order: 2; }
.split__copy { display: grid; gap: 20px; }
.split__media img { width: 100%; box-shadow: var(--shadow); }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split--reverse > :first-child { order: 0; } }

/* ---------- journal ---------- */
.post-card { display: grid; gap: 12px; }
.post-card img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; background: var(--paper-2); }
.post-card h3 { font-family: var(--font-display); font-size: 1.5rem; line-height: 1.15; }
.post-card p { color: var(--ink-2); font-size: 0.95rem; }
.article-head { padding-block: clamp(32px, 6vw, 80px) clamp(24px, 4vw, 48px); display: grid; gap: 18px; max-width: 760px; }
.article-hero { width: 100%; max-width: 920px; aspect-ratio: 16 / 9; object-fit: cover; margin-bottom: clamp(28px, 4vw, 56px); }

/* ---------- newsletter ---------- */
.newsletter { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.newsletter form { display: grid; grid-template-columns: 1fr auto; gap: 10px; }
.newsletter input { min-height: 48px; }
@media (max-width: 760px) { .newsletter { grid-template-columns: 1fr; } .newsletter form { grid-template-columns: 1fr; } }

/* ---------- forms ---------- */
.field { display: grid; gap: 6px; }
.field label { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-2); }
.field .hint { font-size: 0.8rem; color: var(--ink-3); }
input[type="text"], input[type="email"], input[type="tel"], input[type="number"], input[type="search"], textarea, select, .input {
  width: 100%; min-height: 46px; padding: 10px 14px; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--paper); color: var(--ink); transition: border-color 0.2s;
}
textarea { min-height: 140px; resize: vertical; }
input:focus, textarea:focus, select:focus { border-color: var(--ink); outline: none; }
select { appearance: none; -webkit-appearance: none; padding-right: 40px; background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .span-2 { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 0.9rem; color: var(--ink-2); }
.check input { margin-top: 4px; }
.notice { padding: 14px 16px; border: 1px solid var(--line); border-left: 3px solid var(--accent); background: var(--paper-2); font-size: 0.9rem; }
.notice--ok { border-left-color: var(--good); }
.notice--warn { border-left-color: var(--warn); }
.file-drop { border: 1px dashed var(--line); padding: 22px; text-align: center; font-size: 0.9rem; color: var(--ink-2); background: var(--paper-2); }
.file-drop input { display: block; margin: 10px auto 0; }

/* ---------- footer ---------- */
.site-foot { background: var(--night); color: var(--night-ink-2); padding-block: clamp(48px, 6vw, 80px) 32px; }
.site-foot .brand__name { color: var(--night-ink); }
.site-foot .brand__sub { color: var(--night-ink-2); }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: clamp(24px, 4vw, 64px); }
.foot-grid h4 { font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--night-ink); margin-bottom: 14px; }
.foot-grid a { display: block; padding: 4px 0; font-size: 0.9rem; }
.foot-grid a:hover { color: var(--night-ink); }
.foot-grid p { font-size: 0.9rem; max-width: 34em; }
.foot-legal { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.1); display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 0.75rem; }
.foot-legal a:hover { color: var(--night-ink); }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-grid > :first-child { grid-column: 1 / -1; } }

/* ---------- shop ---------- */
.shop-head { padding-block: clamp(28px, 5vw, 64px) 20px; display: grid; gap: 14px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding-block: 16px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: clamp(24px, 3vw, 40px); }
.filters .label { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); margin-right: 6px; }
.chip { font-size: 0.78rem; font-weight: 500; padding: 7px 12px; border: 1px solid var(--line); border-radius: 999px; transition: all 0.2s; }
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.filters .sort { margin-left: auto; display: flex; align-items: center; gap: 8px; font-size: 0.8rem; color: var(--ink-2); }
.filters .sort select { min-height: 36px; padding: 4px 34px 4px 10px; font-size: 0.82rem; width: auto; }
.shop-count { font-size: 0.8rem; color: var(--ink-3); }
.empty { padding: 60px 0; text-align: center; color: var(--ink-2); }
@media (max-width: 720px) { .filters .sort { margin-left: 0; width: 100%; } }

/* ---------- artwork page ---------- */
.pdp { display: grid; grid-template-columns: minmax(0, 7fr) minmax(320px, 5fr); gap: clamp(28px, 4vw, 64px); padding-block: clamp(20px, 3vw, 40px) clamp(40px, 6vw, 80px); align-items: start; }
.gallery { display: grid; gap: 12px; }
.gallery__main { position: relative; background: var(--paper-2); overflow: hidden; }
.gallery__main img { width: 100%; height: auto; display: block; }
.gallery__main .zoom-hint { position: absolute; right: 12px; bottom: 12px; font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-2); background: color-mix(in srgb, var(--paper) 85%, transparent); padding: 6px 9px; }
.gallery__thumbs { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
.gallery__thumbs button { aspect-ratio: 1; overflow: hidden; border: 1px solid transparent; background: var(--paper-2); }
.gallery__thumbs button[aria-current="true"] { border-color: var(--ink); }
.gallery__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.buy { position: sticky; top: calc(var(--head-h) + 20px); display: grid; gap: 22px; }
.buy__title { display: grid; gap: 8px; }
.buy__price { display: flex; align-items: baseline; gap: 12px; font-size: 1.5rem; font-family: var(--font-display); }
.buy__price s { color: var(--ink-3); font-size: 1rem; font-family: var(--font-ui); }
.buy__price .tax { font-size: 0.78rem; color: var(--ink-3); font-family: var(--font-ui); }
.opt { display: grid; gap: 8px; }
.opt__label { display: flex; justify-content: space-between; font-size: 0.74rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-2); }
.opt__label span:last-child { font-weight: 400; text-transform: none; letter-spacing: 0; color: var(--ink-3); }
.seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; border: 1px solid var(--line); }
.seg button { padding: 12px 6px; font-size: 0.78rem; font-weight: 500; border-left: 1px solid var(--line); transition: background 0.2s; }
.seg button:first-child { border-left: 0; }
.seg button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.sizes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.sizes button { padding: 10px 4px; border: 1px solid var(--line); font-size: 0.8rem; line-height: 1.2; display: grid; gap: 2px; }
.sizes button small { font-size: 0.66rem; color: var(--ink-3); }
.sizes button[aria-pressed="true"] { border-color: var(--ink); background: var(--paper-2); }
.sizes button[disabled] { opacity: 0.35; cursor: not-allowed; }
.swatches { display: flex; gap: 10px; }
.swatches button { width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--paper); box-shadow: 0 0 0 1px var(--line); }
.swatches button[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--ink); }
.buy__meta { display: grid; gap: 6px; font-size: 0.82rem; color: var(--ink-2); }
.buy__meta li { display: flex; gap: 10px; align-items: center; }
.buy__meta svg { width: 16px; height: 16px; stroke: var(--accent); fill: none; stroke-width: 1.6; flex: none; }
.edition-line { font-size: 0.82rem; color: var(--ink-2); display: flex; align-items: center; gap: 8px; }
.edition-line .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--good); }
.edition-line .dot--low { background: var(--warn); }
.accordion { border-top: 1px solid var(--line); }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; padding: 16px 0; font-size: 0.82rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: "+"; font-family: var(--font-display); font-size: 1.3rem; color: var(--ink-3); }
.accordion details[open] summary::after { content: "–"; }
.accordion .body { padding: 0 0 18px; font-size: 0.92rem; color: var(--ink-2); max-width: 58ch; }
.accordion .body p + p { margin-top: 0.6em; }
@media (max-width: 960px) { .pdp { grid-template-columns: 1fr; } .buy { position: static; } }
.pdp-rooms { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.pdp-rooms img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--paper-2); }
@media (max-width: 720px) { .pdp-rooms { grid-template-columns: 1fr; } }
.size-guide { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: clamp(20px, 3vw, 40px); align-items: center; }
.size-guide svg { width: 100%; height: auto; }
.size-guide table { width: 100%; border-collapse: collapse; font-size: 0.85rem; }
.size-guide td, .size-guide th { text-align: left; padding: 8px 6px; border-bottom: 1px solid var(--line-2); font-variant-numeric: tabular-nums; }
.size-guide th { font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); font-weight: 600; }
.size-guide tr[data-active="true"] td { color: var(--accent); font-weight: 600; }
@media (max-width: 760px) { .size-guide { grid-template-columns: 1fr; } }

/* ---------- drawer (cart) ---------- */
.drawer-backdrop { position: fixed; inset: 0; background: rgba(15, 18, 22, 0.45); z-index: 70; opacity: 0; pointer-events: none; transition: opacity 0.3s; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(440px, 100vw); background: var(--paper); z-index: 71; transform: translateX(100%); transition: transform 0.4s var(--ease); display: grid; grid-template-rows: auto 1fr auto; padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px); }
body.drawer-open .drawer { transform: none; }
body.drawer-open .drawer-backdrop { opacity: 1; pointer-events: auto; }
body.drawer-open { overflow: hidden; }
.drawer__head { display: flex; justify-content: space-between; align-items: center; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.drawer__body { overflow: auto; padding: 8px 22px; }
.drawer__foot { padding: 18px 22px; border-top: 1px solid var(--line); display: grid; gap: 12px; }
.line-item { display: grid; grid-template-columns: 72px 1fr auto; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line-2); }
.line-item img { width: 72px; height: 90px; object-fit: cover; background: var(--paper-2); }
.line-item h4 { font-family: var(--font-display); font-size: 1.1rem; }
.line-item .opts { font-size: 0.78rem; color: var(--ink-2); margin-top: 2px; }
.line-item .qty { display: inline-flex; border: 1px solid var(--line); margin-top: 10px; }
.line-item .qty button { width: 28px; height: 28px; }
.line-item .qty span { width: 28px; text-align: center; line-height: 28px; font-size: 0.85rem; }
.line-item .remove { font-size: 0.72rem; color: var(--ink-3); margin-left: 12px; text-decoration: underline; }
.line-item .price { font-variant-numeric: tabular-nums; }
.totals { display: grid; gap: 6px; font-size: 0.9rem; }
.totals div { display: flex; justify-content: space-between; }
.totals .grand { font-size: 1.1rem; font-weight: 600; }
.drawer .empty { padding: 40px 0; }

/* ---------- search ---------- */
.search-panel { position: fixed; inset: 0; z-index: 65; background: color-mix(in srgb, var(--paper) 96%, transparent); padding: calc(24px + env(safe-area-inset-top, 0px)) var(--gutter) 24px; overflow: auto; }
.search-panel .wrap { max-width: 760px; }
.search-panel input { font-size: 1.4rem; min-height: 60px; border: 0; border-bottom: 1px solid var(--ink); border-radius: 0; background: transparent; padding-inline: 0; }
.search-results { margin-top: 24px; display: grid; gap: 10px; }
.search-results a { display: grid; grid-template-columns: 56px 1fr auto; gap: 14px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line-2); }
.search-results img { width: 56px; height: 70px; object-fit: cover; background: var(--paper-2); }
.search-results .t { font-family: var(--font-display); font-size: 1.15rem; }
.search-results .s { font-size: 0.78rem; color: var(--ink-2); }

/* ---------- toast ---------- */
.toast { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); transform: translate(-50%, 20px); background: var(--ink); color: var(--paper); padding: 12px 18px; font-size: 0.85rem; z-index: 80; opacity: 0; transition: all 0.3s var(--ease); max-width: calc(100vw - 32px); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- wall tool ---------- */
.wall-tool { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: clamp(20px, 3vw, 40px); align-items: start; }
.wall-controls { display: grid; gap: 18px; position: sticky; top: calc(var(--head-h) + 20px); }
.wall-stage { position: relative; aspect-ratio: 4 / 3; background: var(--paper-2); overflow: hidden; user-select: none; touch-action: none; box-shadow: var(--shadow-sm); }
.wall-stage img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.wall-stage .piece { position: absolute; left: 50%; top: 42%; transform: translate(-50%, -50%); cursor: grab; box-shadow: 0 30px 50px -22px rgba(0, 0, 0, 0.5), 0 6px 14px -8px rgba(0, 0, 0, 0.35); background: #fff; }
.wall-stage .piece img { width: 100%; height: 100%; display: block; object-fit: cover; }
.wall-stage .piece:active { cursor: grabbing; }
.wall-stage .scale { position: absolute; left: 12px; bottom: 12px; font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-2); background: color-mix(in srgb, var(--paper) 85%, transparent); padding: 6px 9px; }
.room-picks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.room-picks button { aspect-ratio: 4 / 3; overflow: hidden; border: 1px solid transparent; }
.room-picks button[aria-pressed="true"] { border-color: var(--ink); }
.room-picks img { width: 100%; height: 100%; object-fit: cover; }
input[type="range"] { width: 100%; accent-color: var(--accent); }
@media (max-width: 860px) { .wall-tool { grid-template-columns: 1fr; } .wall-controls { position: static; } }

/* ---------- certificate ---------- */
.cert { border: 1px solid var(--line); padding: clamp(24px, 4vw, 48px); background: var(--paper); max-width: 720px; display: grid; gap: 18px; position: relative; }
.cert::before { content: ""; position: absolute; inset: 10px; border: 1px solid var(--line-2); pointer-events: none; }
.cert dl { display: grid; grid-template-columns: max-content 1fr; gap: 8px 24px; font-size: 0.9rem; }
.cert dt { color: var(--ink-3); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; padding-top: 3px; }
.cert .sig { font-family: var(--font-display); font-style: italic; font-size: 1.6rem; }

/* ---------- misc ---------- */
.breadcrumb { font-size: 0.78rem; color: var(--ink-3); display: flex; gap: 8px; flex-wrap: wrap; padding-top: 16px; }
.breadcrumb a:hover { color: var(--ink); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 20px; padding: 18px 0; font-family: var(--font-display); font-size: 1.3rem; line-height: 1.2; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; color: var(--ink-3); flex: none; }
.faq-list details[open] summary::after { content: "–"; }
.faq-list .body { padding-bottom: 20px; color: var(--ink-2); max-width: 64ch; }
.page-head { padding-block: clamp(32px, 6vw, 80px) clamp(24px, 4vw, 48px); display: grid; gap: 16px; max-width: 820px; }
.two-col { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; } }
.sidebar-card { border: 1px solid var(--line); padding: 24px; display: grid; gap: 12px; font-size: 0.9rem; color: var(--ink-2); position: sticky; top: calc(var(--head-h) + 20px); }
.sidebar-card h3 { font-family: var(--font-display); font-size: 1.3rem; color: var(--ink); }
.marquee-colours { display: flex; gap: 6px; }
.marquee-colours i { width: 14px; height: 14px; border-radius: 50%; display: inline-block; border: 1px solid var(--line); }
.reveal { opacity: 1; }
