/* Like the Spice Gallery tribute. Palette from the 2007-2012 site: cream #eeebe2, grey-sage panel #D5DDDA,
   dark brown #281C0F, sage #758663 (braces, rules), clay #b69884 (hover). Sage text uses the darker --sage-ink
   so that body-size text keeps a contrast ratio of at least 4.5:1 on both cream and panel. */
:root {
  --cream: #eeebe2;
  --panel: #D5DDDA;
  --ink: #281C0F;
  --sage: #758663;
  --sage-ink: #4a5a3c;
  --clay: #b69884;
  --muted: #5a4e40;
  --rule: #c9cbbf;
  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans: 'Source Sans 3', 'Helvetica Neue', Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 400 1.125rem/1.65 var(--sans); overflow-wrap: break-word; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); text-decoration-color: var(--sage); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { background: var(--clay); text-decoration-color: var(--ink); }
a:focus-visible { outline: 3px solid var(--sage-ink); outline-offset: 2px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: var(--cream); padding: .5rem 1rem; }
.skip:focus { left: 1rem; z-index: 10; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; letter-spacing: -.01em; margin: 0 0 .6em; }
h1 { font-size: clamp(2.2rem, 6vw, 3.6rem); font-style: italic; font-weight: 500; }
h2 { font-size: clamp(1.5rem, 3.4vw, 2rem); }
h3 { font-size: 1.25rem; margin-top: 1.4em; }
p { margin: 0 0 1em; }
em, cite { font-style: italic; }
.b { color: var(--sage); font-family: var(--serif); font-weight: 400; }

/* Header: CSS wordmark (replaces the 250x48 logo image) and the curly-brace navigation */
header.site { text-align: center; padding: 2.75rem 1rem 1.25rem; }
.wordmark { display: inline-flex; flex-direction: column; align-items: center; text-decoration: none; line-height: 1; padding: .25rem .75rem; border-radius: 4px; }
.wordmark:hover { background: transparent; }
.wordmark:hover .w1 { color: var(--sage-ink); }
.w1 { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: clamp(2.4rem, 8vw, 3.8rem); letter-spacing: -.02em; }
.w2 { font-family: var(--sans); font-weight: 600; font-size: .85rem; letter-spacing: .5em; text-transform: uppercase; margin: .55rem 0 0 .5em; }
.tagline { margin: .6rem 0 1.4rem; color: var(--muted); font-size: 1rem; }
header nav ul { list-style: none; margin: 0 auto; padding: .7rem 0; display: flex; flex-wrap: wrap; justify-content: center; gap: .15rem .4rem;
  border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); max-width: 1000px; }
header nav a { display: inline-block; padding: .3rem .45rem; text-decoration: none; font-weight: 600; font-size: 1.05rem; border-radius: 3px; white-space: nowrap; }
header nav a .b { font-size: 1.2em; }
header nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--sage); text-decoration-thickness: 3px; text-underline-offset: 6px; }
header nav a:hover .b { color: var(--ink); }

main { max-width: 1040px; margin: 0 auto; padding: 1rem 1.25rem 3rem; }
main > section, main > nav, main > a.visit { margin-top: 2.5rem; }
.hero { text-align: center; max-width: 820px; margin-left: auto; margin-right: auto; }
.eyebrow { font-size: .9rem; letter-spacing: .14em; text-transform: uppercase; color: var(--sage-ink); font-weight: 600; margin-bottom: .8rem; }
.lead { font-size: 1.25rem; line-height: 1.6; }
.small { font-size: 1rem; color: var(--muted); }
.muted { color: var(--muted); font-style: italic; }
.panel { background: var(--panel); padding: clamp(1.25rem, 4vw, 2.5rem); border-radius: 4px; }
.prose { font-size: 1.15rem; }
.prose p { max-width: 70ch; margin-left: auto; margin-right: auto; }
.prose p:first-child::first-letter { font-family: var(--serif); font-size: 3.4em; float: left; line-height: .85; padding: .05em .1em 0 0; color: var(--sage-ink); }
sup.cite { font-size: .7em; line-height: 0; margin-left: .1em; white-space: nowrap; }
sup.cite a { text-decoration-thickness: 1px; color: var(--muted); }

.split { display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: start; }
@media (min-width: 800px) { .split { grid-template-columns: 1.6fr 1fr; } }

/* Figures: small credited thumbnails */
figure { margin: 0; }
figure.thumb img { width: 100%; max-height: 260px; object-fit: contain; background: rgba(40, 28, 15, .04); }
figure.card img { max-height: none; }
figcaption { font-size: .9rem; line-height: 1.45; color: var(--muted); margin-top: .5rem; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 1.5rem; margin-top: 1.25rem; }
.gallery-strip h2 { text-align: center; }

/* Pull quotes */
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 1.5rem; }
.pull { margin: 0; padding: .25rem 0 .25rem 1.25rem; border-left: 4px solid var(--sage); }
.pull p { font-family: var(--serif); font-style: italic; font-size: 1.3rem; line-height: 1.4; margin-bottom: .6rem; }
.pull footer { font-size: .95rem; color: var(--muted); }
.pull footer a { color: var(--muted); }

.facts dl { display: grid; grid-template-columns: 1fr; gap: .2rem 1.5rem; margin: 0; }
.facts dt { font-weight: 600; color: var(--sage-ink); margin-top: .6rem; }
.facts dd { margin: 0; }
@media (min-width: 700px) { .facts dl { grid-template-columns: 11rem 1fr; } .facts dt { margin-top: 0; } }

/* Link cards */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; }
.cards a { display: block; padding: 1.25rem; border: 1px solid var(--rule); border-radius: 4px; text-decoration: none;
  font-family: var(--serif); font-size: 1.35rem; font-weight: 600; background: #f6f4ee; }
.cards a small { display: block; font-family: var(--sans); font-size: 1rem; font-weight: 400; margin-top: .4rem; color: var(--muted); }
.cards a:hover small { color: var(--ink); }

/* Visit marisasage.com */
a.visit { display: grid; grid-template-columns: 1fr; gap: 1.25rem; align-items: center; padding: 1.25rem; border: 2px solid var(--sage);
  border-radius: 6px; text-decoration: none; background: #f6f4ee; }
@media (min-width: 700px) { a.visit { grid-template-columns: 1.3fr 1fr; } }
a.visit strong { display: block; font-family: var(--serif); font-size: 1.7rem; }
a.visit strong::before { content: "{ "; color: var(--sage); }
a.visit strong::after { content: " }"; color: var(--sage); }
a.visit:hover strong::before, a.visit:hover strong::after { color: var(--ink); }
figure.shot img { border: 1px solid var(--rule); }

.timeline, .honors, .plain { list-style: none; padding: 0; margin: 0; }
.timeline li, .honors li, .plain li { padding: .6rem 0; border-bottom: 1px solid rgba(40, 28, 15, .14); }
.timeline li:last-child, .honors li:last-child, .plain li:last-child { border-bottom: 0; }
.timeline b, .honors b, .plain b { display: inline-block; min-width: 7.5rem; color: var(--sage-ink); }
.self { font-size: .95rem; color: var(--muted); font-style: italic; }

/* Exhibitions & press tables (become stacked cards on small screens) */
.jump { display: flex; flex-wrap: wrap; justify-content: center; gap: .25rem .9rem; font-weight: 600; margin-top: 1rem; }
.year h2 { border-bottom: 2px solid var(--sage); padding-bottom: .35rem; }
.count { font-family: var(--sans); font-size: 1rem; font-weight: 400; color: var(--muted); margin-left: .5rem; letter-spacing: 0; }
table { width: 100%; border-collapse: collapse; font-size: 1.02rem; }
th, td { text-align: left; vertical-align: top; padding: .7rem .6rem; border-bottom: 1px solid var(--rule); }
thead th { font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; color: var(--sage-ink); border-bottom: 2px solid var(--rule); }
tbody th { font-weight: 400; }
.t { font-family: var(--serif); font-style: italic; font-weight: 600; font-size: 1.1rem; }
.note { font-size: .92rem; color: var(--muted); margin-top: .2rem; }
td.d { white-space: nowrap; }
td.s { font-size: .9rem; }
.ex tbody th { width: 34%; }
.approx { display: inline-block; font-size: .75rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--ink);
  background: #e6d6c9; border: 1px solid var(--clay); border-radius: 3px; padding: 0 .35rem; white-space: nowrap; }
.tag { display: inline-block; font-size: .78rem; font-weight: 600; padding: 0 .4rem; border-radius: 3px; margin-left: .4rem;
  border: 1px solid var(--sage); color: var(--sage-ink); white-space: nowrap; vertical-align: 2px; }
.tag.core { background: var(--sage-ink); border-color: var(--sage-ink); color: #fff; }
@media (max-width: 720px) {
  table, thead, tbody, tr, th, td { display: block; }
  thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  tr { padding: .8rem 0; border-bottom: 1px solid var(--rule); }
  th, td { border: 0; padding: .1rem 0; }
  td.d { white-space: normal; font-weight: 600; }
  .ex tbody th { width: auto; }
}

/* Artists */
.roster { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: .9rem; }
.roster li { background: #f6f4ee; border-left: 4px solid var(--sage); padding: .7rem .9rem; }
.roster .n { display: block; font-family: var(--serif); font-weight: 600; font-size: 1.2rem; }
.roster .sh { display: block; font-size: .92rem; color: var(--muted); font-style: italic; }
.letters { columns: 2 320px; column-gap: 2.5rem; }
.letter { break-inside: avoid-column; }
.letter h3 { color: var(--sage-ink); border-bottom: 1px solid var(--rule); margin-top: 1rem; }
.letter ul { list-style: none; padding: 0; margin: 0; }
.letter li { padding: .3rem 0; break-inside: avoid; }
.letter li.core .n { font-weight: 700; }
.letter .n { font-weight: 600; }
.letter .sh { display: block; font-size: .92rem; color: var(--muted); }
.letter .sh a { color: var(--muted); }

/* Footer, with the original site's brace motif */
footer.site { border-top: 1px solid var(--rule); background: var(--panel); padding: 2rem 1.25rem 2.5rem; font-size: 1rem; }
footer.site p { max-width: 900px; margin: 0 auto 1rem; }
footer.site .braces { text-align: center; font-weight: 600; display: flex; flex-wrap: wrap; justify-content: center; gap: .2rem 1rem; }
footer.site .braces > span { white-space: nowrap; }
@media (max-width: 420px) { footer.site .braces > span { white-space: normal; } }
