.artists-page { overflow-x: hidden; }
.artists-page .site-header { background: rgba(246, 241, 232, .98); color: var(--ink); box-shadow: 0 1px 0 var(--line); }

.artists-hero { padding: clamp(150px, 12vw, 190px) 0 clamp(92px, 9vw, 135px); background: var(--paper); }
.artists-hero-layout { display: grid; grid-template-columns: .77fr 1.23fr; gap: clamp(46px, 6vw, 92px); align-items: center; }
.artists-hero-copy h1 { max-width: 650px; margin-bottom: 28px; }
.artists-hero-images { display: grid; grid-template-columns: 1.12fr .88fr; grid-template-rows: auto auto; gap: 18px; align-items: end; }
.hero-main-media { grid-row: 1 / span 2; aspect-ratio: 4 / 5; }
.hero-detail-media { aspect-ratio: 1; }
.hero-making-media { aspect-ratio: 3 / 2; }
.artists-hero-images .is-guide { min-height: 0; }
.artists-hero-images .image-guide { padding: clamp(15px, 2vw, 28px); }

.craft-fields { background: var(--ivory); }
.craft-fields-layout { display: grid; grid-template-columns: 1fr .8fr; gap: clamp(50px, 8vw, 120px); align-items: end; }
.craft-fields .section-copy { margin: 0; padding-top: 28px; border-top: 1px solid var(--line); }
.section-heading { margin-bottom: clamp(42px, 6vw, 72px); }

.featured-artist { background: var(--green); color: #fff; }
.featured-artist .eyebrow { color: #ded5c8; }
.featured-artist-layout { display: grid; grid-template-columns: .72fr 1.28fr; gap: clamp(46px, 8vw, 120px); align-items: center; }
.featured-artist-media { aspect-ratio: 4 / 5; }
.artist-data-guide { border-top: 1px solid rgba(255,255,255,.32); }
.artist-data-guide > p { margin: 0; padding: 22px 0; color: #e3ded7; }
.artist-data-guide dl { margin: 0; }
.artist-data-guide dl div { display: grid; grid-template-columns: 150px 1fr; gap: 24px; padding: 18px 0; border-top: 1px solid rgba(255,255,255,.2); }
.artist-data-guide dt { color: #e4c1b7; }
.artist-data-guide dd { margin: 0; color: #fff; }

.artist-list-section { background: var(--paper); }
.artist-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(22px, 3vw, 40px); }
.artist-card { min-width: 0; }
.artist-card .media { aspect-ratio: 4 / 5; }
.artist-card .media.is-guide { min-height: 520px; aspect-ratio: auto; }

.works-gallery-section { background: var(--ivory); scroll-margin-top: 84px; }
.works-gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 2vw, 26px); }
.work-media { aspect-ratio: 1; background: #ebe5dc; }
.work-media.is-guide { min-height: 390px; aspect-ratio: auto; }
.work-media.has-image { cursor: zoom-in; }
.work-media.has-image:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }

.purchase-section { background: var(--paper); }
.purchase-heading { display: grid; grid-template-columns: .52fr 1fr; gap: 48px; align-items: start; }
.purchase-heading .eyebrow { margin-top: 12px; }
.purchase-list { margin: 58px 0 36px; border-top: 1px solid var(--line); }
.purchase-list article { display: grid; grid-template-columns: 82px .7fr 1.25fr; gap: 26px; padding: 28px 0; border-bottom: 1px solid var(--line); align-items: start; }
.purchase-list b { color: var(--red); font-family: var(--serif); font-size: 1.55rem; font-weight: 500; }
.purchase-list h3, .purchase-list p { margin: 0; }
.purchase-list h3 { font-family: var(--serif); }
.purchase-list p { color: var(--muted); }

.institution-section { background: var(--green); color: #fff; }
.institution-section .eyebrow { color: #ded5c8; }
.institution-section .section-copy { color: #e3ded7; }
.institution-layout { display: grid; grid-template-columns: 1fr .78fr; gap: clamp(60px, 9vw, 135px); align-items: center; }
.institution-section .button-secondary { border-color: #fff; color: #fff; }
.inquiry-list { padding: 32px; border: 1px solid rgba(255,255,255,.3); }
.inquiry-list p { margin: 0 0 24px; font-family: var(--serif); font-size: 1.2rem; }
.inquiry-list ul { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin: 0; padding: 0; list-style: none; border-top: 1px solid rgba(255,255,255,.22); }
.inquiry-list li { padding: 14px 8px; border-bottom: 1px solid rgba(255,255,255,.22); color: #e3ded7; }

.artists-final { background: var(--deep-red); color: #fff; }
.artists-final .eyebrow { color: #e4c1b7; }
.artists-final-layout { display: grid; grid-template-columns: 1fr .75fr; gap: clamp(55px, 9vw, 130px); align-items: end; }
.artists-final-copy { padding-top: 30px; border-top: 1px solid rgba(255,255,255,.32); }
.artists-final-copy p { color: #eaded9; }
.artists-final .button { background: #fff; border-color: #fff; color: var(--deep-red); }
.artists-final .button-secondary { background: transparent; color: #fff; }

body.document-modal-open { overflow: hidden; }
.document-modal { position: fixed; z-index: 240; inset: 0; padding: 24px; background: rgba(20,18,16,.78); }
.document-modal:not([hidden]) { display: grid; place-items: center; }
.document-modal-panel { position: relative; width: min(100%, 940px); max-height: calc(100dvh - 48px); display: grid; grid-template-rows: auto minmax(0, 1fr); padding: 28px; background: var(--paper); }
.document-modal-panel h2 { margin: 0 48px 20px 0; font-size: 1.35rem; }
.document-modal-close { position: absolute; z-index: 2; right: 16px; top: 12px; width: 42px; height: 42px; border: 0; background: transparent; font-size: 2rem; cursor: pointer; }
.document-modal-image { min-height: 0; display: grid; place-items: center; overflow: auto; }
.document-modal-image img { width: 100%; height: 100%; max-height: calc(100dvh - 150px); object-fit: contain; }

@media (max-width: 1024px) {
  .artists-hero-layout { grid-template-columns: 1fr; }
  .artists-hero-images { order: -1; }
  .artist-list { grid-template-columns: repeat(2, 1fr); }
  .works-gallery { grid-template-columns: repeat(2, 1fr); }
  .artist-card .media.is-guide { min-height: 500px; }
  .work-media.is-guide { min-height: 430px; }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .artists-page .mobile-menu[aria-hidden="true"] { display: none; }
  .artists-page.menu-open .mobile-menu { display: block; }
}

@media (max-width: 767px) {
  .artists-page .site-footer { padding-bottom: 100px; }
  .artists-hero { padding: 104px 0 78px; }
  .artists-hero-images { grid-template-columns: 1fr; grid-template-rows: auto; gap: 20px; }
  .hero-main-media, .hero-detail-media, .hero-making-media { grid-column: auto; grid-row: auto; }
  .artists-hero-images .is-guide { min-height: 390px; aspect-ratio: auto; }
  .craft-fields-layout, .featured-artist-layout, .purchase-heading, .institution-layout, .artists-final-layout { grid-template-columns: 1fr; }
  .craft-fields-layout { gap: 28px; }
  .featured-artist-media.is-guide { min-height: 480px; aspect-ratio: auto; }
  .artist-data-guide dl div { grid-template-columns: 112px 1fr; gap: 16px; }
  .artist-list { grid-template-columns: 1fr; }
  .artist-card .media.is-guide { min-height: 500px; }
  .works-gallery { grid-template-columns: 1fr; }
  .work-media.is-guide { min-height: 440px; }
  .purchase-list article { grid-template-columns: 54px 1fr; gap: 14px; }
  .purchase-list p { grid-column: 2; }
  .institution-layout { gap: 48px; }
  .inquiry-list { padding: 24px; }
  .inquiry-list ul { grid-template-columns: 1fr; }
  .document-modal { padding: 12px; }
  .document-modal-panel { max-height: calc(100dvh - 24px); padding: 20px; }
}

.artist-data-card > a { display:block; height:100%; }
.artist-card-copy { padding:20px 2px 4px; }
.artist-card-copy h3 { margin:4px 0 8px; }
.artist-card-copy p:last-child { color:var(--muted); }
.work-data-card { margin:0; }
.work-data-card img { width:100%; aspect-ratio:1/1; object-fit:contain; background:#ece5da; }
.work-data-card figcaption { display:grid; gap:4px; padding-top:14px; }
.work-data-card figcaption span,.work-data-card figcaption p { color:var(--muted); }
.artist-profile-hero { display:grid; grid-template-columns:minmax(0,1fr) minmax(280px,.8fr); gap:clamp(40px,7vw,100px); align-items:center; }
.artist-profile-photo img { width:100%; max-height:720px; object-fit:cover; }
.artist-profile-details { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:clamp(24px,4vw,56px); }
.artist-profile-details article { padding-top:20px; border-top:1px solid var(--line); }
.artist-profile-error .container { max-width:900px; }
@media (max-width:767px) { .artist-profile-hero,.artist-profile-details { grid-template-columns:1fr; } .artist-profile-photo { order:-1; } }

@media (max-width: 400px) {
  .artists-hero-images .is-guide { min-height: 410px; }
  .artist-card .media.is-guide { min-height: 510px; }
  .work-media.is-guide { min-height: 460px; }
}
