@font-face {
  font-family: 'Sartoshi Serif';
  src: url('../assets/fonts/CormorantGaramond.ttf') format('truetype');
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
}
@font-face {
  font-family: 'Sartoshi Sans';
  src: url('../assets/fonts/InstrumentSans.ttf') format('truetype');
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}
:root {
  color-scheme: light;
  --ivory: #f2f0e9;
  --ink: #20241f;
  --gallery: #232a24;
  --deep: #161d19;
  --label: #c8cbbf;
  --muted: #62675f;
  --serif: 'Sartoshi Serif', serif;
  --sans: 'Sartoshi Sans', sans-serif;
  --mono: 'Courier New', monospace;
  --edge: clamp(24px, 4vw, 72px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font: 16px/1.5 var(--sans);
  -webkit-font-smoothing: antialiased;
}
body:has(dialog[open]) { overflow: hidden; }
a { color: inherit; text-underline-offset: 6px; }
button { color: inherit; font: inherit; cursor: pointer; }
button, a { -webkit-tap-highlight-color: transparent; }
img { display: block; max-width: 100%; height: auto; }
figure, p, h1, h2 { margin: 0; }
h1, h2 { font-weight: 400; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 7px; }
.catalogue { font: 12px/1.5 var(--mono); letter-spacing: .045em; }
.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  min-height: 88px;
  padding: 20px var(--edge);
}
.presentation-id { display: flex; gap: 18px; align-items: baseline; text-decoration: none; }
.presentation-id > span:first-child { font-weight: 600; font-size: 15px; letter-spacing: .12em; }
.presentation-id .catalogue { color: var(--muted); }
.site-header nav { display: flex; gap: 34px; }
.site-header nav a { font-size: 15px; text-decoration: none; padding-block: 10px; }
.site-header nav a:hover { text-decoration: underline; }
.opening { display: grid; grid-template-columns: minmax(320px, 30%) 1fr; }
.identity-panel {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 44px clamp(28px, 3.4vw, 60px) 50px;
}
.gallery-identity { text-align: center; padding-top: 4px; }
.opening-insignia { width: 255px; margin-inline: auto; mix-blend-mode: multiply; }
.gallery-wordmark {
  font: 500 clamp(44px, 4.25vw, 65px)/1 var(--serif);
  letter-spacing: .045em;
  margin-top: 20px;
}
.identity-caption { padding-top: 70px; }
.identity-caption h1 { font-size: clamp(24px, 2.1vw, 32px); line-height: 1.25; letter-spacing: -.035em; }
.identity-caption > p { font-size: 15px; line-height: 1.55; margin-top: 20px; color: var(--muted); }
.section-link { display: inline-flex; align-items: center; gap: 35px; text-decoration: none; font-size: 15px; padding-block: 10px; }
.section-link:hover { text-decoration: underline; }
.identity-caption .section-link { margin-top: 34px; }
.opening-work {
  background: var(--gallery);
  color: var(--ivory);
  padding: 40px clamp(28px, 5.2vw, 88px) 32px;
}
.opening-stage {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  padding-bottom: 30px;
}
.artwork-button { display: block; border: 0; padding: 0; background: transparent; line-height: 0; }
.artwork-button img { width: 100%; height: auto; }
.opening-stage .artwork-button { width: 100%; max-width: 960px; }
.opening-stage img { width: 100%; height: auto; }
.gallery-label { display: flex; align-items: end; justify-content: space-between; gap: 30px; }
.artist { font-size: 18px; line-height: 1.5; }
.gallery-label h2 { font: 500 36px/1.1 var(--serif); letter-spacing: -.025em; margin-top: 5px; }
.label-actions { display: flex; flex-direction: column; align-items: end; gap: 12px; }
.label-actions .catalogue { color: var(--label); }
.focus-control { display: inline-flex; align-items: center; gap: 22px; font-size: 15px; line-height: 1.5; background: none; border: 0; border-bottom: 1px solid currentColor; padding: 6px 0; }
.focus-control:hover { opacity: .8; }
.marilyn-room { padding: 100px var(--edge) 112px; }
.marilyn-work { display: grid; grid-template-columns: minmax(280px, 1fr) minmax(0, 1.65fr); gap: 9%; max-width: 1240px; margin: auto; align-items: center; }
.marilyn-label { display: block; }
.work-number { display: block; margin-bottom: 58px; color: var(--muted); }
.artist-fraction { white-space: nowrap; }
.artist-fraction sup, .artist-fraction sub { font-size: .65em; line-height: 0; }
.marilyn-label h2 { font-size: clamp(38px, 4.1vw, 58px); line-height: 1.05; max-width: 380px; overflow-wrap: anywhere; margin-block: 12px 38px; }
.marilyn-stage { background: transparent; padding: 0; display: flex; align-items: center; justify-content: center; min-height: 0; }
.marilyn-stage .artwork-button { width: 760px; max-width: 100%; }
.closing-room { background: var(--deep); color: var(--ivory); padding: 56px var(--edge) 70px; }
.closing-work { max-width: 1020px; margin: auto; }
.closing-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; }
.closing-heading .catalogue { color: var(--label); }
.closing-stage { padding: 52px 0; display: flex; justify-content: center; }
.closing-stage .artwork-button { width: 760px; max-width: 100%; }
.closing-label { align-items: baseline; }
.closing-label h2 { font-size: clamp(32px, 3.8vw, 54px); margin: 0; }
.skip-link { position: absolute; top: -100px; left: 20px; z-index: 5; padding: 12px 20px; background: var(--ink); color: var(--ivory); }
.skip-link:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
/* One interaction: artwork-only viewing with native modal focus containment. */
.focus-room { position: fixed; inset: 0; width: 100%; height: 100%; height: 100dvh; max-width: none; max-height: none; border: 0; padding: 22px var(--edge); margin: 0; background: #151a16; color: var(--ivory); }
.focus-room[open] { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; gap: 20px; }
.focus-room::backdrop { background: #151a16; }
.focus-header { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.focus-brand { font-size: 15px; font-weight: 500; letter-spacing: .04em; }
.focus-brand .catalogue { margin-left: 16px; color: var(--label); font-weight: 400; }
.close-focus { display: inline-flex; align-items: center; gap: 20px; border: 0; background: none; padding: 8px 0 8px 16px; min-height: 44px; }
.close-focus span { font-size: 28px; line-height: 1; }
.focus-stage { display: flex; justify-content: center; align-items: center; min-height: 0; }
.focus-stage img { width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; }
.focus-footer { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-top: 16px; }
.focus-attribution .artist { font-size: 16px; }
.focus-attribution h2 { font: 500 32px/1.1 var(--serif); margin: 4px 0 9px; }
.focus-attribution .catalogue { color: var(--label); }
.focus-navigation { display: flex; align-items: center; gap: 18px; }
.focus-navigation button { background: none; border: 1px solid #787e73; min-width: 46px; min-height: 46px; font-size: 21px; }
.focus-navigation button:hover { background: #30382e; }
.error-page { padding: 80px var(--edge); }
.error-page h1 { font: 500 50px var(--serif); margin-bottom: 24px; }
@media (min-width: 1600px) {
  .identity-panel { padding-inline: 60px; }
  .gallery-wordmark { font-size: 65px; }
  .identity-caption { max-width: 370px; margin-inline: auto; width: 100%; }
  .opening-stage { min-height: 0; }
}
@media (max-width: 1050px) {
  .opening { grid-template-columns: 31% 1fr; }
  .identity-panel { padding-inline: 24px; }
  .opening-insignia { width: 200px; }
  .gallery-wordmark { font-size: 42px; }
  .identity-caption h1 { font-size: 24px; }
  .identity-caption > p { font-size: 14px; }
  .identity-caption > p br { display: none; }
  .opening-work { padding-inline: 38px; }
  .opening-stage { min-height: 0; }
  .opening-work .gallery-label { align-items: start; gap: 18px; }
  .gallery-label h2 { font-size: 30px; }
  .label-actions { gap: 8px; }
  .label-actions .catalogue { font-size: 11px; }
  .artist { font-size: 17px; }
  .marilyn-room { padding-block: 76px; }
  .marilyn-work { gap: 7%; grid-template-columns: 1fr 1.5fr; }
  .marilyn-stage { padding: 0; min-height: 0; }
  .marilyn-label h2 { font-size: 42px; }
}
@media (max-width: 760px) {
  .site-header { min-height: 80px; gap: 18px; padding-block: 18px; }
  .presentation-id { display: block; }
  .presentation-id > span:first-child { font-size: 14px; }
  .presentation-id .catalogue { display: block; margin-top: 3px; font-size: 10px; }
  .site-header nav { gap: 20px; }
  .site-header nav a { font-size: 14px; }
  .opening { display: block; }
  .identity-panel { display: grid; grid-template-columns: 1fr 1.15fr; align-items: center; gap: 35px; padding: 22px var(--edge) 38px; }
  .gallery-identity { padding: 0; }
  .opening-insignia { width: 160px; }
  .gallery-wordmark { font-size: 38px; margin-top: 10px; }
  .identity-caption { padding-top: 0; }
  .identity-caption h1 { font-size: 27px; }
  .identity-caption > p { font-size: 14px; margin-top: 15px; }
  .identity-caption .section-link { margin-top: 18px; font-size: 14px; gap: 20px; }
  .opening-work { padding: 36px var(--edge) 32px; }
  .opening-stage { min-height: 0; padding-bottom: 25px; }
  .opening-stage .artwork-button { max-width: 620px; }
  .opening-stage img { max-height: none; width: 100%; }
  .gallery-label h2 { font-size: 34px; }
  .opening-work .gallery-label { align-items: end; }
  .label-actions .catalogue { font-size: 11px; }
  .marilyn-work { display: flex; flex-direction: column; gap: 32px; align-items: stretch; }
  .marilyn-label { display: grid; grid-template-columns: 1fr auto; gap: 8px 22px; align-items: end; }
  .work-number { grid-column: 1 / -1; margin-bottom: 15px; }
  .marilyn-label .artist { grid-column: 1 / -1; }
  .marilyn-label h2 { font-size: 38px; margin: 0; max-width: none; }
  .marilyn-label .focus-control { margin-bottom: 4px; }
  .marilyn-stage { min-height: 0; padding: 0; }
  .closing-room { padding-block: 38px 45px; }
  .closing-stage { padding-block: 40px; }
  .closing-label { align-items: end; }
  .closing-label h2 { font-size: 39px; }
}
@media (max-width: 480px) {
  :root { --edge: 22px; }
  .site-header nav { flex-direction: column; align-items: flex-end; gap: 2px; }
  .site-header nav a { font-size: 14px; padding-block: 2px; }
  .presentation-id > span:first-child { font-size: 13px; }
  .presentation-id .catalogue { font-size: 9px; letter-spacing: 0; }
  .identity-panel { grid-template-columns: .95fr 1.1fr; gap: 22px; padding-block: 24px 32px; }
  .opening-insignia { width: 132px; }
  .gallery-wordmark { font-size: clamp(24px, 7.5vw, 34px); letter-spacing: .02em; margin-top: 10px; }
  .identity-caption h1 { font-size: 23px; }
  .identity-caption > p { font-size: 13px; margin-top: 12px; }
  .identity-caption .section-link { margin-top: 13px; font-size: 13px; gap: 14px; }
  .opening-work { padding-block: 28px; }
  .opening-work .gallery-label { display: block; }
  .gallery-label h2 { font-size: 33px; }
  .artist { font-size: 17px; }
  .label-actions { margin-top: 20px; flex-direction: row; justify-content: space-between; align-items: center; gap: 20px; }
  .focus-control { font-size: 14px; gap: 16px; }
  .marilyn-room { padding-block: 48px; }
  .marilyn-label { display: block; }
  .work-number { margin-bottom: 26px; }
  .marilyn-label h2 { font-size: 38px; margin-top: 9px; }
  .marilyn-label .focus-control { margin-top: 18px; margin-bottom: 0; }
  .marilyn-stage { padding: 0; }
  .closing-heading .catalogue { font-size: 11px; }
  .closing-stage { padding-block: 32px; }
  .closing-label { display: block; }
  .closing-label h2 { font-size: clamp(30px, 8.6vw, 40px); overflow-wrap: anywhere; }
  .closing-label .focus-control { margin-top: 20px; }
  .focus-room { padding: 14px 20px 20px; }
  .focus-brand { font-size: 13px; }
  .focus-brand .catalogue { display: block; margin: 2px 0 0; font-size: 10px; }
  .close-focus { font-size: 15px; gap: 14px; }
  .focus-footer { align-items: start; gap: 16px; }
  .focus-attribution { min-width: 0; }
  .focus-attribution .artist { font-size: 15px; }
  .focus-attribution h2 { font-size: 27px; overflow-wrap: anywhere; }
  .focus-attribution .catalogue { font-size: 11px; }
  .focus-navigation { flex-wrap: wrap; width: 100px; gap: 8px; flex-shrink: 0; }
  .focus-navigation > span { order: -1; width: 100%; text-align: center; }
}
@media (max-width: 350px) {
  .site-header { gap: 12px; }
  .site-header nav { gap: 2px; }
  .site-header nav a { font-size: 14px; }
  .identity-panel { gap: 16px; }
  .identity-caption h1 { font-size: 21px; }
  .identity-caption .section-link { font-size: 12px; gap: 10px; }
  .opening-insignia { width: 110px; }
  .label-actions { gap: 12px; }
  .label-actions .catalogue { font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* V01 contextual artwork and the gallery's closing identity. */
.setting-note { font-size: 13px; line-height: 1.5; color: var(--label); margin-top: 12px; }
.marilyn-label .setting-note { color: var(--muted); margin-top: -20px; margin-bottom: 26px; }
.site-footer { padding: 66px var(--edge) 24px; background: var(--ivory); }
.footer-main { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 44px; padding-bottom: 62px; }
.footer-identity { display: flex; align-items: start; gap: 18px; }
.footer-identity img { width: 92px; height: auto; mix-blend-mode: multiply; flex-shrink: 0; }
.footer-wordmark { font: 500 clamp(40px, 3.7vw, 54px)/1 var(--serif); letter-spacing: .025em; padding-top: 22px; }
.footer-main h2 { font-size: 20px; line-height: 1.4; font-weight: 400; letter-spacing: -.015em; }
.footer-representation > p { font-size: 15px; margin-top: 22px; }
.footer-representation > a { display: inline-block; font-size: 15px; margin-top: 23px; text-decoration: none; }
.footer-representation > a:hover { text-decoration: underline; }
.enquiry-link { display: inline-block; margin-top: 18px; font-size: 16px; overflow-wrap: anywhere; }
.contact-route { font-size: 13px; color: var(--muted); margin-top: 9px; }
.settlement-note { font-size: 14px; line-height: 1.6; margin-top: 27px; color: var(--muted); max-width: 280px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-top: 24px; border-top: 1px solid #c4c7bb; font-size: 13px; }
.footer-bottom .catalogue { color: var(--muted); }
.footer-bottom a { text-decoration: none; }
.footer-bottom a:hover { text-decoration: underline; }
@media (max-width: 1100px) {
  .footer-main { grid-template-columns: 1fr 1fr; gap: 40px 70px; }
  .footer-identity { grid-column: 1 / -1; }
  .opening-work .gallery-label { display: block; }
  .opening-work .label-actions { flex-direction: row; justify-content: space-between; align-items: center; margin-top: 22px; }
}
@media (max-width: 760px) {
  .marilyn-label .setting-note { margin: 4px 0 12px; grid-column: 1 / -1; }
  .footer-main { gap: 36px; padding-bottom: 42px; }
  .footer-main h2 { font-size: 19px; }
  .site-footer { padding-top: 45px; }
}
@media (max-width: 480px) {
  .marilyn-label .setting-note { margin: 14px 0 4px; }
  .footer-main { display: block; }
  .footer-identity { margin-bottom: 37px; gap: 17px; }
  .footer-identity img { width: 76px; }
  .footer-wordmark { font-size: clamp(32px, 9vw, 43px); padding-top: 17px; }
  .footer-contact { margin-top: 40px; }
  .settlement-note { max-width: 290px; }
  .footer-bottom { flex-wrap: wrap; gap: 16px; }
  .footer-bottom .catalogue { order: 3; width: 100%; font-size: 11px; }
  .footer-bottom a { margin-left: auto; }
}

/* Formal gallery name, secondary to the established SARTOSHI wordmark. */
.gallery-wordmark .wordmark-gallery,
.footer-wordmark .wordmark-gallery {
  display: block;
  margin-top: 12px;
  font: 500 16px/1.4 var(--sans);
  letter-spacing: .15em;
}
.footer-representation > .collective-name-note {
  font-size: 14px;
  margin-top: 12px;
  color: var(--muted);
}
