/* ==========================================================================
   WEBSITE999 v4 "Catalogue" - design system
   --------------------------------------------------------------------------
   A fixed design inspired by printed auction catalogues: parchment paper,
   library green, brass rules and Caslon type. There are no per-dealer
   colour or font options. Plain CSS (no framework); mobile first.
   Breakpoints: 640 (sm), 768 (md), 1024 (lg - desktop menu), 1280 (xl).

    1. Tokens            8. Catalogue cards ("lots")   15. Viewing room
    2. Base              9. Catalogue page             16. Article pages
    3. Type             10. Homepage                   17. Contact
    4. Buttons & links  11. Plates & frames            18. Modal & viewer
    5. Header           12. Rails                      19. Motion
    6. Mobile menu      13. Item page
    7. Footer           14. Forms
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
    --paper: #F6F3EC;          /* page background            */
    --paper-2: #EDE8DD;        /* bands, the gallery wall    */
    --surface: #FFFFFF;        /* mats, cards, fields        */
    --ink: #1B1E1C;            /* headings                   */
    --text: #3B3F3C;           /* body text                  */
    --muted: #6B6F69;          /* secondary text             */
    --faint: #979A93;          /* captions, counts           */
    --line: #DED8CB;           /* hairlines                  */
    --line-strong: #C7BFAE;    /* field borders              */
    --green: #1F3D34;          /* library green: buttons     */
    --green-hover: #2A5044;
    --green-deep: #172E27;     /* footer                     */
    --on-green: #EEEADF;
    --on-green-muted: #AEB9B1;
    --brass: #94722F;          /* eyebrows, rules, accents   */
    --brass-soft: #C8AE7B;
    --claret: #8E2B33;         /* the "sold" dot             */

    --font-display: "Libre Caslon Display", "Libre Caslon Text", Georgia, "Times New Roman", serif;
    --font-serif: "Libre Caslon Text", Georgia, "Times New Roman", serif;
    --font-sans: "Hanken Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

    --wrap: 1360px;
    --gutter: clamp(1.1rem, 4vw, 3rem);
    --sticky-h: 4rem;          /* height of whatever sticks to the top */
    --ease: cubic-bezier(.2, .7, .2, 1);
    --shadow: 0 1px 2px rgb(27 30 28 / .05), 0 18px 40px -22px rgb(27 30 28 / .35);
    --shadow-frame: 0 2px 3px rgb(27 30 28 / .05), 0 30px 60px -32px rgb(27 30 28 / .5);
}
@media (min-width: 1024px) {
    :root { --sticky-h: 3.5rem; }
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--sticky-h) + 1.5rem); }
body {
    margin: 0;
    background: var(--paper);
    color: var(--text);
    font-family: var(--font-sans);
    font-size: 1rem;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}
img { max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; margin: 0; cursor: pointer; }
input, select, textarea { font: inherit; }
h1, h2, h3, h4, p, figure, blockquote, dl, dd { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
[hidden] { display: none !important; }
::selection { background: rgb(148 114 47 / .22); color: var(--ink); }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link {
    position: absolute; left: 1rem; top: -4rem; z-index: 300;
    padding: .75rem 1.25rem; background: var(--ink); color: var(--paper);
    font-size: .875rem; text-decoration: none; transition: top .2s;
}
.skip-link:focus { top: 1rem; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
main { display: block; }

/* ---------- 3. Type ---------- */
.eyebrow {
    font-family: var(--font-sans); font-size: .72rem; font-weight: 600; line-height: 1.4;
    letter-spacing: .2em; text-transform: uppercase; color: var(--brass);
}
.label { font-size: .72rem; font-weight: 600; line-height: 1.4; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.display {
    font-family: var(--font-display); font-weight: 400; line-height: 1.06;
    letter-spacing: -.005em; color: var(--ink); text-wrap: balance;
}
.display a { color: inherit; text-decoration: none; }
.display a:hover { color: var(--green); }
.display--xl { font-size: clamp(2.4rem, 1.5rem + 3.6vw, 4.6rem); }
.display--lg { font-size: clamp(2rem, 1.45rem + 2.3vw, 3.4rem); }
.display--md { font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.3rem); line-height: 1.12; }
.lead { font-family: var(--font-serif); font-size: clamp(1.04rem, .98rem + .3vw, 1.18rem); line-height: 1.75; color: var(--muted); }
.ornament { display: flex; align-items: center; gap: .85rem; color: var(--brass-soft); }
.ornament::before, .ornament::after { content: ""; flex: 1; height: 1px; background: currentColor; }
.ornament > span { width: 7px; height: 7px; border: 1px solid currentColor; transform: rotate(45deg); flex-shrink: 0; }
.ornament--center { width: 8.5rem; margin-inline: auto; }
.dropcap::first-letter, .prose--dropcap > p:first-child::first-letter {
    float: left; margin: .06em .1em 0 0;
    font-family: var(--font-display); font-size: 3.45em; line-height: .82; color: var(--green);
}
/* Plain-text descriptions (no paragraphs). Kept separate: older browsers skip :has(). */
.prose--dropcap:not(:has(> p))::first-letter {
    float: left; margin: .06em .1em 0 0;
    font-family: var(--font-display); font-size: 3.45em; line-height: .82; color: var(--green);
}
.count { font-size: .8em; color: var(--faint); font-variant-numeric: tabular-nums; }

/* ---------- 4. Buttons & links ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
    min-height: 3rem; padding: .85rem 1.55rem;
    font-family: var(--font-sans); font-size: .76rem; font-weight: 600; line-height: 1;
    letter-spacing: .16em; text-transform: uppercase; text-decoration: none; white-space: nowrap;
    border: 1px solid transparent; border-radius: 0; cursor: pointer;
    transition: background-color .25s, color .25s, border-color .25s, opacity .25s;
}
.btn--primary { background: var(--green); color: var(--on-green); }
.btn--primary:hover { background: var(--green-hover); }
.btn--outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--outline:hover { background: var(--ink); color: var(--paper); }
.btn--light { background: var(--surface); border-color: var(--line-strong); color: var(--ink); }
.btn--light:hover { border-color: var(--ink); }
.btn--on-dark { border-color: rgb(238 234 223 / .55); color: var(--on-green); background: transparent; }
.btn--on-dark:hover { background: var(--on-green); border-color: var(--on-green); color: var(--green-deep); }
.btn--block { width: 100%; }
.btn--sm { min-height: 2.5rem; padding: .6rem 1rem; }
.btn[disabled], .btn.is-busy { opacity: .6; cursor: progress; }
.btn .spinner { display: none; width: 1rem; height: 1rem; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .8s linear infinite; }
.btn.is-busy .spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

.link-arrow {
    display: inline-flex; align-items: center; gap: .5rem; padding-bottom: .3rem;
    font-size: .74rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
    color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--brass-soft);
    transition: border-color .25s, color .25s; white-space: nowrap;
}
.link-arrow:hover { border-color: var(--ink); }
.link-arrow .arrow { transition: transform .3s var(--ease); }
.link-arrow:hover .arrow { transform: translateX(3px); }
.link-quiet { color: var(--muted); font-size: .9rem; text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 4px; }
.link-quiet:hover { color: var(--ink); text-decoration-color: currentColor; }

.icon-btn {
    display: inline-grid; place-items: center; width: 2.75rem; height: 2.75rem; flex-shrink: 0;
    border-radius: 50%; color: var(--ink); text-decoration: none; transition: background-color .2s, color .2s;
}
.icon-btn:hover { background: rgb(27 30 28 / .06); }
.icon { display: inline-block; width: 1em; height: 1em; flex-shrink: 0; fill: currentColor; vertical-align: -.125em; overflow: visible; }
.icon-btn .icon { width: 1.05rem; height: 1.05rem; }
.round-btn {
    display: inline-grid; place-items: center; width: 2.75rem; height: 2.75rem; flex-shrink: 0;
    border: 1px solid var(--line-strong); border-radius: 50%; background: var(--surface); color: var(--ink);
    font-size: .85rem; transition: border-color .2s, background-color .2s, color .2s, opacity .2s;
}
.round-btn:hover:not([disabled]) { border-color: var(--ink); background: var(--ink); color: var(--paper); }
.round-btn[disabled] { opacity: .35; cursor: default; }
.social-row { display: flex; flex-wrap: wrap; margin-left: -.6rem; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip {
    display: inline-flex; align-items: center; min-height: 2.4rem; padding: .5rem 1rem;
    border: 1px solid var(--line-strong); border-radius: 999px;
    font-size: .9rem; line-height: 1; color: var(--text); text-decoration: none; white-space: nowrap;
    transition: border-color .2s, background-color .2s, color .2s;
}
.chip:hover { border-color: var(--ink); background: var(--ink); color: var(--paper); }

/* ---------- 5. Header ---------- */
.topbar { display: none; background: var(--green); color: var(--on-green); font-size: .78rem; letter-spacing: .03em; }
@media (min-width: 1024px) { .topbar { display: block; } }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 2.5rem; }
.topbar__group { display: flex; align-items: center; gap: 1.75rem; min-width: 0; }
.topbar a { color: inherit; text-decoration: none; opacity: .88; transition: opacity .2s; white-space: nowrap; }
.topbar a:hover { opacity: 1; }
.topbar__group > a > .icon { margin-right: .5rem; color: var(--brass-soft); font-size: .72rem; }
.topbar__social { display: flex; align-items: center; margin-right: -.4rem; }
.topbar__icon { display: inline-grid; place-items: center; width: 2rem; height: 2rem; font-size: .8rem; }

.masthead {
    position: sticky; top: 0; z-index: 90;
    background: rgb(246 243 236 / .94);
    -webkit-backdrop-filter: blur(10px) saturate(1.3); backdrop-filter: blur(10px) saturate(1.3);
    border-bottom: 1px solid var(--line);
    transition: box-shadow .3s;
}
.is-scrolled .masthead { box-shadow: 0 10px 30px -24px rgb(27 30 28 / .45); }
.masthead__inner { display: grid; grid-template-columns: 2.75rem minmax(0, 1fr) 2.75rem; align-items: center; gap: .5rem; min-height: var(--sticky-h); padding-block: .4rem; }
.masthead__brand { display: block; min-width: 0; text-align: center; color: var(--ink); text-decoration: none; }
.wordmark {
    display: block; font-family: var(--font-display); font-weight: 400;
    font-size: clamp(1rem, .82rem + 1vw, 1.3rem); line-height: 1.15;
    letter-spacing: .08em; text-transform: uppercase; color: var(--ink); text-decoration: none; text-wrap: balance;
}
.wordmark--long { font-size: clamp(.86rem, .74rem + .6vw, 1.05rem); letter-spacing: .05em; }
.masthead__ornament, .masthead__tagline { display: none; }
.burger { position: relative; }
.burger span { position: absolute; left: .8rem; right: .8rem; height: 1.5px; background: currentColor; transition: transform .3s var(--ease); }
.burger span:nth-child(1) { top: calc(50% - 6px); }
.burger span:nth-child(2) { top: calc(50% - .75px); right: 1.2rem; }
.burger span:nth-child(3) { top: calc(50% + 4.5px); }
@media (min-width: 1024px) {
    .masthead { position: relative; background: var(--paper); -webkit-backdrop-filter: none; backdrop-filter: none; border-bottom: 0; box-shadow: none !important; }
    .masthead__inner { grid-template-columns: minmax(0, 1fr); min-height: 0; padding-block: 2.4rem 1.9rem; }
    .masthead__btn { display: none; }
    .masthead .wordmark { font-size: clamp(2rem, 1rem + 1.6vw, 2.9rem); letter-spacing: .15em; line-height: 1.1; }
    .masthead .wordmark--long { max-width: 52rem; margin-inline: auto; font-size: clamp(1.6rem, .9rem + 1.2vw, 2.25rem); letter-spacing: .1em; }
    .masthead__ornament { display: flex; width: 9rem; margin: 1.05rem auto 0; }
    .masthead__tagline { display: block; max-width: 44rem; margin: .85rem auto 0; font-family: var(--font-serif); font-style: italic; font-size: 1rem; line-height: 1.5; color: var(--muted); text-wrap: balance; }
}

.mainnav { display: none; }
@media (min-width: 1024px) {
    .mainnav {
        display: block; position: sticky; top: 0; z-index: 90;
        background: rgb(246 243 236 / .95);
        -webkit-backdrop-filter: blur(10px) saturate(1.3); backdrop-filter: blur(10px) saturate(1.3);
        border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
        transition: box-shadow .3s;
    }
    .mainnav.is-stuck { box-shadow: 0 12px 30px -24px rgb(27 30 28 / .45); }
}
.mainnav__inner { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; height: var(--sticky-h); }
.mainnav__mark {
    justify-self: start; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
    font-family: var(--font-display); font-size: .95rem; letter-spacing: .12em; text-transform: uppercase;
    color: var(--ink); text-decoration: none;
    opacity: 0; visibility: hidden; transform: translateY(4px);
    transition: opacity .3s, transform .3s, visibility 0s linear .3s;
}
.mainnav.is-stuck .mainnav__mark { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
@media (max-width: 1239px) { .mainnav__mark { visibility: hidden !important; } }
.mainnav__list { grid-column: 2; display: flex; align-items: center; gap: clamp(1.4rem, 2.4vw, 2.75rem); }
.mainnav__end { grid-column: 3; justify-self: end; display: flex; align-items: center; margin-right: -.6rem; }
.navlink {
    position: relative; display: inline-flex; align-items: center; gap: .45rem; height: var(--sticky-h);
    font-size: .74rem; font-weight: 600; letter-spacing: .17em; text-transform: uppercase;
    color: var(--text); text-decoration: none; white-space: nowrap; transition: color .2s;
}
.navlink::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 1rem; height: 1px; background: var(--brass);
    transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.navlink:hover, .navlink[aria-current="page"], .has-menu.is-open > .navlink { color: var(--ink); }
.navlink:hover::after, .navlink[aria-current="page"]::after { transform: scaleX(1); }
.chev { width: .55rem; height: .55rem; transition: transform .25s; }
.has-menu { position: relative; }
.has-menu.is-open .chev { transform: rotate(180deg); }
@media (hover: hover) { .has-menu:hover .chev { transform: rotate(180deg); } }
.dropdown {
    position: absolute; top: 100%; left: 50%; z-index: 5; min-width: 15rem; padding: .55rem;
    background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow);
    opacity: 0; visibility: hidden; transform: translate(-50%, 8px);
    transition: opacity .2s, transform .25s var(--ease), visibility 0s linear .25s;
}
.has-menu.is-open > .dropdown, .has-menu:focus-within > .dropdown { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition-delay: 0s; }
@media (hover: hover) { .has-menu:hover > .dropdown { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition-delay: 0s; } }
.dropdown a {
    display: flex; align-items: baseline; justify-content: space-between; gap: 1.25rem;
    padding: .6rem .85rem; font-size: .95rem; line-height: 1.3; color: var(--text); text-decoration: none;
    transition: background-color .15s, color .15s;
}
.dropdown a:hover { background: var(--paper); color: var(--ink); }
.dropdown__heading { padding: .55rem .85rem .35rem; font-size: .66rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--brass); }
.dropdown__sep { height: 1px; margin: .4rem .85rem; background: var(--line); }
.dropdown a.dropdown__more { justify-content: flex-start; gap: .4rem; font-size: .7rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.dropdown--wide { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: .5rem; min-width: 33rem; }
.dropdown--wide > div + div { border-left: 1px solid var(--line); padding-left: .5rem; }

/* ---------- 6. Mobile menu ---------- */
.drawer {
    position: fixed; inset: 0; z-index: 150; overflow-y: auto; overscroll-behavior: contain;
    padding: 0 var(--gutter) 3rem; background: var(--paper);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .3s, transform .35s var(--ease), visibility 0s linear .35s;
}
.drawer.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
@media (min-width: 1024px) { .drawer { display: none; } }
.drawer__top {
    position: sticky; top: 0; z-index: 1; display: grid; grid-template-columns: 2.75rem minmax(0, 1fr) 2.75rem;
    align-items: center; gap: .5rem; min-height: var(--sticky-h); margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter);
    background: var(--paper); border-bottom: 1px solid var(--line);
}
.drawer__brand { text-align: center; }
.drawer__search { margin: 1.25rem 0 .5rem; }
.drawer__link {
    display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 1rem;
    padding: 1rem 0; border-bottom: 1px solid var(--line);
    font-family: var(--font-display); font-size: 1.6rem; line-height: 1.15; color: var(--ink);
    text-align: left; text-decoration: none;
}
.drawer__link .chev { width: .8rem; height: .8rem; color: var(--muted); }
.drawer__link[aria-expanded="true"] { border-bottom-color: transparent; }
.drawer__link[aria-expanded="true"] .chev { transform: rotate(180deg); }
.drawer__sub { padding: 0 0 1rem; border-bottom: 1px solid var(--line); }
.drawer__sub a { display: flex; justify-content: space-between; gap: 1rem; padding: .55rem 0; font-size: 1.04rem; color: var(--muted); text-decoration: none; }
.drawer__sub a:hover { color: var(--ink); }
.drawer__contact { margin-top: 2.25rem; display: grid; gap: .35rem; }
.drawer__tel { font-family: var(--font-display); font-size: 1.35rem; color: var(--ink); text-decoration: none; }
.drawer__email { color: var(--muted); text-decoration: none; overflow-wrap: anywhere; }
.drawer__contact .social-row { margin-top: .75rem; }

/* ---------- 7. Footer ---------- */
.footer { background: var(--green-deep); color: var(--on-green-muted); font-size: .94rem; }
.footer a { color: inherit; text-decoration: none; transition: color .2s; }
.footer a:hover { color: #FFFFFF; }
.footer__contact {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 2rem 3rem;
    padding-block: clamp(3rem, 6vw, 4.5rem); border-bottom: 1px solid rgb(238 234 223 / .14);
}
.footer__label { font-size: .7rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--brass-soft); }
.footer__big {
    display: block; margin-top: .65rem; font-family: var(--font-display); font-size: clamp(1.3rem, 1.1rem + .8vw, 1.75rem);
    line-height: 1.25; color: var(--on-green) !important; overflow-wrap: anywhere;
}
.footer__big--email, .footer__big--address { font-size: clamp(1.1rem, 1rem + .45vw, 1.35rem); }
.footer__map { display: inline-block; margin-top: .75rem; font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.footer__main { display: grid; gap: 2.5rem; padding-block: 3rem; }
@media (min-width: 768px) { .footer__main { grid-template-columns: repeat(3, minmax(0, 1fr)); } .footer__brand { grid-column: 1 / -1; } }
@media (min-width: 1024px) { .footer__main { grid-template-columns: minmax(0, 4fr) repeat(3, minmax(0, 2.4fr)); } .footer__brand { grid-column: auto; } }
.footer .wordmark { font-size: 1.35rem; color: var(--on-green); letter-spacing: .12em; }
.footer__tagline { margin-top: .75rem; max-width: 24rem; font-family: var(--font-serif); font-style: italic; line-height: 1.6; }
.footer__brand .social-row { margin-top: 1rem; }
.footer__brand .icon-btn { color: var(--on-green); }
.footer__brand .icon-btn:hover { background: rgb(238 234 223 / .1); }
.footer__heading { margin-bottom: 1rem; font-size: .7rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--on-green); }
.footer__links li + li { margin-top: .5rem; }
.footer__bottom { border-top: 1px solid rgb(238 234 223 / .14); font-size: .8rem; }
.footer__bottom-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; padding-block: 1.4rem; }

/* ---------- 8. Catalogue cards ("lots") ---------- */
.lots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.25rem 1rem; }
@media (min-width: 768px) { .lots { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3rem 1.5rem; } }
@media (min-width: 1200px) { .lots { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 3.5rem 2rem; } }
@media (min-width: 768px) and (max-width: 1199px) { .lots--four { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.lot { display: flex; flex-direction: column; gap: .95rem; min-width: 0; color: var(--ink); text-decoration: none; }
.lot__media {
    position: relative; display: block; aspect-ratio: 1 / 1; overflow: hidden; isolation: isolate;
    background: var(--surface); border: 1px solid var(--line);
    transition: box-shadow .4s, border-color .4s;
}
.lot__media img { position: absolute; inset: 0; width: 100%; height: 100%; transition: transform .9s var(--ease); }
.is-cover { object-fit: cover; }
.is-contain { object-fit: contain; }
.lot__media img.is-contain { padding: 9%; }
.lot:hover .lot__media { border-color: var(--line-strong); box-shadow: var(--shadow); }
.lot:hover .lot__media img { transform: scale(1.035); }
.lot__badge {
    position: absolute; top: .65rem; left: .65rem; z-index: 2;
    display: inline-flex; align-items: center; gap: .45rem; padding: .38rem .55rem;
    background: rgb(255 255 255 / .94); border: 1px solid var(--line);
    font-size: .64rem; font-weight: 600; line-height: 1; letter-spacing: .16em; text-transform: uppercase; color: var(--ink);
}
.dot { width: .55rem; height: .55rem; border-radius: 50%; background: var(--claret); box-shadow: 0 0 0 2px rgb(142 43 51 / .15); }
.lot__body { display: flex; flex-direction: column; gap: .45rem; min-width: 0; }
.lot__text { display: flex; flex-direction: column; gap: .3rem; min-width: 0; }
.lot__meta { font-size: .68rem; font-weight: 600; letter-spacing: .15em; text-transform: uppercase; color: var(--faint); }
.lot__title {
    font-family: var(--font-serif); font-size: 1rem; line-height: 1.38; color: var(--ink);
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; transition: color .25s;
}
@media (min-width: 768px) { .lot__title { font-size: 1.06rem; } }
.lot:hover .lot__title { color: var(--green); }
.lot__price { font-size: .92rem; font-weight: 500; color: var(--text); font-variant-numeric: lining-nums tabular-nums; }
.lot__price.is-sold { font-size: .7rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--claret); }
.lot__go { display: none; }

/* List view (catalogue pages, remembered per visitor) */
.view-list .lots--switchable { grid-template-columns: minmax(0, 1fr); gap: 0; border-top: 1px solid var(--line); }
.view-list .lots--switchable .lot { display: grid; grid-template-columns: 5.5rem minmax(0, 1fr); align-items: center; gap: 1.1rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.view-list .lots--switchable .lot__media { transition: none; }
.view-list .lots--switchable .lot__badge { top: .3rem; left: .3rem; padding: .25rem; gap: 0; font-size: 0; }
.view-list .lots--switchable .lot__title { -webkit-line-clamp: 3; }
@media (min-width: 768px) {
    .view-list .lots--switchable .lot { grid-template-columns: 8rem minmax(0, 1fr); gap: 2rem; padding: 1.25rem .5rem; transition: background-color .25s; }
    .view-list .lots--switchable .lot:hover { background: rgb(255 255 255 / .55); }
    .view-list .lots--switchable .lot__body { display: grid; grid-template-columns: minmax(0, 1fr) 9rem 6rem; align-items: center; gap: 2rem; }
    .view-list .lots--switchable .lot__title { font-size: 1.2rem; }
    .view-list .lots--switchable .lot__price { text-align: right; font-size: 1rem; }
    .view-list .lots--switchable .lot__go { display: block; font-size: .7rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); text-align: right; }
    .view-list .lots--switchable .lot:hover .lot__go { color: var(--ink); }
}

/* ---------- 9. Catalogue page ---------- */
.pagehead { padding-block: clamp(1.75rem, 4vw, 3.5rem) clamp(1.5rem, 3vw, 2.5rem); }
.pagehead--center { text-align: center; }
.pagehead--center .lead, .pagehead--center .pagehead__lead { margin-inline: auto; }
.pagehead .display { margin-top: .7rem; }
.pagehead__lead { max-width: 40rem; margin-top: 1rem; }
.pagehead__sub { max-width: 42rem; margin: 1rem auto 0; font-family: var(--font-serif); font-style: italic; font-size: 1.1rem; line-height: 1.6; color: var(--muted); }
.pagehead .ornament { margin-top: 1.75rem; }
.pagehead__row { display: grid; gap: 1.5rem; align-items: end; }
@media (min-width: 1024px) { .pagehead__row { grid-template-columns: minmax(0, 1fr) 22rem; gap: 4rem; } }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem .6rem; margin-bottom: 1.5rem; font-size: .7rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.depts {
    display: flex; gap: 0 1.75rem; overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid var(--line);
    -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 2rem), transparent); mask-image: linear-gradient(to right, #000 calc(100% - 2rem), transparent);
}
.depts::-webkit-scrollbar { display: none; }
@media (min-width: 1024px) { .depts { flex-wrap: wrap; overflow: visible; -webkit-mask-image: none; mask-image: none; } }
.dept {
    position: relative; flex-shrink: 0; display: inline-flex; align-items: baseline; gap: .3rem; padding: .85rem 0;
    font-family: var(--font-serif); font-size: 1.02rem; color: var(--muted); text-decoration: none; white-space: nowrap; transition: color .2s;
}
.dept sup { font-family: var(--font-sans); font-size: .62rem; font-weight: 600; letter-spacing: .04em; color: var(--faint); }
.dept::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--brass); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.dept:hover { color: var(--ink); }
.dept.is-active { color: var(--ink); }
.dept.is-active::after { transform: scaleX(1); }
.catalogue { padding-bottom: clamp(4rem, 8vw, 7rem); }
.toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 1.5rem; padding-block: 1.25rem 2rem; }
.toolbar__info { display: flex; flex-wrap: wrap; align-items: baseline; gap: .5rem 1.25rem; }
.toolbar__tools { display: flex; align-items: center; gap: .75rem; margin-left: auto; }
.toolbar__sort { display: flex; gap: .5rem; }
@media (max-width: 639px) {
    .toolbar__tools { width: 100%; }
    .toolbar__sort { flex: 1; }
    .toolbar__sort .field--compact { width: 100%; }
    .viewtoggle { margin-left: auto; }
}
.viewtoggle { display: inline-flex; border: 1px solid var(--line-strong); background: var(--surface); }
.viewtoggle button { display: grid; place-items: center; width: 2.75rem; height: 2.65rem; color: var(--faint); font-size: .9rem; transition: background-color .2s, color .2s; }
.viewtoggle button + button { border-left: 1px solid var(--line-strong); }
.viewtoggle button:hover { color: var(--ink); }
.viewtoggle button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.pager { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-top: clamp(3rem, 6vw, 4.5rem); padding-top: 1.5rem; border-top: 1px solid var(--line); }
.pager__pages { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem; }
.pager__step { font-size: .74rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--ink); text-decoration: none; }
.pager__step.is-disabled { color: var(--faint); }
.pager__num { display: inline-grid; place-items: center; min-width: 2.5rem; height: 2.5rem; padding-inline: .5rem; font-family: var(--font-serif); color: var(--muted); text-decoration: none; border: 1px solid transparent; transition: border-color .2s, color .2s; }
.pager__num:hover { border-color: var(--line-strong); color: var(--ink); }
.pager__num.is-current { border-color: var(--ink); color: var(--ink); }
.pager__gap { padding-inline: .25rem; color: var(--faint); }
@media (max-width: 639px) { .pager__pages { order: 3; width: 100%; justify-content: center; } }
.empty { padding: clamp(3.5rem, 8vw, 6rem) 1.5rem; text-align: center; border: 1px dashed var(--line-strong); }
.empty__text { margin: .75rem 0 2rem; color: var(--muted); }
.notfound { padding-block: clamp(4rem, 10vw, 8rem); text-align: center; }
.notfound .display { margin-top: .9rem; }
.notfound .lead { max-width: 36rem; margin: 1.25rem auto 0; }
.notfound__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; margin-top: 2.25rem; }

/* ---------- 10. Homepage ---------- */
.hero { padding-block: clamp(1.25rem, 3vw, 3rem) clamp(3.5rem, 7vw, 6rem); }
.hero__grid { display: grid; gap: 2.25rem; }
.hero__intro { order: 2; }
.hero__plate { order: 1; min-width: 0; }
@media (min-width: 1024px) {
    .hero__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(3rem, 5vw, 6rem); align-items: center; }
    .hero__intro { order: 1; }
    .hero__plate { order: 2; }
}
.hero__title { margin-top: 1rem; }
.hero__lead { max-width: 34rem; margin-top: 1.5rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2.25rem; }
.hero__stats { display: flex; flex-wrap: wrap; gap: 1.25rem 2.5rem; margin-top: 2.75rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.hero__stats dt { font-size: .66rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--faint); }
.hero__stats dd { margin-top: .3rem; font-family: var(--font-display); font-size: 1.75rem; line-height: 1.1; color: var(--ink); }
.hero__stats dd a { font-family: var(--font-sans); font-size: .74rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--brass-soft); }
.hero__stats dd a:hover { border-color: var(--ink); }

.section { padding-block: clamp(3.5rem, 7vw, 6rem); }
.section--tint { background: var(--paper-2); border-top: 1px solid var(--line); }
.section__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.25rem 2rem; margin-bottom: clamp(1.75rem, 3vw, 2.75rem); }
.section__head .display { margin-top: .6rem; }
.section__head--flush { padding-inline: 0; }
.section__tools { display: flex; align-items: center; gap: 1.5rem; }
.rail-btns { display: none; gap: .5rem; }
@media (min-width: 768px) { .rail-btns { display: flex; } }

.quote-band { position: relative; background: var(--green); color: var(--on-green); padding-block: clamp(4rem, 9vw, 7.5rem); text-align: center; overflow: hidden; }
.quote-band::before, .quote-band::after { content: ""; position: absolute; left: 50%; width: min(92%, 60rem); height: 1px; transform: translateX(-50%); background: rgb(200 174 123 / .35); }
.quote-band::before { top: 1.5rem; }
.quote-band::after { bottom: 1.5rem; }
.quote-band__inner { max-width: 56rem; }
.quote-band .eyebrow { color: var(--brass-soft); }
.quote-band .ornament { margin-top: 1.4rem; color: rgb(200 174 123 / .7); }
.quote-band__text { margin: 2rem auto 2.5rem; font-family: var(--font-serif); font-style: italic; font-size: clamp(1.3rem, 1.05rem + 1.15vw, 1.95rem); line-height: 1.55; color: #F4F0E7; text-wrap: pretty; }

.contents { background: var(--paper-2); padding-block: clamp(3.5rem, 8vw, 7rem); border-bottom: 1px solid var(--line); }
.contents__grid { display: grid; gap: 2.25rem; }
@media (min-width: 1024px) { .contents__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(3rem, 7vw, 8rem); align-items: start; } }
.contents__aside .display { margin-top: .7rem; }
.contents__lead { margin-top: 1.25rem; max-width: 26rem; }
.contents .contents__frame { display: none; }
@media (min-width: 1024px) {
    .contents__aside { position: sticky; top: calc(var(--sticky-h) + 2rem); }
    .contents .contents__frame { display: block; margin-top: 2.5rem; max-width: 24rem; }
    .contents__frame .frame__window { aspect-ratio: 4 / 5; }
    .contents__frame img { transition: opacity .25s; }
}
.contents__caption { margin-top: .9rem; font-family: var(--font-serif); font-style: italic; color: var(--muted); text-align: center; }
.contents__list { border-top: 1px solid var(--line-strong); }
.contents__row { display: flex; align-items: baseline; gap: .9rem; padding: 1.05rem 0; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.contents__num { flex-shrink: 0; width: 1.9rem; font-size: .7rem; font-weight: 600; letter-spacing: .12em; color: var(--brass); font-variant-numeric: tabular-nums; }
.contents__name { min-width: 0; font-family: var(--font-display); font-size: clamp(1.3rem, 1.05rem + 1vw, 1.95rem); line-height: 1.15; transition: color .25s, transform .35s var(--ease); }
.contents__leader { flex: 1; min-width: 1.25rem; border-bottom: 1px dotted var(--line-strong); transform: translateY(-.3em); }
.contents__count { flex-shrink: 0; font-family: var(--font-serif); font-style: italic; font-size: .95rem; color: var(--muted); white-space: nowrap; }
.contents__row:hover .contents__name, .contents__row.is-current .contents__name { color: var(--green); }
.contents__row:hover .contents__name { transform: translateX(4px); }
.contents__row--all .contents__name { font-family: var(--font-serif); font-style: italic; font-size: clamp(1.1rem, 1rem + .5vw, 1.4rem); }

.feature { padding-block: clamp(3.5rem, 8vw, 7rem); }
.feature__grid { display: grid; gap: 2.5rem; }
@media (min-width: 1024px) { .feature__grid { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(3rem, 6vw, 6.5rem); align-items: center; } }
.feature__frame { display: block; }
.feature__frame .frame__window { aspect-ratio: 1 / 1; }
.feature__text .display { margin-top: .9rem; }
.feature__period { margin-top: .9rem; font-family: var(--font-serif); font-style: italic; font-size: 1.1rem; color: var(--muted); }
.feature__desc { margin-top: 1.6rem; font-family: var(--font-serif); font-size: 1.04rem; line-height: 1.85; color: var(--text); }
.feature__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 1.5rem; margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.feature__price { font-family: var(--font-display); font-size: 1.85rem; color: var(--ink); }

/* ---------- 11. Plates & frames ---------- */
.frame { position: relative; display: block; padding: clamp(.55rem, 1.3vw, 1rem); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-frame); }
.frame__window { position: relative; display: block; overflow: hidden; aspect-ratio: 1 / 1; background: var(--surface); }
.frame__window img { position: absolute; inset: 0; width: 100%; height: 100%; }
.frame__window img.is-contain { padding: 7%; }
.frame__window--empty { display: grid; place-items: center; padding: 2rem; background: var(--paper); text-align: center; font-family: var(--font-serif); font-style: italic; color: var(--muted); }
a.frame .frame__window img { transition: transform 1.2s var(--ease); }
a.frame:hover .frame__window img { transform: scale(1.025); }
@media (min-width: 1024px) {
    .plate--hero .frame__window { aspect-ratio: auto; height: min(66vh, 46rem); min-height: 26rem; }
}
.plate__caption {
    display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: baseline; gap: .4rem 1rem;
    margin-top: 1.1rem; padding-bottom: .9rem; border-bottom: 1px solid var(--line);
}
.plate__no { font-family: var(--font-serif); font-style: italic; color: var(--brass); white-space: nowrap; }
.plate__title { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: var(--font-serif); font-size: 1.05rem; color: var(--ink); text-decoration: none; }
.plate__title:hover { color: var(--green); }
.plate__price { font-weight: 500; color: var(--text); white-space: nowrap; font-variant-numeric: lining-nums; }
@media (max-width: 479px) {
    .plate__caption { grid-template-columns: minmax(0, 1fr) auto; }
    .plate__no { grid-column: 1 / -1; font-size: .9rem; }
}
.plate__controls { display: flex; align-items: center; gap: 1rem; margin-top: 1rem; }
.plate__controls .ss-progress { flex: 1; }
.plate--small .plate__controls { margin-top: .85rem; }
.plate--small .frame__window { aspect-ratio: 4 / 5; }
.slideshow { position: relative; overflow: hidden; }
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.4s ease; }
.slide.is-active { opacity: 1; z-index: 1; }
.slide img { position: absolute; inset: 0; width: 100%; height: 100%; }
.slide img.is-contain { padding: 6%; }
.slide img.is-cover { transform: scale(1.01); transition: transform 9s linear; }
.slide.is-active img.is-cover { transform: scale(1.06); }
.slide-link { position: absolute; inset: 0; z-index: 5; }
.ss-caption { transition: opacity .4s ease, transform .5s var(--ease); }
.ss-caption.is-changing { opacity: 0; transform: translateY(6px); }
.ss-counter { font-size: .78rem; font-weight: 600; letter-spacing: .14em; color: var(--faint); font-variant-numeric: tabular-nums; white-space: nowrap; }
.ss-counter b { color: var(--ink); font-weight: 600; }
.ss-progress { position: relative; display: block; height: 1px; background: var(--line-strong); overflow: hidden; }
.ss-progress > span { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: var(--ink); }

/* ---------- 12. Rails ---------- */
.rail {
    position: relative; display: grid; grid-auto-flow: column; grid-auto-columns: 68%; gap: 1rem;
    overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none;
    padding-inline: max(var(--gutter), calc((100% - var(--wrap)) / 2 + var(--gutter)));
    scroll-padding-inline: max(var(--gutter), calc((100% - var(--wrap)) / 2 + var(--gutter)));
    padding-bottom: .5rem;
}
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }
@media (min-width: 640px) { .rail { grid-auto-columns: 40%; gap: 1.5rem; } }
@media (min-width: 1024px) { .rail { grid-auto-columns: calc((min(100vw, var(--wrap)) - 2 * var(--gutter) - 3 * 2rem) / 4); gap: 2rem; } }
.rail-progress { position: relative; height: 1px; margin-top: 2rem; background: var(--line); }
.rail-progress > span { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: var(--ink); transition: width .3s; }

/* ---------- 13. Item page ---------- */
.item { padding-block: clamp(1.5rem, 3vw, 2.5rem) clamp(3rem, 6vw, 5rem); }
.item__grid { display: grid; gap: 2.25rem; grid-template-areas: "gallery" "info" "notes"; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1024px) {
    .item__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); grid-template-areas: "gallery info" "notes info"; column-gap: clamp(2.5rem, 5vw, 5.5rem); row-gap: 3.5rem; align-items: start; }
    .item__info { position: sticky; top: calc(var(--sticky-h) + 1.5rem); }
}
.item__gallery { grid-area: gallery; min-width: 0; }
.item__info { grid-area: info; min-width: 0; }
.item__notes { grid-area: notes; min-width: 0; }
.gallery__stage { position: relative; display: block; aspect-ratio: 1 / 1; overflow: hidden; background: var(--surface); border: 1px solid var(--line); cursor: zoom-in; }
@media (min-width: 1024px) { .gallery__stage { aspect-ratio: auto; height: min(76vh, 50rem); min-height: 30rem; } }
.gallery__stage img { position: absolute; inset: 0; width: 100%; height: 100%; transition: opacity .25s; }
.gallery__stage img.is-contain { object-fit: contain; padding: 5%; }
.gallery__stage img.is-scene { object-fit: contain; }
.gallery__zoom {
    position: absolute; right: .75rem; bottom: .75rem; display: inline-flex; align-items: center; gap: .5rem;
    padding: .5rem .85rem; background: rgb(255 255 255 / .92); border: 1px solid var(--line);
    font-size: .66rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--text);
    opacity: 0; transition: opacity .25s;
}
.gallery__stage:hover .gallery__zoom, .gallery__stage:focus-visible .gallery__zoom { opacity: 1; }
@media (hover: none) { .gallery__zoom { opacity: 1; } }
.gallery__badge { top: .9rem; left: .9rem; }
.gallery__thumbs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .5rem; margin-top: .65rem; }
@media (min-width: 640px) { .gallery__thumbs { grid-template-columns: repeat(7, minmax(0, 1fr)); } }
.gallery__thumb { position: relative; display: block; aspect-ratio: 1 / 1; overflow: hidden; background: var(--surface); border: 1px solid var(--line); transition: border-color .2s, box-shadow .2s; }
.gallery__thumb img { position: absolute; inset: 0; width: 100%; height: 100%; }
.gallery__thumb img.is-contain { padding: 8%; }
.gallery__thumb:hover { border-color: var(--line-strong); }
.gallery__thumb[aria-current="true"] { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.gallery__note { margin-top: .75rem; font-size: .82rem; color: var(--faint); }
.item__title { margin-top: .85rem; font-size: clamp(1.95rem, 1.5rem + 1.6vw, 2.9rem); line-height: 1.1; }
.item__period { margin-top: .7rem; font-family: var(--font-serif); font-style: italic; font-size: 1.12rem; color: var(--muted); }
.item__price-row { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .5rem 1.25rem; margin-top: 1.5rem; padding-top: 1.4rem; border-top: 1px solid var(--line); }
.item__price { font-family: var(--font-display); font-size: 2.1rem; line-height: 1.1; color: var(--ink); font-variant-numeric: lining-nums; }
.item__price.is-sold { color: var(--muted); }
.status { display: inline-flex; align-items: center; gap: .5rem; font-size: .7rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #4E7D57; box-shadow: 0 0 0 3px rgb(78 125 87 / .16); }
.status.is-sold::before { background: var(--claret); box-shadow: 0 0 0 3px rgb(142 43 51 / .14); }
.item__actions { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1.5rem; }
.item__actions .btn--primary { flex: 1 1 15rem; }
.item__actions .btn--outline { flex: 1 1 auto; }
@media (min-width: 640px) { .item__actions .btn--outline { flex: 0 1 auto; } }
.paybox { margin-top: 1.5rem; padding: 1.25rem; background: var(--surface); border: 1px solid var(--line); }
.paybox__note { margin-top: .6rem; font-size: .92rem; line-height: 1.6; color: var(--muted); }
.paybox__buttons { display: grid; gap: .6rem; margin-top: 1rem; }
.paybox__cards { color: var(--muted); font-size: 1rem; letter-spacing: 0; }
.paybox__panel { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.paybox__row { display: flex; flex-wrap: wrap; align-items: flex-end; gap: .75rem; margin-top: 1rem; }
.paybox__shipping { width: 8rem; }
.facts { margin-top: 2rem; border-top: 1px solid var(--line); }
.facts__row { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); gap: 1rem; padding: .8rem 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.facts__row dt { padding-top: .15rem; font-size: .68rem; font-weight: 600; letter-spacing: .15em; text-transform: uppercase; color: var(--muted); }
.facts__row dd { color: var(--ink); overflow-wrap: anywhere; }
.facts__row dd a { color: inherit; text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 3px; }
.note__title { display: flex; align-items: center; gap: 1rem; font-size: .72rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--brass); }
.note__title::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.note__body { margin-top: 1.4rem; }
.note__more { margin-top: 1.1rem; }
.readmore { position: relative; max-height: 19rem; overflow: hidden; transition: max-height .6s var(--ease); }
.readmore::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5rem; background: linear-gradient(to bottom, rgb(246 243 236 / 0), var(--paper)); pointer-events: none; transition: opacity .4s; }
.readmore.is-expanded::after, .readmore.is-short::after { opacity: 0; }
.assurance { display: grid; gap: 1px; margin-top: 2.5rem; background: var(--line); border: 1px solid var(--line); }
@media (min-width: 640px) { .assurance { grid-template-columns: 1fr 1fr; } }
.assurance__item { display: flex; gap: .9rem; padding: 1.2rem; background: var(--paper); font-size: .9rem; line-height: 1.55; color: var(--muted); }
.assurance__item .icon { margin-top: .3rem; color: var(--brass); }
.assurance__item strong { display: block; margin-bottom: .2rem; color: var(--ink); font-weight: 600; }
.neighbours { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; padding-bottom: clamp(3rem, 6vw, 4.5rem); }
.neighbour { display: flex; align-items: center; gap: 1rem; min-width: 0; padding: .75rem; border: 1px solid var(--line); background: var(--surface); color: var(--ink); text-decoration: none; transition: border-color .2s, box-shadow .3s; }
.neighbour:hover { border-color: var(--line-strong); box-shadow: var(--shadow); }
.neighbour--next { grid-column: 2; justify-content: flex-end; text-align: right; }
.neighbour__thumb { position: relative; flex-shrink: 0; width: 4.5rem; aspect-ratio: 1 / 1; overflow: hidden; }
.neighbour__thumb img { position: absolute; inset: 0; width: 100%; height: 100%; }
.neighbour__thumb img.is-contain { padding: 6%; }
.neighbour__text { display: flex; flex-direction: column; gap: .3rem; min-width: 0; }
.neighbour__title { font-family: var(--font-serif); font-size: .98rem; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 639px) { .neighbour__thumb { display: none; } .neighbour { padding: .9rem; } }

/* Dealer text (descriptions, About us, pages) */
.prose { font-family: var(--font-serif); font-size: 1.06rem; line-height: 1.85; color: var(--text); overflow-wrap: break-word; }
.prose * { font-family: inherit !important; font-size: inherit !important; line-height: inherit !important; color: inherit !important; background-color: transparent !important; }
.prose p { margin: 0 0 1.15em; }
.prose a { color: var(--green) !important; text-decoration: underline; text-underline-offset: 3px; }
.prose strong, .prose b { font-weight: 700; color: var(--ink) !important; }
.prose h1, .prose h2, .prose h3, .prose h4 { margin: 1.7em 0 .55em; font-family: var(--font-display) !important; font-size: 1.55rem !important; font-weight: 400; line-height: 1.25 !important; color: var(--ink) !important; }
.prose ul { list-style: disc; padding-left: 1.3rem; margin-bottom: 1.15em; }
.prose ol { list-style: decimal; padding-left: 1.3rem; margin-bottom: 1.15em; }
.prose img { max-width: 100%; height: auto; }
.prose > :first-child { margin-top: 0; }

/* ---------- 14. Forms ---------- */
.form { display: grid; gap: 1.1rem; }
.form__pair { display: grid; gap: 1.1rem; }
@media (min-width: 640px) { .form__pair { grid-template-columns: 1fr 1fr; } }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; padding-top: .35rem; }
.form__note { font-size: .8rem; color: var(--faint); }
.form__note--center { text-align: center; }
.field-label { display: block; margin-bottom: .45rem; font-size: .7rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.field-label .req { color: var(--claret); }
.field {
    display: block; width: 100%; min-height: 3rem; padding: .75rem .95rem;
    background: var(--surface); color: var(--ink); border: 1px solid var(--line-strong); border-radius: 0;
    font-size: 1rem; line-height: 1.4; -webkit-appearance: none; appearance: none;
    transition: border-color .2s, box-shadow .2s;
}
.field::placeholder { color: var(--faint); }
.field:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgb(31 61 52 / .14); }
textarea.field { min-height: 8.5rem; resize: vertical; }
select.field {
    padding-right: 2.6rem; cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%236B6F69' stroke-width='1.4'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 1rem center; background-size: .65rem auto;
}
.field--compact { min-height: 2.75rem; width: auto; padding-block: .55rem; font-size: .92rem; }
input[type="search"]::-webkit-search-decoration { -webkit-appearance: none; }
.search-field { position: relative; }
.search-field .field { padding-left: 2.8rem; }
.search-field__icon { position: absolute; left: 1.05rem; top: 50%; transform: translateY(-50%); font-size: .85rem; color: var(--faint); pointer-events: none; }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.alert { padding: 1rem 1.2rem; border: 1px solid; font-size: .95rem; line-height: 1.5; }
.alert--ok { background: #EEF3EC; border-color: #CADCC6; color: #2E5634; }
.alert--error { background: #FAEEEC; border-color: #EBCBC5; color: #8A2F27; }

/* ---------- 15. Viewing room ---------- */
.roomtabs { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: .25rem; margin-top: 2rem; padding: .3rem; border: 1px solid var(--line); background: var(--surface); }
.roomtab { padding: .65rem 1rem; font-size: .7rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); text-decoration: none; transition: background-color .2s, color .2s; }
.roomtab:hover { color: var(--ink); }
.roomtab.is-active { background: var(--green); color: var(--on-green); }
.wall { background: var(--paper-2); border-block: 1px solid var(--line); padding-block: clamp(1.5rem, 3.5vw, 3rem) 2rem; }
.exhibits {
    position: relative; display: flex; align-items: flex-start; gap: clamp(1.5rem, 5vw, 5rem);
    overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none;
    padding-inline: calc(50% - min(39vw, 15.5rem)); padding-block: 1rem 1.5rem;
}
.exhibits::-webkit-scrollbar { display: none; }
.exhibits:focus-visible { outline-offset: -3px; }
.exhibit { flex: 0 0 auto; width: min(78vw, 31rem); scroll-snap-align: center; transition: opacity .5s, transform .6s var(--ease); }
.js .exhibit { opacity: .55; transform: scale(.94); }
.js .exhibit.is-current, .js .exhibit:only-child { opacity: 1; transform: none; }
.exhibit__frame { display: block; padding: clamp(.6rem, 1.5vw, 1.1rem); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-frame); }
.exhibit__window { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; }
@media (min-width: 1024px) { .exhibit__window { aspect-ratio: auto; height: min(50vh, 34rem); min-height: 20rem; } }
.exhibit__window img { position: absolute; inset: 0; width: 100%; height: 100%; }
.exhibit__window img.is-contain { padding: 7%; }
.exhibit__caption { display: flex; flex-direction: column; align-items: center; gap: .35rem; margin-top: 1.4rem; text-align: center; }
.exhibit__no { font-family: var(--font-serif); font-style: italic; color: var(--brass); }
.exhibit__title { font-family: var(--font-display); font-size: clamp(1.25rem, 1.1rem + .6vw, 1.6rem); line-height: 1.2; color: var(--ink); text-decoration: none; text-wrap: balance; }
.exhibit__title:hover { color: var(--green); }
.exhibit__meta { font-size: .68rem; font-weight: 600; letter-spacing: .15em; text-transform: uppercase; color: var(--faint); }
.exhibit__price { font-weight: 500; color: var(--text); }
.wall__controls { display: flex; align-items: center; gap: 1.25rem; max-width: 46rem; margin-top: 1rem; }
.wall__controls .ss-progress { flex: 1; }
.wall__controls .rail-btns { display: flex; }

/* ---------- 16. Article pages (About us, information) ---------- */
.article { display: grid; gap: 3rem; padding-bottom: clamp(4rem, 8vw, 6.5rem); }
@media (min-width: 1024px) {
    .article { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(3rem, 7vw, 7rem); align-items: start; }
    .article__aside { position: sticky; top: calc(var(--sticky-h) + 2rem); }
}
.article__body { max-width: 42rem; }
.article__aside { min-width: 0; max-width: 28rem; }
.cta-band { background: var(--paper-2); border-top: 1px solid var(--line); padding-block: clamp(3rem, 6vw, 4.5rem); }
.cta-band__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem 3rem; }
.cta-band .display { margin-top: .5rem; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: .75rem; }

/* ---------- 17. Contact ---------- */
.contact { display: grid; gap: 2.5rem; padding-bottom: clamp(4rem, 8vw, 6rem); }
@media (min-width: 1024px) { .contact { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(3rem, 6vw, 6rem); align-items: start; } }
.details { border-top: 1px solid var(--line); }
.details__row { padding: 1.4rem 0; border-bottom: 1px solid var(--line); }
.details__row dd { margin-top: .5rem; }
.details__big { font-family: var(--font-display); font-size: clamp(1.45rem, 1.2rem + .9vw, 1.9rem); line-height: 1.25; color: var(--ink); text-decoration: none; overflow-wrap: anywhere; }
.details__big:hover { color: var(--green); }
.details__email { font-family: var(--font-serif); font-size: 1.12rem; color: var(--ink); text-decoration: underline; text-decoration-color: var(--brass-soft); text-underline-offset: 4px; overflow-wrap: anywhere; }
.details__address { font-family: var(--font-serif); font-size: 1.08rem; line-height: 1.7; color: var(--text); }
.details__row dd + dd { margin-top: .9rem; }
.social-row--dark .icon-btn { color: var(--ink); }
.contact__card { padding: clamp(1.5rem, 4vw, 2.75rem); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.contact__intro { margin: .75rem 0 1.75rem; color: var(--muted); }

/* ---------- 18. Modal & photograph viewer ---------- */
.modal {
    position: fixed; inset: 0; z-index: 160; display: none; align-items: center; justify-content: center; padding: 1rem;
    background: rgb(23 30 27 / .45); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
    opacity: 0; transition: opacity .25s;
}
.modal.is-open { display: flex; }
.modal.is-visible { opacity: 1; }
.modal__panel {
    position: relative; width: min(100%, 38rem); max-height: calc(100dvh - 2rem); overflow-y: auto;
    padding: clamp(1.5rem, 4vw, 2.6rem); background: var(--surface);
    box-shadow: 0 40px 100px -40px rgb(0 0 0 / .55); transform: translateY(14px); transition: transform .35s var(--ease);
}
.modal.is-visible .modal__panel { transform: none; }
.modal__close { position: absolute; top: .6rem; right: .6rem; }
.modal__title { margin-top: .6rem; padding-right: 2rem; }
.modal__meta { margin-top: .5rem; font-size: .85rem; color: var(--muted); }
.modal__contact { display: grid; gap: 1rem; margin: 1.4rem 0; padding: 1.1rem 0; border-block: 1px solid var(--line); font-size: .95rem; }
@media (min-width: 640px) { .modal__contact { grid-template-columns: 1fr 1fr; } }
.modal__contact a { color: var(--ink); text-decoration: none; }
.modal__contact .label { margin-bottom: .25rem; }
.modal--top { align-items: flex-start; padding: 0; }
.modal--top .modal__panel { width: 100%; max-width: none; max-height: 100dvh; padding: 0; transform: translateY(-14px); box-shadow: 0 30px 80px -30px rgb(0 0 0 / .45); }
.search-panel { position: relative; padding-block: clamp(2rem, 5vw, 3.5rem); }
.search-panel .modal__close { top: 1rem; right: calc(var(--gutter) - .6rem); }
.searchbar { display: flex; align-items: center; gap: 1rem; margin-top: 1rem; border-bottom: 1px solid var(--ink); }
.searchbar input { flex: 1; min-width: 0; padding: .55rem 0; border: 0; background: transparent; outline: none; font-family: var(--font-display); font-size: clamp(1.5rem, 1rem + 2.4vw, 2.6rem); color: var(--ink); }
.searchbar input::placeholder { color: var(--line-strong); }
.searchbar .btn { flex-shrink: 0; }
@media (max-width: 479px) {
    .searchbar .btn { padding-inline: 1rem; }
    .searchbar input { font-size: 1.35rem; }
}
.search-panel__label { margin: 1.75rem 0 .9rem; }
.lightbox {
    position: fixed; inset: 0; z-index: 200; display: none; align-items: center; justify-content: center;
    padding: 4.25rem 1rem 3.75rem; background: var(--paper); opacity: 0; transition: opacity .3s;
}
.lightbox.is-open { display: flex; }
.lightbox.is-visible { opacity: 1; }
.lightbox__img { max-width: min(94vw, 1600px); max-height: 100%; object-fit: contain; background: var(--surface); box-shadow: var(--shadow-frame); transition: opacity .3s; }
.lightbox__close { position: absolute; top: .75rem; right: .75rem; }
.lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; }
.lightbox__prev { left: 1rem; }
.lightbox__next { right: 1rem; }
.lightbox__count { position: absolute; left: 0; right: 0; bottom: 1.25rem; text-align: center; font-size: .78rem; font-weight: 600; letter-spacing: .16em; color: var(--muted); font-variant-numeric: tabular-nums; }

/* ---------- 19. Motion ---------- */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .8s ease, transform .9s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .js .reveal { opacity: 1; transform: none; transition: none; }
    .slide, .slide img, .lot__media img, .exhibit, .ss-caption, a.frame .frame__window img { transition-duration: .01ms !important; }
    .slide img.is-cover, .slide.is-active img.is-cover { transform: none; }
}
