/* ==========================================================================
   WEBSITE999 v6 "Nocturne" - design system
   --------------------------------------------------------------------------
   A fixed, dark gallery design: the rooms are dark and the pieces are lit.
   Warm near-black pages, six deep coloured walls for the bands (claret,
   bottle green, midnight, aubergine, walnut, teal), ivory type in
   Cormorant Garamond with Manrope text, and small gold accents.
   Every photograph sits in a lit display case (one of six softly tinted
   lights, brightest in the middle and falling off to the edges), always
   square or rectangular. Dealers' photographs are usually
   cut out on white; "is-object" images are multiplied onto the case so the
   white disappears and the piece sits in the light.
   There are no per-dealer colour or font options. Plain CSS; mobile first.
   Breakpoints: 640 (sm), 768 (md), 1024 (lg - desktop menu), 1280 (xl).

   Note for edits: nothing between a lit case (.g1 - .g6) and an
   "is-object" image may create a stacking context (opacity < 1,
   transform, filter, z-index), or the white of the photograph shows again.
   The walls (.w1 - .w6) are for bands with text on them, never behind
   photographs.

    1. Tokens, walls & cases  8. Cards                 15. Item page
    2. Base                   9. Homepage              16. Selections
    3. Type                  10. Page headings         17. Text pages
    4. Buttons & links       11. Catalogue listing     18. Contact
    5. Header & menus        12. Forms                 19. Modals & viewer
    6. Mobile menu           13. Pager & empty         20. Motion
    7. Footer                14. Calls to action
   ========================================================================== */

/* ---------- 1. Tokens, walls & cases ---------- */
:root {
    color-scheme: dark;
    --bg: #14110F;             /* page background              */
    --bg-2: #1C1815;           /* tinted sections, panels      */
    --bg-3: #26201C;           /* raised: hovers, menus        */
    --floor: #0D0B0A;          /* footer                       */
    --hi: #F0E8DB;             /* headings, buttons (ivory)    */
    --text: #D5CBBD;           /* body text                    */
    --muted: #A3998C;          /* secondary text               */
    --faint: #80776C;          /* counts, placeholders         */
    --line: rgb(240 232 219 / .12);
    --line-strong: rgb(240 232 219 / .24);
    --gold: #D6AF6D;           /* eyebrows, marks, emphasis    */
    --gold-hi: #E9CB93;        /* button hover                 */
    --sold: #E58B71;           /* sold                         */
    --ok: #9DC18E;             /* "available" dot              */

    /* The six walls (bands with text on them) */
    --w1: #3A1B20;             /* claret    */
    --w2: #17302A;             /* bottle    */
    --w3: #1A263A;             /* midnight  */
    --w4: #2E1F33;             /* aubergine */
    --w5: #34271D;             /* walnut    */
    --w6: #1A3135;             /* teal      */

    --font-display: "Cormorant Garamond", Cormorant, Garamond, "Times New Roman", serif;
    --font-sans: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

    --wrap: 1440px;
    --gutter: clamp(1rem, 4vw, 3.5rem);
    --header-h: 4.25rem;
    --sticky-top: calc(var(--header-h) + 1.25rem);
    --ease: cubic-bezier(.2, .7, .2, 1);
    --shadow: 0 40px 80px -40px rgb(0 0 0 / .75);
}
.header-hidden { --sticky-top: 1.25rem; }
@media (min-width: 1024px) {
    :root { --header-h: 4.75rem; }
}
.w1 { background-color: var(--w1); }
.w2 { background-color: var(--w2); }
.w3 { background-color: var(--w3); }
.w4 { background-color: var(--w4); }
.w5 { background-color: var(--w5); }
.w6 { background-color: var(--w6); }

/* The six lit cases behind the photographs: --lit in the middle,
   falling off through --mid to --edge at the corners. */
.g1 { --lit: #F6F1E9; --mid: #E1D8CA; --edge: #6F665A; }   /* warm white */
.g2 { --lit: #F1F3EB; --mid: #D5DACC; --edge: #5E6857; }   /* sage       */
.g3 { --lit: #F7EFE9; --mid: #E3D3C9; --edge: #765F58; }   /* blush      */
.g4 { --lit: #EEF1F3; --mid: #D2D9DE; --edge: #59646F; }   /* mist       */
.g5 { --lit: #F7F0E2; --mid: #E5D8BF; --edge: #7A6A4E; }   /* candle     */
.g6 { --lit: #F3EEF3; --mid: #DAD1DB; --edge: #665B68; }   /* heather    */
.g1, .g2, .g3, .g4, .g5, .g6 {
    background-color: var(--mid);
    background-image: radial-gradient(100% 86% at 50% 36%, var(--lit) 0%, var(--mid) 44%, var(--edge) 100%);
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 1.5rem); background: var(--bg); }
body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-sans);
    font-size: 1.0625rem;
    line-height: 1.7;
    -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(214 175 109 / .35); color: var(--hi); }
:focus-visible { outline: 2px solid var(--gold); 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: 400;
    padding: .75rem 1.25rem; background: var(--hi); color: var(--bg);
    font-size: .9rem; 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); }
.icon { width: 1em; height: 1em; fill: currentColor; flex: none; vertical-align: -.125em; }
.count { color: var(--faint); font-size: .85em; font-variant-numeric: tabular-nums; }

/* Photographs inside a case: the case sets the size, the image fills it. */
.media-box, .card__media, .dept__media, .feature__media, .pd__photo, .exhibit__media,
.collage__item, .neighbour__thumb, .enquiry-piece__thumb {
    position: relative; display: block; overflow: hidden; border-radius: 2px;
}
.card__media img, .dept__media img, .feature__media img, .pd__photo img, .exhibit__media img,
.collage__item img, .neighbour__thumb img, .enquiry-piece__thumb img {
    position: absolute; inset: 0; width: 100%; height: 100%;
}
.is-cover { object-fit: cover; }
.is-object { object-fit: contain; mix-blend-mode: multiply; }

/* ---------- 3. Type ---------- */
.display {
    font-family: var(--font-display);
    font-weight: 500;
    line-height: 1.02;
    letter-spacing: -.01em;
    color: var(--hi);
    text-wrap: balance;
}
.display em, .hero__name em { font-style: italic; font-weight: 400; color: var(--gold); }
.eyebrow {
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--gold);
}
.prose { font-size: 1.06rem; line-height: 1.85; color: var(--text); overflow-wrap: break-word; }
.prose p + p, .prose p + ul, .prose ul + p { margin-top: 1.1em; }
.prose h2, .prose h3 {
    font-family: var(--font-display); font-weight: 500; color: var(--hi);
    font-size: 2rem; line-height: 1.12; margin: 2.25rem 0 .75rem;
}
.prose h3 { font-size: 1.55rem; }
.prose > :first-child { margin-top: 0; }
.prose ul { list-style: disc; padding-left: 1.25rem; }
.prose ul li::marker { color: var(--gold); }
.prose a { color: var(--hi); text-decoration-color: rgb(214 175 109 / .6); text-underline-offset: .2em; }
.prose a:hover { text-decoration-color: var(--gold); color: var(--gold-hi); }
.prose strong, .prose b { color: var(--hi); font-weight: 600; }
.prose--lead > p:first-child { font-family: var(--font-display); font-size: 1.45rem; line-height: 1.5; color: var(--hi); }

/* ---------- 4. Buttons & links ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
    min-height: 3.15rem; padding: .85rem 1.75rem;
    border: 1px solid transparent; border-radius: 1px;
    font-family: var(--font-sans); font-size: .76rem; font-weight: 600; letter-spacing: .16em; line-height: 1.2;
    text-transform: uppercase; text-align: center; text-decoration: none; cursor: pointer;
    transition: background-color .2s, color .2s, border-color .2s;
}
.btn .icon { font-size: 1.3em; }
.btn--ink { background: var(--hi); color: var(--bg); }
.btn--ink:hover { background: var(--gold-hi); }
.btn--ghost { border-color: rgb(240 232 219 / .4); color: var(--hi); background: transparent; }
.btn--ghost:hover { border-color: var(--hi); background: rgb(240 232 219 / .06); }
.btn--light { background: var(--bg-3); border-color: var(--line-strong); color: var(--hi); }
.btn--light:hover { border-color: var(--hi); }
.btn--block { width: 100%; }
.btn--sm { min-height: 2.6rem; padding: .5rem 1.1rem; font-size: .72rem; }
.btn:disabled { cursor: wait; opacity: .75; }
.spinner {
    display: none; width: 1em; height: 1em;
    border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%;
    animation: spin .7s linear infinite;
}
.is-busy .spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

.round-btn {
    display: inline-flex; align-items: center; justify-content: center; flex: none;
    width: 2.75rem; height: 2.75rem; border-radius: 50%;
    border: 1px solid rgb(240 232 219 / .3); color: var(--hi); background: transparent;
    text-decoration: none; transition: background-color .2s, color .2s, border-color .2s;
}
.round-btn .icon { font-size: 1.1rem; }
.round-btn:hover { background: var(--hi); border-color: var(--hi); color: var(--bg); }
.round-btn:disabled, .round-btn.is-disabled { opacity: .3; pointer-events: none; }

.tool-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .5rem; flex: none;
    min-width: 2.75rem; height: 2.75rem; padding: 0 .6rem; border-radius: 999px;
    color: var(--hi); font-size: .76rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
    transition: background-color .2s;
}
.tool-btn .icon { font-size: 1.4rem; }
.tool-btn:hover { background: rgb(240 232 219 / .08); }

.link-arrow {
    display: inline-flex; align-items: center; gap: .45rem;
    padding-bottom: .2rem; border-bottom: 1px solid var(--gold);
    color: var(--hi); font-size: .76rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; text-decoration: none;
    transition: color .2s;
}
.link-arrow .icon { font-size: 1.35em; transition: transform .25s var(--ease); }
.link-arrow:hover { color: var(--gold-hi); }
.link-arrow:hover .icon { transform: translate(2px, -2px); }

.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip {
    display: inline-flex; align-items: center; gap: .45rem;
    padding: .45rem .95rem; border: 1px solid var(--line-strong); border-radius: 1px;
    color: var(--hi); font-size: .88rem; text-decoration: none;
    transition: background-color .2s, color .2s, border-color .2s;
}
.chip:hover { background: var(--hi); border-color: var(--hi); color: var(--bg); }
.chip--remove .icon { font-size: .8rem; }

.tag {
    position: absolute; left: .75rem; top: .75rem;
    display: inline-flex; align-items: center; gap: .45rem;
    padding: .32rem .7rem; border-radius: 1px;
    background: rgb(20 17 15 / .86); color: var(--hi);
    font-size: .66rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
}
.dot { display: inline-block; width: .45rem; height: .45rem; border-radius: 50%; background: var(--sold); flex: none; }
.social-row { display: flex; flex-wrap: wrap; gap: .5rem; }

/* ---------- 5. Header & menus ---------- */
.header {
    position: sticky; top: 0; z-index: 100;
    background: rgb(20 17 15 / .9);
    -webkit-backdrop-filter: saturate(1.3) blur(14px);
    backdrop-filter: saturate(1.3) blur(14px);
    border-bottom: 1px solid transparent;
    transition: transform .35s var(--ease), border-color .3s;
}
.is-scrolled .header { border-bottom-color: var(--line); }
.header.is-hidden { transform: translateY(-101%); }
.header__inner { display: flex; align-items: stretch; gap: 1rem; height: var(--header-h); }
.brand {
    display: flex; align-items: center; min-width: 0;
    font-family: var(--font-display); font-size: 1.65rem; font-weight: 500; line-height: 1.1;
    color: var(--hi); text-decoration: none;
}
.brand--long { font-size: 1.18rem; line-height: 1.12; }
.header .brand { margin-right: auto; }
.header .brand--long { max-width: 30ch; }
.nav { display: none; }
.header__tools { display: flex; align-items: center; gap: .25rem; }
.header__tel { display: none; }
.menu-btn span { display: none; }
@media (min-width: 480px) {
    .menu-btn span { display: inline; }
}
@media (max-width: 479.98px) {
    .header .brand--long { font-size: 1.1rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; align-self: center; }
}
@media (min-width: 1024px) {
    .header__inner { gap: 2rem; }
    .header .brand { margin-right: 0; }
    .nav { display: flex; flex: 1; justify-content: center; }
    .menu-btn { display: none; }
}
@media (min-width: 1280px) {
    .header__tel {
        display: inline-flex; align-items: center; gap: .5rem; padding: 0 .75rem;
        color: var(--hi); font-size: .9rem; font-weight: 500; text-decoration: none; white-space: nowrap;
    }
    .header__tel .icon { font-size: .85rem; color: var(--gold); }
    .header__tel:hover { color: var(--gold-hi); }
}
.nav__list { display: flex; align-items: stretch; }
.nav__item { display: flex; align-items: stretch; }
.nav__item--rel { position: relative; }
.nav__link {
    position: relative; display: flex; align-items: center; gap: .4rem;
    padding: 0 .95rem; color: var(--hi); font-size: .74rem; font-weight: 600; letter-spacing: .16em;
    text-transform: uppercase; text-decoration: none; white-space: nowrap;
}
.nav__link .icon { font-size: .85rem; color: var(--gold); transition: transform .25s var(--ease); }
.nav__link::after {
    content: ""; position: absolute; left: .95rem; right: .95rem; bottom: calc(50% - .95rem);
    height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left;
    transition: transform .3s var(--ease);
}
.nav__link:hover::after, .nav__link[aria-current]::after, .is-open > .nav__link::after { transform: scaleX(1); }
.is-open > .nav__link .icon { transform: rotate(180deg); }

.mega, .dropdown {
    position: absolute; top: 100%;
    background: var(--bg-2);
    opacity: 0; visibility: hidden; transform: translateY(-6px);
    transition: opacity .25s, transform .25s var(--ease), visibility 0s .25s;
}
.is-open > .mega, .is-open > .dropdown { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.mega {
    left: 0; right: 0;
    border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
}
.mega__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr) minmax(0, 1fr); gap: 3rem; padding-top: 2.5rem; padding-bottom: 3rem; }
.mega__heading { margin-bottom: 1rem; font-size: .72rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.mega__col { display: flex; flex-direction: column; align-items: flex-start; }
.mega__link {
    display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; width: 100%;
    padding: .45rem 0; color: var(--text); font-size: .95rem; text-decoration: none;
}
.mega__link:hover { color: var(--hi); }
.mega__link:hover > span:first-child { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: .25em; }
.mega__link--big { padding: .1rem 0; font-family: var(--font-display); font-size: 1.75rem; font-weight: 500; line-height: 1.3; color: var(--hi); }
.mega__link--big:hover { color: var(--gold-hi); font-style: italic; }
.mega__link--big + .mega__link:not(.mega__link--big) { margin-top: 1rem; }
.mega__depts { width: 100%; columns: 2; column-gap: 2.5rem; }
.mega__depts .mega__link { break-inside: avoid; border-bottom: 1px solid var(--line); }
.mega__more { margin-top: 1.25rem; }
.mega__card { display: flex; flex-direction: column; justify-content: space-between; gap: 1.5rem; min-height: 15rem; padding: 1.75rem; border-radius: 2px; text-decoration: none; }
.mega__card-eyebrow { font-size: .72rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.mega__card-title { font-family: var(--font-display); font-size: 1.7rem; font-weight: 500; line-height: 1.2; color: var(--hi); }
.mega__card .link-arrow { align-self: flex-start; }
.dropdown {
    left: 50%; min-width: 15rem; margin-left: -7.5rem; padding: .6rem;
    border: 1px solid var(--line); border-radius: 2px; box-shadow: var(--shadow);
}
.dropdown a { display: block; padding: .55rem .8rem; border-radius: 1px; color: var(--text); font-size: .95rem; text-decoration: none; }
.dropdown a:hover { background: var(--bg-3); color: var(--hi); }

/* ---------- 6. Mobile menu ---------- */
.drawer {
    position: fixed; inset: 0; z-index: 200;
    display: flex; flex-direction: column; overflow-y: auto; overscroll-behavior: contain;
    background: var(--bg);
    opacity: 0; visibility: hidden; transition: opacity .3s, visibility 0s .3s;
}
.drawer.is-open { opacity: 1; visibility: visible; transition-delay: 0s; }
.drawer__top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex: none; height: var(--header-h); }
.drawer__body { display: flex; flex-direction: column; gap: 2.25rem; flex: 1; padding-top: 1rem; padding-bottom: 2.5rem; }
.drawer__nav { border-top: 1px solid var(--line); }
.drawer__link {
    display: flex; justify-content: space-between; align-items: center; width: 100%;
    padding: .7rem 0; border-bottom: 1px solid var(--line);
    font-family: var(--font-display); font-size: clamp(2rem, 8vw, 2.7rem); font-weight: 500; line-height: 1.15;
    color: var(--hi); text-align: left; text-decoration: none;
}
.drawer__link[aria-current] { font-style: italic; color: var(--gold); }
.drawer__link .icon { font-size: 1.4rem; color: var(--gold); transition: transform .3s var(--ease); }
.drawer__link[aria-expanded="true"] .icon { transform: rotate(45deg); }
.drawer__sub { display: grid; padding: .5rem 0 1rem; border-bottom: 1px solid var(--line); }
.drawer__sub a { display: flex; justify-content: space-between; gap: 1rem; padding: .5rem 0; color: var(--text); font-size: 1.05rem; text-decoration: none; }
.drawer__contact { display: grid; gap: .75rem; margin-top: auto; font-size: 1rem; }
.drawer__contact > a { display: inline-flex; align-items: center; gap: .65rem; color: var(--hi); text-decoration: none; overflow-wrap: anywhere; }
.drawer__contact > a .icon { color: var(--gold); }
.drawer.is-open .drawer__nav > * { animation: rise .55s var(--ease) both; }
.drawer.is-open .drawer__nav > :nth-child(2) { animation-delay: .04s; }
.drawer.is-open .drawer__nav > :nth-child(4) { animation-delay: .08s; }
.drawer.is-open .drawer__nav > :nth-child(5) { animation-delay: .12s; }
.drawer.is-open .drawer__nav > :nth-child(6) { animation-delay: .16s; }
.drawer.is-open .drawer__nav > :nth-child(8) { animation-delay: .2s; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ---------- 7. Footer ---------- */
.footer { margin-top: clamp(4rem, 9vw, 8rem); padding-top: clamp(3rem, 6vw, 5rem); background: var(--floor); border-top: 1px solid var(--line); }
main:has(> .cta:last-child) + .footer { margin-top: 0; border-top: 0; }
.footer__contact { padding-bottom: clamp(2.5rem, 5vw, 4rem); }
.footer__intro { max-width: 32ch; margin-bottom: 2rem; font-family: var(--font-display); font-style: italic; font-size: clamp(1.6rem, 2.6vw, 2.25rem); line-height: 1.22; color: var(--hi); }
.footer__ways { display: grid; gap: 1.75rem; }
@media (min-width: 900px) {
    .footer__ways { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem; }
}
.footer__label { margin-bottom: .5rem; font-size: .72rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.footer__big {
    display: inline-block; font-family: var(--font-display); font-size: clamp(1.5rem, 2.4vw, 2.05rem); font-weight: 500; line-height: 1.22;
    color: var(--hi); text-decoration: none; overflow-wrap: anywhere;
    background: linear-gradient(var(--gold), var(--gold)) 0 100% / 0 1px no-repeat;
    transition: background-size .35s var(--ease);
}
.footer__big:hover { background-size: 100% 1px; }
.footer__big--address { font-size: clamp(1.2rem, 1.7vw, 1.45rem); }
.footer__big--email { font-family: var(--font-sans); font-size: clamp(1rem, 1.35vw, 1.15rem); font-weight: 500; }
.footer__cols { display: grid; gap: 2.25rem; padding: 2.5rem 0; border-top: 1px solid var(--line-strong); }
@media (min-width: 640px) {
    .footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
    .footer__cols { grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 3rem; }
}
.footer__about { display: grid; gap: 1.25rem; align-content: start; }
.footer__tagline { max-width: 34ch; font-family: var(--font-display); font-style: italic; font-size: 1.3rem; line-height: 1.4; color: var(--text); }
.footer__heading { margin-bottom: .85rem; font-size: .72rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.footer__links { display: grid; gap: .3rem; }
.footer__links a { color: var(--text); font-size: .95rem; text-decoration: none; }
.footer__links a:hover { color: var(--hi); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: .25em; }
.footer__name {
    display: block; padding: .1em 0 .2em; border-top: 1px solid var(--line-strong);
    font-family: var(--font-display); font-weight: 500; line-height: .95; letter-spacing: -.02em;
    color: var(--hi); text-decoration: none; text-wrap: balance; overflow-wrap: break-word;
    transition: color .4s;
}
.footer__name:hover { color: var(--gold-hi); }
.footer__name.is-short { font-size: clamp(4rem, 18vw, 17rem); }
.footer__name.is-medium { font-size: clamp(3.1rem, 11.6vw, 12.5rem); }
.footer__name.is-long { font-size: clamp(2.6rem, 7.8vw, 8.2rem); }
.footer__name.is-xlong { font-size: clamp(2.2rem, 5.6vw, 5.8rem); }
.footer__bottom {
    display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1.5rem;
    padding-top: 1.25rem; padding-bottom: 2rem; border-top: 1px solid var(--line-strong);
    color: var(--muted); font-size: .85rem;
}
.footer__bottom a { color: inherit; }
.footer__bottom a:hover { color: var(--hi); }

/* ---------- 8. Cards ---------- */
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.25rem 1rem; }
@media (min-width: 768px) {
    .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3rem 1.5rem; }
}
@media (min-width: 1024px) {
    .cards--four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.card { display: flex; flex-direction: column; min-width: 0; color: inherit; text-decoration: none; }
.card__media { aspect-ratio: 4 / 5; }
.card__media img { transition: transform .9s var(--ease); }
.card__media .is-object { padding: 12%; }
.card:hover .card__media img { transform: scale(1.045); }
.card__body { display: grid; gap: .1rem; padding-top: 1rem; }
.card__title {
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
    font-family: var(--font-display); font-size: 1.3rem; font-weight: 500; line-height: 1.2; color: var(--hi);
    overflow-wrap: break-word;
}
.card:hover .card__title { text-decoration: underline; text-decoration-thickness: 1px; text-decoration-color: var(--gold); text-underline-offset: .2em; }
.card__meta { color: var(--muted); font-size: .84rem; }
.card__price { margin-top: .35rem; color: var(--hi); font-size: .92rem; font-weight: 500; font-variant-numeric: lining-nums; letter-spacing: .02em; }
.card__price.is-sold { color: var(--sold); }

/* Homepage "new arrivals": one large piece, then the rest */
.cards--bento .card__media { aspect-ratio: 1; }
.cards--bento .card--feature { grid-column: 1 / -1; }
.card--feature .card__title { font-size: 1.7rem; }
@media (min-width: 768px) {
    .cards--bento .card--feature { grid-column: span 2; grid-row: span 2; }
    .cards--bento .card--feature .card__media { aspect-ratio: auto; flex: 1; min-height: 20rem; }
}
@media (min-width: 1024px) {
    .cards--bento { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .card--feature .card__title { font-size: 2.2rem; }
    .cards--bento .card--feature .card__media .is-object { padding: 10%; }
}

/* ---------- 9. Homepage ---------- */
.hero { position: relative; padding: clamp(1.75rem, 4vw, 3.5rem) 0 clamp(2.25rem, 4vw, 3.75rem); transition: background-color 1.4s ease; }
.hero__grid { display: grid; gap: 2.5rem; }
@media (min-width: 1024px) {
    .hero__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 3.5rem; align-items: center; min-height: min(76vh, 760px); }
}
.hero__text { display: flex; flex-direction: column; align-items: flex-start; gap: 1.25rem; }
.hero__name {
    max-width: 100%;
    font-family: var(--font-display); font-weight: 500; line-height: .96; letter-spacing: -.02em;
    color: var(--hi); text-wrap: balance; overflow-wrap: break-word;
}
.hero__name.is-short { font-size: clamp(3.6rem, 8.8vw, 7.5rem); }
.hero__name.is-medium { font-size: clamp(3.1rem, 6.8vw, 6rem); }
.hero__name.is-long { font-size: clamp(2.6rem, 5.2vw, 4.6rem); }
.hero__name.is-xlong { font-size: clamp(2.3rem, 4vw, 3.6rem); line-height: 1.02; }
.hero__tagline { max-width: 30ch; font-family: var(--font-display); font-style: italic; font-size: clamp(1.35rem, 2vw, 1.7rem); line-height: 1.3; color: var(--gold-hi); }
.hero__lead { max-width: 44ch; color: var(--text); }
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: .5rem; }
.hero__stat { color: var(--muted); font-size: .9rem; }
.hero__stat b { margin-right: .25rem; font-family: var(--font-display); font-size: 1.85rem; font-weight: 500; color: var(--hi); }
.hero__stage { position: relative; display: flex; flex-direction: column; gap: 1rem; min-width: 0; }
/* A pool of warm light on the wall above the case */
.hero__stage::before {
    content: ""; position: absolute; left: 4%; right: 4%; top: -12%; height: 70%;
    background: radial-gradient(closest-side, rgb(255 234 196 / .13), rgb(255 234 196 / 0));
    pointer-events: none;
}
.hero__slides {
    position: relative; height: clamp(320px, 88vw, 560px);
    overflow: hidden; border-radius: 2px;
    box-shadow: 0 0 0 1px rgb(240 232 219 / .08), 0 50px 90px -40px rgb(0 0 0 / .8);
}
@media (min-width: 1024px) {
    .hero__slides { height: min(64vh, 640px); }
}
.slide { position: absolute; inset: 0; pointer-events: none; }
.slide img {
    position: absolute; inset: 0; width: 100%; height: 100%;
    opacity: 0; transform: translateY(14px) scale(.985);
    transition: opacity .9s var(--ease), transform 1.3s var(--ease);
}
.slide.is-active img { opacity: 1; transform: none; }
.slide img.is-object { padding: 6%; }
.slide-link { position: absolute; inset: 0; z-index: 2; }
.hero__caption {
    display: flex; align-items: center; justify-content: space-between; gap: 1rem;
    padding-top: 1rem; border-top: 1px solid rgb(240 232 219 / .16);
}
.hero__piece { display: grid; min-width: 0; color: inherit; text-decoration: none; transition: opacity .3s; }
.ss-caption.is-changing .hero__piece { opacity: 0; }
.hero__piece-name { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-family: var(--font-display); font-size: 1.35rem; font-weight: 500; color: var(--hi); }
.hero__piece:hover .hero__piece-name { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: .2em; }
.hero__piece-price { color: var(--muted); font-size: .9rem; }
.hero__controls { display: flex; align-items: center; gap: .5rem; flex: none; }
.hero__count { margin-right: .5rem; color: var(--muted); font-size: .85rem; font-variant-numeric: tabular-nums; }
.hero__count b { color: var(--hi); font-weight: 500; }
@media (max-width: 479.98px) {
    .hero__count { display: none; }
}

.ticker { overflow: hidden; padding: 1.15rem 0; border-bottom: 1px solid var(--line); }
/* The loop time is set on the element (index.asp, then scripts.js) so the
   speed stays the same however many departments there are. */
.ticker__track { display: flex; width: max-content; animation: ticker 120s linear infinite; }
.ticker:hover .ticker__track, .ticker:focus-within .ticker__track { animation-play-state: paused; }
.ticker__group { display: flex; align-items: center; flex: none; }
.ticker a {
    padding: 0 1.9rem; white-space: nowrap;
    font-family: var(--font-display); font-style: italic; font-weight: 500; font-size: clamp(1.7rem, 3.3vw, 2.7rem); line-height: 1.2;
    color: var(--hi); text-decoration: none; transition: color .2s;
}
.ticker a:hover { color: var(--gold-hi); }
.ticker__mark { width: .4rem; height: .4rem; flex: none; background: var(--gold); transform: rotate(45deg); }
@keyframes ticker { to { transform: translateX(-50%); } }

.section { padding: clamp(3.5rem, 8vw, 7rem) 0; }
.section--tint { background: var(--bg-2); }
.section__head { display: grid; gap: .75rem 2rem; margin-bottom: clamp(1.75rem, 4vw, 3rem); align-items: end; justify-items: start; }
@media (min-width: 768px) {
    .section__head { grid-template-columns: minmax(0, 1fr) auto; }
    .section__head .link-arrow { grid-column: 2; grid-row: 1 / span 2; align-self: end; }
}
.section__title { font-size: clamp(2.6rem, 5.6vw, 4.5rem); line-height: .98; }
.section__text { max-width: 48ch; color: var(--muted); }
.section__foot { display: flex; justify-content: center; margin-top: clamp(2.5rem, 5vw, 4rem); }

.words { padding: clamp(4rem, 9vw, 8rem) 0; }
.words__grid { display: grid; gap: 1rem; }
@media (min-width: 1024px) {
    .words__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 3fr); gap: 3rem; }
}
.words__mark { display: block; height: .55em; margin-top: 1rem; font-family: var(--font-display); font-size: clamp(7rem, 13vw, 12rem); line-height: 1; color: var(--gold); }
.words__quote { margin-bottom: 2rem; font-family: var(--font-display); font-weight: 500; font-size: clamp(1.75rem, 3.4vw, 2.9rem); line-height: 1.2; color: var(--hi); text-wrap: pretty; }

.depts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem 1rem; }
@media (min-width: 1024px) {
    .depts { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2.75rem 1.5rem; }
}
.dept { display: grid; gap: .2rem; color: inherit; text-decoration: none; }
.dept__media { aspect-ratio: 4 / 5; margin-bottom: .85rem; }
.dept__media img { transition: transform .9s var(--ease); }
.dept__media .is-object { padding: 13%; }
.dept:hover .dept__media img { transform: scale(1.045); }
.dept__name { font-family: var(--font-display); font-size: clamp(1.45rem, 2.2vw, 1.85rem); font-weight: 500; line-height: 1.12; color: var(--hi); }
.dept:hover .dept__name { font-style: italic; color: var(--gold-hi); }
.dept__count { color: var(--muted); font-size: .84rem; }

.feature { padding: clamp(4rem, 9vw, 8rem) 0 0; }
.feature__grid { display: grid; gap: 2rem; }
@media (min-width: 1024px) {
    .feature__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(3rem, 6vw, 6rem); align-items: center; }
}
.feature__media { aspect-ratio: 5 / 4; }
.feature__media .is-object { padding: 8%; }
.feature__text { display: flex; flex-direction: column; align-items: flex-start; }
.feature__title { margin: .9rem 0 .5rem; font-size: clamp(2.3rem, 4vw, 3.6rem); line-height: 1.02; }
.feature__title a { color: inherit; text-decoration: none; }
.feature__title a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-decoration-color: var(--gold); text-underline-offset: .15em; }
.feature__period { font-family: var(--font-display); font-style: italic; font-size: 1.35rem; color: var(--muted); }
.feature__desc { max-width: 52ch; margin-top: 1.25rem; color: var(--text); }
.feature__price { margin: 1.5rem 0; font-family: var(--font-display); font-size: 2.2rem; font-weight: 500; line-height: 1; color: var(--hi); }

/* ---------- 10. Page headings ---------- */
.pagehead { padding-top: clamp(1.25rem, 3vw, 2.25rem); padding-bottom: clamp(2rem, 4vw, 3.25rem); }
.crumbs { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: clamp(1.5rem, 4vw, 3rem); color: var(--muted); font-size: .84rem; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--hi); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: .25em; }
.crumbs span[aria-hidden] { color: var(--faint); }
.pagehead .eyebrow { margin-bottom: 1rem; }
.pagehead__title { font-size: clamp(3rem, 7.6vw, 6.4rem); line-height: .96; letter-spacing: -.02em; }
.pagehead__count {
    position: relative; top: -.1em; margin-left: .45rem; vertical-align: top; line-height: 1;
    font-family: var(--font-sans); font-size: clamp(.8rem, 1.1vw, .95rem); font-weight: 600; letter-spacing: .04em;
    color: var(--gold); font-variant-numeric: tabular-nums;
}
.pagehead__lead { max-width: 56ch; margin-top: 1.25rem; color: var(--text); font-size: 1.08rem; }
.pagehead__sub { max-width: 40ch; margin-top: 1.1rem; font-family: var(--font-display); font-style: italic; font-size: clamp(1.4rem, 2.2vw, 1.8rem); line-height: 1.3; color: var(--gold-hi); }
.pagehead--center { text-align: center; }
.pagehead--center .pagehead__lead, .pagehead--center .pagehead__sub { margin-inline: auto; }

/* ---------- 11. Catalogue listing ---------- */
.listing { display: grid; gap: 1.5rem; }
@media (min-width: 1024px) {
    .listing { grid-template-columns: 15.5rem minmax(0, 1fr); gap: clamp(2.5rem, 4vw, 4rem); align-items: start; }
    .filters {
        position: sticky; top: var(--sticky-top);
        max-height: calc(100vh - var(--sticky-top) - 1rem); overflow-y: auto;
        scrollbar-width: thin; scrollbar-color: var(--line-strong) transparent;
        transition: top .35s var(--ease);
    }
}
.filters__head { display: none; }
.filters .search-field { margin-bottom: 1.75rem; }
.filters__group { padding: 1.25rem 0; border-top: 1px solid var(--line); }
.filters__title { margin-bottom: .6rem; font-size: .72rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.filters__opt {
    display: flex; justify-content: space-between; align-items: baseline; gap: 1rem;
    padding: .3rem 0; color: var(--text); font-size: .95rem; text-decoration: none;
}
.filters__opt:hover { color: var(--hi); }
.filters__opt.is-active { color: var(--hi); font-weight: 600; }
.filters__opt.is-active > span:first-child, .filters__opt.is-active:not(:has(span)) { text-decoration: underline; text-decoration-thickness: 1px; text-decoration-color: var(--gold); text-underline-offset: .3em; }
.listing__main { min-width: 0; }
.listing__bar {
    display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1rem;
    margin-bottom: 1.75rem; padding-bottom: 1.25rem; border-bottom: 1px solid var(--line);
}
.listing__count { margin-right: auto; color: var(--muted); font-size: .9rem; }
.listing__active { display: flex; flex-wrap: wrap; gap: .5rem; order: 3; width: 100%; }
@media (min-width: 640px) {
    .listing__active { order: 0; width: auto; }
}
.listing__filter-btn .icon { font-size: 1.35rem; }
html:not(.js) .listing__filter-btn { display: none; }
@media (min-width: 1024px) {
    .listing__filter-btn { display: none; }
}
.sheet-backdrop { display: none; }
@media (max-width: 1023.98px) {
    .js .filters {
        position: fixed; left: 0; right: 0; bottom: 0; z-index: 220;
        max-height: 86vh; overflow-y: auto; overscroll-behavior: contain;
        padding: 0 var(--gutter) 2rem; border-radius: 4px 4px 0 0;
        background: var(--bg-2); border-top: 1px solid var(--line-strong);
        box-shadow: 0 -24px 60px -24px rgb(0 0 0 / .7);
        transform: translateY(105%); visibility: hidden;
        transition: transform .4s var(--ease), visibility 0s .4s;
    }
    .js .filters.is-open { transform: none; visibility: visible; transition-delay: 0s; }
    .js .filters__head {
        position: sticky; top: 0; z-index: 1;
        display: flex; align-items: center; justify-content: space-between;
        padding: 1rem 0; background: var(--bg-2);
    }
    .filters__heading { font-family: var(--font-display); font-size: 1.7rem; font-weight: 500; color: var(--hi); }
    .js .sheet-backdrop {
        display: block; position: fixed; inset: 0; z-index: 210;
        background: rgb(0 0 0 / .6); opacity: 0; visibility: hidden;
        transition: opacity .3s, visibility 0s .3s;
    }
    .js .sheet-backdrop.is-visible { opacity: 1; visibility: visible; transition-delay: 0s; }
}

/* ---------- 12. Forms ---------- */
.form { display: grid; gap: 1.1rem; }
.form__pair { display: grid; gap: 1.1rem; }
@media (min-width: 640px) {
    .form__pair { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; }
.form__note { color: var(--muted); font-size: .85rem; }
.field-label { display: block; margin-bottom: .4rem; color: var(--hi); font-size: .82rem; font-weight: 600; letter-spacing: .02em; }
.req { color: var(--gold); }
.field {
    width: 100%; min-height: 3rem; padding: .75rem 1rem;
    border: 1px solid rgb(240 232 219 / .2); border-radius: 2px;
    background: rgb(0 0 0 / .26); color: var(--hi); font-size: 1rem;
    transition: border-color .2s, box-shadow .2s;
    -webkit-appearance: none; appearance: none;
}
.field:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgb(214 175 109 / .2); }
textarea.field { min-height: 8rem; resize: vertical; }
.field::placeholder { color: var(--faint); }
.search-field { position: relative; }
.search-field .field { padding-right: 3.25rem; }
.search-field__btn {
    position: absolute; right: .3rem; top: 50%; transform: translateY(-50%);
    display: flex; align-items: center; justify-content: center;
    width: 2.5rem; height: 2.5rem; border-radius: 50%; color: var(--hi);
}
.search-field__btn .icon { font-size: 1.25rem; }
.search-field__btn:hover { background: rgb(240 232 219 / .08); }
input[type="search"]::-webkit-search-cancel-button { -webkit-appearance: none; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.alert { padding: .9rem 1.1rem; border-radius: 2px; font-size: .95rem; }
.alert--ok { background: #203325; color: #CFE6C4; }
.alert--error { background: #44201A; color: #F5CDBF; }

/* ---------- 13. Pager & empty ---------- */
.pager { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-top: clamp(3rem, 6vw, 4.5rem); }
.pager__pages { display: flex; align-items: center; gap: .2rem; }
.pager__num {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 2.6rem; height: 2.6rem; padding: 0 .5rem; border-radius: 999px;
    color: var(--text); font-variant-numeric: tabular-nums; text-decoration: none;
}
.pager__num:hover { background: var(--bg-3); color: var(--hi); }
.pager__num.is-current { background: var(--hi); color: var(--bg); font-weight: 600; }
.pager__gap { padding: 0 .25rem; color: var(--faint); }
.empty { display: grid; justify-items: center; gap: 1rem; padding: clamp(3rem, 8vw, 5rem) 1.5rem; border-radius: 2px; text-align: center; }
.empty__title { font-size: clamp(2.2rem, 4.4vw, 3.3rem); }
.empty__text { max-width: 40ch; color: var(--text); }

/* ---------- 14. Calls to action ---------- */
.cta { margin-top: clamp(4rem, 9vw, 7rem); padding: clamp(3rem, 7vw, 5.5rem) 0; }
.cta__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem 2rem; }
.cta__title { font-size: clamp(2.4rem, 5vw, 4.1rem); line-height: .98; }
.cta__actions { display: flex; flex-wrap: wrap; gap: .75rem; }

/* ---------- 15. Item page ---------- */
.pd { padding-top: clamp(1rem, 2vw, 1.5rem); }
.pd .crumbs { margin-bottom: 1.25rem; }
.pd__grid { display: grid; gap: 2rem; }
@media (min-width: 1024px) {
    .pd__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(2.5rem, 5vw, 5rem); align-items: start; }
    .pd__info { position: sticky; top: var(--sticky-top); transition: top .35s var(--ease); }
    .pd__info.is-tall { position: static; }
}
.pd__media { min-width: 0; }
.pd__photos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
.pd__photo { aspect-ratio: 1; cursor: zoom-in; }
.pd__photo--lead { grid-column: 1 / -1; aspect-ratio: 5 / 4; }
.pd__photo .is-object { padding: 10%; }
.pd__photo--lead .is-object { padding: 8%; }
.pd__photo .tag { z-index: 1; }
.pd__photo--lead .tag { top: auto; bottom: .85rem; }
.pd__zoom {
    position: absolute; right: .85rem; bottom: .85rem; z-index: 1;
    display: flex; align-items: center; justify-content: center;
    width: 2.6rem; height: 2.6rem; border-radius: 50%;
    background: rgb(20 17 15 / .86); color: var(--hi); font-size: 1.1rem;
    opacity: 0; transition: opacity .25s;
}
.pd__photo:hover .pd__zoom, .pd__photo:focus-visible .pd__zoom { opacity: 1; }
.pd__count { display: none; }
.pd__note { margin-top: 1rem; color: var(--muted); font-size: .85rem; }
@media (max-width: 1023.98px) {
    .pd__photos {
        display: flex; gap: .5rem; overflow-x: auto; scroll-snap-type: x mandatory;
        margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter);
        scrollbar-width: none; overscroll-behavior-x: contain;
    }
    .pd__photos::-webkit-scrollbar { display: none; }
    .pd__photo { flex: 0 0 86%; aspect-ratio: 1; scroll-snap-align: start; }
    .pd__photos--single .pd__photo { flex-basis: 100%; }
    .pd__photo--lead .is-object { padding: 10%; }
    .pd__zoom { opacity: 1; }
    .pd__count { display: block; margin-top: .75rem; color: var(--muted); font-size: .85rem; text-align: right; font-variant-numeric: tabular-nums; }
    .pd__note { display: none; }
}
.pd__title { margin-top: .85rem; font-size: clamp(2.3rem, 3.8vw, 3.4rem); line-height: 1.02; }
.pd__period { margin-top: .6rem; font-family: var(--font-display); font-style: italic; font-size: 1.4rem; color: var(--gold-hi); }
.pd__price-row {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem 1.25rem;
    margin: 1.75rem 0; padding: 1.25rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.pd__price { font-family: var(--font-display); font-size: 2.5rem; font-weight: 500; line-height: 1; color: var(--hi); }
.pd__price.is-sold { color: var(--sold); }
.status { display: inline-flex; align-items: center; gap: .5rem; color: var(--muted); font-size: .86rem; }
.status .dot { background: var(--ok); box-shadow: 0 0 0 4px rgb(157 193 142 / .15); }
.status.is-sold .dot { background: var(--sold); box-shadow: 0 0 0 4px rgb(229 139 113 / .15); }
.pd__actions { display: grid; gap: .6rem; }
.paybox { display: grid; gap: .75rem; margin-top: 1.5rem; padding: 1.25rem; border: 1px solid var(--line); border-radius: 2px; background: var(--bg-2); }
.paybox__title { font-size: .72rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.paybox__note { color: var(--muted); font-size: .9rem; }
.paybox__buttons { display: grid; gap: .5rem; }
.paybox__cards { display: inline-flex; gap: .3rem; margin-left: .25rem; color: var(--muted); font-size: 1.3rem; }
.paybox__panel { display: grid; gap: .75rem; }
.paybox__panel form { display: grid; gap: .75rem; }
.paybox__row { display: flex; flex-wrap: wrap; align-items: flex-end; gap: .75rem; }
.paybox__row > div { flex: 1 1 8rem; }
.facts { display: grid; margin-top: 1.75rem; border-top: 1px solid var(--line); }
.facts__row { display: grid; grid-template-columns: 8rem minmax(0, 1fr); gap: 1rem; padding: .7rem 0; border-bottom: 1px solid var(--line); font-size: .94rem; }
.facts dt { color: var(--muted); }
.facts dd { color: var(--hi); overflow-wrap: anywhere; }
.facts dd a { color: inherit; text-decoration-color: var(--gold); text-underline-offset: .2em; }
.pd__readlink { margin-top: 1.5rem; }
.pd-about { margin-top: clamp(3rem, 7vw, 6rem); padding: clamp(3rem, 7vw, 6rem) 0; }   /* wall colour set in detail.asp */
.pd-about__grid { display: grid; gap: 2rem; }
@media (min-width: 1024px) {
    .pd-about__grid { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 4rem; }
}
.pd-about__title { margin-top: .75rem; font-size: clamp(2.5rem, 5vw, 4rem); line-height: .98; }
.pd-about__body { max-width: 46rem; }
.assure { display: grid; gap: 1.25rem; margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid var(--line-strong); }
@media (min-width: 640px) {
    .assure { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; }
}
.assure__item { display: flex; gap: .9rem; color: var(--muted); font-size: .92rem; }
.assure__item .icon { margin-top: .2rem; color: var(--gold); font-size: 1.3rem; }
.assure__item strong { display: block; color: var(--hi); font-weight: 600; }
.neighbours { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; padding-top: clamp(2rem, 5vw, 3.5rem); }
.neighbour { display: flex; align-items: center; gap: 1rem; min-width: 0; padding: .5rem 0; color: inherit; text-decoration: none; }
.neighbour--next { justify-content: flex-end; text-align: right; }
.neighbour__thumb { width: 4.75rem; height: 4.75rem; flex: none; }
.neighbour__thumb .is-object { padding: 9%; }
.neighbour__text { min-width: 0; }
.neighbour__label { display: inline-flex; align-items: center; gap: .3rem; color: var(--gold); font-size: .7rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; }
.neighbour__title {
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
    margin-top: .2rem; font-family: var(--font-display); font-size: 1.25rem; font-weight: 500; line-height: 1.2; color: var(--hi);
}
.neighbour:hover .neighbour__title { text-decoration: underline; text-decoration-thickness: 1px; text-decoration-color: var(--gold); text-underline-offset: .2em; }
@media (max-width: 639.98px) {
    .neighbour__thumb { display: none; }
}
.notfound { padding-top: clamp(3rem, 8vw, 7rem); padding-bottom: clamp(1rem, 3vw, 2rem); text-align: center; }
.notfound__title { max-width: 16ch; margin: 1rem auto; font-size: clamp(2.7rem, 6.6vw, 5rem); }
.notfound__text { max-width: 50ch; margin: 0 auto 2rem; color: var(--muted); }
.notfound__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; }

/* ---------- 16. Selections (room.asp) ---------- */
.tabs {
    display: inline-flex; gap: clamp(1.25rem, 3vw, 2.5rem); max-width: 100%; margin-top: 2rem;
    overflow-x: auto; border-bottom: 1px solid var(--line); scrollbar-width: none;
}
.tabs::-webkit-scrollbar { display: none; }
.tab {
    padding: .85rem 0; border-bottom: 1px solid transparent; margin-bottom: -1px;
    color: var(--muted); font-size: .74rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
    text-decoration: none; white-space: nowrap; transition: color .2s, border-color .2s;
}
.tab:hover { color: var(--hi); }
.tab.is-active { color: var(--hi); border-bottom-color: var(--gold); }
.exhibition { display: grid; gap: clamp(3.5rem, 8vw, 7rem); padding-top: clamp(1rem, 3vw, 2rem); }
.exhibit { display: grid; gap: 1.5rem; align-items: center; }
@media (min-width: 900px) {
    .exhibit { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(2.5rem, 5vw, 5rem); }
    .exhibit--flip { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
    .exhibit--flip .exhibit__media { order: 2; }
    .exhibit--flip .exhibit__text { justify-self: end; }
}
.exhibit__media { aspect-ratio: 5 / 4; }
.exhibit__media .is-object { padding: 8%; }
.exhibit__media img { transition: transform 1s var(--ease); }
.exhibit__media:hover img { transform: scale(1.03); }
.exhibit__text { display: grid; gap: .8rem; justify-items: start; max-width: 30rem; }
.exhibit__no { font-family: var(--font-display); font-style: italic; font-size: clamp(3.4rem, 6.6vw, 5.6rem); line-height: .9; color: var(--gold); }
.exhibit__no span { margin-left: .25rem; font-family: var(--font-sans); font-style: normal; font-size: .85rem; font-weight: 600; color: var(--muted); letter-spacing: .08em; }
.exhibit__title { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.8rem, 3vw, 2.7rem); line-height: 1.06; text-wrap: balance; }
.exhibit__title a { color: var(--hi); text-decoration: none; }
.exhibit__title a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-decoration-color: var(--gold); text-underline-offset: .15em; }
.exhibit__meta { font-family: var(--font-display); font-style: italic; font-size: 1.25rem; color: var(--muted); }
.exhibit__price { margin-bottom: .5rem; color: var(--hi); font-size: 1.1rem; font-weight: 500; }

/* ---------- 17. Text pages ---------- */
.article { display: grid; gap: 3rem; }
@media (min-width: 1024px) {
    .article { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(3rem, 7vw, 7rem); align-items: start; }
    .article--menu { grid-template-columns: 15rem minmax(0, 1fr); }
    .article--menu .article__side { order: -1; }
    .article__side { position: sticky; top: var(--sticky-top); transition: top .35s var(--ease); }
}
.article__body { max-width: 42rem; }
.article__side-title { margin-bottom: .75rem; font-size: .72rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.side-menu { border-top: 1px solid var(--line); }
.side-menu a { display: block; padding: .6rem 0; border-bottom: 1px solid var(--line); color: var(--text); font-size: .95rem; text-decoration: none; }
.side-menu a:hover { color: var(--hi); }
.side-menu a[aria-current] { color: var(--hi); font-weight: 600; box-shadow: inset 2px 0 0 var(--gold); padding-left: .85rem; }
.collage { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: .75rem; }
.collage__item { color: inherit; text-decoration: none; }
.collage__item--1 { grid-column: 1 / -1; aspect-ratio: 4 / 3; }
.collage__item--2 { grid-column: 1 / 4; aspect-ratio: 3 / 4; }
.collage__item--3 { grid-column: 4 / -1; aspect-ratio: 3 / 4; margin-top: 2.5rem; }
.collage__item .is-object { padding: 10%; }
.collage__item img { transition: transform .9s var(--ease); }
.collage__item:hover img { transform: scale(1.04); }
.collage__caption {
    position: absolute; left: .6rem; right: .6rem; bottom: .6rem; z-index: 1;
    overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
    padding: .35rem .7rem; border-radius: 1px; background: rgb(20 17 15 / .86);
    color: var(--hi); font-size: .76rem; opacity: 0; transition: opacity .25s;
}
.collage__item:hover .collage__caption, .collage__item:focus-visible .collage__caption { opacity: 1; }

/* ---------- 18. Contact ---------- */
.contact { display: grid; gap: 2.5rem; padding-top: clamp(1.25rem, 3vw, 2.25rem); }
@media (min-width: 1024px) {
    .contact { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(3rem, 6vw, 6rem); align-items: start; }
}
.contact__intro .eyebrow { margin-bottom: 1rem; }
.details { display: grid; margin-top: 2.5rem; border-top: 1px solid var(--line); }
.details__row { display: grid; gap: .35rem; padding: 1.25rem 0; border-bottom: 1px solid var(--line); }
.details dt { font-size: .72rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.details__big { font-family: var(--font-display); font-size: clamp(1.7rem, 2.8vw, 2.45rem); font-weight: 500; line-height: 1.12; color: var(--hi); text-decoration: none; overflow-wrap: anywhere; }
.details__big:hover { text-decoration: underline; text-decoration-thickness: 1px; text-decoration-color: var(--gold); text-underline-offset: .15em; }
.details__big--email { font-family: var(--font-sans); font-size: clamp(1.05rem, 1.5vw, 1.2rem); font-weight: 500; }
.details__address { color: var(--hi); font-size: 1.08rem; line-height: 1.6; }
.details .link-arrow { margin-top: .5rem; }
.contact__card { padding: clamp(1.5rem, 4vw, 3rem); border-radius: 2px; }
.contact__title { font-size: clamp(2.3rem, 3.8vw, 3.1rem); }
.contact__text { margin: .75rem 0 1.75rem; color: var(--text); }

/* ---------- 19. Modals & photograph viewer ---------- */
.modal {
    position: fixed; inset: 0; z-index: 260;
    display: none; background: rgb(0 0 0 / .6);
    opacity: 0; transition: opacity .3s;
}
.modal.is-open { display: flex; }
.modal.is-visible { opacity: 1; }
.modal__panel { position: relative; }
.modal--search { align-items: flex-start; }
.modal--search .modal__panel {
    width: 100%; padding: 1rem 0 2.75rem; background: var(--bg-2); border-bottom: 1px solid var(--line);
    transform: translateY(-1.5rem); transition: transform .4s var(--ease);
}
.search-panel__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.25rem; }
.searchbar { display: flex; align-items: center; gap: 1rem; padding-bottom: .6rem; border-bottom: 1px solid var(--gold); }
.searchbar input {
    flex: 1; min-width: 0; padding: .25rem 0; border: 0; outline: none; background: transparent;
    font-family: var(--font-display); font-weight: 500; font-size: clamp(1.9rem, 5.4vw, 3.6rem); color: var(--hi);
    -webkit-appearance: none; appearance: none;
}
.searchbar input::placeholder { color: var(--faint); font-style: italic; }
.search-panel__label { margin: 2rem 0 .85rem; font-size: .72rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.modal--side { justify-content: flex-end; }
.modal--side .modal__panel {
    display: flex; flex-direction: column; gap: 1.5rem;
    width: min(31rem, 100%); height: 100%; overflow-y: auto; overscroll-behavior: contain;
    padding: 1rem clamp(1.25rem, 4vw, 2.25rem) 2.5rem; background: var(--bg-2); border-left: 1px solid var(--line);
    transform: translateX(100%); transition: transform .45s var(--ease);
}
.modal.is-visible .modal__panel { transform: none; }
.modal__head { display: flex; align-items: center; justify-content: space-between; }
.enquiry-piece { display: flex; align-items: center; gap: 1rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--line); }
.enquiry-piece__thumb { width: 5rem; height: 5rem; flex: none; }
.enquiry-piece__thumb .is-object { padding: 9%; }
.enquiry-piece__name { display: block; font-family: var(--font-display); font-size: 1.45rem; font-weight: 500; line-height: 1.15; color: var(--hi); }
.enquiry-piece__meta { display: block; margin-top: .3rem; color: var(--muted); font-size: .85rem; }
.modal__contact { display: grid; gap: 1rem; padding-top: 1.5rem; border-top: 1px solid var(--line); font-size: .95rem; }
.modal__contact a { color: var(--hi); font-family: var(--font-display); font-size: 1.45rem; font-weight: 500; text-decoration: none; }
.modal__contact a:hover { color: var(--gold-hi); }

/* The viewer is dark; originals are shown in a lit case like the rest of
   the site (the case is the ground for the blend), room scenes plainly. */
.lightbox {
    position: fixed; inset: 0; z-index: 300;
    display: none; align-items: center; justify-content: center;
    background: #0B0A09; opacity: 0; transition: opacity .3s;
}
.lightbox.is-open { display: flex; }
.lightbox.is-visible { opacity: 1; }
.lightbox__case {
    --pad: clamp(.75rem, 3.5vw, 3rem);
    display: flex; padding: var(--pad); border-radius: 2px;
    box-shadow: 0 40px 90px -30px rgb(0 0 0 / .9); transition: opacity .25s;
}
.lightbox__img {
    display: block; max-width: calc(100vw - 2rem - 2 * var(--pad)); max-height: calc(100vh - 9rem - 2 * var(--pad));
    object-fit: contain; mix-blend-mode: multiply;
}
@media (min-width: 768px) {
    .lightbox__img { max-width: calc(100vw - 11rem - 2 * var(--pad)); max-height: calc(100vh - 7rem - 2 * var(--pad)); }
}
.lightbox--plain .lightbox__case { --pad: 0px; background: none; }
.lightbox--plain .lightbox__img { mix-blend-mode: normal; }
.lightbox__title {
    position: absolute; left: var(--gutter); right: 5rem; top: 1.4rem;
    overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
    font-family: var(--font-display); font-size: 1.35rem; font-weight: 500; color: var(--hi);
}
.lightbox__close { position: absolute; right: 1rem; top: .9rem; }
.lightbox__nav { position: absolute; bottom: 1.25rem; }
.lightbox__prev { left: var(--gutter); }
.lightbox__next { right: var(--gutter); }
@media (min-width: 768px) {
    .lightbox__nav { top: 50%; bottom: auto; transform: translateY(-50%); }
    .lightbox__prev { left: 2rem; }
    .lightbox__next { right: 2rem; }
}
.lightbox__count { position: absolute; left: 50%; bottom: 2rem; transform: translateX(-50%); color: var(--muted); font-size: .85rem; font-variant-numeric: tabular-nums; }

/* ---------- 20. Motion ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
    .js .reveal { opacity: 1; transform: none; }
    .ticker { overflow-x: auto; }
    .ticker__track { animation: none; }
}
