:root {
  color-scheme: dark;
  --ink: #090909;
  --ink-soft: #11110f;
  --paper: #eee8de;
  --paper-soft: #c9c1b5;
  --muted: #8e887e;
  --line: rgba(238, 232, 222, 0.15);
  --gold: #b59a72;
  --gold-soft: rgba(181, 154, 114, 0.14);
  --page: min(1440px, calc(100vw - 64px));
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  background: var(--ink);
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--paper);
  background:
    radial-gradient(circle at 50% -15%, rgba(181, 154, 114, 0.09), transparent 34rem),
    var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration-color: rgba(238, 232, 222, 0.42);
  text-underline-offset: 0.22em;
}

a:hover {
  text-decoration-color: var(--gold);
}

a:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  color: var(--ink);
  background: var(--paper);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: relative;
  z-index: 10;
  display: flex;
  width: var(--page);
  min-height: 88px;
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border-bottom: 1px solid var(--line);
}

.site-brand {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 16px;
  text-decoration: none;
}

.site-brand span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(181, 154, 114, 0.68);
  color: var(--gold);
  font: 500 10px/1 var(--sans);
  letter-spacing: 0.18em;
}

.site-brand strong {
  overflow: hidden;
  font: 400 clamp(14px, 1.4vw, 18px)/1.1 var(--serif);
  letter-spacing: 0.05em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(15px, 2.2vw, 34px);
  color: var(--paper-soft);
  font-size: 11px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.site-nav a {
  position: relative;
  padding: 11px 0;
  text-decoration: none;
}

.site-nav a[aria-current="page"]::after {
  position: absolute;
  right: 0;
  bottom: 4px;
  left: 0;
  height: 1px;
  background: var(--gold);
  content: "";
}

.site-nav .nav-enter {
  padding: 10px 15px;
  border: 1px solid rgba(181, 154, 114, 0.5);
  color: var(--paper);
}

.site-nav .nav-enter:hover {
  border-color: var(--gold);
  background: var(--gold-soft);
}

.page-shell {
  width: var(--page);
  margin: 0 auto;
}

.breadcrumbs {
  padding: 27px 0 22px;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.breadcrumbs ol {
  display: flex;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
}

.breadcrumbs li:not(:last-child)::after {
  margin-left: 8px;
  color: rgba(238, 232, 222, 0.28);
  content: "/";
}

.breadcrumbs a {
  text-decoration: none;
}

.eyebrow,
.section-number {
  margin: 0 0 18px;
  color: var(--gold);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: var(--serif);
  font-weight: 400;
}

h1 {
  max-width: 16ch;
  margin-bottom: 28px;
  font-size: clamp(48px, 6.5vw, 104px);
  line-height: 0.94;
  letter-spacing: -0.035em;
}

h2 {
  font-size: clamp(30px, 3.8vw, 54px);
  line-height: 1.05;
}

.lead {
  max-width: 66ch;
  color: var(--paper-soft);
  font-family: var(--serif);
  font-size: clamp(19px, 2vw, 26px);
  line-height: 1.48;
}

.primary-action,
.text-action {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.primary-action {
  padding: 0 22px;
  border: 1px solid var(--gold);
  background: rgba(181, 154, 114, 0.08);
  text-decoration: none;
}

.primary-action:hover {
  background: var(--gold-soft);
}

.text-action {
  padding: 0 5px;
  color: var(--paper-soft);
}

.hero-actions {
  display: flex;
  margin-top: 34px;
  align-items: center;
  flex-wrap: wrap;
  gap: 22px;
}

.collection-status {
  display: grid;
  margin-top: 40px;
  padding-top: 22px;
  gap: 8px;
  border-top: 1px solid var(--line);
}

.collection-status span,
.collection-status a,
.legal-updated {
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.collection-status strong { color: var(--paper-soft); font-size: 11px; letter-spacing: 0.14em; }
.collection-status a { width:max-content; margin-top:7px; color:var(--gold); text-decoration:none; border-bottom:1px solid rgba(181,154,114,.45); }
.legal-page-shell { min-height:70vh; }
.legal-record { max-width:820px; padding:70px 0 120px; }
.legal-record h1 { margin:18px 0 44px; font-size:clamp(46px,7vw,88px); }
.legal-record .prose { display:grid; gap:20px; }
.legal-updated { margin-top:48px; }

.artwork-hero {
  display: grid;
  min-height: min(780px, calc(100vh - 154px));
  grid-template-columns: minmax(0, 1.06fr) minmax(330px, 0.94fr);
  align-items: stretch;
  border: 1px solid var(--line);
  background: #0d0d0c;
}

.hero-artwork-image {
  display: grid;
  min-height: 620px;
  margin: 0;
  place-items: center;
  overflow: hidden;
  border-right: 1px solid var(--line);
  background:
    linear-gradient(rgba(255,255,255,0.015), rgba(255,255,255,0)),
    #080808;
}

.hero-artwork-image img {
  width: 100%;
  height: min(780px, calc(100vh - 154px));
  object-fit: contain;
}

.artwork-hero-copy {
  display: flex;
  padding: clamp(40px, 6vw, 92px);
  flex-direction: column;
  justify-content: center;
}

.artwork-hero-copy h1 {
  font-size: clamp(48px, 5.4vw, 86px);
}

.record-grid {
  display: grid;
  margin-top: 84px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.record-grid dl {
  display: grid;
  margin: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.record-grid div {
  min-height: 118px;
  padding: 25px 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.record-grid dt {
  margin-bottom: 13px;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.record-grid dd {
  margin: 0;
  color: var(--paper-soft);
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.4;
}

.narrative-grid,
.museum-sequences {
  display: grid;
  padding: clamp(96px, 12vw, 180px) 0;
  grid-template-columns: minmax(220px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(54px, 8vw, 130px);
  border-bottom: 1px solid var(--line);
}

.narrative-grid h2,
.museum-sequences h2 {
  max-width: 8ch;
}

.prose {
  max-width: 760px;
  color: var(--paper-soft);
  font-family: var(--serif);
  font-size: clamp(19px, 1.7vw, 24px);
  line-height: 1.72;
}

.prose p + p {
  margin-top: 1.55em;
}

.image-record {
  padding: clamp(90px, 11vw, 160px) 0;
}

.section-heading {
  display: flex;
  margin-bottom: 48px;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
}

.section-heading h2 {
  margin: 0;
}

.detail-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.detail-gallery figure {
  margin: 0;
  background: var(--ink-soft);
}

.detail-gallery img {
  width: 100%;
  height: clamp(390px, 45vw, 680px);
  object-fit: cover;
}

.detail-gallery figcaption,
.profile-hero figcaption {
  padding: 14px 0;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.record-navigation {
  display: grid;
  padding: 38px 0 110px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  border-top: 1px solid var(--line);
}

.record-navigation a {
  display: flex;
  min-height: 118px;
  padding: 25px 28px;
  flex-direction: column;
  justify-content: center;
  background: rgba(255,255,255,0.02);
  text-decoration: none;
}

.record-navigation a:last-child {
  align-items: flex-end;
  text-align: right;
}

.record-navigation a:hover {
  background: var(--gold-soft);
}

.record-navigation span {
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.record-navigation strong {
  margin-top: 9px;
  font: 400 clamp(18px, 2vw, 25px)/1.25 var(--serif);
}

.collection-intro {
  max-width: 990px;
  padding: clamp(70px, 9vw, 130px) 0 clamp(68px, 8vw, 112px);
}

.collection-intro h1 {
  max-width: 12ch;
}

.series-index {
  display: grid;
  margin-bottom: clamp(90px, 11vw, 155px);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.series-index a {
  display: grid;
  min-height: 150px;
  padding: 28px;
  grid-template-columns: 42px 1fr;
  align-content: center;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}

.series-index a:hover {
  background: var(--gold-soft);
}

.series-index span {
  grid-row: 1 / 3;
  color: var(--gold);
  font-size: 10px;
}

.series-index strong {
  font: 400 clamp(25px, 3vw, 38px)/1.1 var(--serif);
}

.series-index em {
  margin-top: 10px;
  color: var(--muted);
  font-size: 10px;
  font-style: normal;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.artwork-card-grid {
  display: grid;
  padding-bottom: clamp(100px, 12vw, 170px);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(44px, 7vw, 100px) clamp(24px, 4vw, 54px);
}

.artwork-card-grid--all .artwork-card:nth-child(3n + 1) {
  grid-column: 1 / -1;
  width: 72%;
  margin-right: auto;
  margin-left: auto;
}

.artwork-card {
  min-width: 0;
}

.card-image {
  display: grid;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  place-items: center;
  background: #0c0c0b;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.55s ease;
}

.card-image:hover img {
  transform: scale(1.018);
}

.card-copy {
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.card-copy p {
  margin-bottom: 10px;
  color: var(--gold);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.card-copy h2 {
  margin-bottom: 12px;
  font-size: clamp(27px, 3vw, 42px);
}

.card-copy h2 a {
  text-decoration: none;
}

.card-copy span,
.publication-note {
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.publication-note {
  max-width: 72ch;
  margin: -90px 0 120px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  line-height: 1.8;
}

.profile-hero {
  display: grid;
  min-height: 720px;
  padding: 40px 0 clamp(90px, 10vw, 150px);
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 0.76fr);
  align-items: center;
  gap: clamp(50px, 9vw, 140px);
}

.profile-hero h1 {
  margin-bottom: 8px;
}

.artist-alternate {
  margin-bottom: 35px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.profile-hero figure {
  margin: 0;
}

.profile-hero img {
  width: 100%;
  max-height: 680px;
  object-fit: cover;
}

.profile-biography {
  border-top: 1px solid var(--line);
}

.practice-principles,
.museum-principles {
  display: grid;
  padding: 0 0 clamp(105px, 13vw, 180px);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.practice-principles article,
.museum-principles article {
  min-height: 270px;
  padding: clamp(28px, 4vw, 54px);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.practice-principles span,
.museum-principles span {
  color: var(--gold);
  font-size: 10px;
}

.practice-principles h2,
.museum-principles h2 {
  margin: 45px 0 17px;
  font-size: clamp(27px, 3vw, 40px);
}

.practice-principles p,
.museum-principles p {
  max-width: 49ch;
  color: var(--paper-soft);
}

.museum-hero {
  position: relative;
  min-height: min(840px, calc(100vh - 150px));
  overflow: hidden;
  border: 1px solid var(--line);
  background: #050505;
}

.museum-hero figure {
  position: absolute;
  z-index: 0;
  inset: 0;
  margin: 0;
}

.museum-hero figure::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.6) 44%, rgba(0,0,0,0.06) 82%);
  content: "";
}

.museum-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.museum-hero-copy {
  position: relative;
  z-index: 1;
  display: flex;
  width: min(720px, 65%);
  min-height: inherit;
  padding: clamp(50px, 8vw, 120px);
  flex-direction: column;
  justify-content: center;
}

.museum-hero-copy h1 {
  max-width: 10ch;
  font-size: clamp(56px, 7vw, 108px);
}

.museum-principles {
  padding-top: clamp(100px, 12vw, 170px);
  border-top: 0;
}

.museum-sequences > div:last-child {
  border-top: 1px solid var(--line);
}

.museum-sequences a {
  display: block;
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}

.museum-sequences a:hover strong {
  color: var(--gold);
}

.museum-sequences a span {
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.museum-sequences a strong {
  display: block;
  margin: 8px 0 12px;
  font: 400 clamp(28px, 3vw, 42px)/1.1 var(--serif);
  transition: color 0.2s ease;
}

.museum-sequences a p {
  max-width: 62ch;
  margin: 0;
  color: var(--paper-soft);
}

.site-footer {
  display: flex;
  width: var(--page);
  min-height: 155px;
  margin: 0 auto;
  padding: 38px 0;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer p {
  margin: 0;
  color: var(--paper-soft);
  font: 400 18px/1.4 var(--serif);
}

.site-footer div {
  display: flex;
  gap: 20px;
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

@media (max-width: 980px) {
  :root {
    --page: min(100% - 36px, 760px);
  }

  .site-header {
    min-height: 112px;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
  }

  .site-nav {
    width: 100%;
    gap: 18px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .site-nav::-webkit-scrollbar {
    display: none;
  }

  .site-nav a {
    flex: 0 0 auto;
  }

  .artwork-hero,
  .profile-hero {
    grid-template-columns: 1fr;
  }

  .artwork-hero {
    min-height: 0;
  }

  .hero-artwork-image {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .hero-artwork-image img {
    height: min(72vh, 760px);
  }

  .record-grid {
    grid-template-columns: 1fr;
  }

  .detail-gallery {
    grid-template-columns: 1fr 1fr;
  }

  .detail-gallery figure:first-child {
    grid-column: 1 / -1;
  }

  .profile-hero {
    min-height: 0;
  }

  .profile-hero figure {
    max-width: 560px;
  }

  .museum-hero-copy {
    width: min(760px, 84%);
  }

  .museum-hero figure::after {
    background: linear-gradient(90deg, rgba(0,0,0,0.88), rgba(0,0,0,0.36));
  }
}

@media (max-width: 680px) {
  :root {
    --page: calc(100% - 28px);
  }

  body {
    font-size: 15px;
  }

  .site-brand strong {
    font-size: 14px;
  }

  .site-nav {
    gap: 16px;
    font-size: 9px;
  }

  .site-nav .nav-enter {
    padding: 9px 12px;
  }

  .breadcrumbs {
    padding-top: 20px;
  }

  h1 {
    font-size: clamp(45px, 15vw, 68px);
  }

  .artwork-hero-copy {
    padding: 38px 24px 46px;
  }

  .artwork-hero-copy h1 {
    font-size: clamp(43px, 13vw, 62px);
  }

  .record-grid {
    margin-top: 54px;
  }

  .record-grid dl {
    grid-template-columns: 1fr;
  }

  .record-grid div {
    min-height: 0;
  }

  .narrative-grid,
  .museum-sequences {
    padding: 90px 0;
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .narrative-grid h2,
  .museum-sequences h2 {
    max-width: 13ch;
  }

  .detail-gallery {
    grid-template-columns: 1fr;
  }

  .detail-gallery figure:first-child {
    grid-column: auto;
  }

  .detail-gallery img {
    height: min(630px, 128vw);
  }

  .record-navigation {
    grid-template-columns: 1fr;
  }

  .record-navigation a:last-child {
    align-items: flex-start;
    text-align: left;
  }

  .series-index,
  .artwork-card-grid,
  .practice-principles,
  .museum-principles {
    grid-template-columns: 1fr;
  }

  .artwork-card-grid--all .artwork-card:nth-child(3n + 1) {
    grid-column: auto;
    width: auto;
    margin: 0;
  }

  .publication-note {
    margin-top: -55px;
  }

  .museum-hero {
    min-height: 720px;
  }

  .museum-hero-copy {
    width: 100%;
    padding: 42px 24px;
    justify-content: flex-end;
  }

  .museum-hero-copy h1 {
    font-size: clamp(48px, 14vw, 68px);
  }

  .museum-hero figure::after {
    background: linear-gradient(0deg, rgba(0,0,0,0.96) 0%, rgba(0,0,0,0.54) 64%, rgba(0,0,0,0.1) 100%);
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-footer div {
    flex-wrap: wrap;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .card-image img {
    transition: none;
  }
}
