/* Awodiya Toluwani Studio: landing page
   Palette taken from the Interwoven Existences installation: cobalt walls, pale stone, concrete. */

:root {
    --paper: #f2f0eb;
    --paper-2: #e6e3db;
    --ink: #111216;
    --ink-2: #55565c;
    --line: rgba(17, 18, 22, .14);
    --navy: #0f1c3d;
    --navy-2: #1a2d5e;
    --on-navy: #eef0f6;
    --on-navy-2: rgba(238, 240, 246, .68);
    --line-navy: rgba(238, 240, 246, .18);
    --accent: #2b4bb5;
    --accent-light: #a8baff;

    --serif: "Instrument Serif", "Times New Roman", serif;
    --sans: "Inter Tight", system-ui, -apple-system, "Segoe UI", sans-serif;

    --gutter: clamp(16px, 4vw, 56px);
    --max: 1440px;
    --section: clamp(80px, 12vw, 176px);
    --header: 88px;
    --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font: 400 16px/1.6 var(--sans);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, figure, dl, dd, ol { margin: 0; }
ol { padding: 0; list-style: none; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
[hidden] { display: none !important; }

.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;
}
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

.eyebrow {
    font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
    color: var(--ink-2); margin-bottom: 20px;
}

/* Buttons */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    height: 52px; padding: 0 28px; border: 0; border-radius: 999px;
    font: 500 15px/1 var(--sans); cursor: pointer;
    transition: background .3s var(--ease), color .3s var(--ease), transform .3s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn-light { background: var(--on-navy); color: var(--navy); }
.btn-light:hover { background: #fff; }
.btn-dark { background: var(--ink); color: var(--paper); }
.btn-dark:hover { background: var(--accent); }
.btn-text {
    display: inline-flex; gap: 8px; align-items: center; font-weight: 500; font-size: 15px;
    background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
    padding-bottom: 3px; transition: background-size .4s var(--ease);
}
.btn-text:hover { background-size: 0 1px; background-position: 100% 100%; }
.btn-text-light { color: var(--on-navy); }

/* Header */
.site-header {
    position: fixed; inset: 0 0 auto; z-index: 50;
    color: var(--on-navy);
    transition: background .4s var(--ease), color .4s var(--ease), box-shadow .4s var(--ease), transform .4s var(--ease);
}
.site-header.is-solid {
    background: rgba(242, 240, 235, .92);
    -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
    color: var(--ink); box-shadow: 0 1px 0 var(--line);
}
.site-header.is-hidden { transform: translateY(-100%); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header); gap: 24px; }

/* Logo: a transparent PNG used as a mask, so it takes the current text colour */
.brand { display: flex; align-items: center; }
.brand-mark {
    display: block; width: 72px; aspect-ratio: 1;
    background: currentColor;
    -webkit-mask: url("../img/brand/logo-mark.png") center / contain no-repeat;
    mask: url("../img/brand/logo-mark.png") center / contain no-repeat;
}
.footer-mark { width: 112px; margin-bottom: 48px; color: var(--paper); }

.nav { display: flex; gap: clamp(18px, 2.4vw, 36px); font-size: 14px; }
.nav a, .header-link { position: relative; opacity: .88; transition: opacity .2s; }
.nav a:hover, .header-link:hover { opacity: 1; }
.nav a::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px;
    background: currentColor; transform: scaleX(0); transform-origin: right;
    transition: transform .35s var(--ease);
}
.nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.header-actions { display: flex; align-items: center; gap: 20px; font-size: 14px; }
.menu-toggle {
    display: none; width: 44px; height: 44px; margin-right: -10px; padding: 0;
    background: none; border: 0; cursor: pointer;
    flex-direction: column; justify-content: center; align-items: center; gap: 6px;
}
.menu-bar { display: block; width: 22px; height: 1.5px; background: currentColor; transition: transform .3s var(--ease); }
.menu-toggle[aria-expanded="true"] .menu-bar:nth-of-type(2) { transform: translateY(3.75px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-bar:nth-of-type(3) { transform: translateY(-3.75px) rotate(-45deg); }
.mobile-menu {
    background: var(--paper); color: var(--ink); border-top: 1px solid var(--line);
    height: calc(100vh - var(--header)); height: calc(100svh - var(--header)); overflow-y: auto;
}
.mobile-menu nav { display: flex; flex-direction: column; padding-top: 12px; padding-bottom: 28px; }
.mobile-menu a { font: 400 34px/1.3 var(--serif); padding: 4px 0; }

/* Hero: full-bleed installation photography */
.hero {
    position: relative; min-height: 100vh; min-height: 100svh;
    display: flex; align-items: flex-end;
    background: var(--navy); color: var(--on-navy); overflow: hidden;
}
.hero-media, .hero-media::after { position: absolute; inset: 0; }
.hero-media::after {
    content: "";
    background:
        linear-gradient(to top, rgba(8, 13, 30, .88) 0%, rgba(8, 13, 30, .45) 38%, rgba(8, 13, 30, 0) 62%),
        linear-gradient(to right, rgba(8, 13, 30, .6) 0%, rgba(8, 13, 30, .25) 40%, rgba(8, 13, 30, 0) 60%),
        linear-gradient(to bottom, rgba(8, 13, 30, .45) 0%, rgba(8, 13, 30, 0) 22%);
}
.hero-img {
    position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
    opacity: 0; transform: scale(1.05);
    transition: opacity 1.6s var(--ease), transform 9s linear;
}
.hero-img.is-active { opacity: 1; transform: scale(1); }
.hero-content {
    position: relative; display: flex; align-items: flex-end; justify-content: space-between; gap: 40px;
    padding-top: calc(var(--header) + 40px); padding-bottom: clamp(32px, 5vw, 64px);
}
.hero .eyebrow { color: var(--on-navy-2); }
.hero-title {
    font: 400 clamp(60px, 10.5vw, 168px)/.88 var(--serif); letter-spacing: -.02em;
    margin-bottom: clamp(20px, 2.4vw, 32px);
}
.hero-title em { display: block; padding-left: .55em; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 32px; margin-top: 36px; }
.hero-caption {
    display: flex; flex-direction: column; align-items: flex-end; gap: 10px; text-align: right;
    font-size: 13px; line-height: 1.5; color: var(--on-navy-2); flex-shrink: 0;
}
.hero-caption em { font-size: 1.2em; color: var(--on-navy); }
.hero-count { font-variant-numeric: tabular-nums; }

/* Statement */
.statement {
    display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(32px, 6vw, 96px); align-items: end;
    padding-top: var(--section); padding-bottom: var(--section);
}
.statement-text { font: 400 clamp(24px, 2.6vw, 38px)/1.3 var(--serif); }
.statement-text em { color: var(--accent); }
.statement-side { color: var(--ink-2); }
.statement-side p { margin-bottom: 24px; max-width: 44ch; }
.statement-side .btn-text { color: var(--ink); }

/* Section heads */
.section-head {
    display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap;
    padding-bottom: 24px; margin-bottom: clamp(32px, 4vw, 56px); border-bottom: 1px solid var(--line);
}
.section-title { font: 400 clamp(40px, 5vw, 72px)/1 var(--serif); letter-spacing: -.01em; }
.section-note { color: var(--ink-2); font-size: 15px; }

/* Featured exhibition */
.feature { padding-bottom: var(--section); }
.feature-head {
    display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap;
    padding-top: 40px; border-top: 1px solid var(--line);
}
.feature-title { font: 400 clamp(52px, 8.4vw, 136px)/.92 var(--serif); letter-spacing: -.02em; }
.feature-title em { color: var(--accent); }
.feature-meta { display: flex; gap: clamp(24px, 4vw, 64px); font-size: 15px; }
.feature-meta dt { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 6px; }
.feature-intro {
    display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 96px);
    margin: clamp(40px, 5vw, 72px) 0 clamp(48px, 6vw, 96px);
}
.feature-lede { font: 400 clamp(24px, 2.4vw, 34px)/1.25 var(--serif); max-width: 26ch; }
.feature-body { color: var(--ink-2); }
.feature-body p { margin-bottom: 24px; max-width: 52ch; }
.feature-body em { color: var(--ink); font-size: 1.12em; }
.feature-body .btn-text { color: var(--ink); }

.views { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(16px, 2.5vw, 40px); }
.view { display: flex; flex-direction: column; }
.view figcaption { padding-top: 12px; font-size: 13px; color: var(--ink-2); }
.view-open {
    display: block; flex: 1; width: 100%; padding: 0; border: 0; background: var(--paper-2);
    overflow: hidden; cursor: zoom-in;
}
.view-open img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.view-open:hover img { transform: scale(1.03); }
.g-a { grid-column: 1 / span 8; }
.g-a .view-open { aspect-ratio: 3 / 2; }
.g-b { grid-column: 9 / span 4; }
.g-c { grid-column: 1 / span 5; margin-top: clamp(0px, 8vw, 128px); }
.g-c .view-open { aspect-ratio: 3 / 2; }
.g-d { grid-column: 6 / span 7; }
.g-d .view-open { aspect-ratio: 3 / 2; }
.g-e { grid-column: 3 / span 10; }
.g-e .view-open { aspect-ratio: 3 / 2; }

/* Solo exhibitions */
.solo-grid {
    display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 2.5vw, 40px);
    margin: 0 0 clamp(72px, 9vw, 136px); padding: 0; list-style: none;
}
/* On the home page the cards end the section, so the section's own padding is enough */
.solo-grid:last-child { margin-bottom: 0; }
.solo-card { display: block; color: inherit; text-decoration: none; }
.solo-cover { display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--paper-2); }
.solo-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.solo-card:hover .solo-cover img { transform: scale(1.04); }
.solo-meta {
    display: flex; justify-content: space-between; gap: 12px; margin-top: 18px; padding-top: 12px;
    border-top: 1px solid var(--line); font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
    color: var(--ink-2); font-variant-numeric: tabular-nums;
}
.solo-title { margin: 14px 0 6px; font: 400 clamp(26px, 2.3vw, 34px)/1.08 var(--serif); }
.solo-title em { color: var(--accent); transition: color .3s; }
.solo-card:hover .solo-title em { color: var(--ink); }
.solo-place { display: block; font-size: 14px; color: var(--ink-2); }
.feature-head[id] { scroll-margin-top: var(--header); }
/* The Becoming and Mirrored City: a wide view beside a portrait, then three views; the rest open from "View all" */
.m-a { grid-column: span 8; }
.m-b { grid-column: span 4; }
.m-c, .m-d, .m-e { grid-column: span 4; }
.m-a .view-open, .m-c .view-open, .m-d .view-open, .m-e .view-open { aspect-ratio: 3 / 2; }
.m-b img { object-position: 50% 25%; }
.views-more { margin-top: clamp(28px, 3vw, 40px); }

/* Echoes of Servitude installation views: a staggered two-by-two grid */
.feature-head-next { margin-top: clamp(80px, 10vw, 152px); }
.e-a, .e-d { grid-column: span 7; }
.e-b, .e-c { grid-column: span 5; }
.e-b { margin-top: clamp(0px, 6vw, 96px); }
.e-a .view-open, .e-b .view-open, .e-c .view-open, .e-d .view-open { aspect-ratio: 3 / 2; }

/* Available works (catalogue) */
.works { padding-bottom: var(--section); }
.works-grid {
    display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(40px, 5vw, 80px) clamp(16px, 2.5vw, 40px); align-items: start;
}
.work { display: block; }
/* Fixed frame reserves space before the image loads; the whole work shows, uncropped, on a mat */
.work-img { aspect-ratio: 4 / 5; overflow: hidden; background: var(--paper-2); }
.work-img img { width: 100%; height: 100%; object-fit: contain; padding: 7%; transition: transform 1s var(--ease); }
.work:hover .work-img img { transform: scale(1.035); }
.work-meta { display: flex; justify-content: space-between; gap: 16px; padding-top: 14px; font-size: 14px; }
.work-title { font-weight: 500; }
.work-price { color: var(--ink-2); font-variant-numeric: tabular-nums; }

/* Artist */
.artist { background: var(--paper-2); padding: var(--section) 0; }
.artist-wide { aspect-ratio: 16 / 9; overflow: hidden; margin-bottom: clamp(48px, 7vw, 112px); }
.artist-wide img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; }
.artist-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 7vw, 120px); align-items: start; }
.artist-photo { position: sticky; top: calc(var(--header) + 24px); aspect-ratio: 4 / 5; overflow: hidden; }
.artist-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.artist-copy .section-title { margin-bottom: 32px; }
.artist-lede { font: 400 clamp(24px, 2.4vw, 34px)/1.25 var(--serif); margin-bottom: 32px; max-width: 28ch; }
.artist-body { color: var(--ink-2); max-width: 58ch; }
.artist-body p + p { margin-top: 1em; }
.artist-body em { color: var(--ink); font-size: 1.12em; }
.facts { margin-top: 48px; border-top: 1px solid var(--line); }
.facts div { display: grid; grid-template-columns: 150px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.facts dt { font-size: 13px; color: var(--ink-2); padding-top: 2px; }
.facts a { background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; }
.facts a:hover { color: var(--accent); }

/* Exhibition history */
.cv { background: var(--navy); color: var(--on-navy); padding: var(--section) 0; }
.cv .section-head { border-color: var(--line-navy); }
.cv .section-note { color: var(--on-navy-2); }
.cv-groups { display: grid; gap: clamp(48px, 6vw, 88px); }
.cv-label { font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-light); margin-bottom: 8px; }
.cv-row {
    display: grid; grid-template-columns: 120px 1fr auto; gap: 24px; align-items: baseline;
    padding: 22px 0; border-bottom: 1px solid var(--line-navy);
}
.cv-year { font-variant-numeric: tabular-nums; color: var(--on-navy-2); font-size: 15px; }
.cv-name { font: 400 clamp(24px, 2.6vw, 38px)/1.15 var(--serif); }
.cv-place { font-size: 14px; color: var(--on-navy-2); text-align: right; }

/* Collect */
.collect {
    position: relative; min-height: 100vh; min-height: 100svh;
    display: flex; align-items: flex-end;
    background: var(--navy); color: var(--on-navy); overflow: hidden;
}
.collect-content { position: relative; z-index: 2; padding-top: 160px; padding-bottom: clamp(40px, 6vw, 80px); }
.collect .eyebrow { color: var(--on-navy-2); }
.collect-title { font: 400 clamp(48px, 7vw, 112px)/.95 var(--serif); letter-spacing: -.02em; margin-bottom: 20px; }
.collect-title em { color: var(--accent-light); }
.collect-text { max-width: 40ch; color: var(--on-navy-2); font-size: 17px; }

/* Newsletter */
.newsletter { padding: var(--section) 0; }
.newsletter-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: end; }
.newsletter-title { font: 400 clamp(44px, 6vw, 96px)/1 var(--serif); letter-spacing: -.01em; }
.newsletter-title em { color: var(--accent); }
.newsletter-text { color: var(--ink-2); margin-bottom: 24px; max-width: 40ch; }
.newsletter-form { display: flex; gap: 10px; }
.newsletter-form input {
    flex: 1; min-width: 0; height: 52px; padding: 0 22px;
    border: 1px solid var(--line); border-radius: 999px; background: transparent;
    font: 400 16px var(--sans); color: var(--ink);
}
.newsletter-form input:focus { outline: none; border-color: var(--ink); }
.form-note { margin-top: 14px; font-size: 14px; }
.form-note.is-success { color: var(--accent); }
.form-note.is-error { color: #b3261e; }

/* Footer */
.site-footer { background: var(--ink); color: var(--paper); padding: var(--section) 0 32px; }
.site-footer .eyebrow { color: rgba(242, 240, 235, .55); }
.footer-mail {
    display: inline-block; font: 400 clamp(30px, 6.4vw, 104px)/1.05 var(--serif);
    letter-spacing: -.015em; word-break: break-word; transition: color .3s;
}
.footer-mail:hover { color: var(--accent-light); }
.footer-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px;
    margin-top: clamp(56px, 8vw, 120px); padding-top: 32px; border-top: 1px solid rgba(242, 240, 235, .16);
}
.footer-grid h3 { font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: rgba(242, 240, 235, .55); margin-bottom: 12px; }
.footer-grid p { line-height: 2; }
.footer-grid a:hover { color: var(--accent-light); }
.footer-base {
    display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
    margin-top: 72px; font-size: 13px; color: rgba(242, 240, 235, .55);
}

/* Lightbox */
.lightbox {
    width: 100vw; max-width: none; height: 100vh; height: 100dvh; max-height: none; margin: 0; padding: 0;
    border: 0; background: rgba(8, 13, 30, .96); color: var(--on-navy);
}
.lightbox[open] { display: flex; align-items: center; justify-content: center; }
.lightbox::backdrop { background: rgba(8, 13, 30, .6); }
.lb-figure { max-width: calc(100vw - 160px); text-align: center; }
.lb-figure img { max-width: 100%; max-height: calc(100vh - 140px); max-height: calc(100dvh - 140px); margin: 0 auto; }
.lb-figure figcaption { padding-top: 14px; font-size: 14px; color: var(--on-navy-2); }
.lb-close, .lb-nav {
    position: absolute; width: 52px; height: 52px; border-radius: 50%;
    border: 1px solid var(--line-navy); background: transparent; cursor: pointer;
    font-size: 22px; line-height: 1; transition: background .2s;
}
.lb-close:hover, .lb-nav:hover { background: rgba(238, 240, 246, .1); }
.lb-close { top: 20px; right: 20px; font-size: 28px; }
.lb-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 20px; top: 50%; transform: translateY(-50%); }

/* ---------- Account menu ---------- */
.account { position: relative; }
.account-toggle {
    display: flex; align-items: center; gap: 10px; padding: 4px 12px 4px 4px; border: 1px solid transparent;
    border-radius: 999px; background: none; cursor: pointer; font-size: 14px; transition: border-color .2s;
}
.account-toggle:hover, .account-toggle[aria-expanded="true"] { border-color: currentColor; }
.account-avatar {
    display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%;
    font-size: 13px; font-weight: 600;
}
.site-header .account-avatar { background: var(--on-navy); color: var(--navy); }
.site-header.is-solid .account-avatar, .site-header.menu-open .account-avatar { background: var(--ink); color: var(--paper); }
.account-menu {
    position: absolute; right: 0; top: calc(100% + 10px); min-width: 240px; padding: 8px;
    background: var(--paper); color: var(--ink); border: 1px solid var(--line); border-radius: 16px;
    box-shadow: 0 20px 40px -20px rgba(8, 13, 30, .35);
}
.account-menu[hidden] { display: none; }
.account-who { padding: 10px 12px 12px; margin-bottom: 4px; border-bottom: 1px solid var(--line); font-size: 12px; color: var(--ink-2); }
.account-who strong { display: block; margin-top: 2px; font-size: 15px; font-weight: 500; color: var(--ink); }
.account-who span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.account-menu a, .account-menu button {
    display: block; width: 100%; padding: 10px 12px; border: 0; border-radius: 10px; background: none;
    text-align: left; font: 400 14px var(--sans); color: var(--ink); cursor: pointer;
}
.account-menu a:hover, .account-menu button:hover { background: var(--paper-2); }
.account-menu form { margin: 4px 0 0; padding-top: 4px; border-top: 1px solid var(--line); }
.mobile-account { padding-top: 20px; padding-bottom: 32px; border-top: 1px solid var(--line); }
.mobile-account .account-who { padding: 0 0 12px; border: 0; font-size: 13px; }
.mobile-account .account-who strong { font-size: 17px; }
.mobile-account a, .mobile-account button {
    display: block; padding: 8px 0; border: 0; background: none; font: 400 17px var(--sans); color: var(--ink); cursor: pointer;
}
.mobile-account button { color: #b3261e; }

/* ---------- Gallery page ---------- */
.page-hero {
    background: var(--navy); color: var(--on-navy);
    padding: calc(var(--header) + clamp(48px, 8vw, 120px)) 0 clamp(40px, 5vw, 72px);
}
.page-hero .eyebrow { color: var(--on-navy-2); }
.page-title { font: 400 clamp(56px, 9vw, 148px)/.9 var(--serif); letter-spacing: -.02em; }
.page-title em { color: var(--accent-light); }
.page-lede { max-width: 44ch; margin-top: 28px; font-size: clamp(17px, 1.4vw, 19px); color: var(--on-navy-2); }
.page-lede em { color: var(--on-navy); font-size: 1.12em; }
.page-jump {
    display: flex; flex-wrap: wrap; gap: 12px 32px; margin-top: clamp(40px, 5vw, 64px);
    padding-top: 22px; border-top: 1px solid var(--line-navy); font-size: 14px;
}
.page-jump a { opacity: .85; transition: opacity .2s; }
.page-jump a:hover { opacity: 1; }

.gallery-works { padding-top: var(--section); }
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: clamp(32px, 4vw, 56px); }
.chip {
    display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 18px;
    border: 1px solid var(--line); border-radius: 999px; font-size: 14px;
    transition: border-color .2s, background .2s, color .2s;
}
.chip span { font-size: 12px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.chip:hover { border-color: var(--ink); }
.chip[aria-current] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.chip[aria-current] span { color: rgba(242, 240, 235, .6); }
.work-cats { margin-top: 2px; font-size: 13px; color: var(--ink-2); }
.pager {
    display: flex; justify-content: space-between; align-items: center; gap: 16px;
    margin-top: clamp(48px, 6vw, 80px); padding-top: 24px; border-top: 1px solid var(--line); font-size: 14px;
}
.pager a:hover { color: var(--accent); }
.pager .is-disabled { opacity: .35; }
.pager-status { color: var(--ink-2); font-variant-numeric: tabular-nums; }
.empty-state {
    background: var(--paper-2); padding: clamp(32px, 5vw, 72px);
}
.empty-title { font: 400 clamp(28px, 3.2vw, 44px)/1.15 var(--serif); max-width: 22ch; margin-bottom: 16px; }
.empty-text { color: var(--ink-2); max-width: 48ch; }
.empty-state .btn-text { color: var(--ink); }

.installations { padding-bottom: var(--section); }
.installations .section-head .eyebrow { margin-bottom: 12px; }
.installations .section-title em { color: var(--accent); }
.gallery-views .view-open { aspect-ratio: 3 / 2; }
.gv-a { grid-column: 1 / span 8; }
.gv-b { grid-column: 9 / span 4; }
.gallery-views .gv-b .view-open { aspect-ratio: auto; }
.gv-c { grid-column: 1 / span 6; }
.gv-d { grid-column: 7 / span 6; }
.gv-e { grid-column: 1 / -1; }
.gallery-views .gv-e .view-open { aspect-ratio: 21 / 9; }
.gv-e img { object-position: 50% 60%; }
.gv-f { grid-column: 1 / span 4; }
.gv-g { grid-column: 5 / span 4; }
.gv-h { grid-column: 9 / span 4; }

.portraits { padding-bottom: var(--section); }
.portrait-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.5vw, 40px); }
.portrait-grid .view-open { aspect-ratio: 4 / 5; }
.is-gallery .newsletter { padding-top: 0; }

/* ---------- Shop page ---------- */
.shop-search { display: flex; gap: 10px; max-width: 640px; margin-top: clamp(32px, 4vw, 48px); }
.shop-search input {
    flex: 1; min-width: 0; height: 56px; padding: 0 24px;
    border: 1px solid var(--line-navy); border-radius: 999px;
    background: rgba(238, 240, 246, .06); color: var(--on-navy); font: 400 16px var(--sans);
}
.shop-search input::placeholder { color: var(--on-navy-2); }
.shop-search input:focus { outline: none; border-color: var(--on-navy); }
.shop-search .btn { height: 56px; }
.shop-toolbar {
    display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap;
    gap: 16px 32px; margin-bottom: clamp(32px, 4vw, 56px);
}
.shop-toolbar .filters { margin-bottom: 0; }
.sort-form { display: flex; align-items: center; gap: 10px; margin-left: auto; font-size: 14px; color: var(--ink-2); }
.sort-form select {
    height: 40px; padding: 0 38px 0 16px; border: 1px solid var(--line); border-radius: 999px;
    font: 400 14px var(--sans); color: var(--ink); cursor: pointer;
    -webkit-appearance: none; appearance: none;
    background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%2355565c' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 16px center;
}
.sort-form select:hover { border-color: var(--ink); }
.work-img { position: relative; }
.work-badge {
    position: absolute; top: 12px; left: 12px; padding: 6px 12px; border-radius: 999px;
    background: var(--ink); color: var(--paper); font-size: 11px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase;
}
.work.is-sold .work-img img { opacity: .7; }
.work-status { margin-top: 2px; font-size: 13px; color: var(--ink-2); }

.collecting { background: var(--paper-2); padding: clamp(64px, 8vw, 120px) 0; }
.collecting-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(32px, 5vw, 80px); }
.collecting-num { display: block; font-size: 13px; color: var(--ink-2); font-variant-numeric: tabular-nums; margin-bottom: 12px; }
.collecting h3 { font: 400 clamp(24px, 2.2vw, 30px)/1.2 var(--serif); margin-bottom: 12px; }
.collecting p { color: var(--ink-2); max-width: 36ch; }
.collecting .btn-text { margin-top: 16px; }

/* ---------- Artwork page ---------- */
.product { padding-top: calc(var(--header) + clamp(24px, 3vw, 40px)); }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; color: var(--ink-2); margin-bottom: clamp(24px, 3vw, 40px); }
.crumbs a:hover { color: var(--ink); }
.crumbs [aria-current] { color: var(--ink); }
.product-grid {
    display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: clamp(32px, 6vw, 96px); align-items: start; padding-bottom: var(--section);
}
.product-media { position: sticky; top: calc(var(--header) + 24px); }
.product-shot {
    display: block; width: 100%; aspect-ratio: 4 / 5; padding: 0; border: 0;
    background: var(--paper-2); cursor: zoom-in; overflow: hidden;
}
.product-shot[hidden] { display: none; }
.product-shot img { width: 100%; height: 100%; object-fit: contain; padding: 6%; }
.product-thumbs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.product-thumb {
    width: 72px; height: 72px; padding: 0; border: 1px solid transparent; background: var(--paper-2);
    cursor: pointer; opacity: .6; transition: opacity .2s, border-color .2s;
}
.product-thumb img { width: 100%; height: 100%; object-fit: cover; }
.product-thumb:hover { opacity: 1; }
.product-thumb.is-active { opacity: 1; border-color: var(--ink); }

.product-title { font: 400 clamp(40px, 4.4vw, 64px)/1.02 var(--serif); letter-spacing: -.01em; }
.product-price {
    display: flex; align-items: center; gap: 12px; margin-top: 16px;
    font-size: 20px; font-variant-numeric: tabular-nums;
}
.product-sold {
    padding: 4px 10px; border-radius: 999px; background: var(--ink); color: var(--paper);
    font-size: 11px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase;
}
.notice { margin-top: 20px; padding: 14px 18px; font-size: 14px; border-left: 2px solid currentColor; }
.notice a { text-decoration: underline; text-underline-offset: 3px; }
.notice.is-success { color: var(--accent); background: rgba(43, 75, 181, .06); }
.notice.is-error { color: #b3261e; background: rgba(179, 38, 30, .06); }
.notice.is-muted { color: var(--ink-2); background: var(--paper-2); }

.buy { margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--line); }
.buy-options { margin: 0; padding: 0; border: 0; display: grid; gap: 10px; }
.buy-legend { padding: 0; margin-bottom: 12px; font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.buy-option {
    display: flex; align-items: center; gap: 14px; padding: 16px 18px;
    border: 1px solid var(--line); cursor: pointer; transition: border-color .2s, background .2s;
}
.buy-option:hover { border-color: var(--ink); }
.buy-option input { accent-color: var(--ink); width: 18px; height: 18px; margin: 0; flex-shrink: 0; }
.buy-option:has(input:checked) { border-color: var(--ink); background: rgba(17, 18, 22, .03); }
.buy-option.is-disabled { cursor: not-allowed; opacity: .5; }
.buy-option.is-disabled:hover { border-color: var(--line); }
.buy-option-body { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.buy-option-label { font-weight: 500; }
.buy-option-meta { font-size: 13px; color: var(--ink-2); }
.buy-option-price { font-variant-numeric: tabular-nums; }
.buy-row { display: flex; align-items: flex-end; gap: 12px; margin-top: 20px; }
.buy-qty { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--ink-2); }
.buy-qty input {
    width: 96px; height: 52px; padding: 0 16px; border: 1px solid var(--line); border-radius: 999px;
    background: transparent; font: 400 16px var(--sans); color: var(--ink);
}
.buy-qty input:focus { outline: none; border-color: var(--ink); }
.buy-submit { flex: 1; }
.buy-note { margin-top: 14px; font-size: 14px; color: var(--ink-2); }
.buy-note a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.buy.is-unavailable .buy-note { margin-top: 0; font-size: 15px; }
.product-enquire { margin-top: 24px; }
.product-description { margin-top: 40px; color: var(--ink-2); max-width: 60ch; }
.product-description p + p { margin-top: 1em; }
.product-facts { margin-top: 40px; }
.product-facts div { grid-template-columns: 130px 1fr; }

.review-panel { margin-top: 40px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.review-panel summary {
    display: flex; justify-content: space-between; align-items: center; padding: 20px 0;
    cursor: pointer; list-style: none; font-weight: 500;
}
.review-panel summary::-webkit-details-marker { display: none; }
.review-panel summary::after { content: "+"; font-size: 22px; font-weight: 300; transition: transform .3s var(--ease); }
.review-panel[open] summary::after { transform: rotate(45deg); }
.review-form { display: grid; gap: 16px; padding-bottom: 28px; }
.review-form label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--ink-2); }
.review-form small { font-size: 12px; }
.review-form input, .review-form select, .review-form textarea {
    width: 100%; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px;
    background: transparent; font: 400 16px var(--sans); color: var(--ink);
}
.review-form input:focus, .review-form select:focus, .review-form textarea:focus { outline: none; border-color: var(--ink); }
.review-form .btn { justify-self: start; }

.related { padding-top: var(--section); border-top: 1px solid var(--line); }
.is-product .newsletter { padding-top: 0; }
.error-hero { min-height: 70vh; min-height: 70svh; display: flex; align-items: flex-end; }

/* ---------- Contact page ---------- */
.contact { padding: var(--section) 0; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 7vw, 120px); align-items: start; }
.contact-details { display: grid; gap: 36px; }
.contact-label { font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 10px; }
.contact-block address, .contact-block p { font: 400 clamp(20px, 1.8vw, 24px)/1.45 var(--serif); font-style: normal; }
.contact-block a { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .35s var(--ease), color .2s; }
.contact-block a:hover { background-size: 100% 1px; color: var(--accent); }
.contact-social { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.contact-form-title { font: 400 clamp(32px, 3.4vw, 48px)/1.1 var(--serif); margin-bottom: 24px; }
.stack-form { display: grid; gap: 18px; }
.stack-form .field { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--ink-2); }
.stack-form input, .stack-form select, .stack-form textarea {
    width: 100%; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px;
    background: transparent; font: 400 16px var(--sans); color: var(--ink);
}
.stack-form select {
    -webkit-appearance: none; appearance: none; padding-right: 40px; cursor: pointer;
    background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%2355565c' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 18px center;
}
.stack-form textarea { resize: vertical; min-height: 160px; }
.stack-form input:focus, .stack-form select:focus, .stack-form textarea:focus { outline: none; border-color: var(--ink); }
.stack-form .has-error input, .stack-form .has-error textarea, .stack-form .has-error select { border-color: #b3261e; }
.field-error { color: #b3261e; font-size: 13px; }
.stack-form .btn { justify-self: start; margin-top: 6px; }
.stack-form .field small:not(.field-error) { font-size: 12px; }
.field-password { position: relative; }
.field-password input { padding-right: 72px; }
.reveal-password {
    position: absolute; right: 8px; top: 29px; height: 36px; padding: 0 12px; border: 0; border-radius: 999px;
    background: transparent; color: var(--ink-2); font-size: 13px; cursor: pointer;
}
.reveal-password:hover { color: var(--ink); background: var(--paper-2); }
.form-fine { font-size: 13px; color: var(--ink-2); }
.contact-form-wrap .notice { margin: 0 0 20px; }
.contact-sent { background: var(--paper-2); padding: clamp(32px, 4vw, 56px); }
.contact-sent .btn-text { margin-top: 24px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Sign in, register, password pages ---------- */
.auth { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: 100vh; min-height: 100svh; padding-top: var(--header); }
.auth-media {
    position: sticky; top: var(--header); height: calc(100vh - var(--header)); height: calc(100svh - var(--header));
    margin: 0; overflow: hidden; background: var(--navy);
}
.auth-media img { width: 100%; height: 100%; object-fit: cover; }
.auth-media figcaption {
    position: absolute; left: 0; right: 0; bottom: 0; padding: 48px var(--gutter) 24px;
    font-size: 13px; color: var(--on-navy-2); background: linear-gradient(to top, rgba(8, 13, 30, .7), transparent);
}
.auth-panel { display: flex; align-items: center; justify-content: center; padding: clamp(48px, 7vw, 112px) var(--gutter); }
.auth-card { width: 100%; max-width: 440px; }
.auth-title { font: 400 clamp(44px, 5vw, 72px)/1 var(--serif); letter-spacing: -.01em; }
.auth-title em { color: var(--accent); }
.auth-lede { margin: 16px 0 32px; color: var(--ink-2); }
.auth-card .notice { margin: 0 0 20px; }
.auth-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; font-size: 14px; }
.check { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; color: var(--ink-2); }
.check input { width: 18px; height: 18px; margin: 0; padding: 0; accent-color: var(--ink); }
.auth-link { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.auth-link:hover { color: var(--accent); }
.stack-form .auth-submit { justify-self: stretch; margin-top: 8px; }
.auth-switch { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 15px; color: var(--ink-2); }
.auth-switch a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.auth-switch a:hover { color: var(--accent); }

/* ---------- Cart ---------- */
.cart { padding: calc(var(--header) + clamp(40px, 5vw, 72px)) 0 var(--section); min-height: 70vh; }
.cart-head {
    display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap;
    padding-bottom: 24px; margin-bottom: clamp(32px, 4vw, 48px); border-bottom: 1px solid var(--line);
}
.cart > .wrap > .notice { margin: 0 0 24px; }
.cart-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.cart-lines { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.cart-line {
    display: grid; grid-template-columns: 112px minmax(0, 1fr) auto; gap: 24px; align-items: start;
    padding: 24px 0; border-bottom: 1px solid var(--line);
}
.cart-thumb { display: block; aspect-ratio: 4 / 5; background: var(--paper-2); overflow: hidden; }
.cart-thumb img { width: 100%; height: 100%; object-fit: contain; padding: 8%; }
.cart-line-title { font: 400 clamp(22px, 2vw, 28px)/1.15 var(--serif); }
.cart-line-title:hover { color: var(--accent); }
.cart-line-meta { margin-top: 6px; font-size: 14px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.cart-line-warning { margin-top: 10px; font-size: 13px; color: #b3261e; }
.cart-line.is-unavailable .cart-thumb img { opacity: .5; }
.cart-remove {
    margin-top: 14px; padding: 0; border: 0; background: none; cursor: pointer;
    font-size: 13px; color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px;
}
.cart-remove:hover { color: #b3261e; }
.cart-line-total { font-variant-numeric: tabular-nums; font-size: 17px; }
.cart-summary { position: sticky; top: calc(var(--header) + 24px); background: var(--paper-2); padding: clamp(24px, 3vw, 40px); }
.cart-summary-title { font: 400 clamp(26px, 2.4vw, 32px)/1.1 var(--serif); margin-bottom: 20px; }
.cart-totals { margin: 0 0 24px; }
.cart-totals div { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.cart-totals dt { color: var(--ink-2); }
.cart-totals dd { font-variant-numeric: tabular-nums; }
.cart-total { font-size: 18px; }
.cart-total dt { color: var(--ink); font-weight: 500; }
.cart-total dd { font-weight: 500; }
.cart-summary .notice { margin: 0 0 16px; }
.cart-checkout { width: 100%; }
.cart-checkout.is-disabled { opacity: .4; cursor: not-allowed; pointer-events: none; }
.cart-summary .form-fine { margin-top: 14px; }
.cart-continue { margin-top: 20px; }

/* ---------- Checkout ---------- */
.checkout-grid { align-items: start; }
.checkout-fields .cart-summary-title { margin-bottom: 4px; }
.checkout-fields .notice { margin: 0; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field-row-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.checkout-fields textarea { min-height: 110px; }
.checkout-lines { margin: 0 0 8px; padding: 0; list-style: none; }
.checkout-lines li {
    display: flex; justify-content: space-between; gap: 16px; padding: 12px 0;
    border-bottom: 1px solid var(--line); font-size: 15px; font-variant-numeric: tabular-nums;
}
.checkout-lines small { display: block; font-size: 13px; color: var(--ink-2); }
.checkout-ngn { font-size: 15px; }
.checkout-ngn dd { font-weight: 500; }
.cart-summary .notice a { color: inherit; }
.cart-checkout[disabled] { opacity: .6; cursor: progress; }
.checkout-done strong { color: var(--ink); font-weight: 500; }

/* ---------- Orders ---------- */
.order-list { display: grid; gap: 28px; }
.order-card { border: 1px solid var(--line); background: var(--paper); }
.order-card-head {
    display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap;
    padding: 20px 24px; background: var(--paper-2);
}
.order-date { font: 400 clamp(22px, 2vw, 26px)/1.2 var(--serif); }
.order-ref { margin-top: 2px; font-size: 13px; color: var(--ink-2); letter-spacing: .04em; font-variant-numeric: tabular-nums; }
.order-statuses { display: flex; flex-wrap: wrap; gap: 8px; }
.status {
    display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 14px; border-radius: 999px;
    font-size: 13px; font-weight: 500; background: var(--paper); border: 1px solid var(--line);
}
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.status-pending-delivery { color: var(--accent); }
.status-delivered { color: #1f7a4d; }
.status-returned { color: #9a3b2e; }
.status-inline { font-weight: 500; }
.order-lines { margin: 0; padding: 0 24px; list-style: none; }
.order-line {
    display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; gap: 20px; align-items: center;
    padding: 18px 0; border-bottom: 1px solid var(--line);
}
.order-line:last-child { border-bottom: 0; }
.order-thumb { width: 72px; }
.order-line-title { font: 400 clamp(20px, 1.8vw, 24px)/1.2 var(--serif); }
a.order-line-title:hover { color: var(--accent); }
.order-card-foot {
    display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap;
    padding: 18px 24px; border-top: 1px solid var(--line);
}
.order-address, .order-total { font-size: 15px; }
.order-address span, .order-total span { display: block; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 4px; }
.order-total { text-align: right; font-size: 18px; font-weight: 500; font-variant-numeric: tabular-nums; }
.orders-help { margin-top: 32px; font-size: 15px; color: var(--ink-2); }
.orders-help a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

/* In-page jumps land below the fixed header */
section[id], .contact-form-wrap { scroll-margin-top: var(--header); }

/* Current page in the menu */
.nav a[aria-current]::after { transform: scaleX(1); }
.mobile-menu a[aria-current] { color: var(--accent); }

/* Scroll reveal: only hide content once JS has confirmed it can reveal it */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 1080px) {
    .nav { display: none; }
    .menu-toggle { display: flex; }
    .site-header.menu-open { background: var(--paper); color: var(--ink); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .solo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 48px; }
    .account-name { display: none; }
    .account-toggle { padding: 4px; }
}
@media (max-width: 900px) {
    .hero-content { flex-direction: column; align-items: flex-start; }
    .hero-caption { align-items: flex-start; text-align: left; flex-direction: row; gap: 24px; justify-content: space-between; width: 100%; }
    .statement, .feature-intro, .artist-grid, .newsletter-grid { grid-template-columns: 1fr; }
    .g-a, .g-b, .g-c, .g-d, .g-e { grid-column: 1 / -1; margin-top: 0; }
    .g-b .view-open { aspect-ratio: 4 / 5; }
    .e-a, .e-b, .e-c, .e-d { grid-column: 1 / -1; margin-top: 0; }
    .m-a, .m-b, .m-c, .m-d, .m-e { grid-column: 1 / -1; }
    .m-b .view-open { aspect-ratio: 4 / 5; }
    .works-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .artist-wide { aspect-ratio: 4 / 3; }
    .artist-photo { position: relative; top: 0; max-width: 520px; }
    .cv-row { grid-template-columns: 80px 1fr; }
    .cv-place { grid-column: 2; text-align: left; margin-top: -12px; }
    .lb-figure { max-width: calc(100vw - 32px); }
    .lb-nav { top: auto; bottom: 20px; transform: none; }
    .gallery-views [class*="gv-"] { grid-column: 1 / -1; }
    .gallery-views .gv-b .view-open { aspect-ratio: 4 / 5; }
    .gallery-views .gv-e .view-open { aspect-ratio: 3 / 2; }
    .collecting-grid { grid-template-columns: 1fr; gap: 40px; }
    .product-grid { grid-template-columns: 1fr; }
    .product-media { position: relative; top: 0; }
    .contact-grid { grid-template-columns: 1fr; }
    .auth { grid-template-columns: 1fr; }
    .cart-grid { grid-template-columns: 1fr; }
    .cart-summary { position: relative; top: 0; }
    .auth-media { position: relative; top: 0; height: 34vh; min-height: 220px; }
}
@media (max-width: 560px) {
    :root { --header: 72px; }
    .brand-mark:not(.footer-mark) { width: 54px; }
    .header-link { display: none; }
    .hero-caption { font-size: 12px; }
    .works-grid { column-gap: 12px; }
    .work-meta { flex-direction: column; gap: 2px; font-size: 13px; }
    .views { gap: 28px; }
    .cv-row { grid-template-columns: 1fr; gap: 6px; padding: 20px 0; }
    .cv-place { grid-column: 1; margin-top: 0; }
    .newsletter-form { flex-direction: column; }
    .newsletter-form input { flex: none; }
    .facts div { grid-template-columns: 1fr; gap: 4px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .portrait-grid { grid-template-columns: 1fr; gap: 28px; }
    .solo-grid { grid-template-columns: 1fr; gap: 40px; }
    .shop-search { flex-direction: column; }
    .shop-search input { flex: none; }
    .sort-form { margin-left: 0; }
    .buy-row { flex-direction: column; align-items: stretch; }
    .buy-submit { flex: none; }
    .cart-line { grid-template-columns: 80px minmax(0, 1fr); gap: 16px; }
    .cart-line-total { grid-column: 2; }
    .field-row, .field-row-3 { grid-template-columns: 1fr; }
    .order-card-head, .order-card-foot { padding-left: 16px; padding-right: 16px; }
    .order-lines { padding: 0 16px; }
    .order-line { grid-template-columns: 56px minmax(0, 1fr); gap: 14px; }
    .order-thumb { width: 56px; }
    .order-line .cart-line-total { grid-column: 2; }
    .order-total { text-align: left; }
    .buy-qty input { width: 100%; }
    .product-facts div { grid-template-columns: 1fr; }
    .pager { font-size: 13px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .js .reveal { opacity: 1; transform: none; }
}
