:root {
  color-scheme: light;
  --wine: #211718;
  --wine-deep: #191113;
  --paper: #f6f1e8;
  --paper-dark: #eee5d7;
  --ink: #271c1d;
  --muted: #605253;
  --gold: #edca91;
  --gold-text: #7d5429;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "DM Sans", system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); }
body:has(dialog[open]) { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
a:focus-visible, button:focus-visible, [tabindex]:focus-visible { outline: 2px solid #9a542d; outline-offset: 5px; }
.header :focus-visible, .hero :focus-visible, .reading :focus-visible, dialog :focus-visible { outline-color: var(--gold); }
.skip { position: fixed; top: .75rem; left: .75rem; z-index: 10; background: var(--paper); color: var(--ink); padding: .75rem; transform: translateY(-180%); }
.skip:focus { transform: translateY(0); }
.wrap { width: min(100% - 2.75rem, 76rem); margin-inline: auto; }
.header { background: var(--wine); color: var(--paper); border-bottom: 1px solid #efce961f; }
.header-inner { min-height: 5rem; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.wordmark { text-decoration: none; color: var(--gold); font: 600 1.48rem/1 var(--serif); }
.header nav { display: flex; align-items: center; gap: clamp(.9rem, 3vw, 2.85rem); }
.header nav a { text-decoration: none; font-size: .91rem; font-weight: 500; }
.header nav a:hover { color: var(--gold); }
.header .nav-reader { padding: .58rem 1rem; border: 1px solid #cfa97575; border-radius: 3px; color: var(--gold); }
.hero { color: var(--paper); background: radial-gradient(ellipse at 74% 41%, #3d2525, transparent 60%), var(--wine); }
.hero-inner { display: grid; grid-template-columns: minmax(0, .84fr) minmax(0, 1.16fr); gap: clamp(2rem, 5.6vw, 5.3rem); align-items: center; padding-block: clamp(3.1rem, 6.1vw, 5.9rem) clamp(2.55rem, 5.1vw, 4.4rem); }
.hero-copy { padding-bottom: 2rem; }
.label { margin: 0 0 1.15rem; color: var(--gold-text); font: 700 .875rem/1.35 var(--sans); text-transform: uppercase; letter-spacing: .125em; }
.hero .label, .reading .label { color: var(--gold); }
h1, h2, h3, p, figure { margin: 0; }
h1, h2 { font-family: var(--serif); font-weight: 600; }
h1 { font-size: clamp(4rem, 6.35vw, 6.3rem); line-height: .86; letter-spacing: -.055em; }
.subtitle { margin-top: 1.55rem; color: var(--gold); font: italic 500 clamp(1.95rem, 3.25vw, 3.15rem)/.99 var(--serif); letter-spacing: -.035em; }
.author-credit { margin-top: 1.7rem; color: #eee1d7; font-size: 1.04rem; }
.actions { display: flex; flex-wrap: wrap; gap: .7rem; align-items: center; }
.hero .actions { margin-top: 2.1rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 3rem; padding: .58rem 1.15rem; border: 1px solid transparent; border-radius: 3px; text-decoration: none; font-size: .91rem; font-weight: 700; line-height: 1.3; }
.button.solid { background: var(--gold); color: var(--wine-deep); }
.button.solid:hover { background: #ffdb9d; }
.button.outline { color: var(--paper); border-color: #d2b48975; }
.button.outline:hover { border-color: var(--gold); color: var(--gold); }
.availability { margin-top: .95rem; color: #cdbcb6; font-size: .9rem; }
.painting-link { display: block; position: relative; padding: .35rem; border: 1px solid #cda97483; text-decoration: none; background: var(--wine-deep); box-shadow: 0 1.35rem 3rem #0b06064f; }
.painting-link img { width: 100%; aspect-ratio: 1.16; object-fit: cover; object-position: center; }
.art-control { position: absolute; bottom: .95rem; right: .95rem; display: flex; align-items: center; gap: .68rem; padding: .5rem .7rem; border: 1px solid #e9c6918f; border-radius: 3px; background: #211718ec; color: var(--paper); font-size: .875rem; }
.art-control span { color: var(--gold); font-size: 1.15rem; line-height: 1; }
.painting-link:hover .art-control { background: var(--gold); color: var(--wine); }
.painting-link:hover .art-control span { color: var(--wine); }
figcaption { color: #d5c4bc; font-size: .875rem; line-height: 1.55; margin-top: .8rem; }
figcaption cite { color: #f2e4d5; }
.work-strip { background: var(--paper-dark); border-bottom: 1px solid #dfd1bf; }
.work-facts { margin-block: 0; padding-block: 1.2rem; display: grid; grid-template-columns: 1fr .8fr 1.35fr; }
.work-facts > div { padding: .3rem 1.7rem; border-inline-start: 1px solid #ccbaa4; }
.work-facts > div:first-child { padding-inline-start: 0; border: 0; }
.work-facts dt { font-size: .9rem; font-weight: 600; color: var(--muted); }
.work-facts dd { margin: .18rem 0 0; font: 600 1.65rem/1 var(--serif); }
.paper, .reading, .video-section { padding-block: clamp(3.6rem, 7.7vw, 7rem); }
.editorial, .video-layout { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2rem, 7vw, 7rem); }
h2 { font-size: clamp(2.9rem, 5.4vw, 5rem); line-height: .92; letter-spacing: -.045em; text-wrap: balance; }
.body-copy { font-size: clamp(1.04rem, 1.45vw, 1.24rem); line-height: 1.72; }
.body-copy p + p { margin-top: 1rem; }
.launch { margin-top: 2rem; padding: 1.05rem 0 0 1.2rem; border-top: 1px solid #dccab5; border-inline-start: 2px solid #aa7948; }
.launch h3 { font: 600 1.75rem/1.1 var(--serif); margin-bottom: .5rem; }
.launch p { font-size: 1rem; }
.launch p + p { margin-top: .14rem; }
.text-link { display: inline-block; font-size: .93rem; font-weight: 700; text-underline-offset: .22em; }
.text-link:hover { color: #875328; }
.launch .text-link { margin-top: .6rem; }
.reading { background: var(--wine-deep); color: var(--paper); }
.section-heading { display: flex; align-items: end; justify-content: space-between; flex-wrap: wrap; gap: 1.5rem; margin-bottom: 1.8rem; }
.reader { display: block; width: 100%; height: clamp(29rem, 63vw, 45rem); border: 1px solid #b2946f79; background: #372725; }
.video-section { background: var(--paper-dark); }
.video-layout { align-items: center; }
.video-layout .text-link { margin-top: 1.2rem; }
.video { display: block; width: 100%; aspect-ratio: 16/9; background: var(--wine-deep); border: 0; }
.footer { padding-block: 2rem; border-top: 1px solid #ded0c0; background: #fffdf8; }
.footer h2 { font: 600 2rem/1 var(--serif); }
.credits { padding-block: 1.3rem; display: flex; flex-wrap: wrap; align-items: center; gap: 1.4rem 2.3rem; }
.credits img { width: auto; height: 3rem; max-width: 8.7rem; object-fit: contain; }
.credits a:last-child img { height: 3.4rem; }
.footer-end { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem 1.2rem; padding-top: 1.15rem; border-top: 1px solid #e6dacd; color: var(--muted); }
.footer-end small { font-size: .875rem; }
.art-dialog { width: min(94vw, 85rem); max-width: none; max-height: 94dvh; padding: 1.1rem; border: 1px solid #947650; border-radius: 3px; color: var(--paper); background: var(--wine-deep); }
.art-dialog::backdrop { background: #110a0bed; }
.dialog-heading { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; justify-content: space-between; margin-bottom: 1rem; }
.dialog-heading h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); }
.dialog-actions { display: flex; gap: .5rem; }
.dialog-actions button { background: transparent; color: var(--paper); border: 1px solid #cda97483; border-radius: 3px; font: 600 .875rem var(--sans); min-height: 2.65rem; padding-inline: .65rem; cursor: pointer; }
.dialog-actions button:hover { background: var(--gold); color: var(--wine); }
.art-scroll { overflow: auto; height: min(69dvh, 58rem); background: #110a0b; }
.art-scroll img { width: 100%; height: 100%; object-fit: contain; }
.art-scroll.zoomed img { max-width: none; width: 175%; height: auto; }
.art-dialog > p { margin-top: .7rem; font-size: .875rem; color: #e1cbbd; }
@media (max-width: 820px) {
  .hero-inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 1.35rem; }
  h1 { font-size: clamp(3.35rem, 8.6vw, 5.3rem); }
  .hero-copy { padding-bottom: 0; }
  .editorial, .video-layout { gap: 2rem; }
}
@media (max-width: 650px) {
  .wrap { width: calc(100% - 2.2rem); }
  .header-inner { min-height: auto; gap: .55rem; flex-wrap: wrap; padding-block: .8rem; }
  .header nav { min-width: 100%; justify-content: space-between; gap: .65rem; }
  .hero-inner, .editorial, .video-layout { grid-template-columns: 1fr; }
  .hero-inner { gap: 2rem; }
  h1 { font-size: clamp(3.65rem, 13.4vw, 5.8rem); }
  .work-facts { grid-template-columns: .95fr .72fr 1.25fr; gap: .55rem; }
  .work-facts > div { padding-inline: .55rem 0; }
  .work-facts dt { font-size: .875rem; }
  .work-facts dd { font-size: 1.35rem; }
  .section-heading { align-items: start; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

.contact { background: var(--paper-dark); border-top: 1px solid #dfd1bf; }
.contact-intro p { margin-top: 1.2rem; font-size: 1.05rem; line-height: 1.5; }
.contact-intro .text-link { margin-top: .6rem; overflow-wrap: anywhere; }
.contact-form {
  padding: clamp(1rem, 3vw, 2rem);
  border: 1px solid #dacbb9;
  border-radius: 3px;
  background: var(--paper);
}
.contact-form:not([hidden]) { display: grid; gap: 1.05rem; justify-items: start; }
.contact-form label, .contact-fields { width: 100%; min-width: 0; }
.contact-form label { display: grid; gap: .38rem; font-weight: 600; }
.contact-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.contact-form input, .contact-form textarea {
  width: 100%;
  min-width: 0;
  min-height: 2.85rem;
  padding: .6rem .7rem;
  border: 1px solid #ac9680;
  border-radius: 3px;
  background: #fffdf8;
  color: var(--ink);
  font: 400 1rem/1.5 var(--sans);
}
.contact-form :is(input, textarea):focus-visible { outline: 2px solid #9a542d; outline-offset: 2px; }
.contact-form textarea { resize: vertical; }
.contact-form p { color: var(--muted); font-size: .9rem; line-height: 1.5; }
.contact-form .button { background: var(--wine); color: var(--paper); cursor: pointer; }
.contact-form .button:hover { background: #543334; }
.contact-status:empty { margin-top: -1.05rem; }
@media (max-width: 650px) {
  .header nav { flex-wrap: wrap; }
  .contact-fields { grid-template-columns: 1fr; }
}
