:root {
  color-scheme: light;
  --sun: #f5a400;
  --sun-soft: #f4cf77;
  --sky: #b9d5df;
  --paper: #f7f5ef;
  --ink: #11110f;
  --muted: #68665f;
  --line-dark: rgba(17,17,15,.24);
  --line-light: rgba(255,255,255,.24);
}

* { box-sizing: border-box; }
html { background: var(--ink); scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; overflow-x: hidden; color: var(--ink); background: var(--paper); font-family: Arial, Helvetica, sans-serif; letter-spacing: 0; }
a { color: inherit; }
button, select { font: inherit; }
button, select, a { -webkit-tap-highlight-color: transparent; }
img { display: block; max-width: 100%; }
.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; }

.site-header { position: absolute; z-index: 20; top: 0; left: 0; width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 28px; border-bottom: 1px solid var(--line-light); color: white; font-size: 11px; text-transform: uppercase; }
.site-header a { font-weight: 700; text-decoration: none; }
.site-header p { margin: 0; }

.hero { position: relative; min-height: 790px; height: 96vh; max-height: 1080px; overflow: hidden; isolation: isolate; background: #0c0b09; }
.hero::after { content: ""; position: absolute; z-index: 2; inset: 0; background: linear-gradient(90deg, rgba(10,9,8,.78), rgba(10,9,8,.2) 31%, rgba(10,9,8,.2) 69%, rgba(10,9,8,.78)), linear-gradient(0deg, rgba(10,9,8,.82), transparent 52%); pointer-events: none; }
.hero-works { position: absolute; inset: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: rgba(255,255,255,.22); }
.hero-works figure { min-width: 0; min-height: 0; margin: 0; display: grid; place-items: center; overflow: hidden; background: #0e0c09; }
.hero-works img { width: 100%; height: 100%; object-fit: contain; filter: saturate(1.12) contrast(1.04); }
.hero-copy { position: absolute; z-index: 4; left: 50%; top: 50%; width: min(900px, 88vw); transform: translate(-50%, -45%); color: white; text-align: center; text-shadow: 0 2px 18px rgba(0,0,0,.58); }
.hero-copy > p, .hero-note, .statement-heading > p, .viewer-intro p, .provenance-note > p { margin: 0; font-size: 10px; line-height: 1.4; text-transform: uppercase; }
.hero-copy > p { margin-bottom: 30px; color: var(--sun-soft); }
.hero h1 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: 118px; line-height: .76; font-weight: 400; }
.hero h1 span { display: block; }
.hero h1 span:last-child { margin-top: 26px; font-family: Arial, Helvetica, sans-serif; font-size: 25px; line-height: 1; letter-spacing: 0; text-transform: uppercase; }
.hero blockquote { max-width: 610px; margin: 58px auto 0; font-family: Georgia, "Times New Roman", serif; font-size: 24px; line-height: 1.35; }
.hero-note { position: absolute; z-index: 4; right: 28px; bottom: 26px; color: rgba(255,255,255,.76); }

.statement { display: grid; grid-template-columns: .72fr 1.28fr; gap: 7vw; padding: 135px 7vw 150px; background: var(--paper); }
.statement-heading > p { margin-bottom: 26px; color: #8b6b21; }
.statement h2 { max-width: 480px; margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: 59px; line-height: 1; font-weight: 400; }
.statement-copy { max-width: 800px; }
.statement-copy p { max-width: 700px; margin: 0 0 28px; font-size: 18px; line-height: 1.68; }
.statement-copy .lead { max-width: 800px; font-family: Georgia, "Times New Roman", serif; font-size: 35px; line-height: 1.26; }

.viewer-section { padding: 110px 4vw 125px; color: white; background: #11110f; }
.viewer-intro { display: flex; justify-content: space-between; gap: 40px; max-width: 1450px; margin: 0 auto 36px; }
.viewer-intro p:first-child { color: var(--sun-soft); }
.viewer-intro p:last-child { max-width: 570px; color: #b9b5a9; text-transform: none; font-size: 13px; line-height: 1.5; }
.viewer-shell { display: grid; grid-template-columns: minmax(0,1.36fr) minmax(350px,.64fr); max-width: 1450px; margin: 0 auto; border-top: 1px solid var(--line-light); border-bottom: 1px solid var(--line-light); }
.media-area { min-width: 0; border-right: 1px solid var(--line-light); }
.media-frame { --art-ratio: 2 / 3; position: relative; height: min(78vh, 900px); min-height: 680px; display: grid; place-items: center; overflow: hidden; background: #070706; }
.media-frame img { position: absolute; inset: 0; width: 100%; height: 100%; min-width: 0; min-height: 0; object-fit: contain; opacity: .84; transition: opacity .25s ease; }
.media-frame img.is-ready { opacity: 1; }
.media-frame::after { content: "HISTORICAL / BURNED"; position: absolute; top: 17px; right: 17px; padding: 7px 9px; border: 1px solid rgba(255,255,255,.56); color: rgba(255,255,255,.86); background: rgba(0,0,0,.5); font-size: 9px; }
#media-status { position: absolute; z-index: 3; left: 16px; bottom: 14px; margin: 0; padding: 7px 9px; color: rgba(255,255,255,.8); background: rgba(0,0,0,.64); font-size: 9px; text-transform: uppercase; }
.filmstrip { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); height: 145px; border-top: 1px solid var(--line-light); }
.filmstrip button { position: relative; min-width: 0; padding: 0; overflow: hidden; border: 0; border-right: 1px solid var(--line-light); border-radius: 0; color: white; background: #090908; cursor: pointer; }
.filmstrip button:last-child { border-right: 0; }
.filmstrip img { width: 100%; height: 100%; object-fit: contain; opacity: .45; transition: opacity .2s ease, transform .2s ease; }
.filmstrip span { position: absolute; left: 12px; bottom: 9px; font-size: 9px; text-transform: uppercase; }
.filmstrip button:hover img, .filmstrip button:focus-visible img, .filmstrip button.is-active img { opacity: 1; transform: scale(1.02); }
.filmstrip button.is-active::before { content: ""; position: absolute; z-index: 2; top: 0; left: 0; width: 100%; height: 3px; background: var(--sun); }

.work-panel { min-width: 0; display: flex; flex-direction: column; padding: 48px 38px 34px; background: linear-gradient(180deg, rgba(245,164,0,.09), transparent 42%); }
.token-label { margin: 0; color: var(--sun-soft); font-size: 10px; line-height: 1.4; text-transform: uppercase; }
.work-panel h2 { margin: 18px 0 0; overflow-wrap: anywhere; font-family: Georgia, "Times New Roman", serif; font-size: 51px; line-height: 1; font-weight: 400; }
.work-description { margin: 30px 0 32px; color: #c8c3b6; font-size: 15px; line-height: 1.6; }
.work-facts { margin: 0; border-top: 1px solid var(--line-light); }
.work-facts div { display: grid; grid-template-columns: 82px minmax(0,1fr); gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line-light); }
.work-facts dt { color: #8d897f; font-size: 9px; text-transform: uppercase; }
.work-facts dd { margin: 0; overflow-wrap: anywhere; font-size: 11px; }
#lifecycle { color: #ffc86b; }
.viewer-controls { display: grid; grid-template-columns: 46px minmax(0,1fr) 46px; height: 46px; margin-top: 28px; }
.viewer-controls button, .viewer-controls select { width: 100%; height: 46px; border: 1px solid var(--line-light); border-radius: 0; color: white; background: transparent; }
.viewer-controls button { cursor: pointer; font-size: 18px; }
.viewer-controls button:hover, .viewer-controls button:focus-visible { color: var(--ink); background: var(--sun); }
.viewer-controls label { min-width: 0; }
.viewer-controls select { padding: 0 12px; border-left: 0; border-right: 0; cursor: pointer; text-overflow: ellipsis; }
.source-links { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 24px; }
.source-links a { font-size: 10px; text-underline-offset: 4px; }
.source-links a:hover, .source-links a:focus-visible { color: var(--sun-soft); }
.metadata-statement { margin-top: 26px; padding-top: 16px; border-top: 1px solid var(--line-light); }
.metadata-statement summary { color: #aaa598; font-size: 10px; text-transform: uppercase; cursor: pointer; }
.metadata-statement p { max-height: 310px; margin: 18px 0 0; padding-right: 10px; overflow-y: auto; white-space: pre-line; color: #c3beb1; font-size: 12px; line-height: 1.65; }

.project-poem { display: grid; min-height: 560px; align-content: center; padding: 100px 8vw; color: var(--ink); background: var(--sky); }
.project-poem p { width: fit-content; margin: 7px 0; font-family: Georgia, "Times New Roman", serif; font-size: 54px; line-height: 1.05; }
.project-poem p:nth-child(even) { margin-left: 17vw; }
.project-poem p:nth-child(3) { margin-left: 7vw; }

.provenance-note { display: grid; grid-template-columns: .72fr 1.28fr; gap: 7vw; padding: 120px 7vw 130px; color: white; background: #171612; }
.provenance-note > p { padding-top: 10px; color: var(--sun-soft); }
.provenance-note h2 { max-width: 800px; margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: 62px; line-height: 1; font-weight: 400; }
.provenance-note div > p { max-width: 680px; margin: 38px 0 30px; color: #c4bfb3; font-size: 16px; line-height: 1.65; }
.provenance-note a { font-size: 11px; text-underline-offset: 5px; }
.provenance-note a:hover, .provenance-note a:focus-visible { color: var(--sun-soft); }
footer { display: flex; justify-content: space-between; gap: 24px; padding: 22px 28px; color: white; background: #0b0a08; border-top: 1px solid var(--line-light); font-size: 9px; text-transform: uppercase; }
footer p { margin: 0; }

@media (max-width: 980px) {
  .hero h1 { font-size: 92px; }
  .viewer-shell { grid-template-columns: minmax(0,1fr) 350px; }
  .media-frame { min-height: 600px; }
  .work-panel { padding: 40px 27px 30px; }
  .work-panel h2 { font-size: 43px; }
}

@media (max-width: 740px) {
  .site-header { padding: 17px 18px; }
  .site-header p { display: none; }
  .hero { min-height: 710px; height: 92vh; }
  .hero::after { background: linear-gradient(0deg, rgba(10,9,8,.94), rgba(10,9,8,.12) 70%), linear-gradient(90deg, rgba(10,9,8,.5), rgba(10,9,8,.06), rgba(10,9,8,.5)); }
  .hero-works { grid-template-columns: 1fr 1fr; }
  .hero-copy { top: auto; bottom: 92px; width: calc(100% - 36px); transform: translateX(-50%); }
  .hero-copy > p { margin-bottom: 18px; }
  .hero h1 { font-size: 57px; line-height: .82; }
  .hero h1 span:last-child { margin-top: 18px; font-size: 17px; }
  .hero blockquote { margin-top: 34px; font-size: 19px; }
  .hero-note { right: 18px; bottom: 18px; }
  .statement, .provenance-note { grid-template-columns: 1fr; gap: 42px; }
  .statement { padding: 84px 20px 94px; }
  .statement h2 { font-size: 43px; }
  .statement-copy .lead { font-size: 28px; }
  .statement-copy p { font-size: 16px; }
  .viewer-section { padding: 78px 14px 88px; }
  .viewer-intro { display: block; }
  .viewer-intro p:last-child { margin-top: 14px; }
  .viewer-shell { display: flex; flex-direction: column; }
  .media-area { border-right: 0; }
  .media-frame { width: 100%; min-height: 0; height: auto; aspect-ratio: var(--art-ratio); max-height: 76vh; }
  .media-frame img { position: absolute; inset: 0; }
  .filmstrip { height: 120px; border-bottom: 1px solid var(--line-light); }
  .work-panel { padding: 34px 4px 27px; background: none; }
  .work-panel h2 { font-size: 41px; }
  .project-poem { min-height: 500px; padding: 80px 20px; }
  .project-poem p { font-size: 36px; }
  .project-poem p:nth-child(even), .project-poem p:nth-child(3) { margin-left: 0; }
  .project-poem p:nth-child(even) { align-self: end; text-align: right; }
  .provenance-note { padding: 84px 20px 94px; }
  .provenance-note h2 { font-size: 47px; }
  footer { padding: 20px 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .media-frame img, .filmstrip img { transition: none; }
}
