body{margin:0}[hidden]{display:none!important}img{max-width:100%}
/* Layout: gallery-shop masthead around the hand-drawn logo, a two-column consign intro, the intake form as numbered "piece" cards (pieces really are counted), then a visit block.
   Palette follows the logo: black ink on white paper, hairlines, one warm brass detail. */
:root {
  --paper: #F6F6F4;
  --surface: #FFFFFF;
  --ink: #161616;
  --muted: #5F5F5C;
  --line: #DCDCD8;
  --accent: #161616;      /* the logo's ink */
  --accent-ink: #FFFFFF;
  --brass: #8E713C;
  --error: #A3362B;
  --focus: #161616;
  --display: "Bodoni Moda", "Didot", "Bodoni 72", Georgia, serif;
  --body: "Jost", "Futura", "Century Gothic", "Helvetica Neue", Arial, sans-serif;
  --step--1: 0.8125rem;
  --step-0: 1rem;
  --step-1: 1.25rem;
  --step-2: 1.75rem;
  --step-3: clamp(2.25rem, 5vw, 3.5rem);
  --radius: 4px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #121212; --surface: #1A1A1A; --ink: #EDEDEA; --muted: #A2A29D;
    --line: #2E2E2C; --accent: #EDEDEA; --accent-ink: #121212; --brass: #C9A866;
    --error: #E58A7F; --focus: #EDEDEA; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #121212; --surface: #1A1A1A; --ink: #EDEDEA; --muted: #A2A29D;
  --line: #2E2E2C; --accent: #EDEDEA; --accent-ink: #121212; --brass: #C9A866;
  --error: #E58A7F; --focus: #EDEDEA; color-scheme: dark;
}

* { box-sizing: border-box; }
body { background: var(--paper); color: var(--ink); font-family: var(--body); font-size: var(--step-0); line-height: 1.6; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--display); font-weight: 500; line-height: 1.15; text-wrap: balance; margin: 0; }
p { margin: 0; }
.wrap { max-width: 1120px; margin-inline: auto; padding-inline: max(16px, 4vw); }

/* Announcement strip */
.strip { background: var(--accent); color: var(--accent-ink); text-align: center; font-size: var(--step--1); letter-spacing: .12em; text-transform: uppercase; padding-block: .55rem; }
.strip a { text-decoration: none; border-bottom: 1px solid currentColor; }

/* Masthead */
.masthead { border-bottom: 1px solid var(--line); background: var(--surface); }
.masthead .wrap { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1rem; padding-block: 1.25rem; }
.mast-side { font-size: var(--step--1); color: var(--muted); }
.mast-side.right { text-align: right; }
.wordmark { display: grid; justify-items: center; gap: .35rem; text-decoration: none; }
/* cleaned-up logo on its own white rounded tile: stays black-on-white in light and dark themes */
.wordmark img { width: clamp(150px, 20vw, 180px); height: auto; aspect-ratio: 1; display: block; background: #FFFFFF; border-radius: 16%; border: 1px solid var(--line); box-shadow: 0 2px 10px rgba(0,0,0,.06); }
.wordmark small { display: block; font-size: .6875rem; letter-spacing: .32em; text-transform: uppercase; color: var(--brass); }
nav.main { border-top: 1px solid var(--line); }
nav.main ul { list-style: none; margin: 0; padding: 0; display: flex; justify-content: center; flex-wrap: wrap; gap: .25rem 2rem; padding-block: .7rem; }
nav.main a { text-decoration: none; font-size: var(--step--1); letter-spacing: .14em; text-transform: uppercase; padding-block: .2rem; }
nav.main a[aria-current="page"] { border-bottom: 1px solid var(--brass); }
@media (max-width: 640px) {
  .masthead .wrap { grid-template-columns: 1fr; text-align: center; }
  .mast-side, .mast-side.right { text-align: center; }
  .mast-side.right { display: none; }
}

/* Brace headings: a nod to the shop-window labels */
.brace { font-family: var(--display); font-style: italic; color: var(--brass); }

/* Intro */
.intro { padding-block: clamp(2.5rem, 6vw, 4.5rem); display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.intro > * { min-width: 0; }
.intro h1 { font-size: var(--step-3); }
.lede { font-size: var(--step-1); color: var(--muted); max-width: 34ch; margin-top: 1.25rem; line-height: 1.5; }
.intro-cta { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; align-items: center; }
.we-take { background: var(--surface); border: 1px solid var(--line); padding: 1.75rem; }
.we-take h2 { font-size: var(--step-1); margin-bottom: 1rem; }
.we-take ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .1rem; }
.we-take li { display: flex; justify-content: space-between; gap: 1rem; padding-block: .55rem; border-bottom: 1px solid var(--line); }
.we-take li:last-child { border-bottom: 0; }
.we-take li span:last-child { color: var(--muted); font-size: var(--step--1); text-align: right; }
@media (max-width: 820px) { .intro { grid-template-columns: 1fr; } }

/* Steps */
.steps { border-block: 1px solid var(--line); background: var(--surface); }
.steps ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.steps li { padding: 1.75rem 1.5rem; border-left: 1px solid var(--line); display: grid; gap: .5rem; align-content: start; }
.steps li:first-child { border-left: 0; padding-left: 0; }
.steps .n { font-family: var(--display); font-size: var(--step-2); color: var(--brass); line-height: 1; }
.steps h3 { font-family: var(--body); font-size: var(--step-0); font-weight: 600; }
.steps p { color: var(--muted); font-size: .9375rem; }
@media (max-width: 820px) {
  .steps ol { grid-template-columns: 1fr 1fr; }
  .steps li:nth-child(3) { border-left: 0; padding-left: 0; }
  .steps li:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 480px) {
  .steps ol { grid-template-columns: 1fr; }
  .steps li { border-left: 0; padding-left: 0; }
  .steps li + li { border-top: 1px solid var(--line); }
}

/* Form */
.form-section { padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: .5rem 2rem; margin-bottom: 2rem; }
.section-head h2 { font-size: var(--step-2); }
.section-head p { color: var(--muted); max-width: 46ch; }
form { display: grid; gap: 2rem; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.panel { background: var(--surface); border: 1px solid var(--line); padding: clamp(1.25rem, 3vw, 2rem); display: grid; gap: 1.25rem; }
.panel-title { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
.panel-title h3, .panel-title legend { font-family: var(--display); font-size: var(--step-1); font-weight: 500; padding: 0; }
.piece-no { font-family: var(--body); font-size: var(--step--1); letter-spacing: .14em; text-transform: uppercase; color: var(--brass); font-variant-numeric: tabular-nums; }
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem 1.25rem; }
.grid .full { grid-column: 1 / -1; }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 640px) { .grid, .grid-3 { grid-template-columns: 1fr; } }
.field { display: grid; gap: .35rem; min-width: 0; }
label, .label { font-size: var(--step--1); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.opt { font-weight: 400; color: var(--muted); text-transform: none; letter-spacing: 0; }
input[type="text"], input[type="email"], input[type="tel"], input[type="number"], select, textarea {
  width: 100%; font: inherit; color: var(--ink); background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); padding: .7rem .8rem; min-height: 2.9rem;
}
textarea { min-height: 6rem; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.field.invalid input, .field.invalid textarea { border-color: var(--error); }
.err { color: var(--error); font-size: var(--step--1); }
.hint { color: var(--muted); font-size: var(--step--1); }

.choices { display: flex; flex-wrap: wrap; gap: .5rem; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.choice span { display: inline-block; border: 1px solid var(--line); border-radius: 999px; padding: .5rem 1rem; font-size: .9375rem; background: var(--paper); }
.choice input:checked + span { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.choice input:focus-visible + span { outline: 2px solid var(--focus); outline-offset: 2px; }

/* Photo drop */
.drop { border: 1px dashed var(--muted); border-radius: var(--radius); background: var(--paper); padding: 1.25rem; display: grid; gap: 1rem; transition: border-color .15s, background .15s; }
.drop.over { border-color: var(--accent); border-style: solid; }
.drop-cta { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; }
.drop-cta p { color: var(--muted); font-size: .9375rem; }
.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: .6rem; }
.thumbs:empty { display: none; }
.thumb { position: relative; aspect-ratio: 1; max-width: 100%; overflow: hidden; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); }
.thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.thumb button { position: absolute; top: 4px; right: 4px; width: 26px; height: 26px; border-radius: 50%; border: 0; background: rgba(0,0,0,.65); color: #fff; font-size: 15px; line-height: 1; cursor: pointer; }

.btn { font: inherit; font-size: var(--step--1); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; border-radius: var(--radius); padding: .85rem 1.4rem; cursor: pointer; border: 1px solid var(--accent); background: var(--accent); color: var(--accent-ink); text-decoration: none; display: inline-flex; align-items: center; gap: .5rem; }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn.small { padding: .55rem .9rem; }
.btn.text { background: none; border: 0; padding: 0; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; letter-spacing: .06em; }
.btn[disabled] { opacity: .6; cursor: progress; }
.add-row { display: flex; justify-content: center; }
.submit-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; border-top: 1px solid var(--line); padding-top: 1.5rem; }
.submit-row p { color: var(--muted); font-size: .9375rem; max-width: 52ch; }
.form-error { color: var(--error); font-weight: 500; }

.done { background: var(--surface); border: 1px solid var(--line); padding: clamp(1.5rem, 4vw, 3rem); display: grid; gap: 1rem; text-align: center; justify-items: center; }
.done h2 { font-size: var(--step-2); }
.done p { color: var(--muted); max-width: 48ch; }

/* Visit */
.visit { background: var(--accent); color: var(--accent-ink); }
.visit .wrap { padding-block: clamp(2.5rem, 6vw, 4rem); display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 2rem; }
.visit .wrap > * { min-width: 0; }
.visit h2 { font-size: var(--step-3); }
.visit h2 em { font-style: italic; }
.visit .label { opacity: .75; display: block; margin-bottom: .4rem; }
.visit address { font-style: normal; font-size: var(--step-1); line-height: 1.45; }
.visit .contact { display: grid; gap: 1.25rem; align-content: start; }
.visit .contact div { overflow-wrap: anywhere; font-size: var(--step-1); }
.visit a.map { display: inline-block; margin-top: 1rem; font-size: var(--step--1); letter-spacing: .14em; text-transform: uppercase; }
@media (max-width: 820px) { .visit .wrap { grid-template-columns: 1fr; } }

footer { padding-block: 1.5rem; font-size: var(--step--1); color: var(--muted); }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1.5rem; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* ---------- Shared additions ---------- */
.skip { position: absolute; left: -9999px; top: 0; background: var(--accent); color: var(--accent-ink); padding: .6rem 1rem; z-index: 10; }
.skip:focus { left: 16px; top: 16px; }
.page-head { padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(1.5rem, 4vw, 2.5rem); display: grid; gap: 1rem; }
.page-head h1 { font-size: var(--step-3); max-width: 18ch; }
.page-head .lede { margin-top: 0; }
.prose { display: grid; gap: 1.1rem; max-width: 62ch; }
.prose p { color: var(--muted); }
.prose p:first-child { color: var(--ink); font-size: var(--step-1); line-height: 1.5; }

/* ---------- Home / Shop ---------- */
.hero { padding-block: clamp(3rem, 8vw, 6rem); text-align: center; display: grid; justify-items: center; gap: 1.25rem; border-bottom: 1px solid var(--line); }
.hero h1 { font-size: clamp(2.5rem, 7vw, 4.75rem); font-weight: 400; max-width: 16ch; }
.hero h1 em { font-style: italic; }
.hero .lede { margin-top: 0; max-width: 44ch; }
.hero .intro-cta { justify-content: center; margin-top: .75rem; }
.equation { font-size: var(--step--1); letter-spacing: .28em; text-transform: uppercase; color: var(--muted); }
.equation b { font-weight: 500; color: var(--ink); }

.collections { padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.coll-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.coll-grid li { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); }
.coll-grid a { display: grid; gap: .5rem; padding: clamp(1.25rem, 3vw, 2rem); text-decoration: none; height: 100%; transition: background .15s; }
.coll-grid a:hover { background: var(--paper); }
.coll-grid .no { font-size: var(--step--1); letter-spacing: .14em; text-transform: uppercase; color: var(--brass); }
.coll-grid h3 { font-size: var(--step-2); font-weight: 400; }
.coll-grid p { color: var(--muted); font-size: .9375rem; }
@media (max-width: 820px) { .coll-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .coll-grid { grid-template-columns: 1fr; } }

.split { display: grid; grid-template-columns: 1fr 1fr; border-block: 1px solid var(--line); }
.split > div { padding: clamp(2rem, 5vw, 3.5rem) max(16px, 4vw); display: grid; gap: 1rem; align-content: start; min-width: 0; }
.split > div + div { border-left: 1px solid var(--line); background: var(--surface); }
.split h2 { font-size: var(--step-2); }
.split p { color: var(--muted); max-width: 44ch; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } .split > div + div { border-left: 0; border-top: 1px solid var(--line); } }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(2rem, 5vw, 4rem); padding-block: 0 clamp(2.5rem, 6vw, 4.5rem); }
.about-grid > * { min-width: 0; }
.define { background: var(--surface); border: 1px solid var(--line); padding: 1.75rem; display: grid; gap: .75rem; align-content: start; }
.define .word { font-family: var(--display); font-size: var(--step-2); }
.define .pos { font-style: italic; color: var(--muted); font-family: var(--display); }
.define p { color: var(--muted); }
@media (max-width: 820px) { .about-grid { grid-template-columns: 1fr; } }

/* ---------- Visit ---------- */
.visit-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); margin-bottom: clamp(2.5rem, 6vw, 4.5rem); }
.visit-grid > div { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); padding: clamp(1.25rem, 3vw, 2rem); display: grid; gap: .6rem; align-content: start; min-width: 0; overflow-wrap: anywhere; }
.visit-grid h2 { font-family: var(--body); font-size: var(--step--1); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--brass); }
.visit-grid address, .visit-grid .big { font-style: normal; font-size: var(--step-1); line-height: 1.45; }
.visit-grid p { color: var(--muted); }
.copy { font: inherit; font-size: var(--step--1); letter-spacing: .1em; text-transform: uppercase; background: none; border: 0; border-bottom: 1px solid currentColor; color: var(--muted); padding: 0; cursor: pointer; justify-self: start; }
@media (max-width: 820px) { .visit-grid { grid-template-columns: 1fr; } }

/* ---------- Photos ---------- */
.photo-band { margin: 0; }
.photo-band img { display: block; width: 100%; height: clamp(280px, 52vw, 640px); object-fit: cover; }
.wrap-band { max-width: 1120px; margin-inline: auto; padding-inline: max(16px, 4vw); margin-bottom: clamp(2rem, 5vw, 3rem); }
.wrap-band img { height: clamp(240px, 40vw, 480px); }
.gallery-section { padding-block: clamp(2.5rem, 6vw, 4.5rem) 0; }
.gallery { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; gap: clamp(.75rem, 2vw, 1.25rem); }
.gallery figure { margin: 0; display: grid; gap: .5rem; min-width: 0; }
.gallery img { display: block; width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.gallery .tall { grid-row: span 2; }
.gallery .tall img { aspect-ratio: auto; min-height: 100%; }
.gallery figcaption, .about-photo figcaption { font-size: var(--step--1); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.gallery .tall { grid-template-rows: 1fr auto; }
@media (max-width: 640px) {
  .gallery { grid-template-columns: 1fr; }
  .gallery .tall { grid-row: auto; }
  .gallery .tall img { aspect-ratio: 3 / 4; }
}
.about-side { display: grid; gap: 1.5rem; align-content: start; min-width: 0; }
.about-photo { margin: 0; }
.about-photo img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }

/* ---------- Photo header: shop photo behind the logo ---------- */
.masthead { position: relative; isolation: isolate; background: #1B1A18; border-bottom: 0; }
.mast-bg { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 50% 30%; z-index: -2; }
.masthead::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,0,0,.30), rgba(0,0,0,.50)); }
.masthead .wrap { padding-block: clamp(3rem, 9vw, 6rem); }
.masthead .mast-side { color: #FFFFFF; text-shadow: 0 1px 6px rgba(0,0,0,.6); letter-spacing: .08em; }
.wordmark img { border: 0; box-shadow: 0 10px 34px rgba(0,0,0,.40); }
.wordmark small { color: #FFFFFF; text-shadow: 0 1px 6px rgba(0,0,0,.7); margin-top: .35rem; }
nav.main { position: relative; background: var(--surface); border-top: 0; border-bottom: 1px solid var(--line); }
.gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 820px) { .gallery { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .gallery { grid-template-columns: 1fr; } }
.about-photo img { aspect-ratio: 4 / 3; }

/* ---------- Brand from the business card: logo lettering + Furniture Consignment ---------- */
:root { --display: "Bigelow Rules", "Bernard MT Condensed", "Arial Narrow", Georgia, serif; }
/* Bigelow Rules matches the logo's tall, narrow, bouncy serif; it is condensed and single-weight, so headings run larger */
h1, h2, h3, .brace, .define .word, .panel-title legend { font-weight: 400; letter-spacing: .01em; }
.brace, .hero h1 em, .visit h2 em, .define .pos { font-style: normal; }
.hero h1 { font-size: clamp(3.25rem, 9vw, 6.25rem); line-height: 1; }
.page-head h1, .intro h1, .visit h2 { font-size: clamp(3rem, 7vw, 4.75rem); line-height: 1.02; }
.section-head h2, .split h2, .done h2 { font-size: clamp(2.25rem, 4.5vw, 2.9rem); line-height: 1.05; }
.coll-grid h3 { font-size: 2.4rem; line-height: 1; }
.we-take h2, .panel-title legend { font-size: 1.85rem; }
.steps .n { font-size: 2.6rem; }
.brace { font-size: 1.35em; }
/* the wide card logo sits on a white rounded panel over the shop photo */
.wordmark { background: #FFFFFF; border-radius: 18px; padding: clamp(.9rem, 2.2vw, 1.4rem) clamp(1.1rem, 3vw, 2rem); box-shadow: 0 12px 36px rgba(0,0,0,.38); }
.wordmark img { width: clamp(240px, 38vw, 460px); height: auto; aspect-ratio: auto; background: none; border: 0; border-radius: 0; box-shadow: none; }
.masthead .wrap { grid-template-columns: 1fr auto 1fr; }
@media (max-width: 900px) { .masthead .mast-side { display: none; } .masthead .wrap { grid-template-columns: 1fr; justify-items: center; } }

/* Headings: calm, tall serif (Oranienbaum) that echoes the logo's proportions without the bounce; only the logo image keeps the playful lettering */
:root { --display: "Oranienbaum", "Didot", "Bodoni 72", Georgia, serif; }
h1, h2, h3, .brace, .define .word, .panel-title legend { letter-spacing: 0; }
.hero h1 { font-size: clamp(2.75rem, 7.5vw, 5.25rem); line-height: 1.04; }
.page-head h1, .intro h1, .visit h2 { font-size: clamp(2.5rem, 6vw, 4rem); line-height: 1.06; }
.section-head h2, .split h2, .done h2 { font-size: clamp(1.9rem, 3.8vw, 2.4rem); line-height: 1.1; }
.coll-grid h3 { font-size: 2rem; line-height: 1.05; }
.we-take h2, .panel-title legend { font-size: 1.55rem; }
.steps .n { font-size: 2.2rem; }
.brace { font-size: 1.15em; }

/* ---------- Terms ---------- */
.glance { margin: 0 0 clamp(2rem, 5vw, 3.5rem); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.glance > div { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); padding: clamp(1.1rem, 2.5vw, 1.6rem); display: grid; gap: .3rem; align-content: start; min-width: 0; }
.glance dt { font-size: var(--step--1); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--brass); }
.glance dd { margin: 0; font-family: var(--display); font-size: clamp(2rem, 4vw, 2.6rem); line-height: 1.05; font-variant-numeric: tabular-nums; }
.glance p { color: var(--muted); font-size: .9375rem; }
@media (max-width: 820px) { .glance { grid-template-columns: 1fr 1fr; } }
@media (max-width: 420px) { .glance { grid-template-columns: 1fr; } }
.terms-body { display: grid; gap: 0; max-width: 820px; padding-bottom: clamp(2.5rem, 6vw, 4.5rem); }
.term { display: grid; grid-template-columns: 15rem minmax(0, 1fr); gap: .5rem 2rem; padding-block: 1.5rem; border-top: 1px solid var(--line); }
.term h2 { font-size: 1.6rem; line-height: 1.15; grid-row: span 3; }
.term p { color: var(--muted); max-width: 60ch; }
.term a { color: var(--ink); }
@media (max-width: 700px) { .term { grid-template-columns: 1fr; } .term h2 { grid-row: auto; } }
.term-steps, .term-list { margin: 0; padding-left: 1.25rem; display: grid; gap: .6rem; color: var(--muted); max-width: 60ch; }
.term-steps li::marker { font-family: var(--display); color: var(--brass); }
.term-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .3rem 1.5rem; }
@media (max-width: 480px) { .term-list { grid-template-columns: 1fr; } }
.term strong { color: var(--ink); font-weight: 600; }
.term-note { font-style: italic; }
.glance dd { font-size: clamp(1.75rem, 3.6vw, 2.4rem); }

/* Small labels above headings (formerly in braces): quiet uppercase eyebrow */
.brace { font-family: var(--body); font-style: normal; font-size: var(--step--1); font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--brass); }

/* ---------- Admin-managed content ---------- */
.announce { background: var(--brass); color: #FFFFFF; text-align: center; font-size: .9375rem; font-weight: 500; letter-spacing: .04em; padding: .6rem 16px; }
.arrivals { padding-block: clamp(2.5rem, 6vw, 4.5rem) 0; }
.arrivals-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: clamp(1rem, 2.5vw, 1.75rem); }
.arrival { all: unset; box-sizing: border-box; cursor: pointer; display: grid; gap: .35rem; width: 100%; }
.arrival:focus-visible { outline: 2px solid var(--focus); outline-offset: 4px; }
.arrival-photo { position: relative; display: block; aspect-ratio: 1; max-width: 100%; background: var(--surface); border: 1px solid var(--line); overflow: hidden; }
.arrival-photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s; }
.arrival:hover .arrival-photo img { transform: scale(1.03); }
.sold-tag { position: absolute; top: .6rem; left: .6rem; background: var(--ink); color: var(--paper); font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; padding: .25rem .6rem; }
.arrival-no { font-size: var(--step--1); letter-spacing: .14em; text-transform: uppercase; color: var(--brass); font-variant-numeric: tabular-nums; margin-top: .4rem; }
.arrival-title { font-family: var(--display); font-size: 1.4rem; line-height: 1.15; }
.arrival-meta { color: var(--muted); font-size: .9375rem; }
.arrival-price { font-weight: 600; font-variant-numeric: tabular-nums; }
.piece-dialog { border: 0; padding: 0; width: min(960px, calc(100vw - 32px)); max-height: calc(100vh - 32px); background: var(--surface); color: var(--ink); display: none; }
.piece-dialog[open] { display: grid; grid-template-columns: 1.3fr 1fr; }
.piece-dialog::backdrop { background: rgba(0,0,0,.6); }
.dialog-media { background: var(--paper); display: grid; gap: .5rem; align-content: start; padding: 1rem; min-width: 0; }
.dialog-main { width: 100%; aspect-ratio: 1; object-fit: contain; background: var(--surface); }
.dialog-thumbs { display: flex; flex-wrap: wrap; gap: .4rem; }
.dialog-thumbs button { all: unset; cursor: pointer; width: 64px; height: 64px; border: 1px solid var(--line); }
.dialog-thumbs img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dialog-info { padding: clamp(1.25rem, 3vw, 2rem); display: grid; gap: .6rem; align-content: start; overflow-y: auto; }
.dialog-info h2 { font-size: 2rem; }
.dialog-details { color: var(--muted); white-space: pre-line; }
.dialog-ask { border-top: 1px solid var(--line); padding-top: .8rem; color: var(--muted); }
.dialog-close { position: absolute; top: .4rem; right: .6rem; background: none; border: 0; font-size: 2rem; line-height: 1; cursor: pointer; color: var(--ink); z-index: 1; }
@media (max-width: 700px) { .piece-dialog[open] { grid-template-columns: 1fr; overflow-y: auto; } }

/* in-place wording editor (admins only, ?edit=1) */
.editbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .6rem 1rem; padding: .75rem 16px calc(.75rem + env(safe-area-inset-bottom, 0px)); background: var(--surface); border-top: 1px solid var(--line); box-shadow: 0 -6px 24px rgba(0,0,0,.08); }
.editbar .msg { font-size: .9375rem; color: var(--muted); }
body.editing { padding-bottom: 6rem; }
body.editing [data-k] { outline: 1px dashed var(--brass); outline-offset: 4px; cursor: text; }
body.editing [data-k]:focus { outline: 2px solid var(--brass); }

/* ---------- Header v2: the whole photo, logo on top ---------- */
.masthead { background: #1B1A18; }
.masthead::before { display: none; }
.mast-hero { position: relative; }
.mast-hero .mast-bg { position: static; display: block; width: 100%; height: auto; max-width: none; object-fit: initial; z-index: auto; }
.mast-hero::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(0,0,0,.18), rgba(0,0,0,0) 60%); pointer-events: none; }
.mast-hero > .wrap { position: absolute; inset: 0; z-index: 1; display: flex; align-items: center; justify-content: center; padding: 16px; max-width: none; }
.mast-hero .wordmark { padding: clamp(.6rem, 1.8vw, 1.4rem) clamp(.8rem, 2.6vw, 2rem); }
.mast-hero .wordmark img { width: clamp(170px, 34vw, 440px); }

/* ---------- Home: Art · Furniture · Rugs ---------- */
.trio { padding-block: clamp(2.5rem, 7vw, 5rem); text-align: center; display: grid; gap: .9rem; justify-items: center; border-bottom: 1px solid var(--line); }
.trio-words { font-family: var(--display); font-weight: 400; font-size: clamp(2.4rem, 7vw, 4.75rem); line-height: 1.05; letter-spacing: .01em; }
.trio-words span { color: var(--brass); padding-inline: .15em; }
.trio p { color: var(--muted); max-width: 52ch; }

/* ---------- Instagram ---------- */
.ig-link { display: inline-flex; align-items: center; gap: .4em; }
.ig-icon { width: 1.1em; height: 1.1em; flex: none; }
.visit .contact a { color: inherit; }

/* ---------- Piece photo slider ---------- */
.dialog-stage { position: relative; background: var(--surface); user-select: none; }
.dialog-stage .dialog-main { display: block; width: 100%; aspect-ratio: 1; object-fit: contain; }
.stage-nav { position: absolute; top: 0; bottom: 0; width: 50%; border: 0; background: none; cursor: pointer; display: flex; align-items: center; padding: 0 .6rem; color: #FFFFFF; }
.stage-nav.prev { left: 0; justify-content: flex-start; }
.stage-nav.next { right: 0; justify-content: flex-end; }
.stage-nav span { display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 50%; background: rgba(0,0,0,.45); font-size: 1.9rem; line-height: 1; opacity: .8; transition: opacity .15s, background .15s; }
.stage-nav:hover span, .stage-nav:focus-visible span { opacity: 1; background: rgba(0,0,0,.7); }
.stage-nav:focus-visible { outline: 2px solid var(--focus); outline-offset: -4px; }
.stage-count { position: absolute; bottom: .6rem; left: 50%; transform: translateX(-50%); background: rgba(0,0,0,.55); color: #FFFFFF; font-size: .8125rem; padding: .15rem .6rem; border-radius: 999px; font-variant-numeric: tabular-nums; pointer-events: none; }
.dialog-thumbs button[aria-current="true"] { outline: 2px solid var(--ink); outline-offset: 1px; }
.photo-count { position: absolute; bottom: .6rem; right: .6rem; background: rgba(0,0,0,.55); color: #FFFFFF; font-size: .75rem; padding: .15rem .55rem; border-radius: 999px; }
/* whole header photo always fits on the first screen (dark bands at the sides on very wide screens) */
.mast-hero .mast-bg { max-height: calc(100vh - 6.5rem); max-height: calc(100svh - 6.5rem); object-fit: contain; background: #1B1A18; }
