
/* =========================================================
   2026-07 VISUAL REFRESH — minimal art catalog, full archive
   ========================================================= */

:root {
  color-scheme: light;
  --paper: #f3f0e8;
  --panel: #fffdf8;
  --ink: #17191c;
  --muted: #6f6d67;
  --line: rgba(23, 25, 28, 0.18);
  --red: #e34735;
  --blue: #3156d3;
  --gold: #e0a41a;
  --focus: #ff5d42;
  --green: #16765d;
  --image-wash: #e6e0d5;
  --image-placeholder: linear-gradient(135deg, #ece7dd, #ddd5c8);
  --shadow: 0 16px 42px rgba(32, 29, 23, 0.1);
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --paper: #111316;
  --panel: #191c20;
  --ink: #f5f1e8;
  --muted: #aaa79f;
  --line: rgba(245, 241, 232, 0.2);
  --red: #ff6251;
  --blue: #8da8ff;
  --gold: #f3c04d;
  --focus: #ff735f;
  --green: #62c8a8;
  --image-wash: #24272b;
  --image-placeholder: linear-gradient(135deg, #24272b, #17191c);
  --shadow: 0 18px 48px rgba(0, 0, 0, 0.35);
}

html {
  background: var(--paper) !important;
  scroll-behavior: smooth;
}

body.site-refresh {
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 8% 0%, color-mix(in srgb, var(--blue) 8%, transparent), transparent 26rem),
    radial-gradient(circle at 100% 24%, color-mix(in srgb, var(--red) 7%, transparent), transparent 30rem),
    var(--paper) !important;
  color: var(--ink) !important;
  font-family: var(--sans) !important;
  font-size: 16px;
  line-height: 1.5;
}

body.site-refresh a,
body.site-refresh a:link,
body.site-refresh a:visited {
  color: var(--ink) !important;
  text-decoration: none !important;
}

body.site-refresh a:hover,
body.site-refresh a:active {
  color: var(--red) !important;
  text-decoration: none !important;
}

body.site-refresh a:focus-visible,
body.site-refresh button:focus-visible,
body.site-refresh input:focus-visible,
body.site-refresh select:focus-visible,
body.site-refresh summary:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--focus) 62%, transparent) !important;
  outline-offset: 3px;
}

body.site-refresh .site-header,
body.site-refresh main,
body.site-refresh .site-footer {
  width: min(1440px, calc(100% - 48px));
  max-width: 1440px;
  margin-right: auto;
  margin-left: auto;
}

body.site-refresh .site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  width: 100%;
  max-width: none;
  padding: 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--paper) 88%, transparent) !important;
  text-align: left;
  backdrop-filter: blur(18px) saturate(1.35);
}

.site-refresh .site-header-inner {
  display: flex;
  width: min(1440px, calc(100% - 48px));
  min-height: 74px;
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

body.site-refresh .brand,
body.site-refresh .brand:link,
body.site-refresh .brand:visited,
body.site-refresh .brand:hover {
  display: inline-flex;
  min-width: max-content;
  color: var(--ink) !important;
  font-family: var(--sans) !important;
  font-size: 14px;
  font-weight: 750;
  letter-spacing: 0;
  line-height: 1;
  text-transform: none;
  text-decoration: none !important;
  align-items: baseline;
  gap: 10px;
}

.site-refresh .brand-name {
  letter-spacing: -0.02em;
}

.site-refresh .brand-mark {
  color: var(--red);
  font-family: var(--serif);
  font-size: 13px;
  font-style: italic;
  font-weight: 600;
}

body.site-refresh .top-nav {
  display: flex !important;
  margin: 0;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 13px;
  line-height: 1;
  text-align: right;
  align-items: center;
  justify-content: flex-end;
  gap: 2px;
}

body.site-refresh .top-nav a,
body.site-refresh .top-nav .nav-button {
  display: inline-flex;
  min-height: 38px;
  margin: 0;
  padding: 0 10px;
  border: 0 !important;
  border-radius: 999px !important;
  background: transparent !important;
  color: var(--muted) !important;
  font-family: var(--sans) !important;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.035em;
  line-height: 1;
  text-decoration: none !important;
  text-transform: uppercase;
  align-items: center;
  justify-content: center;
}

body.site-refresh .top-nav a:hover,
body.site-refresh .top-nav .nav-button:hover {
  background: color-mix(in srgb, var(--ink) 7%, transparent) !important;
  color: var(--ink) !important;
}

body.site-refresh .top-nav .theme-toggle {
  width: 38px;
  padding: 0;
  border: 1px solid var(--line) !important;
  color: var(--ink) !important;
  font-size: 16px;
}

body.site-refresh .menu-toggle {
  display: none;
}

body.site-refresh main {
  padding: clamp(34px, 5vw, 78px) 0 84px;
}

body.site-refresh h1,
body.site-refresh h2,
body.site-refresh h3,
body.site-refresh h4,
body.site-refresh h5,
body.site-refresh h6 {
  color: var(--ink);
  font-family: var(--serif);
  font-weight: 650;
  letter-spacing: -0.025em;
  line-height: 1.02;
  text-align: left;
  text-transform: none;
}

body.site-refresh main h1 {
  margin: 0;
  font-size: clamp(48px, 7vw, 104px) !important;
  letter-spacing: -0.055em !important;
  line-height: 0.9 !important;
}

body.site-refresh main h2 {
  font-size: clamp(25px, 3vw, 42px) !important;
  letter-spacing: -0.035em !important;
  line-height: 1.02 !important;
}

body.site-refresh main h3 {
  font-size: 17px !important;
  letter-spacing: -0.01em !important;
  line-height: 1.18 !important;
}

body.site-refresh .eyebrow,
body.site-refresh .artist-note-label {
  margin: 0 0 9px;
  color: var(--red) !important;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-align: left;
  text-transform: uppercase;
}

body.site-refresh .lede {
  max-width: 650px;
  margin: 17px 0 0;
  color: var(--muted);
  font-family: var(--sans);
  font-size: clamp(17px, 1.7vw, 22px);
  line-height: 1.38;
  text-align: left;
}

body.site-refresh .page-heading,
body.site-refresh .portfolio-heading,
body.site-refresh .control-band,
body.site-refresh .group-hub-heading {
  width: 100%;
  max-width: 1040px;
  margin: 0 0 clamp(44px, 6vw, 88px);
  text-align: left;
}

body.site-refresh .page-heading .chip-row,
body.site-refresh .entry-doors {
  justify-content: flex-start;
  margin-top: 22px;
}

body.site-refresh .muted,
body.site-refresh .meta-line,
body.site-refresh .ref-note,
body.site-refresh .filter-field > span,
body.site-refresh .filter-label {
  color: var(--muted) !important;
}

body.site-refresh main img {
  max-width: 100%;
  border: 0 !important;
  border-radius: 0 !important;
}

body.site-refresh main img[src*="assets/thumbs/"] {
  width: 100% !important;
  height: 100% !important;
  max-width: none;
  max-height: none;
  aspect-ratio: auto !important;
  object-fit: contain !important;
}

body.site-refresh .chip,
body.site-refresh .button,
body.site-refresh .badge,
body.site-refresh .highlight-filter,
body.site-refresh .cadence-filter-button,
body.site-refresh .cadence-filter-clear {
  display: inline-flex;
  min-height: 32px;
  margin: 0;
  padding: 6px 10px;
  border: 1px solid var(--line) !important;
  border-radius: 999px !important;
  background: var(--panel) !important;
  color: var(--ink) !important;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 650;
  line-height: 1;
  text-decoration: none !important;
  text-transform: none;
  align-items: center;
  justify-content: center;
}

body.site-refresh .chip:hover,
body.site-refresh .button:hover,
body.site-refresh .highlight-filter:hover,
body.site-refresh .cadence-filter-button:hover,
body.site-refresh .cadence-filter-clear:hover,
body.site-refresh .gallery-route-filter.is-active,
body.site-refresh .cadence-filter-button.is-active {
  border-color: var(--ink) !important;
  background: var(--ink) !important;
  color: var(--paper) !important;
}

body.site-refresh button,
body.site-refresh input,
body.site-refresh select,
body.site-refresh textarea {
  border: 1px solid var(--line) !important;
  border-radius: 8px !important;
  background: var(--panel) !important;
  color: var(--ink) !important;
  font-family: var(--sans) !important;
}

body.site-refresh input,
body.site-refresh select,
body.site-refresh textarea {
  min-height: 44px;
  padding: 9px 12px;
}

body.site-refresh .detail-section,
body.site-refresh .archive-card,
body.site-refresh .archive-feature-card,
body.site-refresh .home-feature-card,
body.site-refresh .cluster-card,
body.site-refresh .cast-card,
body.site-refresh .bridge-card,
body.site-refresh .bridge-work-card,
body.site-refresh .pair-card,
body.site-refresh .sound-playlist-card,
body.site-refresh .sound-embed-card,
body.site-refresh .sound-pair-row,
body.site-refresh .cadence-stat-card,
body.site-refresh .cadence-month-card,
body.site-refresh .cadence-year-card,
body.site-refresh .exhibition-index-card,
body.site-refresh .ranking-hero-panel,
body.site-refresh .ranking-app,
body.site-refresh .ranking-results,
body.site-refresh .search-panel,
body.site-refresh .gallery-search-panel,
body.site-refresh .artwork-meta,
body.site-refresh .wiki-infobox,
body.site-refresh .contact-block {
  border: 1px solid var(--line) !important;
  border-radius: 14px !important;
  background: color-mix(in srgb, var(--panel) 94%, transparent) !important;
  box-shadow: none !important;
}

body.site-refresh .art-card {
  overflow: hidden;
  padding: 0 !important;
  border: 1px solid var(--line) !important;
  border-radius: 12px !important;
  background: var(--panel) !important;
  box-shadow: 0 8px 22px rgba(32, 29, 23, 0.06) !important;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

:root[data-theme="dark"] body.site-refresh .art-card {
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.24) !important;
}

body.site-refresh .art-card:hover {
  z-index: 2;
  border-color: color-mix(in srgb, var(--red) 55%, var(--line)) !important;
  box-shadow: var(--shadow) !important;
  transform: translateY(-5px);
}

body.site-refresh .gallery-grid,
body.site-refresh .archive-grid,
body.site-refresh .cluster-grid,
body.site-refresh .cast-grid,
body.site-refresh .bridge-grid,
body.site-refresh .bridge-work-grid,
body.site-refresh .pair-grid,
body.site-refresh .symbol-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

body.site-refresh .art-thumb {
  display: flex;
  width: 100%;
  height: 270px;
  padding: 18px;
  overflow: hidden;
  border: 0 !important;
  border-bottom: 1px solid var(--line) !important;
  background: var(--image-placeholder) !important;
  align-items: center;
  justify-content: center;
}

body.site-refresh main .art-thumb img {
  display: block;
  width: auto !important;
  height: auto !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
}

body.site-refresh .art-card-body {
  padding: 13px 14px 15px;
  text-align: left;
}

body.site-refresh .card-title-row {
  align-items: flex-start;
}

body.site-refresh .art-card h2,
body.site-refresh .portfolio-card-caption h2,
body.site-refresh .home-artwork-caption h2 {
  margin: 0;
  font-family: var(--sans);
  font-size: 14px !important;
  font-weight: 700 !important;
  letter-spacing: -0.01em !important;
  line-height: 1.25 !important;
  text-align: left;
  text-transform: none !important;
}

body.site-refresh .art-card .meta-line,
body.site-refresh .art-card .song-line {
  margin: 5px 0 0;
  font-size: 11px;
}

body.site-refresh .art-card .chip-row {
  margin-top: 10px;
  justify-content: flex-start;
}

body.site-refresh .art-card .chip {
  min-height: 24px;
  padding: 4px 7px;
  font-size: 10px;
}

/* Homepage: one lead work, then an editorial grid. */
body.site-refresh.home-page main {
  max-width: 1220px;
  padding-top: clamp(28px, 5vw, 64px);
}

body.site-refresh .home-artwork-lead {
  width: 100%;
  max-width: 720px;
  margin: 0 auto clamp(80px, 10vw, 140px);
  text-align: left;
}

body.site-refresh .home-artwork-lead > a {
  display: grid;
  min-height: min(70vh, 760px);
  padding: clamp(18px, 3vw, 36px);
  border-radius: 18px;
  background:
    radial-gradient(circle at 20% 18%, rgba(49, 86, 211, 0.42), transparent 34%),
    radial-gradient(circle at 82% 78%, rgba(227, 71, 53, 0.36), transparent 38%),
    #13161a;
  box-shadow: var(--shadow) !important;
  place-items: center;
}

body.site-refresh .home-artwork-lead img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: min(65vh, 700px);
  margin: 0 auto;
  object-fit: contain;
  filter: saturate(1.04) contrast(1.02);
}

body.site-refresh .home-artwork-caption,
body.site-refresh .portfolio-card-caption {
  display: flex;
  margin-top: 12px;
  justify-content: space-between;
  gap: 18px;
  align-items: baseline;
  text-align: left;
}

body.site-refresh .home-artwork-caption p,
body.site-refresh .portfolio-card-caption p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  text-align: right;
}

body.site-refresh .home-selected-works,
body.site-refresh .home-exhibition-feature,
body.site-refresh .home-quiet-grid {
  max-width: 1220px;
  margin: 0 auto clamp(76px, 9vw, 128px);
  padding: 0;
  border: 0 !important;
}

body.site-refresh .portfolio-section-heading,
body.site-refresh .section-heading-row,
body.site-refresh .exhibition-section-heading {
  display: flex;
  margin-bottom: 22px;
  padding-top: 16px;
  border: 0;
  border-top: 1px solid var(--ink);
  text-align: left;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
}

body.site-refresh .portfolio-section-heading h2,
body.site-refresh .section-heading-row h2,
body.site-refresh .exhibition-section-heading h2 {
  margin: 0;
}

body.site-refresh .portfolio-grid,
body.site-refresh .portfolio-grid-home {
  display: grid;
  width: 100%;
  max-width: none;
  margin: 0;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 56px) 24px;
  align-items: end;
}

body.site-refresh .portfolio-card-image,
body.site-refresh .portfolio-grid-home .portfolio-card-image {
  display: grid;
  min-height: 280px;
  padding: 14px;
  border: 1px solid var(--line) !important;
  border-radius: 12px !important;
  background: var(--image-placeholder) !important;
  place-items: center;
}

body.site-refresh .portfolio-card-image img,
body.site-refresh .portfolio-grid-home .portfolio-card-image img {
  width: 100% !important;
  height: 100% !important;
  max-height: 280px;
  object-fit: contain !important;
}

body.site-refresh .home-exhibition-list {
  display: grid;
  width: 100%;
  margin: 0;
  padding: 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  list-style: none;
  gap: 0 24px;
  line-height: 1.3;
  text-align: left;
}

body.site-refresh .home-exhibition-list li {
  border-bottom: 1px solid var(--line);
}

body.site-refresh .home-exhibition-list a {
  display: flex;
  min-height: 50px;
  padding: 10px 0;
  font-family: var(--serif);
  font-size: 18px;
  align-items: center;
}

body.site-refresh .home-quiet-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 48px;
}

body.site-refresh .home-quiet-grid > div {
  padding-top: 18px;
  border-top: 1px solid var(--ink);
  text-align: left;
}

body.site-refresh .home-quiet-grid p:not(.eyebrow) {
  max-width: 44ch;
  margin: 0 0 18px;
  font-size: 16px;
  text-align: left;
}

body.site-refresh .home-browse-links {
  display: grid;
  gap: 2px;
}

body.site-refresh .home-quiet-grid .home-browse-links a {
  display: grid;
  min-height: 52px;
  padding: 9px 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  grid-template-columns: minmax(130px, 0.35fr) 1fr;
  gap: 18px;
  align-items: center;
  font-size: 14px;
  text-align: left;
  text-decoration: none !important;
}

/* Painting index: the common controls stay visible; deeper tools fold away. */
body.site-refresh.gallery-page .gallery-control-band {
  max-width: none;
  margin-bottom: 32px;
}

body.site-refresh .gallery-search-panel {
  display: grid;
  padding: 16px;
  grid-template-columns: minmax(280px, 1fr) minmax(180px, 0.34fr) auto;
  gap: 12px 16px;
  align-items: end;
}

body.site-refresh .gallery-explore-panel,
body.site-refresh .gallery-status {
  grid-column: 1 / -1;
}

body.site-refresh .gallery-explore-panel {
  border-top: 1px solid var(--line);
  padding-top: 12px;
}

body.site-refresh .gallery-explore-panel > summary {
  width: max-content;
  cursor: pointer;
  color: var(--blue);
  font-size: 13px;
  font-weight: 700;
}

body.site-refresh .gallery-explore-panel[open] > summary {
  margin-bottom: 14px;
}

body.site-refresh .gallery-explore-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(180px, 0.7fr) minmax(220px, 0.65fr);
  gap: 20px;
  align-items: end;
}

body.site-refresh .highlight-filter-row,
body.site-refresh .dot-filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

body.site-refresh .colordot-filter {
  display: inline-block;
  width: 26px;
  height: 26px;
  min-height: 0;
  padding: 0;
  border: 2px solid var(--panel) !important;
  border-radius: 50% !important;
  box-shadow: 0 0 0 1px var(--line) !important;
}

body.site-refresh .colordot-filter.is-active {
  box-shadow: 0 0 0 3px var(--ink) !important;
  transform: scale(0.9);
}

body.site-refresh .gallery-status {
  margin: 0;
  padding-top: 11px;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 11px;
}

/* Artwork pages recover inspection, palette, and archive tools. */
body.site-refresh .artwork-detail,
body.site-refresh .artwork-hero,
body.site-refresh .archive-record-body {
  width: 100%;
  max-width: none;
}

body.site-refresh .artwork-hero {
  display: grid;
  margin: 0 auto 48px;
  grid-template-columns: minmax(0, 1.5fr) minmax(300px, 0.62fr);
  gap: clamp(28px, 5vw, 74px);
  align-items: start;
}

body.site-refresh .artwork-image-wrap {
  position: relative;
  display: grid;
  width: 100%;
  max-width: none;
  min-height: 56vh;
  margin: 0;
  padding: clamp(16px, 2vw, 30px);
  border: 1px solid var(--line) !important;
  border-radius: 16px !important;
  background: var(--image-placeholder) !important;
  place-items: center;
}

body.site-refresh .artwork-image-wrap img {
  display: block;
  width: auto !important;
  height: auto !important;
  max-width: 100%;
  max-height: 78vh;
  margin: 0 auto;
  object-fit: contain !important;
}

body.site-refresh .artwork-side {
  position: sticky;
  top: 102px;
  display: grid;
  max-width: none;
  gap: 14px;
}

body.site-refresh .artwork-meta {
  position: static;
  max-width: none;
  padding: 22px !important;
  text-align: left;
}

body.site-refresh .artwork-meta h1 {
  margin: 0 0 14px;
  font-size: clamp(34px, 4vw, 60px) !important;
  text-align: left;
}

body.site-refresh .artwork-facts {
  display: grid;
  margin: 18px 0 0;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  gap: 8px;
  text-align: left;
}

body.site-refresh .artwork-facts div {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 12px;
}

body.site-refresh .artwork-facts dt,
body.site-refresh .artwork-facts dd {
  display: block;
  margin: 0;
  padding: 0;
}

body.site-refresh .artwork-detail .palette-panel,
body.site-refresh .artwork-detail .quick-tags-panel {
  display: block !important;
}

body.site-refresh .artwork-detail .image-hotspot-toggle,
body.site-refresh .artwork-detail .image-fullscreen-toggle {
  display: inline-grid !important;
}

body.site-refresh .side-panel {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel);
}

body.site-refresh .archive-record {
  margin: 0 0 56px;
  padding-top: 18px;
  border-top: 1px solid var(--ink);
}

body.site-refresh .archive-record > summary,
body.site-refresh .exhibition-notes > summary,
body.site-refresh .exhibition-scene-notes > summary,
body.site-refresh .sound-embed-card > summary {
  color: var(--blue) !important;
  font-size: 14px;
  text-decoration: none;
}

/* Exhibitions keep long-form rooms, but the surrounding presentation stays spare. */
body.site-refresh .front-exhibitions,
body.site-refresh .exhibition-index-layout,
body.site-refresh .exhibition-page-public {
  width: 100%;
  max-width: 1320px;
  margin-right: auto;
  margin-left: auto;
}

body.site-refresh .front-exhibition-pair {
  display: grid;
  padding: 28px 0 84px;
  border-top: 1px solid var(--ink);
  grid-template-columns: minmax(220px, 0.34fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 88px);
}

body.site-refresh .front-exhibition-heading,
body.site-refresh .front-exhibition-heading > p:last-child {
  max-width: 340px;
  margin-left: 0;
  text-align: left;
}

body.site-refresh .front-exhibition-grid,
body.site-refresh .exhibition-index-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 38px;
}

body.site-refresh .front-exhibition-link,
body.site-refresh .exhibition-index-card {
  text-align: left;
}

body.site-refresh .front-exhibition-link img,
body.site-refresh .exhibition-index-thumbs img {
  width: 100% !important;
  height: clamp(280px, 36vw, 540px) !important;
  max-height: none;
  object-fit: contain !important;
}

body.site-refresh .exhibition-index-card {
  padding: 16px !important;
}

body.site-refresh .exhibition-index-copy,
body.site-refresh .exhibition-page-public .exhibition-hero,
body.site-refresh .exhibition-page-public .exhibition-scene-copy {
  text-align: left;
}

body.site-refresh .exhibition-page-public {
  display: grid;
  grid-template-columns: 1fr;
  gap: 74px;
}

body.site-refresh .exhibition-page-public .exhibition-scene {
  display: grid;
  min-height: min(760px, calc(100vh - 110px));
  grid-template-columns: minmax(0, 1fr) minmax(240px, 0.36fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
}

body.site-refresh .exhibition-page-public .exhibition-scene-image img {
  width: 100%;
  max-height: calc(100vh - 120px);
  object-fit: contain;
}

/* Painting Cadence: color is data again, not decoration. */
body.site-refresh.cadence-page main {
  max-width: 1440px;
}

body.site-refresh.cadence-page .page-heading {
  position: relative;
  overflow: hidden;
  max-width: none;
  min-height: 310px;
  margin-bottom: 30px;
  padding: clamp(28px, 5vw, 68px);
  border-radius: 22px;
  background:
    radial-gradient(circle at 86% 20%, rgba(255, 213, 77, 0.95), transparent 19%),
    radial-gradient(circle at 70% 78%, rgba(255, 92, 67, 0.9), transparent 28%),
    radial-gradient(circle at 24% 8%, rgba(99, 151, 244, 0.92), transparent 34%),
    #202954;
  color: #fff;
  box-shadow: var(--shadow) !important;
}

body.site-refresh.cadence-page .page-heading::after {
  content: "";
  position: absolute;
  right: -3%;
  bottom: -42%;
  width: min(43vw, 560px);
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 50%;
  box-shadow: 0 0 0 34px rgba(255,255,255,0.05), 0 0 0 76px rgba(255,255,255,0.035) !important;
  pointer-events: none;
}

body.site-refresh.cadence-page .page-heading h1,
body.site-refresh.cadence-page .page-heading .lede,
body.site-refresh.cadence-page .page-heading .eyebrow {
  position: relative;
  z-index: 1;
  color: #fff !important;
}

body.site-refresh.cadence-page .page-heading .lede {
  color: rgba(255,255,255,0.8) !important;
}

body.site-refresh.cadence-page .page-heading .chip {
  position: relative;
  z-index: 1;
  border-color: rgba(255,255,255,0.35) !important;
  background: rgba(255,255,255,0.12) !important;
  color: #fff !important;
  backdrop-filter: blur(8px);
}

body.site-refresh .cadence-map-section {
  overflow: hidden;
  max-width: none;
  margin: 0 0 28px;
  padding: 0 !important;
  border: 1px solid var(--line) !important;
  border-radius: 18px !important;
  background: var(--panel) !important;
}

body.site-refresh .cadence-map-topline {
  display: flex;
  margin: 0;
  padding: 24px;
  border: 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
}

body.site-refresh .cadence-map-topline h2 {
  margin: 0;
}

body.site-refresh .cadence-map-topline .muted {
  margin: 8px 0 0;
}

body.site-refresh .cadence-headline {
  display: flex;
  min-width: max-content;
  color: var(--muted);
  font-family: var(--mono);
  text-align: right;
  align-items: baseline;
  gap: 18px;
}

body.site-refresh .cadence-headline strong {
  color: var(--red);
  font-family: var(--serif);
  font-size: clamp(24px, 3vw, 40px);
  letter-spacing: -0.04em;
}

body.site-refresh .cadence-headline span {
  color: var(--blue);
  font-size: 13px;
}

body.site-refresh .cadence-filter-panel {
  display: grid;
  margin: 0;
  padding: 18px 24px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--paper) 55%, var(--panel));
  grid-template-columns: minmax(210px, 0.55fr) minmax(0, 1.45fr);
  gap: 24px;
  align-items: center;
  text-align: left;
}

body.site-refresh .cadence-filter-intro .ref-note {
  margin: 0;
}

body.site-refresh .cadence-filter-actions {
  display: grid;
  gap: 12px;
}

body.site-refresh .cadence-filter-row {
  display: flex;
  justify-content: flex-start;
  gap: 7px;
}

body.site-refresh .cadence-filter-button small {
  margin-left: 6px;
  color: inherit;
  font-family: var(--mono);
  font-size: 10px;
}

body.site-refresh .cadence-process-toggle {
  display: inline-flex;
  width: max-content;
  color: var(--muted);
  font-size: 12px;
  align-items: center;
  gap: 8px;
}

body.site-refresh .cadence-process-toggle input {
  min-height: 0;
  accent-color: var(--red);
}

body.site-refresh .cadence-heatmap-wrap {
  overflow-x: auto;
  padding: 20px 22px 10px;
}

body.site-refresh .cadence-heatmap {
  width: 100%;
  min-width: 1180px;
  border-collapse: separate;
  border-spacing: 5px;
  background: transparent;
}

body.site-refresh .cadence-heatmap th,
body.site-refresh .cadence-heatmap td {
  padding: 0;
  border: 0 !important;
  background: transparent;
}

body.site-refresh .cadence-heatmap thead th {
  padding-bottom: 6px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  text-align: center;
}

body.site-refresh .cadence-heatmap .cadence-year {
  width: 54px;
  padding-right: 9px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 18px;
  text-align: right;
}

body.site-refresh .cadence-cell {
  position: relative;
  width: auto;
  min-width: 76px;
  height: 92px;
  overflow: hidden;
  padding: 0;
  border: 1px solid color-mix(in srgb, var(--heat-color) 68%, var(--line)) !important;
  border-radius: 9px !important;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.28), rgba(255,255,255,0.02)),
    var(--heat-color) !important;
  vertical-align: top;
  transition: opacity 180ms ease, transform 180ms ease, filter 180ms ease;
}

body.site-refresh .cadence-cell:hover {
  z-index: 3;
  transform: translateY(-3px);
}

body.site-refresh .cadence-cell-link,
body.site-refresh .cadence-cell-zero {
  position: relative;
  display: block;
  min-height: 92px;
  border: 0 !important;
  border-radius: 9px !important;
  background: transparent !important;
  color: #16181b !important;
}

body.site-refresh .cadence-count {
  position: absolute;
  z-index: 4;
  top: 7px;
  left: 9px;
  color: #16181b;
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 750;
  line-height: 1;
}

body.site-refresh .cadence-cell.is-hot .cadence-count {
  color: #fff;
  text-shadow: 0 1px 7px rgba(0,0,0,0.45);
}

body.site-refresh .cadence-thumb-cluster {
  display: grid;
  padding: 34px 6px 6px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2px;
}

body.site-refresh .cadence-thumb-cluster img,
body.site-refresh .cadence-month-thumbs img,
body.site-refresh .cadence-process-link img {
  display: block;
  width: 100% !important;
  height: 100% !important;
  max-width: none;
  max-height: none;
  border: 0 !important;
  border-radius: 3px !important;
  object-fit: cover !important;
}

body.site-refresh .cadence-total {
  padding-left: 10px !important;
  border-left: 1px solid var(--line) !important;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 700;
  text-align: center;
}

body.site-refresh .cadence-scale {
  padding: 6px 24px 22px;
  color: var(--muted);
}

body.site-refresh .cadence-scale i {
  height: 14px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, #dce8ff, #74acf8 25%, #ffdb58 52%, #ff6f46 76%, #c72b39);
}

body.site-refresh .cadence-highlights {
  display: grid;
  overflow: hidden;
  margin: 0 0 28px;
  padding: 0;
  border: 1px solid var(--line) !important;
  border-radius: 16px !important;
  background: var(--panel) !important;
  grid-template-columns: 1.05fr repeat(5, minmax(0, 1fr));
  gap: 0;
}

body.site-refresh .cadence-highlights > div {
  min-width: 0;
  padding: 18px;
  border-right: 1px solid var(--line);
}

body.site-refresh .cadence-highlights > div:last-child {
  border-right: 0;
}

body.site-refresh .cadence-highlights strong {
  display: block;
  color: var(--red);
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.1;
}

body.site-refresh .cadence-highlight-mark {
  background: #202954;
  color: #fff;
  align-content: center;
}

body.site-refresh .cadence-highlight-mark strong {
  color: #fff;
}

body.site-refresh .cadence-acceleration {
  margin-bottom: 28px;
  padding: 24px !important;
}

body.site-refresh .cadence-acceleration h2 {
  max-width: 900px;
  margin: 0;
}

body.site-refresh .cadence-rate-grid {
  display: grid;
  margin-top: 24px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

body.site-refresh .cadence-stat-card {
  padding: 16px !important;
}

body.site-refresh .mini-table {
  width: 100%;
  border-collapse: collapse;
  background: transparent;
}

body.site-refresh .mini-table td {
  padding: 8px 0;
  border: 0 !important;
  border-top: 1px solid var(--line) !important;
  background: transparent;
}

body.site-refresh .cadence-month-clusters {
  margin-top: 46px;
}

body.site-refresh .cadence-month-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
}

body.site-refresh .cadence-month-card {
  display: grid;
  overflow: hidden;
  padding: 16px 18px !important;
  box-shadow: inset 0 6px 0 var(--month-heat) !important;
  scroll-margin-top: 96px;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

body.site-refresh .cadence-month-card:target {
  border-color: var(--focus) !important;
  box-shadow: inset 0 6px 0 var(--month-heat), 0 0 0 4px color-mix(in srgb, var(--focus) 24%, transparent) !important;
}

body.site-refresh .cadence-month-head {
  display: block;
  margin: 5px 0 0;
}

body.site-refresh .cadence-month-head h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 19px !important;
}

body.site-refresh .cadence-month-head span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
}

body.site-refresh .cadence-month-thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(72px, 1fr));
  gap: 8px;
  align-items: start;
}

body.site-refresh .cadence-month-thumbs a {
  display: flex;
  min-width: 0;
  color: var(--muted) !important;
  font-size: 10px;
  line-height: 1.2;
  flex-direction: column;
  gap: 6px;
}

body.site-refresh main .cadence-month-thumbs img {
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 1 !important;
  object-fit: cover !important;
}

body.site-refresh .cadence-month-thumbs a span {
  display: -webkit-box;
  min-height: 2.4em;
  overflow: hidden;
  overflow-wrap: anywhere;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

html[data-cadence-filtering="true"] body.site-refresh .cadence-cell.is-cadence-muted {
  opacity: 0.18;
  filter: grayscale(0.7);
}

html[data-cadence-filtering="true"] body.site-refresh .cadence-cell.is-cadence-match {
  opacity: 1;
  border-color: var(--ink) !important;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--ink) 30%, transparent) !important;
}

/* Footer */
body.site-refresh .site-footer {
  display: grid;
  padding: 26px 0 48px;
  border: 0;
  border-top: 1px solid var(--ink);
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
  text-align: left;
  text-transform: none;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 36px;
  align-items: start;
}

body.site-refresh .site-footer nav {
  display: flex;
  margin: 0;
  flex-wrap: wrap;
  gap: 12px 20px;
}

body.site-refresh .site-footer nav a {
  color: var(--ink) !important;
  font-weight: 650;
}

body.site-refresh .footer-meta {
  text-align: right;
}

body.site-refresh .footer-meta p {
  margin: 0 0 4px;
}

@media (max-width: 1100px) {
  body.site-refresh .gallery-grid,
  body.site-refresh .archive-grid,
  body.site-refresh .cluster-grid,
  body.site-refresh .cast-grid,
  body.site-refresh .bridge-grid,
  body.site-refresh .bridge-work-grid,
  body.site-refresh .pair-grid,
  body.site-refresh .portfolio-grid,
  body.site-refresh .portfolio-grid-home {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  body.site-refresh .cadence-highlights {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  body.site-refresh .cadence-highlights > div:nth-child(3n) {
    border-right: 0;
  }

  body.site-refresh .cadence-highlights > div:nth-child(n + 4) {
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 820px) {
  body.site-refresh .site-header,
  body.site-refresh main,
  body.site-refresh .site-footer,
  .site-refresh .site-header-inner {
    width: min(100% - 28px, 1440px);
  }

  body.site-refresh .site-header {
    width: 100%;
  }

  .site-refresh .site-header-inner {
    position: relative;
    min-height: 64px;
  }

  body.site-refresh .brand-mark {
    display: none;
  }

  body.site-refresh .menu-toggle {
    display: inline-flex !important;
    min-height: 36px;
    padding: 0 12px;
    border-radius: 999px !important;
    align-items: center;
  }

  body.site-refresh .top-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 0;
    display: none !important;
    width: min(320px, calc(100vw - 28px));
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--panel) !important;
    box-shadow: var(--shadow) !important;
    flex-direction: column;
    align-items: stretch;
  }

  body.site-refresh .site-header.is-nav-open .top-nav {
    display: flex !important;
  }

  body.site-refresh .top-nav a,
  body.site-refresh .top-nav .nav-button {
    width: 100%;
    justify-content: flex-start;
  }

  body.site-refresh .top-nav .theme-toggle {
    width: 100%;
  }

  body.site-refresh main {
    padding-top: 38px;
  }

  body.site-refresh main h1 {
    font-size: clamp(48px, 13vw, 80px) !important;
  }

  body.site-refresh .gallery-grid,
  body.site-refresh .archive-grid,
  body.site-refresh .cluster-grid,
  body.site-refresh .cast-grid,
  body.site-refresh .bridge-grid,
  body.site-refresh .bridge-work-grid,
  body.site-refresh .pair-grid,
  body.site-refresh .portfolio-grid,
  body.site-refresh .portfolio-grid-home {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.site-refresh .art-thumb {
    height: 240px;
  }

  body.site-refresh .home-artwork-lead > a {
    min-height: 55vh;
  }

  body.site-refresh .home-exhibition-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.site-refresh .home-quiet-grid,
  body.site-refresh .artwork-hero,
  body.site-refresh .front-exhibition-pair,
  body.site-refresh .exhibition-page-public .exhibition-scene,
  body.site-refresh .cadence-rate-grid,
  body.site-refresh .cadence-filter-panel,
  body.site-refresh .gallery-explore-grid {
    grid-template-columns: 1fr;
  }

  body.site-refresh .artwork-side {
    position: static;
  }

  body.site-refresh .artwork-image-wrap {
    min-height: 0;
  }

  body.site-refresh .front-exhibition-grid,
  body.site-refresh .exhibition-index-grid {
    grid-template-columns: 1fr;
  }

  body.site-refresh.cadence-page .page-heading {
    min-height: 280px;
  }

  body.site-refresh .cadence-map-topline {
    display: grid;
  }

  body.site-refresh .cadence-month-card {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  body.site-refresh .cadence-month-head {
    display: flex;
    margin: 5px 0 0;
    justify-content: space-between;
    gap: 12px;
    align-items: baseline;
  }

  body.site-refresh .cadence-month-head span {
    margin-top: 0;
  }

  body.site-refresh .cadence-headline {
    text-align: left;
  }

  body.site-refresh .site-footer {
    grid-template-columns: 1fr;
  }

  body.site-refresh .footer-meta {
    text-align: left;
  }
}

@media (max-width: 520px) {
  body.site-refresh .gallery-grid,
  body.site-refresh .archive-grid,
  body.site-refresh .cluster-grid,
  body.site-refresh .cast-grid,
  body.site-refresh .bridge-grid,
  body.site-refresh .bridge-work-grid,
  body.site-refresh .pair-grid,
  body.site-refresh .portfolio-grid,
  body.site-refresh .portfolio-grid-home,
  body.site-refresh .cadence-month-grid,
  body.site-refresh .cadence-highlights {
    grid-template-columns: 1fr;
  }

  body.site-refresh .gallery-search-panel {
    grid-template-columns: 1fr;
  }

  body.site-refresh .gallery-explore-panel,
  body.site-refresh .gallery-status {
    grid-column: auto;
  }

  body.site-refresh .art-thumb {
    display: block;
    height: auto;
    min-height: 0;
    padding: 12px;
  }

  body.site-refresh main .art-thumb img {
    width: 100% !important;
    height: auto !important;
    max-height: none;
  }

  body.site-refresh .portfolio-card-image,
  body.site-refresh .portfolio-grid-home .portfolio-card-image {
    display: block;
    min-height: 0;
    padding: 12px;
  }

  body.site-refresh .portfolio-card-image img,
  body.site-refresh .portfolio-grid-home .portfolio-card-image img {
    height: auto !important;
    max-height: none;
  }

  body.site-refresh .home-artwork-caption,
  body.site-refresh .portfolio-card-caption {
    display: block;
  }

  body.site-refresh .home-artwork-caption p,
  body.site-refresh .portfolio-card-caption p {
    margin-top: 4px;
    text-align: left;
  }

  body.site-refresh .home-exhibition-list {
    grid-template-columns: 1fr;
  }

  body.site-refresh .home-quiet-grid .home-browse-links a {
    grid-template-columns: 1fr;
    gap: 3px;
  }

  body.site-refresh.cadence-page .page-heading {
    min-height: 260px;
    padding: 26px;
  }

  body.site-refresh.cadence-page .page-heading::after {
    opacity: 0.45;
  }

  body.site-refresh .cadence-highlights > div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  body.site-refresh .cadence-highlights > div:last-child {
    border-bottom: 0;
  }

  body.site-refresh .cadence-month-thumbs {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
