/* Info page only. The one page that is all reading, so it takes its color from a painting:
   the warm ground, blue-black ink, burnt peach and deep cloth blue all come from Peach Drops.
   Still hard edges: no rounded corners, shadows or gradients. */
:root {
  --bg: #f4eee3;          /* warm ground, not white */
  --ink: #1d3341;         /* blue-black from the shadows */
  --grey: #56636b;        /* 5.4:1 on the ground */
  --rule: #d9cebd;
  --accent: #b5512a;      /* burnt peach, for large type only */
  --tint: #f5dccc;        /* pale peach behind the upcoming show */
  --band: #1d4155;        /* the deep blue of the cloth */
  --band-ink: #f4eee3;
  --band-soft: #c9d5d9;
  --field-bg: #f4eee3;
  --field-ink: #1d3341;
  --peach: #eea77e;
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) {
  --bg: #13222c; --ink: #f1e9dc; --grey: #b8bfc0; --rule: #33505f; --accent: #eea77e; --tint: #2f2620;
  --band: #1d4155; --band-ink: #f4eee3; --band-soft: #c9d5d9; --field-bg: #13222c; --field-ink: #f1e9dc; } }
:root[data-theme="dark"] {
  --bg: #13222c; --ink: #f1e9dc; --grey: #b8bfc0; --rule: #33505f; --accent: #eea77e; --tint: #2f2620;
  --band: #1d4155; --band-ink: #f4eee3; --band-soft: #c9d5d9; --field-bg: #13222c; --field-ink: #f1e9dc; }

/* Full-bleed blocks break out of the centered column. */
.info-hero, .info-contact { width: 100vw; margin-left: calc(50% - 50vw); }

/* Opening: a big detail of the painting, cut off at the edge of the screen, beside a few lines set large. */
.info-hero { display: grid; grid-template-columns: var(--pad) minmax(0, 1fr) var(--pad); row-gap: 36px; }
.info-detail, .info-intro { grid-column: 1 / -1; }
.info-detail img { width: 100%; height: min(64vh, 560px); object-fit: cover; object-position: 50% 32%; }
.info-detail figcaption { padding: 10px var(--pad) 0; font-size: .875rem; color: var(--grey); }
.info-intro { grid-column: 2; }
.info-kicker { font-size: .875rem; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); padding-bottom: 20px; }
.info-lede { font-size: clamp(2.1rem, 4.4vw, 3.6rem); line-height: 1.06; letter-spacing: -.02em; max-width: 13ch; }
.info-sub { font-size: clamp(1.15rem, 1.6vw, 1.4rem); line-height: 1.4; max-width: 26rem; padding-top: 24px; }
.info-more { max-width: 30rem; margin-top: 32px; padding-top: 28px; border-top: 3px solid var(--accent); }
.info-more p + p { margin-top: 1em; }
.info-more p:last-child { margin-top: 8px; }

@media (min-width: 960px) {
  .info-hero {
    --col: calc((min(100vw, var(--max)) - 2 * var(--pad)) / 2);
    grid-template-columns: minmax(var(--pad), 1fr) minmax(0, var(--col)) 72px minmax(0, calc(var(--col) - 72px)) minmax(var(--pad), 1fr);
    align-items: center; padding-top: 8px;
  }
  .info-intro { grid-column: 2; grid-row: 1; padding-bottom: 40px; }
  .info-detail { grid-column: 4 / -1; grid-row: 1; }
  .info-detail img { height: min(calc(100vh - 150px), 860px); min-height: 560px; object-position: 46% 30%; }
  .info-detail figcaption { padding-left: 0; }
}

/* Exhibitions: years set large in burnt peach; the coming show sits on a block of pale peach. */
.info-shows { padding-top: 96px; display: grid; gap: 24px 40px; }
.info-shows h2 { font-size: 1.75rem; letter-spacing: -.01em; }
.shows { list-style: none; padding: 0; margin: 0; border-bottom: 1px solid var(--rule); }
.shows li { display: grid; grid-template-columns: 6.5rem minmax(0, 1fr); gap: 0 20px; align-items: baseline; padding: 20px 0; border-top: 1px solid var(--rule); }
.shows .yr { font-size: 1.75rem; line-height: 1; letter-spacing: -.01em; color: var(--accent); font-variant-numeric: tabular-nums; }
.shows .yr-word { font-size: 1rem; letter-spacing: .08em; text-transform: uppercase; }
.shows .t { display: block; font-size: 1.125rem; }
.shows .v { display: block; color: var(--grey); }
.shows strong { font-weight: 400; color: var(--accent); }
.shows li.next { background: var(--tint); border-top-color: transparent; padding: 24px 20px; margin: 0 -20px; grid-template-columns: 6.5rem minmax(0, 1fr); }
.shows li.next + li { border-top-color: transparent; }
.shows li.next .v { color: var(--ink); }
@media (min-width: 960px) {
  .info-shows { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); padding-top: 136px; }
  .shows li { grid-template-columns: 8rem minmax(0, 1fr); }
  .shows li.next { grid-template-columns: 8rem minmax(0, 1fr); }
}

/* Contact: the deep blue of the cloth, full width down to the footer, opened by a strip of the painting's colors. */
main:has(.info-contact) { padding-bottom: 0; }
.info-contact { position: relative; margin-top: 120px; background: var(--band); color: var(--band-ink); }
.chips { display: flex; height: 14px; }
.chips span { flex: 1; }
.chips span:nth-child(1) { flex: 4; background: #81c2ed; }
.chips span:nth-child(2) { flex: 1; background: #f3c7b4; }
.chips span:nth-child(3) { flex: 2; background: #eea77e; }
.chips span:nth-child(4) { flex: 1; background: #e1dddf; }
.chips span:nth-child(5) { flex: 3; background: #b1a66e; }
.chips span:nth-child(6) { flex: 2; background: #465b54; }
.chips span:nth-child(7) { flex: 5; background: #73c9f3; }
.contact-inner { max-width: var(--max); margin: 0 auto; padding: 72px var(--pad) 120px; display: grid; gap: 40px; }
.contact-intro h2 { font-size: 1.75rem; letter-spacing: -.01em; padding-bottom: 12px; }
.contact-intro p { max-width: 20rem; color: var(--band-soft); font-size: 1.125rem; line-height: 1.45; }
.info-contact .form { margin: 0; }
.info-contact .form label { color: var(--band-ink); }
.info-contact .opt { color: var(--band-soft); }
.info-contact .form input, .info-contact .form textarea { background: var(--field-bg); color: var(--field-ink); border-color: var(--band-ink); }
.info-contact .form button { background: var(--peach); color: #1d3341; border-color: var(--peach); }
.info-contact .form button:hover { background: var(--band-ink); border-color: var(--band-ink); color: #1d3341; }
.info-contact :focus-visible { outline-color: var(--peach); }
@media (min-width: 960px) {
  .contact-inner { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 40px; padding-top: 104px; padding-bottom: 152px; }
}
