:root {
  --paper: #f2efe7;
  --white: #fbfaf5;
  --ink: #251629;
  --aubergine: #32142f;
  --copper: #9b654b;
  --verdigris: #47746e;
  --stone: #aaa69a;
  --rule: rgba(37, 22, 41, .22);
  --serif: Georgia, "Times New Roman", serif;
  --sans: Arial, Helvetica, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
}
a { color: inherit; text-underline-offset: .25em; }
a:hover { color: var(--copper); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--copper); outline-offset: 4px; }
img { display: block; max-width: 100%; }
.skip-link { position: fixed; z-index: 20; left: 1rem; top: 1rem; padding: .7rem 1rem; background: var(--white); transform: translateY(-200%); }
.skip-link:focus { transform: none; }

.masthead {
  min-height: 84px;
  padding: 0 clamp(1.25rem, 4vw, 4.5rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--rule);
}
.wordmark { display: flex; align-items: center; gap: .8rem; text-decoration: none; }
.wordmark > span { display: grid; place-items: center; width: 39px; height: 39px; border: 1px solid var(--ink); font: 1rem var(--serif); }
.wordmark small, .masthead nav { font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; }
.masthead nav { display: flex; gap: clamp(1rem, 3vw, 3rem); }
.masthead nav a { text-decoration: none; }

.hero {
  min-height: calc(100vh - 84px);
  padding: clamp(3.5rem, 8vw, 8rem) clamp(1.25rem, 7vw, 8rem);
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, .72fr);
  gap: clamp(3rem, 9vw, 10rem);
  align-items: center;
  overflow: hidden;
}
.eyebrow { margin: 0 0 1.3rem; font-size: .68rem; font-weight: 700; letter-spacing: .19em; text-transform: uppercase; }
.eyebrow span { color: var(--copper); margin-left: 1rem; }
h1, h2, h3 { margin-top: 0; font-family: var(--serif); font-weight: 400; line-height: .98; }
h1 { max-width: 9ch; margin-bottom: 1.2rem; font-size: clamp(4rem, 10vw, 9rem); letter-spacing: -.06em; }
.title { max-width: 28rem; padding-left: 1rem; border-left: 3px solid var(--copper); font-family: var(--serif); font-size: clamp(1.15rem, 2vw, 1.55rem); }
.summary { max-width: 40rem; margin: 2.5rem 0; columns: 2; column-gap: 2.5rem; color: #504650; font-size: .9rem; }
.summary p { break-inside: avoid; margin: 0 0 1rem; }
.view-collection { display: inline-flex; gap: 2rem; padding: .8rem 0; border-bottom: 1px solid var(--ink); text-decoration: none; font-size: .73rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }

.portrait-vitrine { margin: 0; justify-self: center; width: min(100%, 430px); }
.portrait-frame { position: relative; padding: clamp(1rem, 2.5vw, 2rem); background: #ded8cc; box-shadow: 0 35px 70px rgba(42, 24, 37, .16), inset 0 0 0 1px rgba(255,255,255,.8); }
.portrait-frame::before { content: ""; position: absolute; inset: 7%; z-index: 1; border: 1px solid rgba(255,255,255,.55); pointer-events: none; }
.portrait-frame img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; filter: saturate(.7) contrast(1.04); }
.measure { position: absolute; background: var(--copper); }
.measure-x { width: 38%; height: 1px; right: -10%; top: 15%; }
.measure-y { width: 1px; height: 34%; left: -6%; bottom: 10%; }
.portrait-vitrine figcaption { display: flex; justify-content: space-between; padding: .8rem .15rem; border-bottom: 1px solid var(--ink); font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; }

.collection { padding: clamp(5rem, 10vw, 10rem) clamp(1.25rem, 5vw, 5rem); background: var(--white); }
.section-heading { display: flex; justify-content: space-between; gap: 2rem; align-items: end; padding-bottom: 2rem; border-bottom: 1px solid var(--ink); }
.section-heading h2, .testimonials h2 { margin-bottom: 0; font-size: clamp(2.8rem, 6vw, 5.5rem); letter-spacing: -.045em; }
.section-note { max-width: 24rem; color: #696269; font-family: var(--serif); font-style: italic; }
.gallery-index { display: flex; justify-content: space-between; gap: 2rem; padding: 1.2rem 0; border-bottom: 1px solid var(--rule); }
.gallery-index > div:first-child { display: flex; gap: 1.5rem; align-items: center; }
.gallery-index p, .js-note { margin: 0; font-size: .7rem; letter-spacing: .08em; }
.index-label { font: italic 1.2rem var(--serif); color: var(--copper); }
.filter-controls { max-width: 68%; display: flex; justify-content: end; flex-wrap: wrap; gap: .4rem; }
.filter-controls button { border: 1px solid var(--rule); border-radius: 100px; padding: .45rem .75rem; color: var(--ink); background: transparent; font: .65rem var(--sans); cursor: pointer; }
.filter-controls button:hover, .filter-controls button[aria-pressed="true"] { color: var(--white); border-color: var(--aubergine); background: var(--aubergine); }

.artifact { min-height: 550px; padding: clamp(3rem, 7vw, 7rem) 0; display: grid; grid-template-columns: 42px minmax(220px, .8fr) minmax(260px, 1.15fr) minmax(180px, .65fr); gap: clamp(1.5rem, 5vw, 5rem); border-bottom: 1px solid var(--rule); align-items: center; }
.artifact[hidden] { display: none; }
.accession { height: 100%; display: flex; flex-direction: column; align-items: center; color: var(--copper); font: italic 1rem var(--serif); }
.accession i { display: block; width: 1px; flex: 1; margin-top: 1rem; background: var(--rule); }
.artifact-object { align-self: stretch; min-height: 340px; display: flex; flex-direction: column; justify-content: end; align-items: center; background: radial-gradient(circle at 50% 45%, #fff 0, #e8e4da 43%, #d6d0c5 100%); border: 1px solid #d6d0c5; overflow: hidden; }
.object-core { width: clamp(110px, 13vw, 180px); aspect-ratio: 1; display: grid; place-items: center; color: var(--paper); background: var(--aubergine); clip-path: polygon(50% 0, 91% 20%, 100% 70%, 50% 100%, 0 70%, 9% 20%); box-shadow: 0 25px 40px rgba(50,20,47,.24); }
.object-core span { font: clamp(3rem, 6vw, 6rem) var(--serif); }
.plinth { width: 72%; height: 20%; margin-top: 2rem; background: linear-gradient(100deg, #b1ada4, #e1ded4 47%, #aaa69f); clip-path: polygon(7% 0, 93% 0, 100% 100%, 0 100%); }
.catalogue-number, .technical-label > p, .ledger-number { margin: 0 0 1rem; color: var(--copper); font-size: .65rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.artifact-label h3 { margin-bottom: .65rem; font-size: clamp(2rem, 4vw, 3.8rem); letter-spacing: -.035em; }
.maker { margin: 0 0 2rem; font: italic 1.2rem var(--serif); }
.curatorial-notes { padding: 0; margin: 0; list-style: none; color: #554d55; font-size: .85rem; }
.curatorial-notes li { position: relative; padding: .75rem 0 .75rem 1.2rem; border-top: 1px solid var(--rule); }
.curatorial-notes li::before { content: "—"; position: absolute; left: 0; color: var(--copper); }
.technical-label { align-self: end; padding: 1.2rem; border: 1px solid var(--rule); background: var(--paper); box-shadow: 8px 8px 0 #dfdbd1; }
.technical-label ul { padding: 0; display: flex; flex-wrap: wrap; gap: .45rem; list-style: none; }
.technical-label li { font: .68rem var(--sans); }
.technical-label li:not(:last-child)::after { content: " /"; color: var(--copper); }
.empty-message { padding: 5rem; text-align: center; font: italic 1.3rem var(--serif); }

.archive { padding: clamp(5rem, 10vw, 10rem) clamp(1.25rem, 6vw, 7rem); color: var(--paper); background: var(--aubergine); }
.inverted { border-color: rgba(255,255,255,.35); }
.inverted .section-note { color: #bfb3bb; }
.archive-ledger { margin-top: 5rem; display: grid; grid-template-columns: 1.1fr .8fr .8fr; gap: 1px; background: rgba(255,255,255,.2); }
.ledger-section { min-width: 0; padding: clamp(1.5rem, 4vw, 4rem); background: var(--aubergine); }
.ledger-section h3 { padding-bottom: 1.5rem; border-bottom: 1px solid rgba(255,255,255,.25); font-size: 2rem; }
.skills ol { padding: 0; display: grid; grid-template-columns: 1fr 1fr; list-style: none; }
.skills li { padding: .7rem 0; border-bottom: 1px solid rgba(255,255,255,.12); font-family: var(--serif); }
.skills li span { display: inline-block; width: 2.5rem; color: #b98970; font: .55rem var(--sans); }
.credential { margin: 2rem 0; }
.credential p { margin-bottom: .4rem; font: 1.2rem var(--serif); }
.credential span { color: #bfb3bb; font-size: .75rem; }
.seal { position: relative; padding-left: 1.2rem; border-left: 3px double var(--copper); }

.testimonials { padding: clamp(5rem, 10vw, 10rem) clamp(1.25rem, 6vw, 7rem); }
.testimonials header { max-width: 900px; }
.quotes { margin-top: 5rem; display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--rule); border-left: 1px solid var(--rule); }
.quotes figure { margin: 0; padding: clamp(1.5rem, 4vw, 4rem); border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.quotes blockquote { margin: 0 0 2rem; font: clamp(1.2rem, 2vw, 1.7rem)/1.4 var(--serif); }
.quotes figcaption { display: flex; flex-direction: column; font-size: .7rem; letter-spacing: .07em; }
.quotes figcaption span { color: #716871; }

footer { padding: clamp(3rem, 6vw, 6rem) clamp(1.25rem, 6vw, 7rem); display: grid; grid-template-columns: 1fr auto auto; align-items: end; gap: clamp(2rem, 6vw, 6rem); color: var(--paper); background: #1e111d; }
footer h2 { margin: 0; font-size: clamp(2.4rem, 5vw, 5rem); }
footer address { display: flex; flex-direction: column; gap: .6rem; font-style: normal; }
.back-top { font-size: .7rem; text-transform: uppercase; }

@media (max-width: 950px) {
  .hero { grid-template-columns: 1fr 1fr; gap: 3rem; }
  .summary { columns: 1; }
  .artifact { grid-template-columns: 30px 1fr 1.25fr; }
  .technical-label { grid-column: 3; }
  .archive-ledger { grid-template-columns: 1fr 1fr; }
  .skills { grid-row: span 2; }
}
@media (max-width: 680px) {
  .masthead { min-height: 68px; }
  .wordmark small { display: none; }
  .masthead nav a:nth-child(2) { display: none; }
  .hero { min-height: auto; grid-template-columns: 1fr; }
  h1 { font-size: clamp(3.7rem, 19vw, 6rem); }
  .portrait-vitrine { width: 82%; }
  .section-heading, .gallery-index { align-items: start; flex-direction: column; }
  .filter-controls { max-width: 100%; justify-content: start; }
  .artifact { grid-template-columns: 22px 1fr; gap: 1rem; }
  .artifact-object, .artifact-label, .technical-label { grid-column: 2; }
  .accession { grid-row: 1 / span 3; }
  .artifact-object { min-height: 300px; }
  .archive-ledger, .quotes { grid-template-columns: 1fr; }
  .skills { grid-row: auto; }
  footer { grid-template-columns: 1fr; align-items: start; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
