/* Artist page (/artist/ only, loaded after site.css). A fourth palette in the site's one language:
   charcoal bands, a paper-coloured wall for the drawings, and display type in a heavier italic
   (the actor speaks in italic 500, the ecologist upright 600, the artist italic 600). */
:root {
  /* Artist: charcoal */
  --char-deep: #262321;
  --char: #4a4540;
  --chalk: #d8d0c4;
  --char-mist: #f2efea;
}
.page-artist { background: var(--char-deep); }
.page-artist .wordmark .side { color: var(--char); }
.page-artist .site-nav a:hover { color: var(--char); }
.page-artist h1, .page-artist h2, .page-artist .display { font-style: italic; font-weight: 600; }

.band-char-deep { --bg: var(--char-deep); --fg: #ebe6df; --head: var(--cream); --accent: var(--chalk); --muted: #b2aa9f; --rule: #3e3935; --btn-bg: var(--cream); --btn-fg: var(--char-deep); }
.band-char      { --bg: var(--char);      --fg: #ffffff; --head: var(--cream); --accent: var(--chalk); --muted: #ddd6cc; --rule: #615b55; --btn-bg: var(--cream); --btn-fg: var(--char-deep); }
.band-char-mist { --bg: var(--char-mist); --fg: var(--char-deep); --head: var(--char-deep); --accent: #5c554e; --muted: #5c564f; --rule: #dcd6cd; --btn-bg: var(--char-deep); --btn-fg: var(--cream); }

/* Hero: words beside one drawing */
.hero-artist { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px clamp(28px, 5vw, 64px); align-items: center; }
.hero-artist .copy { display: grid; gap: 22px; justify-items: start; min-width: 0; }
.hero-artist h1 { font-size: clamp(3.6rem, 7vw, 6rem); line-height: 0.95; }
.hero-artist .lede { max-width: 44ch; }
.hero-artist .statement { max-width: 58ch; }
.hero-art { margin: 0; display: grid; gap: 10px; min-width: 0; justify-items: center; }
.hero-art a { display: block; }
.hero-art a:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
.hero-art img { width: auto; max-width: 100%; max-height: 640px; height: auto; background: #fff; box-shadow: 0 18px 44px rgba(0, 0, 0, 0.38); }
.hero-art figcaption { font-size: 0.85rem; color: var(--muted); }
.hero-art figcaption i { font-family: var(--serif); font-weight: 600; font-size: 1.05rem; color: var(--fg); }
@media (max-width: 820px) {
  .hero-artist { grid-template-columns: minmax(0, 1fr); }
  .hero-art { order: -1; justify-items: start; }
  .hero-art img { max-height: 340px; }
}

/* Drawings: one group per subject, each a wall of sheets */
.art-group { display: grid; gap: 22px; scroll-margin-top: 24px; }
.art-group + .art-group { margin-top: clamp(52px, 7vw, 84px); }
.art-group-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 18px; padding-bottom: 12px; border-bottom: 1.5px solid currentColor; }
.art-count { font-weight: 700; font-size: 0.75rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); font-variant-numeric: tabular-nums; }
.wall { columns: 2; column-gap: clamp(16px, 3vw, 32px); }
@media (min-width: 821px) { .wall { columns: 3; } }
.work { break-inside: avoid; display: inline-block; width: 100%; margin: 0 0 clamp(26px, 3.6vw, 40px); }
.work-link { display: block; }
.work-link:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; border-radius: 2px; }
.work-link img { width: 100%; height: auto; background: #fff; box-shadow: 0 1px 2px rgba(38, 35, 33, 0.12), 0 8px 22px rgba(38, 35, 33, 0.10); transition: transform 0.2s ease, box-shadow 0.2s ease; }
.work-link:hover img { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(38, 35, 33, 0.14), 0 14px 30px rgba(38, 35, 33, 0.16); }
.work figcaption { display: grid; gap: 2px; margin-top: 12px; min-width: 0; }
.work-title { font-family: var(--serif); font-style: italic; font-weight: 600; font-size: 1.2rem; line-height: 1.2; color: var(--head); }
.work-meta { font-size: 0.85rem; color: var(--muted); font-variant-numeric: tabular-nums; }

/* Bearded Bigwigs: ten days, ten sheets */
.bigwigs-intro { display: grid; gap: 14px; }
.bigwigs-intro p { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: clamp(1.25rem, 1.9vw, 1.45rem); line-height: 1.45; }
.bigwigs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px clamp(16px, 3vw, 28px); align-items: start; }
@media (min-width: 821px) { .bigwigs { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.bigwigs .work { display: block; margin: 0; }
.bigwigs .work figcaption { margin-top: 10px; }
.bigwigs .work-meta { order: -1; font-weight: 700; font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); }
.bigwigs .work-link img { box-shadow: 0 10px 26px rgba(0, 0, 0, 0.32); }
.bigwigs-outro { margin-top: clamp(36px, 5vw, 56px); font-family: var(--serif); font-style: italic; font-weight: 600; font-size: clamp(1.45rem, 2.4vw, 1.85rem); line-height: 1.25; color: var(--head); }
.hint { font-size: 0.9rem; color: var(--muted); }

@media (prefers-reduced-motion: reduce) {
  .work-link img { transition: none; }
  .work-link:hover img { transform: none; }
}

[hidden] { display: none !important; }
.lb { position: fixed; inset: 0; z-index: 50; background: #0e1112; color: #ece8e2;
  overflow-y: auto; overscroll-behavior: contain;
  padding: calc(env(safe-area-inset-top, 0px) + 64px) max(16px, env(safe-area-inset-right, 0px)) calc(env(safe-area-inset-bottom, 0px) + 32px) max(16px, env(safe-area-inset-left, 0px)); }
.lb-fig { margin: 0 auto; max-width: 1200px; display: grid; gap: 20px; justify-items: center; }
.lb-frame { width: 100%; display: grid; place-items: center; min-height: 40vh; }
.lb-frame img { max-width: 100%; max-height: 76vh; width: auto; height: auto; object-fit: contain; background: #fff; box-shadow: 0 10px 40px rgba(0,0,0,.45); }
.lb-cap { width: 100%; max-width: 62ch; text-align: center; display: grid; gap: 6px; }
.lb-count { font: 600 .72rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: #a3aaad; font-variant-numeric: tabular-nums; margin: 0; }
.lb-title { font: italic 600 clamp(1.5rem, 3vw, 2.1rem)/1.15 var(--serif); margin: 0; color: #fbf8f4; text-wrap: balance; }
.lb-meta { margin: 0; color: #b9bfc1; font: 400 .92rem/1.4 var(--sans); }
.lb-note { text-align: left; font: 400 1rem/1.7 var(--sans); color: #ddd8d1; }
.lb-note p { margin: 0 0 .9em; }
.lb-note .note-day { display: none; }
.lb-note a { color: #fbf8f4; text-underline-offset: .2em; }
.lb-fig.has-note .lb-cap { text-align: left; }
@media (min-width: 960px) {
  .lb-fig.has-note { grid-template-columns: minmax(0, 1.25fr) minmax(300px, 1fr); align-items: center; gap: 48px; }
  .lb-fig.has-note .lb-frame img { max-height: 82vh; }
}
.lb-btn { position: fixed; z-index: 2; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.22); background: rgba(20,24,25,.7); color: #fbf8f4; cursor: pointer; padding: 0; }
.lb-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.lb-btn:hover { background: rgba(255,255,255,.14); }
.lb-btn:focus-visible { outline: 2px solid #fbf8f4; outline-offset: 3px; }
.lb-close { top: calc(env(safe-area-inset-top, 0px) + 12px); right: max(12px, env(safe-area-inset-right, 0px)); }
.lb-prev, .lb-next { top: 50%; transform: translateY(-50%); }
.lb-prev { left: max(12px, env(safe-area-inset-left, 0px)); }
.lb-next { right: max(12px, env(safe-area-inset-right, 0px)); }
@media (max-width: 759px) {
  .lb-prev, .lb-next { top: auto; transform: none; bottom: calc(env(safe-area-inset-bottom, 0px) + 14px); }
  .lb { padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 84px); }
}
html.lb-open, html.lb-open body { overflow: hidden; }
