/* ==================================================================
   One Phoenix Arts — public site styles
   Palette follows the gallery's design: warm charcoal, ochre, cream.
   ================================================================== */

/* ---------- 1. Tokens -------------------------------------------- */
:root {
    --ink:          #17110d;
    --ink-soft:     #241b14;
    --ink-line:     #362a20;

    --ochre:        #c25a1e;
    --ochre-dark:   #a2470f;
    --ochre-light:  #e07a3a;
    --clay:         #8a3a1c;
    --gold:         #d9a441;

    --cream:        #f8f3ea;
    --cream-2:      #f1e8d9;
    --cream-3:      #e9dcc7;
    --line:         #e0d3bd;

    --text:         #2b2119;
    --muted:        #6f6154;
    --white:        #ffffff;

    --radius:       14px;
    --radius-sm:    9px;
    --shadow:       0 2px 4px rgba(35, 24, 14, .05), 0 12px 32px rgba(35, 24, 14, .07);
    --shadow-lift:  0 6px 12px rgba(35, 24, 14, .09), 0 24px 48px rgba(35, 24, 14, .12);

    --wrap:         1200px;
    --font-display: "Outfit", "Segoe UI", system-ui, -apple-system, sans-serif;
    --font-body:    "Source Sans 3", "Segoe UI", system-ui, -apple-system, sans-serif;
}

/* ---------- 2. Reset --------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
    margin: 0;
    background: var(--cream);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.68;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.18;
    color: var(--ink);
    margin: 0 0 .5em;
    letter-spacing: -.015em;
}
h1 { font-size: clamp(2rem, 4.2vw, 3.1rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.28rem; }
h4 { font-size: 1.06rem; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

/* Links never fall back to browser blue/purple, on any device. */
a { color: var(--clay); text-decoration: none; -webkit-tap-highlight-color: transparent; }
a:visited { color: var(--clay); }
a:hover, a:focus { color: var(--ochre-dark); text-decoration: underline; }

:focus-visible {
    outline: 3px solid var(--ochre);
    outline-offset: 2px;
    border-radius: 3px;
}

hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }

/* ---------- 3. Layout -------------------------------------------- */
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.wrap-narrow { max-width: 820px; }

.section { padding: 72px 0; }
.section-sm { padding: 48px 0; }
.section-cream-2 { background: var(--cream-2); }
.section-dark { background: var(--ink); color: #e8ded1; }
.section-dark h1, .section-dark h2, .section-dark h3 { color: var(--white); }

.section-head { max-width: 720px; margin-bottom: 40px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.06rem; margin-bottom: 0; }
.section-dark .section-head p { color: #b8a894; }

.eyebrow {
    display: inline-block;
    font-family: var(--font-display);
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--ochre);
    margin-bottom: .7rem;
}
.section-dark .eyebrow { color: var(--gold); }

.lede { font-size: 1.14rem; color: var(--muted); }

.skip-link {
    position: absolute; left: -9999px; top: 0;
    background: var(--ochre); color: #fff; padding: 12px 20px; z-index: 200;
    border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; }

/* ---------- 4. Cultural notice bar -------------------------------- */
.notice-bar {
    background: var(--ink-soft);
    color: #c3b3a0;
    font-size: .82rem;
    line-height: 1.5;
    padding: 8px 0;
    text-align: center;
    border-bottom: 1px solid var(--ink-line);
}

/* ---------- 5. Header + navigation -------------------------------- */
.site-header {
    background: var(--ink);
    color: var(--white);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--ink-line);
}
.header-inner {
    display: flex;
    align-items: center;
    gap: 28px;
    min-height: 78px;
}

.brand { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.brand:hover { text-decoration: none; }
.brand img, .brand svg { width: 42px; height: 42px; flex: 0 0 auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.16rem;
    color: var(--white);
    letter-spacing: -.01em;
}
.brand-tag {
    font-size: .68rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--gold);
}

.nav-toggle {
    margin-left: auto;
    display: none;
    background: transparent;
    border: 1px solid var(--ink-line);
    color: var(--white);
    border-radius: var(--radius-sm);
    padding: 9px 12px;
    font: inherit;
    font-size: .9rem;
    cursor: pointer;
    align-items: center;
    gap: 8px;
}
.nav-toggle .bars { display: block; width: 18px; height: 2px; background: currentColor; position: relative; }
.nav-toggle .bars::before,
.nav-toggle .bars::after {
    content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: currentColor;
}
.nav-toggle .bars::before { top: -6px; }
.nav-toggle .bars::after  { top: 6px; }

.site-nav { margin-left: auto; }
.site-nav ul {
    list-style: none; margin: 0; padding: 0;
    display: flex; align-items: center; gap: 4px;
}
.site-nav a {
    display: block;
    padding: 9px 13px;
    border-radius: var(--radius-sm);
    color: #ddd2c4;
    font-size: .95rem;
    font-weight: 500;
}
.site-nav a:visited { color: #ddd2c4; }
.site-nav a:hover, .site-nav a:focus { background: var(--ink-soft); color: var(--white); text-decoration: none; }
.site-nav a.is-active { color: var(--white); background: var(--ink-soft); }
.site-nav a.is-active::after {
    content: ""; display: block; height: 2px; background: var(--ochre);
    margin: 5px -3px -4px; border-radius: 2px;
}
/* The in-menu enquiry button only appears in the collapsed mobile menu. */
.site-nav .nav-cta { display: none; }
.header-cta { flex: 0 0 auto; }

/* ---------- 6. Buttons ------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: .96rem;
    line-height: 1.2;
    padding: 13px 22px;
    border-radius: var(--radius-sm);
    border: 1px solid transparent;
    cursor: pointer;
    text-align: center;
    transition: background .16s ease, color .16s ease, border-color .16s ease, transform .16s ease;
}
.btn:hover, .btn:focus { text-decoration: none; transform: translateY(-1px); }

.btn-primary { background: var(--ochre); color: #fff; }
.btn-primary:visited { color: #fff; }
.btn-primary:hover, .btn-primary:focus { background: var(--ochre-dark); color: #fff; }

.btn-outline { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-outline:visited { color: var(--ink); }
.btn-outline:hover, .btn-outline:focus { border-color: var(--ochre); color: var(--ochre-dark); background: var(--white); }

.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.btn-ghost-light:visited { color: #fff; }
.btn-ghost-light:hover, .btn-ghost-light:focus { background: rgba(255,255,255,.1); color: #fff; border-color: #fff; }

.btn-block { display: flex; width: 100%; }
.btn-sm { padding: 9px 16px; font-size: .88rem; }
.btn-lg { padding: 16px 30px; font-size: 1.04rem; }

/* ---------- 7. Hero ---------------------------------------------- */
.hero {
    position: relative;
    background: var(--ink);
    color: var(--white);
    overflow: hidden;
}
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; opacity: .42; }
.hero::after {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(105deg, rgba(23,17,13,.94) 0%, rgba(23,17,13,.78) 46%, rgba(23,17,13,.35) 100%);
}
.hero-inner {
    position: relative;
    z-index: 2;
    padding: 92px 0 100px;
    max-width: 660px;
}
.hero h1 { color: var(--white); margin-bottom: .45em; }
.hero p { color: #d8cbba; font-size: 1.14rem; max-width: 55ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.hero-strip {
    position: relative; z-index: 2;
    border-top: 1px solid var(--ink-line);
    background: rgba(0,0,0,.28);
}
.hero-strip ul {
    list-style: none; margin: 0; padding: 18px 0;
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
}
.hero-strip li {
    display: flex; align-items: center; gap: 10px;
    color: #cbbba7; font-size: .9rem;
}
.hero-strip svg { flex: 0 0 auto; color: var(--gold); }

/* ---------- 8. Region cards --------------------------------------- */
.region-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 22px;
}
.region-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.region-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); border-color: var(--cream-3); text-decoration: none; }
.region-card .thumb {
    aspect-ratio: 4 / 3;
    background: linear-gradient(150deg, var(--clay), var(--ochre) 55%, var(--gold));
    position: relative;
    overflow: hidden;
}
.region-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.region-card .body { padding: 18px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.region-card h3 { margin-bottom: .3em; font-size: 1.14rem; }
.region-card p { color: var(--muted); font-size: .92rem; margin-bottom: 1em; }
.region-card .more {
    margin-top: auto;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: .9rem;
    color: var(--ochre-dark);
}
.region-card .count {
    font-size: .78rem; color: var(--muted); letter-spacing: .04em; text-transform: uppercase;
}

/* ---------- 9. Artwork cards (grid) -------------------------------- */
.art-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 26px;
}
.art-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform .18s ease, box-shadow .18s ease;
}
.art-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.art-card .thumb {
    aspect-ratio: 1 / 1;
    background: var(--cream-2);
    overflow: hidden;
    position: relative;
}
.art-card .thumb img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform .4s ease;
}
.art-card:hover .thumb img { transform: scale(1.035); }
.art-card .body { padding: 16px 18px 20px; display: flex; flex-direction: column; flex: 1; }
.art-card h3 { font-size: 1.06rem; margin-bottom: .2em; }
.art-card h3 a { color: var(--ink); }
.art-card h3 a:visited { color: var(--ink); }
.art-card .artist { color: var(--clay); font-size: .93rem; margin-bottom: .35em; font-weight: 600; }
.art-card .meta { color: var(--muted); font-size: .85rem; margin-bottom: 1em; }
.art-card .foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; }

/* ---------- 10. Artwork list rows (region page) --------------------- */
.art-rows { display: flex; flex-direction: column; gap: 20px; }
.art-row {
    display: grid;
    grid-template-columns: 210px 1fr auto;
    gap: 24px;
    align-items: center;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 18px;
    transition: box-shadow .18s ease, border-color .18s ease;
}
.art-row:hover { box-shadow: var(--shadow); border-color: var(--cream-3); }
.art-row .thumb {
    aspect-ratio: 1 / 1;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: var(--cream-2);
}
.art-row .thumb img { width: 100%; height: 100%; object-fit: cover; }
.art-row h3 { margin-bottom: .15em; font-size: 1.2rem; }
.art-row h3 a { color: var(--ink); }
.art-row h3 a:visited { color: var(--ink); }
.art-row .artist { color: var(--clay); font-weight: 600; margin-bottom: .4em; }
.art-row .meta { color: var(--muted); font-size: .88rem; margin-bottom: .6em; }
.art-row .desc { color: var(--text); font-size: .96rem; margin: 0; }
.art-row .actions { display: flex; flex-direction: column; gap: 9px; min-width: 190px; }

/* ---------- 11. Badges + tags -------------------------------------- */
.badge {
    display: inline-flex; align-items: center; gap: 6px;
    font-family: var(--font-display);
    font-size: .74rem; font-weight: 600;
    letter-spacing: .06em; text-transform: uppercase;
    padding: 4px 10px; border-radius: 999px;
    background: var(--cream-2); color: var(--muted);
    border: 1px solid var(--line);
}
.badge-available { background: #edf5ec; color: #2f6b36; border-color: #cfe4cd; }
.badge-sold      { background: #f4eaea; color: #8b3b3b; border-color: #e3cccc; }
.badge-hold      { background: #fbf1e2; color: #8a5a18; border-color: #eeddc0; }
.badge-region    { background: var(--ink); color: #f0e6d8; border-color: var(--ink); }

.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 1rem; }

/* ---------- 12. Breadcrumbs ---------------------------------------- */
.breadcrumbs {
    font-size: .88rem;
    color: var(--muted);
    padding: 18px 0 0;
}
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
.breadcrumbs li::after { content: "›"; margin-left: 8px; color: var(--line); }
.breadcrumbs li:last-child::after { content: ""; }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:visited { color: var(--muted); }
.breadcrumbs a:hover { color: var(--ochre-dark); }
.breadcrumbs [aria-current] { color: var(--ink); font-weight: 600; }

/* ---------- 13. Page header ---------------------------------------- */
.page-head { padding: 26px 0 40px; }
.page-head .head-row {
    display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.page-head h1 { margin-bottom: .25em; }
.page-head .lede { max-width: 68ch; margin-bottom: 0; }

/* ---------- 14. Artwork detail -------------------------------------- */
.artwork-layout {
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr) 300px;
    gap: 36px;
    align-items: start;
    padding-bottom: 24px;
}

.spec-list { margin: 0; }
.spec-list dt {
    font-family: var(--font-display);
    font-size: .74rem; font-weight: 600;
    letter-spacing: .12em; text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 2px;
}
.spec-list dd {
    margin: 0 0 16px;
    font-size: .98rem;
    color: var(--ink);
    padding-bottom: 16px;
    border-bottom: 1px solid var(--line);
}
.spec-list dd:last-child { border-bottom: 0; }

.artwork-stage {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 18px;
    box-shadow: var(--shadow);
}
.artwork-stage .main-image {
    background: var(--cream-2);
    border-radius: var(--radius-sm);
    overflow: hidden;
    display: grid;
    place-items: center;
    min-height: 240px;
}
.artwork-stage .main-image img { width: 100%; height: auto; object-fit: contain; }
.thumb-strip { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.thumb-strip button {
    width: 74px; height: 74px; padding: 0;
    border: 2px solid var(--line); border-radius: var(--radius-sm);
    background: var(--cream-2); overflow: hidden; cursor: pointer;
}
.thumb-strip button img { width: 100%; height: 100%; object-fit: cover; }
.thumb-strip button.is-active { border-color: var(--ochre); }

.artwork-rail { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 14px; }
.rail-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 20px;
}
.rail-card h3 { font-size: 1rem; margin-bottom: .5em; }
.rail-card p { font-size: .92rem; color: var(--muted); }
.rail-actions { display: flex; flex-direction: column; gap: 10px; }
.rail-contact { font-size: .92rem; }
.rail-contact a { font-weight: 600; }

/* Story sections */
.story-section { padding: 56px 0 72px; }
.story-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px; }
.story-block {
    background: var(--white);
    border: 1px solid var(--line);
    border-left: 4px solid var(--ochre);
    border-radius: var(--radius);
    padding: 26px 28px;
}
.story-block .story-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.story-block .story-icon {
    flex: 0 0 auto;
    width: 42px; height: 42px;
    display: grid; place-items: center;
    border-radius: 50%;
    background: var(--cream-2);
    color: var(--clay);
}
.story-block h3 { margin: 0; font-size: 1.1rem; }
.story-block p { font-size: 1rem; }
.story-block:nth-child(2) { border-left-color: var(--clay); }
.story-block:nth-child(3) { border-left-color: var(--gold); }
.story-block:nth-child(4) { border-left-color: var(--ink); }

/* ---------- 15. Artist cards ---------------------------------------- */
.artist-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 24px; }
.artist-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 22px;
    text-align: center;
    transition: transform .18s ease, box-shadow .18s ease;
}
.artist-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.artist-card .portrait {
    width: 96px; height: 96px; margin: 0 auto 14px;
    border-radius: 50%; overflow: hidden;
    background: linear-gradient(145deg, var(--clay), var(--gold));
    display: grid; place-items: center;
    color: #fff; font-family: var(--font-display); font-size: 1.7rem; font-weight: 600;
}
.artist-card .portrait img { width: 100%; height: 100%; object-fit: cover; }
.artist-card h3 { font-size: 1.08rem; margin-bottom: .2em; }
.artist-card h3 a { color: var(--ink); }
.artist-card h3 a:visited { color: var(--ink); }
.artist-card .lang { color: var(--clay); font-size: .9rem; font-weight: 600; }
.artist-card .where { color: var(--muted); font-size: .86rem; }

/* ---------- 16. Feature strip ---------------------------------------- */
.feature-strip { background: var(--ink); color: #d6c9b8; padding: 46px 0; }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.feature-item .ico {
    width: 44px; height: 44px; border-radius: 50%;
    background: rgba(217,164,65,.14); color: var(--gold);
    display: grid; place-items: center; margin-bottom: 14px;
}
.feature-item h3 { color: var(--white); font-size: 1.02rem; margin-bottom: .35em; }
.feature-item p { font-size: .92rem; color: #a99883; margin: 0; }

/* ---------- 17. Forms ------------------------------------------------ */
.form-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: var(--shadow);
}
.field { margin-bottom: 18px; }
.field label {
    display: block;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: .9rem;
    margin-bottom: 6px;
    color: var(--ink);
}
.field .hint { font-size: .84rem; color: var(--muted); font-weight: 400; margin-top: 3px; }
.field input[type=text],
.field input[type=email],
.field input[type=tel],
.field input[type=password],
.field input[type=number],
.field select,
.field textarea {
    width: 100%;
    font: inherit;
    font-size: 1rem;
    color: var(--text);
    background: var(--cream);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    padding: 12px 14px;
    transition: border-color .15s ease, background .15s ease;
}
.field textarea { min-height: 130px; resize: vertical; line-height: 1.6; }
.field input:focus, .field select:focus, .field textarea:focus {
    border-color: var(--ochre);
    background: var(--white);
    outline: none;
    box-shadow: 0 0 0 3px rgba(194,90,30,.14);
}
.field-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.required { color: var(--clay); }
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

/* ---------- 18. Alerts ------------------------------------------------ */
.alert {
    border-radius: var(--radius-sm);
    padding: 14px 18px;
    margin-bottom: 20px;
    border: 1px solid;
    font-size: .96rem;
}
.alert-success { background: #edf5ec; border-color: #cfe4cd; color: #2c6333; }
.alert-error   { background: #f9ecec; border-color: #e7cccc; color: #8b3232; }
.alert-info    { background: #f1eee6; border-color: var(--line); color: var(--muted); }

/* ---------- 19. Pagination -------------------------------------------- */
.pagination { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin-top: 44px; }
.page-link {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 42px; height: 42px; padding: 0 13px;
    border: 1px solid var(--line); border-radius: var(--radius-sm);
    background: var(--white); color: var(--ink);
    font-family: var(--font-display); font-weight: 600; font-size: .92rem;
}
.page-link:visited { color: var(--ink); }
.page-link:hover { border-color: var(--ochre); color: var(--ochre-dark); text-decoration: none; }
.page-link.is-current { background: var(--ochre); border-color: var(--ochre); color: #fff; }
.page-gap { display: inline-flex; align-items: center; padding: 0 4px; color: var(--muted); }

/* ---------- 20. Filter bar --------------------------------------------- */
.filter-bar {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 16px 18px;
    margin-bottom: 32px;
    display: grid;
    grid-template-columns: 1fr 200px 200px auto;
    gap: 12px;
    align-items: center;
}
.filter-bar input, .filter-bar select {
    width: 100%; font: inherit; font-size: .96rem;
    padding: 11px 13px; border: 1px solid var(--line);
    border-radius: var(--radius-sm); background: var(--cream); color: var(--text);
}
.filter-bar input:focus, .filter-bar select:focus { outline: none; border-color: var(--ochre); background: #fff; }

/* ---------- 21. Empty state --------------------------------------------- */
.empty-state {
    text-align: center;
    padding: 64px 24px;
    background: var(--white);
    border: 1px dashed var(--line);
    border-radius: var(--radius);
    color: var(--muted);
}
.empty-state h3 { margin-bottom: .4em; }

/* ---------- 22. Prose ---------------------------------------------------- */
.prose h2 { margin-top: 2em; }
.prose h3 { margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 1.3em; margin-bottom: 1.2em; }
.prose li { margin-bottom: .5em; }
.prose blockquote {
    margin: 1.6em 0;
    padding: 4px 0 4px 22px;
    border-left: 4px solid var(--gold);
    color: var(--muted);
    font-size: 1.06rem;
}

/* ---------- 23. Contact panel --------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: 1fr 380px; gap: 40px; align-items: start; }
.info-card {
    background: var(--ink);
    color: #d9cdbc;
    border-radius: var(--radius);
    padding: 28px;
}
.info-card h3 { color: #fff; font-size: 1.06rem; margin-bottom: .6em; }
.info-list { list-style: none; margin: 0; padding: 0; }
.info-list li { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--ink-line); }
.info-list li:last-child { border-bottom: 0; }
.info-list .ico { flex: 0 0 auto; color: var(--gold); margin-top: 2px; }
.info-list strong { display: block; color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 600; margin-bottom: 2px; }
.info-list a { color: var(--gold); }
.info-list a:visited { color: var(--gold); }
.info-list a:hover { color: #fff; }

/* ---------- 24. Acknowledgement panel -------------------------------------- */
.acknowledgement {
    background: var(--cream-2);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 44px 0;
}
.acknowledgement .inner { max-width: 860px; margin: 0 auto; text-align: center; }
.acknowledgement p { color: var(--muted); font-size: 1.02rem; margin: 0; }
.acknowledgement .flagline { display: flex; justify-content: center; gap: 6px; margin-bottom: 18px; }
.acknowledgement .flagline span { width: 34px; height: 5px; border-radius: 3px; }

/* ---------- 25. Footer ------------------------------------------------------ */
.site-footer { background: var(--ink); color: #a99883; padding: 60px 0 0; }
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
    gap: 36px;
    padding-bottom: 44px;
}
.site-footer h4 {
    color: #fff; font-size: .82rem; letter-spacing: .14em;
    text-transform: uppercase; margin-bottom: 16px;
}
.site-footer p { font-size: .93rem; }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: 9px; }
.footer-links a, .site-footer a { color: #c4b5a1; font-size: .93rem; }
.footer-links a:visited, .site-footer a:visited { color: #c4b5a1; }
.footer-links a:hover, .site-footer a:hover { color: var(--gold); text-decoration: none; }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-brand svg, .footer-brand img { width: 44px; height: 44px; }
.footer-bottom {
    border-top: 1px solid var(--ink-line);
    padding: 20px 0;
    display: flex; flex-wrap: wrap; gap: 12px;
    justify-content: space-between; align-items: center;
    font-size: .85rem; color: #8b7c6a;
}
.footer-bottom nav { display: flex; gap: 18px; flex-wrap: wrap; }

/* ---------- 26. Utilities ---------------------------------------------------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-2 { margin-top: 1.4rem; }
.mt-3 { margin-top: 2.2rem; }
.mb-0 { margin-bottom: 0; }
.stack-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.visually-hidden {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- 27. Responsive ---------------------------------------------------- */
@media (max-width: 1080px) {
    .artwork-layout { grid-template-columns: minmax(0, 1fr) 300px; }
    .artwork-specs { grid-column: 1 / -1; order: 3; }
    .spec-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 0 24px; }
    .contact-grid { grid-template-columns: 1fr; }
    .feature-grid { grid-template-columns: repeat(2, 1fr); gap: 26px; }
}

@media (max-width: 900px) {
    .nav-toggle { display: inline-flex; }
    .site-nav {
        display: none;
        position: absolute;
        top: 100%; left: 0; right: 0;
        background: var(--ink);
        border-bottom: 1px solid var(--ink-line);
        padding: 12px 24px 20px;
        box-shadow: 0 18px 30px rgba(0,0,0,.28);
    }
    .site-nav.is-open { display: block; }
    .site-nav ul { flex-direction: column; align-items: stretch; gap: 2px; }
    .site-nav a { padding: 13px 14px; font-size: 1rem; }
    .site-nav a.is-active::after { display: none; }
    .header-cta { display: none; }
    .site-nav .nav-cta { display: block; margin-top: 10px; }
    .header-inner { position: relative; }

    .hero-inner { padding: 64px 0 72px; }
    .hero-strip ul { grid-template-columns: repeat(2, 1fr); }

    .artwork-layout { grid-template-columns: minmax(0, 1fr); }
    .artwork-rail { position: static; order: 2; }
    .artwork-specs { order: 3; }
    .story-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }

    .art-row { grid-template-columns: 150px 1fr; }
    .art-row .actions { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; }
    .art-row .actions .btn { flex: 1 1 auto; }

    .filter-bar { grid-template-columns: 1fr 1fr; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
}

@media (max-width: 620px) {
    body { font-size: 16px; }
    .section { padding: 52px 0; }
    .wrap { padding: 0 18px; }
    .field-row { grid-template-columns: 1fr; }
    .art-row { grid-template-columns: 1fr; }
    .art-row .thumb { aspect-ratio: 16 / 10; }
    .feature-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .form-card { padding: 22px; }
    .filter-bar { grid-template-columns: 1fr; }
    .hero-strip ul { grid-template-columns: 1fr; }
    .page-head .head-row { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}

@media print {
    .site-header, .site-footer, .notice-bar, .artwork-rail, .btn { display: none !important; }
    body { background: #fff; }
}
