@font-face {font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 400 600;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/InstrumentSans-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face {font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 400 600;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/InstrumentSans-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face {font-family: 'Newsreader';
  font-style: italic;
  font-weight: 300 500;
  font-display: swap;
  src: url(../fonts/Newsreader-italic-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face {font-family: 'Newsreader';
  font-style: italic;
  font-weight: 300 500;
  font-display: swap;
  src: url(../fonts/Newsreader-italic-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face {font-family: 'Newsreader';
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url(../fonts/Newsreader-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face {font-family: 'Newsreader';
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url(../fonts/Newsreader-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
/* estriannajohnson.com
   Quiet interface; the paintings carry the colour.
   Accent: cobalt sampled from Estrianna Johnson's palette (blue and yellow, "on all my canvases"). */

:root {
  --paper: #f5f1e8;
  --paper-2: #ebe5d8;
  --ink: #1c1b19;
  --ink-2: #545049;
  --rule: #d3cbbb;
  --accent: #1f3f93;
  --accent-ink: #162f70;
  --error: #9e1a12;
  --ok: #1d5c35;
  --viewer: #151413;

  --serif: "Newsreader", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;

  --gutter: clamp(16px, 4.2vw, 64px);
  --maxw: 1520px;
  --header-h: 64px;
  --step-0: clamp(1.0625rem, 0.99rem + 0.25vw, 1.1875rem);   /* body, 17–19px */
  --step-1: clamp(1.25rem, 1.1rem + 0.6vw, 1.55rem);
  --step-2: clamp(1.6rem, 1.3rem + 1.3vw, 2.4rem);
  --step-3: clamp(2.4rem, 1.7rem + 3vw, 4.6rem);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 var(--step-0)/1.55 var(--serif);
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
picture { display: contents; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; text-decoration-color: color-mix(in srgb, currentColor 40%, transparent); }
a:hover { color: var(--accent); text-decoration-color: currentColor; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
cite { font-style: italic; }
h1, h2, h3 { font-weight: 400; margin: 0; }
p { margin: 0 0 1em; }
.muted { color: var(--ink-2); }
.small { font-family: var(--sans); font-size: 0.8125rem; line-height: 1.5; letter-spacing: 0.005em; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.amp { font-style: italic; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: calc(46rem + 2 * var(--gutter)); }

.skip { position: absolute; left: var(--gutter); top: -100px; background: var(--ink); color: var(--paper); padding: 10px 14px; font-family: var(--sans); font-size: 0.875rem; z-index: 100; }
.skip:focus { top: 8px; color: var(--paper); }
.staging-banner { margin: 0; padding: 6px var(--gutter); background: var(--ink); color: var(--paper); font: 500 0.75rem/1.4 var(--sans); letter-spacing: 0.04em; text-align: center; }

/* ---------- header ---------- */
.site-header { border-bottom: 1px solid var(--rule); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--header-h); }
.site-name { font: 400 1.3125rem/1 var(--serif); text-decoration: none; letter-spacing: 0.005em; }
.site-name[aria-current] { pointer-events: none; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: clamp(16px, 2.4vw, 36px); }
.site-nav a { font: 500 0.8125rem/1 var(--sans); letter-spacing: 0.06em; text-transform: uppercase; text-decoration: none; padding: 8px 0; display: inline-block; border-bottom: 1px solid transparent; }
.site-nav a[aria-current] { border-bottom-color: var(--ink); }
.site-nav a:hover { border-bottom-color: var(--accent); }
.nav-toggle { display: none; }

@media (max-width: 760px) {
  .nav-toggle { display: inline-block; font: 500 0.8125rem/1 var(--sans); letter-spacing: 0.06em; text-transform: uppercase; background: none; border: 1px solid var(--ink); color: var(--ink); padding: 9px 12px; cursor: pointer; }
  .js .site-nav { display: none; position: absolute; left: 0; right: 0; top: var(--nav-top, var(--header-h)); background: var(--paper); border-bottom: 1px solid var(--rule); z-index: 20; }
  .js .site-nav.open { display: block; }
  .site-header { position: relative; }
  .site-nav ul { flex-direction: column; gap: 0; padding: 8px var(--gutter) 16px; }
  .site-nav a { padding: 14px 0; display: block; font-size: 0.9375rem; border-bottom: 1px solid var(--rule); }
  .site-nav li:last-child a { border-bottom: 0; }
  .site-nav a[aria-current] { border-bottom-color: var(--rule); color: var(--accent); }
  :not(.js) > body .site-nav ul { flex-wrap: wrap; }
}

/* ---------- shared type ---------- */
.label { font: 500 0.75rem/1.3 var(--sans); letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-2); }
.page-head { padding-block: clamp(40px, 7vw, 96px) clamp(28px, 4vw, 56px); }
.page-title { font-size: var(--step-3); line-height: 1.02; font-weight: 300; letter-spacing: -0.015em; margin-bottom: 0.4em; }
.lede, .lede-sm { font-size: var(--step-1); line-height: 1.42; max-width: 36em; }
.lede-sm { font-size: clamp(1.15rem, 1.05rem + 0.35vw, 1.35rem); }
.caption { font: 400 0.8125rem/1.45 var(--sans); color: var(--ink-2); margin-top: 12px; max-width: 42em; }
.caption cite { font: italic 400 0.9375rem/1.4 var(--serif); color: var(--ink); }
.caption a { text-decoration: none; }
.link-arrow { font: 500 0.8125rem/1.2 var(--sans); letter-spacing: 0.06em; text-transform: uppercase; text-decoration: none; display: inline-flex; gap: 0.6em; align-items: baseline; margin-right: 1.6em; padding-block: 6px; border-bottom: 1px solid var(--ink); }
.link-arrow::after { content: "→"; letter-spacing: 0; transition: transform .2s ease; }
.link-arrow:hover::after { transform: translateX(3px); }
.button { display: inline-block; font: 500 0.8125rem/1 var(--sans); letter-spacing: 0.06em; text-transform: uppercase; text-decoration: none; background: var(--ink); color: var(--paper); border: 1px solid var(--ink); padding: 15px 22px; cursor: pointer; margin: 0 8px 8px 0; }
.button:hover { background: var(--accent-ink); border-color: var(--accent-ink); color: var(--paper); }
.button:disabled { opacity: 0.4; cursor: not-allowed; background: var(--ink); }
.button-quiet { background: transparent; color: var(--ink); }
.button-quiet:hover { background: transparent; color: var(--accent); border-color: var(--accent); }
.notice { font: 400 0.9375rem/1.5 var(--sans); border-left: 2px solid var(--accent); padding: 2px 0 2px 14px; max-width: 44em; }
.plain-list { list-style: none; padding: 0; margin: 0; }
.plain-list li { padding: 10px 0; border-top: 1px solid var(--rule); }
.plain-list li:last-child { border-bottom: 1px solid var(--rule); }

.prose { max-width: 38em; }
.prose h2 { font-size: var(--step-2); line-height: 1.15; margin: 1.6em 0 0.6em; font-weight: 300; }
.prose h2:first-child { margin-top: 0; }
.prose em { font-style: italic; }
.prose-long p { hyphens: auto; }

/* ---------- home: hero ---------- */
.hero {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-areas:
    "t t t t t w w w w w w w"
    "b b b b b w w w w w w w";
  grid-template-rows: auto 1fr;
  column-gap: clamp(16px, 2.5vw, 40px);
  padding-block: clamp(32px, 5vw, 72px) clamp(56px, 8vw, 120px);
  min-height: calc(100svh - var(--header-h));
}
.hero-title { grid-area: t; align-self: end; padding-top: clamp(24px, 10vh, 140px); }
.hero-body { grid-area: b; align-self: start; padding-top: 28px; }
.hero-work { grid-area: w; margin: 0; display: flex; flex-direction: column; align-items: flex-end; justify-content: center; }
.hero-name { font-size: clamp(3rem, 1.4rem + 5.4vw, 7.4rem); line-height: 0.9; font-weight: 300; letter-spacing: -0.025em; margin-bottom: 0.32em; }
.hero-name span { display: block; }
.hero-dates { font: 500 0.75rem/1.3 var(--sans); letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-2); margin: 0; }
.hero .lede { max-width: 25em; }
.hero-image { display: block; }
.hero-image img { max-height: calc(100svh - var(--header-h) - 150px); width: auto; max-width: 100%; }
.hero-work .caption { text-align: right; align-self: flex-end; }

@media (max-width: 959px) {
  .hero { grid-template-areas: "t" "w" "b"; grid-template-columns: 1fr; grid-template-rows: auto; min-height: 0; padding-top: 28px; }
  .hero-title { padding-top: 0; margin-bottom: 20px; }
  .hero-name { font-size: clamp(2.35rem, 1.2rem + 5.2vw, 4.4rem); margin-bottom: 0.22em; }
  .hero-name span { display: inline; }
  .hero-body { padding-top: 20px; }
  .hero-work { align-items: stretch; }
  .hero-image img { max-height: min(72svh, 760px); margin-inline: auto; }
  .hero-work .caption { text-align: left; align-self: auto; }
}

/* ---------- home: selected works ---------- */
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; border-top: 1px solid var(--rule); padding-top: 18px; margin-bottom: clamp(32px, 5vw, 72px); }
.section-head .link-arrow { margin-right: 0; }
.selected { padding-bottom: clamp(48px, 7vw, 112px); }
.selected-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2.5vw, 40px); row-gap: clamp(56px, 9vw, 150px); }
.sel { margin: 0; display: flex; flex-direction: column; }
.sel-image { display: block; }
.sel img { max-height: 78svh; width: auto; max-width: 100%; }
.sel-1 { grid-column: 1 / span 7; }
.sel-2 { grid-column: 9 / span 4; align-self: end; }
.sel-3 { grid-column: 2 / span 5; }
.sel-4 { grid-column: 8 / span 5; margin-top: clamp(40px, 12vw, 200px); }
.sel-5 { grid-column: 1 / span 6; }
.sel-6 { grid-column: 8 / span 5; align-self: center; }
.sel-2, .sel-4, .sel-6 { align-items: flex-start; }
@media (max-width: 560px) {
  .hero-image img { max-height: 54svh; }
}
@media (max-width: 959px) {
  .selected-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .sel-1, .sel-3, .sel-5 { grid-column: 1 / span 6; }
  .sel-2, .sel-4, .sel-6 { grid-column: 2 / span 5; margin-top: 0; }
}
@media (max-width: 560px) {
  .sel-2, .sel-4, .sel-6 { grid-column: 1 / span 6; }
  .sel img { max-height: 64svh; }
}

/* ---------- bands ---------- */
.band { padding-block: clamp(40px, 6vw, 88px); }
.two-col { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2.5vw, 40px); border-top: 1px solid var(--rule); padding-top: 18px; }
.two-col > .label { grid-column: 1 / span 3; padding-top: 6px; }
.two-col > :not(.label) { grid-column: 5 / span 8; }
.two-col + .two-col { margin-top: clamp(32px, 4vw, 56px); }
.band-quiet .prose p:first-child { color: var(--ink-2); }
@media (max-width: 760px) {
  .two-col > .label, .two-col > :not(.label) { grid-column: 1 / -1; }
  .two-col > .label { margin-bottom: 18px; }
}

/* ---------- collection grid ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; }
.filter { font: 500 0.8125rem/1 var(--sans); letter-spacing: 0.02em; background: none; border: 1px solid var(--rule); color: var(--ink); padding: 10px 14px; cursor: pointer; }
.filter .count { color: var(--ink-2); margin-left: 4px; }
.filter[aria-pressed="true"] { border-color: var(--ink); background: var(--ink); color: var(--paper); }
.filter[aria-pressed="true"] .count { color: var(--paper-2); }
.cat-section { margin-bottom: clamp(56px, 8vw, 120px); }
.cat-section[hidden] { display: none; }
.cat-head { border-top: 1px solid var(--rule); padding-top: 18px; margin-bottom: 10px; }
.cat-note { max-width: 46em; }
.grid { list-style: none; padding: 0; margin: 32px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); gap: clamp(36px, 4vw, 64px) clamp(20px, 2.6vw, 44px); }
@media (max-width: 480px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 16px; } }
.card-link { display: block; text-decoration: none; }
.card-frame { display: flex; align-items: flex-end; justify-content: center; aspect-ratio: 1 / 1; }
.card-frame img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.card-text { display: block; margin-top: 14px; }
.card-title { display: block; font-style: italic; font-size: 1rem; line-height: 1.3; }
.card-meta { display: block; font: 400 0.8125rem/1.4 var(--sans); color: var(--ink-2); margin-top: 3px; }
.card-link:hover .card-title { color: var(--accent); }
.card-frame-shop { background: var(--paper-2); }

/* ---------- artwork page ---------- */
.crumbs { padding-top: 22px; color: var(--ink-2); }
.crumbs a { text-decoration: none; }
.artwork-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2.5vw, 40px); padding-block: clamp(24px, 4vw, 56px); align-items: start; }
.artwork-figure { grid-column: 1 / span 8; margin: 0; }
.tombstone { grid-column: 9 / span 4; position: sticky; top: 24px; padding-top: 4px; }
.zoomable { display: block; padding: 0; border: 0; background: none; cursor: zoom-in; width: 100%; }
.zoomable img { max-height: calc(100svh - 170px); width: auto; max-width: 100%; margin-inline: auto; }
.artwork-landscape .zoomable img { margin-inline: 0; }
.figure-hint { margin-top: 12px; }
.work-title { font-size: var(--step-2); font-style: italic; line-height: 1.12; font-weight: 300; margin-bottom: 24px; }
.facts { margin: 0 0 24px; font: 400 0.9375rem/1.45 var(--sans); }
.facts > div { display: grid; grid-template-columns: 8.5em 1fr; gap: 12px; padding: 9px 0; border-top: 1px solid var(--rule); }
.facts > div:last-child { border-bottom: 1px solid var(--rule); }
.facts dt { color: var(--ink-2); }
.facts dd { margin: 0; }
.work-note { font-size: 1rem; color: var(--ink); }
.related-prints { margin-top: 24px; }
.pager { display: flex; justify-content: space-between; gap: 24px; border-top: 1px solid var(--rule); padding-block: 20px 56px; }
.pager a { text-decoration: none; max-width: 45%; }
.pager .small { display: block; margin-bottom: 4px; }
.pager-next { text-align: right; margin-left: auto; }
@media (max-width: 860px) {
  .artwork-figure, .tombstone { grid-column: 1 / -1; }
  .tombstone { position: static; padding-top: 28px; }
  .zoomable img { max-height: 76svh; margin-inline: auto; }
  .artwork-landscape .zoomable img { margin-inline: auto; }
}

/* ---------- artist ---------- */
.artist-layout { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2.5vw, 40px); padding-bottom: 96px; }
.artist-portraits { grid-column: 1 / span 3; display: flex; flex-direction: column; gap: 40px; }
.artist-text { grid-column: 5 / span 7; }
.portrait { margin: 0; max-width: 260px; }
.toc ul { list-style: none; padding: 0; margin: 0 0 48px; display: flex; flex-wrap: wrap; gap: 6px 22px; }
.toc a { text-decoration: none; border-bottom: 1px solid var(--rule); }
.artist-text section { margin-bottom: 56px; scroll-margin-top: 24px; }
.artist-cta { margin-top: 48px; }
@media (max-width: 860px) {
  .artist-portraits, .artist-text { grid-column: 1 / -1; }
  .artist-portraits { flex-direction: row; gap: 16px; margin-bottom: 40px; }
  .portrait { max-width: none; flex: 1; }
}

/* ---------- exhibitions ---------- */
.invitation { margin-bottom: clamp(40px, 6vw, 80px); }
.decade { margin-top: 32px; }
.decade-head { font: 300 var(--step-1)/1 var(--serif); margin-bottom: 8px; }
.exh-list { list-style: none; margin: 0; padding: 0; }
.exh { display: grid; grid-template-columns: 4em 1fr; gap: 16px; padding: 11px 0; border-top: 1px solid var(--rule); }
.exh-year { font: 400 0.875rem/1.7 var(--sans); color: var(--ink-2); font-variant-numeric: tabular-nums; }
.exh-place { color: var(--ink-2); }
.exh-note { display: block; margin-top: 2px; }

/* ---------- shop ---------- */
.shop-tools { display: flex; gap: 24px; margin-top: 18px; }
.kind-nav ul { list-style: none; padding: 0; margin: 0 0 40px; display: flex; flex-wrap: wrap; gap: 8px 20px; }
.kind-nav a { text-decoration: none; border-bottom: 1px solid var(--rule); }
.bag-count { display: inline-block; min-width: 1.6em; padding: 0 5px; margin-left: 4px; text-align: center; border: 1px solid currentColor; border-radius: 1em; font-size: 0.75rem; line-height: 1.5; }
.product-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2.5vw, 40px); padding-block: 32px 96px; }
.product-figure { grid-column: 1 / span 6; margin: 0; background: var(--paper-2); }
.product-figure img { margin-inline: auto; }
.product-figure figcaption { padding: 10px 14px 14px; }
.product-info { grid-column: 8 / span 5; }
.product-kind { font: 500 0.8125rem/1 var(--sans); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-2); margin-top: -12px; margin-bottom: 24px; }
.option { border: 0; padding: 0; margin: 0 0 22px; }
.option legend { font: 500 0.8125rem/1 var(--sans); margin-bottom: 10px; padding: 0; }
.option-values { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; font: 400 0.875rem/1 var(--sans); }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span { display: inline-block; padding: 10px 13px; border: 1px solid var(--rule); background: var(--paper); }
.chip input:checked + span { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.chip input:disabled + span { color: var(--ink-2); text-decoration: line-through; opacity: 0.55; }
.price { font: 400 1.25rem/1.3 var(--sans); margin: 26px 0 18px; }
.buy-added { color: var(--ok); min-height: 1.5em; }
@media (max-width: 860px) {
  .product-figure, .product-info { grid-column: 1 / -1; }
  .product-info { padding-top: 28px; }
}
.bag-lines { list-style: none; padding: 0; margin: 0 0 40px; max-width: 54rem; }
.bag-line { display: grid; grid-template-columns: 88px 1fr auto; gap: 18px; align-items: center; padding: 16px 0; border-top: 1px solid var(--rule); }
.bag-line:last-child { border-bottom: 1px solid var(--rule); }
.bag-line img { width: 88px; height: 88px; object-fit: contain; background: var(--paper-2); }
.bag-line .t { font-style: italic; }
.bag-line .o { font: 400 0.8125rem/1.4 var(--sans); color: var(--ink-2); }
.bag-line .q { display: flex; gap: 8px; align-items: center; font-family: var(--sans); font-size: 0.875rem; }
.bag-line .q input { width: 3.6em; padding: 8px; }
.linkish { background: none; border: 0; padding: 0; font: inherit; text-decoration: underline; cursor: pointer; color: var(--ink-2); }
.bag-checkout { max-width: 34rem; }
.shipping-options label { display: flex; gap: 10px; padding: 10px 0; border-top: 1px solid var(--rule); font-family: var(--sans); font-size: 0.9375rem; }
.totals { font-family: var(--sans); margin: 24px 0; }
.totals > div { display: flex; justify-content: space-between; padding: 8px 0; border-top: 1px solid var(--rule); }
.totals dd { margin: 0; }
.totals .total { font-weight: 600; border-bottom: 1px solid var(--rule); }

/* ---------- forms ---------- */
.enquiry, .bag-checkout { font-family: var(--sans); padding-bottom: 96px; }
.field { margin-bottom: 20px; }
.field label, .project legend { display: block; font: 500 0.8125rem/1.3 var(--sans); margin-bottom: 7px; }
.field input, .field select, .field textarea, .bag-line input {
  width: 100%; font: 400 1rem/1.4 var(--sans); color: var(--ink); background: #fffdf8; border: 1px solid #857c6b; border-radius: 0; padding: 12px 12px;
}
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--accent); outline-offset: 0; border-color: var(--accent); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
.project { border: 1px solid var(--rule); padding: 18px 18px 0; margin: 0 0 20px; }
.project legend { padding: 0 6px; margin-left: -6px; }
.field-check label { display: flex; gap: 10px; align-items: flex-start; font-size: 0.9375rem; line-height: 1.45; }
.field-check input { margin-top: 3px; width: 18px; height: 18px; flex: none; accent-color: var(--ink); }
[aria-invalid="true"] { border-color: var(--error) !important; }
.form-status { min-height: 1.5em; font-size: 0.9375rem; }
.form-status.error { color: var(--error); }
.form-status.ok { color: var(--ok); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- music ---------- */
.music { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; font-family: var(--sans); }
.music-toggle { font: 500 0.75rem/1 var(--sans); letter-spacing: 0.08em; text-transform: uppercase; background: none; color: var(--ink-2); border: 1px solid var(--rule); padding: 9px 12px; cursor: pointer; }
.music-toggle[aria-pressed="true"] { color: var(--ink); border-color: var(--ink); }
.music-volume-label { font-size: 0.75rem; color: var(--ink-2); display: inline-flex; gap: 8px; align-items: center; }
.music-volume { width: 110px; accent-color: var(--ink); }
.music-credit { width: 100%; margin: 0; }

/* ---------- viewer ---------- */
.viewer { width: 100vw; height: 100vh; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: var(--viewer); color: #eee9df; }
.viewer::backdrop { background: var(--viewer); }
.viewer[open] { display: flex; flex-direction: column; }
.viewer-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 12px var(--gutter); font-family: var(--sans); font-size: 0.8125rem; }
.viewer-caption { margin: 0; color: #cfc8bb; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.viewer-actions { display: flex; gap: 8px; flex: none; }
.viewer-btn { font: 500 0.8125rem/1 var(--sans); background: none; color: #eee9df; border: 1px solid #5d5850; padding: 10px 13px; cursor: pointer; }
.viewer-btn:hover, .viewer-btn[aria-pressed="true"] { border-color: #eee9df; }
.viewer-close { border-color: #eee9df; }
.viewer-stage { flex: 1; min-height: 0; display: flex; align-items: center; justify-content: center; padding: 0 var(--gutter) var(--gutter); overflow: hidden; }
.viewer-stage img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.viewer-stage.actual { overflow: auto; display: block; padding: 0; cursor: grab; }
.viewer-stage.actual img { max-width: none; max-height: none; margin: 0 auto; }
.viewer :focus-visible { outline-color: #9fb4ff; }
@media (max-width: 560px) { .viewer-caption { display: none; } .viewer-bar { justify-content: flex-end; } }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--rule); padding-block: 40px 48px; margin-top: 24px; }
.footer-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2.5vw, 40px); row-gap: 24px; font-family: var(--sans); font-size: 0.875rem; }
.footer-grid > div { grid-column: 1 / span 5; }
.footer-grid > nav { grid-column: 7 / span 6; }
.footer-name { font: 400 1.125rem/1.2 var(--serif); margin-bottom: 6px; }
.footer-links { list-style: none; padding: 0; margin: 0; columns: 2; column-gap: 24px; }
.footer-links li { padding: 4px 0; break-inside: avoid; }
.footer-links a { text-decoration: none; }
.footer-rights { grid-column: 1 / -1; margin: 12px 0 0; }
@media (max-width: 760px) { .footer-grid > div, .footer-grid > nav { grid-column: 1 / -1; } }

.js-only { display: none; }
.js .js-only { display: inline; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
@media print {
  .site-header, .site-footer, .viewer, .pager, .enquire, .filters { display: none !important; }
  body { background: #fff; }
}

/* ---------- WordPress plugin pages: additions to the shared stylesheet ---------- */
body.ej-page { margin: 0 !important; padding: 0 !important; }
body.ej-page button { font-family: inherit; }
.ej-page .zoomable { color: inherit; }
.hero-work .zoomable, .sel .zoomable { width: auto; max-width: 100%; }
.hero-work .zoomable img { margin-inline: 0; max-height: calc(100svh - var(--header-h) - 150px); }
.sel .zoomable img { margin-inline: 0; max-height: 78svh; }
@media (max-width: 959px) {
  .hero-work .zoomable { width: 100%; }
  .hero-work .zoomable img { max-height: min(72svh, 760px); margin-inline: auto; }
}
@media (max-width: 560px) {
  .hero-work .zoomable img { max-height: 54svh; }
  .sel .zoomable img { max-height: 64svh; }
}
.hero-links .link-arrow { margin-bottom: 10px; }
.section-links { margin: 0; text-align: right; }
.section-links .link-arrow { margin: 0 0 0 1.6em; }
@media (max-width: 560px) {
  .section-head { flex-direction: column; gap: 8px; }
  .section-links { text-align: left; }
  .section-links .link-arrow { margin: 0 1.6em 0 0; }
}
.contact-band { scroll-margin-top: 16px; }
.contact-band .lede-sm { margin-bottom: 32px; }
.contact-band .enquiry { max-width: 46rem; padding-bottom: 48px; }
.form-sent { font-size: 1.0625rem; margin: 8px 0 56px; }
.form-sent:focus { outline: none; }

/* The Artist: exhibitions section */
.exhibitions { padding-block: clamp(32px, 5vw, 72px) clamp(56px, 8vw, 112px); border-top: 1px solid var(--rule); scroll-margin-top: 16px; }
.section-title { margin-bottom: clamp(28px, 4vw, 56px); }
.exhibitions .two-col > h3.label { font-weight: 500; }
.decade-head { font-weight: 300; }

/* The WordPress admin bar sits above the page for signed-in editors */
.admin-bar .viewer { top: 0; }
@media (max-width: 760px) { .admin-bar .js .site-nav, .admin-bar.js .site-nav { top: var(--nav-top, var(--header-h)); } }
