:root {
  --ink: #17131d;
  --paper: #f7f2e9;
  --paper-bright: #fffdf7;
  --acid: #b6ff39;
  --mint: #52f7cf;
  --pink: #ff4fc3;
  --violet: #7a4dff;
  --line: rgba(23, 19, 29, .15);
  --header: #151219;
  --purple: #251631;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; background: var(--paper); color: var(--ink); font: 16px/1.65 Arial, Helvetica, sans-serif; }
a { color: inherit; text-underline-offset: .2em; }
img, video { display: block; max-width: 100%; }
button, input { font: inherit; }
button, a, input { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--mint); outline-offset: 3px; }
.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; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 100; padding: .7rem 1rem; color: #fff; background: var(--ink); }
.skip-link:focus { top: 1rem; }

.site-header { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; min-height: 64px; padding: .35rem clamp(.8rem, 3vw, 3rem); color: #fff; background: rgba(21, 18, 25, .97); border-bottom: 1px solid rgba(255,255,255,.14); backdrop-filter: blur(14px); }
.brand-lockup { display: inline-flex; min-width: 0; align-items: center; gap: .8rem; color: #fff; text-decoration: none; }
.brand-logo { width: 48px; height: 48px; flex: 0 0 48px; object-fit: cover; border-radius: 50%; background: #fff; }
.brand-name { color: #fff; font-size: clamp(.72rem, 1vw, .91rem); font-weight: 900; letter-spacing: .115em; line-height: 1; text-transform: uppercase; white-space: nowrap; }
.brand-accent { color: var(--brand-accent); }
.site-nav { display: flex; align-items: center; gap: clamp(.7rem, 1.4vw, 1.35rem); }
.site-nav > a { font-size: .73rem; font-weight: 900; letter-spacing: .095em; text-decoration: none; text-transform: uppercase; }
.site-nav > a:hover { color: var(--mint); }
.nav-search { display: flex; align-items: center; gap: .38rem; }
.nav-search label { color: #aaa2ad; font-size: .62rem; font-weight: 900; letter-spacing: .09em; text-transform: uppercase; }
.nav-search input { width: 7.2rem; min-width: 0; padding: .43rem .65rem; color: #fff; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.23); border-radius: 999px; outline: none; transition: width .2s ease, border-color .2s ease; }
.nav-search input:focus { width: 10.5rem; border-color: var(--mint); }
.nav-search button { padding: .4rem .62rem; color: var(--ink); background: var(--mint); border: 0; border-radius: 999px; font-size: .68rem; font-weight: 900; text-transform: uppercase; }
.nav-toggle { display: none; width: 44px; height: 44px; padding: 10px; flex-direction: column; align-items: stretch; justify-content: center; gap: 5px; color: #fff; background: transparent; border: 1px solid rgba(255,255,255,.32); border-radius: 50%; }
.nav-toggle span { display: block; height: 2px; background: currentColor; transition: transform .2s ease, opacity .2s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.home-banner, .art-page-banner { position: relative; width: 100%; overflow: hidden; background: #fff; }
.home-banner > img, .art-page-banner > img, .art-page-banner > video { display: block; width: 100%; height: auto; max-width: none; }
.art-page-banner.is-feature-art { height: clamp(420px, 55vw, 760px); background: #08080a; }
.art-page-banner.is-feature-art > img, .art-page-banner.is-feature-art > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: center; }
.art-page-banner-fallback { display: grid; width: 100%; min-height: clamp(300px, 52vw, 760px); place-items: center; background: #08080a; }
.art-page-banner-fallback img { width: min(38vw, 300px); border-radius: 50%; }
.art-page-titlebar { color: #fff; background: var(--purple); }
.art-page-title-inner { display: flex; width: min(1480px, calc(100% - 3rem)); min-height: 112px; margin: 0 auto; padding: 1.25rem 0; align-items: center; justify-content: space-between; gap: clamp(1.5rem, 5vw, 5rem); }
.art-page-title-inner h1 { max-width: 100%; margin: 0; font-size: clamp(1.8rem, 3vw, 3rem); line-height: 1.02; letter-spacing: -.035em; overflow-wrap: anywhere; }
.art-page-title-inner .eyebrow { color: var(--mint); }
.page-description { width: min(48rem, 55%); margin: 0; color: #f0eaf3; font-size: .98rem; line-height: 1.55; }
.eyebrow { margin: 0 0 .45rem; color: #744477; font-size: .7rem; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }

.latest-strip, .feed-shell, .gallery-shell, .group-index, .search-results, .search-form-shell { width: min(1480px, calc(100% - 3rem)); margin: 0 auto; padding: clamp(3.2rem, 6vw, 6.5rem) 0; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 1.45rem; }
.section-heading h2 { margin: 0; font-size: clamp(1.75rem, 2.7vw, 2.7rem); line-height: 1.05; letter-spacing: -.035em; }
.section-heading > a { font-weight: 800; }
.art-strip { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(.7rem, 1.3vw, 1.15rem); }
.art-card { position: relative; display: block; min-width: 0; text-decoration: none; }
.art-card-image { position: relative; display: grid; place-items: center; aspect-ratio: 1 / 1; overflow: hidden; background: #e8e1d8; }
.art-card-image img, .art-card-image video { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease, filter .35s ease; }
.art-card:hover .art-card-image img, .art-card:hover .art-card-image video { transform: scale(1.025); filter: saturate(1.08); }
.art-card-title { display: block; padding: .58rem .08rem; font-size: .9rem; font-weight: 800; line-height: 1.3; }
.art-placeholder { display: grid; width: 100%; height: 100%; min-height: 170px; place-items: center; color: #777078; background: #e9e2da; font-size: .73rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }

.feed-shell { width: min(1040px, calc(100% - 3rem)); border-top: 1px solid var(--line); }
.feed-shell.narrow-top { padding-top: clamp(2rem, 4vw, 4rem); border-top: 0; }
.post-feed { display: grid; gap: clamp(2.5rem, 6vw, 6rem); }
.post-article { padding: clamp(1.5rem, 4vw, 3.7rem); background: var(--paper-bright); }
.post-article > header { max-width: 780px; margin: 0 auto 2.1rem; }
.post-article.is-single > header { margin-bottom: 1.35rem; }
.post-date { margin: 0 0 .38rem; color: #735f70; font-size: .76rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.post-article > header h1, .post-article > header h3 { margin: 0; font-size: clamp(1.6rem, 2.6vw, 2.35rem); line-height: 1.12; letter-spacing: -.025em; overflow-wrap: anywhere; }
.post-article > header h3 a { text-decoration: none; }
.post-article > header h3 a:hover { color: #7926b6; }
.post-body { overflow-wrap: anywhere; }
.post-body > * { max-width: 780px; margin-left: auto; margin-right: auto; }
.post-body > img, .post-body > figure, .post-body > .responsive-video, .post-body > .post-video, .post-body > .embedded-gallery, .post-body > .inline-art, .post-body > .wp-caption { max-width: 1100px; }
.post-body p { margin-top: 0; margin-bottom: 1.5em; }
.post-body h1, .post-body h2, .post-body h3, .post-body h4 { margin-top: 1.5em; line-height: 1.2; letter-spacing: -.025em; }
.post-body img { height: auto; }
.post-body iframe, .post-body object, .post-body embed, .post-body video { max-width: 100%; }
.post-body .aligncenter { margin-left: auto; margin-right: auto; }
.post-body .alignleft { float: left; margin: .35rem 1.4rem 1rem 0; }
.post-body .alignright { float: right; margin: .35rem 0 1rem 1.4rem; }
.post-body .wp-caption { width: auto !important; }
.post-body .wp-caption-text { color: #665c68; font-size: .86rem; }
.post-body blockquote { padding: .2rem 0 .2rem 1.4rem; border-left: 5px solid var(--pink); color: #554958; font-size: 1.12em; }
.post-body pre { max-width: 100%; overflow: auto; padding: 1.15rem; color: #fff; background: #1b1720; }
.post-body table { max-width: 100%; }
.responsive-video { position: relative; aspect-ratio: 16 / 9; margin-block: 2rem; background: #000; }
.responsive-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.post-video { width: 100%; margin-block: 2rem; background: #000; }
.embedded-gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: .4rem; margin-block: 2rem; }
.embedded-gallery img { width: 100%; height: 100%; aspect-ratio: 1; object-fit: cover; }
.inline-art { display: block; margin-block: 2rem; text-decoration: none; }
.inline-art img { width: 100%; }
.inline-art span { display: block; padding-top: .5rem; font-weight: 800; }
.permalink, .back-link, .read-post { display: inline-block; margin-top: 1.6rem; font-weight: 800; }
.post-article .permalink { margin-left: max(0px, calc((100% - 780px) / 2)); }
.mobile-post-excerpt, .read-post { display: none; }
.single-post-shell { width: min(1080px, calc(100% - 3rem)); margin: 0 auto; padding: clamp(2.25rem, 5vw, 5.5rem) 0; }

.gallery-shell { padding-top: clamp(2.7rem, 5vw, 5rem); }
.art-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(.7rem, 1.6vw, 1.4rem); }
.result-note { margin-top: 0; }
.pagination { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1rem; margin-top: 4rem; padding-top: 1.2rem; border-top: 1px solid var(--line); }
.pagination a:last-child { text-align: right; }
.pagination > span { color: #786d7b; font-size: .8rem; font-weight: 700; }

.artwork-detail { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 390px); min-height: calc(100svh - 64px); color: #fff; background: #0e0e12; }
.artwork-stage { display: grid; min-width: 0; padding: clamp(.75rem, 3vw, 3rem); align-content: center; gap: 1rem; background: #070709; }
.artwork-stage img, .artwork-stage video { width: 100%; max-height: calc(100svh - 90px); object-fit: contain; }
.artwork-notes { min-width: 0; align-self: center; padding: clamp(1.7rem, 4vw, 3.6rem); }
.artwork-notes .eyebrow { color: var(--mint); }
.artwork-notes h1 { max-width: 100%; margin: 0; font-size: clamp(1.75rem, 2.7vw, 3rem); line-height: 1.04; letter-spacing: -.03em; overflow-wrap: anywhere; }
.dimensions { color: var(--acid); font-weight: 800; }
.notes { margin-top: 1.6rem; color: #ddd6e1; }
.art-tags { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: 1.7rem; }
.art-tags a { padding: .35rem .65rem; color: #fff; border: 1px solid rgba(255,255,255,.28); border-radius: 999px; font-size: .74rem; text-decoration: none; }
.artwork-actions { display: flex; align-items: center; gap: 1rem; margin-top: 1.8rem; }
.artwork-actions button { padding: .62rem .9rem; color: var(--ink); background: var(--mint); border: 0; font-weight: 800; }
.quiet-note { color: #a49da8; font-size: .72rem; }
.lightbox { width: 100vw; height: 100vh; max-width: none; max-height: none; padding: 2rem; background: rgba(0,0,0,.94); border: 0; }
.lightbox::backdrop { background: rgba(0,0,0,.94); }
.lightbox img { width: 100%; height: 100%; object-fit: contain; }
.lightbox button { position: fixed; top: 1rem; right: 1rem; z-index: 2; width: 3rem; height: 3rem; color: #fff; background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.35); border-radius: 50%; font-size: 2rem; }

.group-index { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.8rem, 1.7vw, 1.4rem); }
.group-card { display: grid; min-width: 0; min-height: 150px; align-content: end; color: var(--ink); background: var(--paper-bright); text-decoration: none; }
.group-card > img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.group-card-copy { display: flex; padding: .85rem 1rem 1rem; align-items: baseline; justify-content: space-between; gap: .75rem; }
.group-card-copy strong { font-size: clamp(1.05rem, 1.6vw, 1.35rem); line-height: 1.15; overflow-wrap: anywhere; }
.group-card-copy small { flex: 0 0 auto; color: #6e6370; font-size: .68rem; font-weight: 800; text-transform: uppercase; }
.search-form-shell { padding-top: 2.5rem; padding-bottom: 0; }
.search-results { display: grid; gap: 4rem; }
.search-results h2 { font-size: 1.8rem; letter-spacing: -.03em; }
.big-search { display: flex; width: min(680px, 100%); }
.big-search input { min-width: 0; flex: 1; padding: .85rem 1rem; background: #fff; border: 1px solid var(--line); }
.big-search button { padding: .85rem 1.2rem; color: var(--ink); background: var(--acid); border: 0; font-weight: 900; }
.post-result-list { padding: 0; list-style: none; }
.post-result-list li { border-top: 1px solid var(--line); }
.post-result-list a { display: block; padding: 1rem 0; font-size: 1.2rem; font-weight: 800; }
.empty-state { display: flex; min-height: 170px; padding: 2rem; flex-direction: column; justify-content: center; color: #695d6d; background: rgba(255,255,255,.52); border: 1px dashed #b9aebd; }
.empty-state strong { color: var(--ink); font-size: 1.3rem; }
.not-found { min-height: 70vh; padding: clamp(4rem, 12vw, 10rem); }
.not-found h1 { max-width: 900px; margin: 0; font-size: clamp(2rem, 4.5vw, 3.25rem); line-height: 1; letter-spacing: -.035em; }
.site-footer { display: flex; padding: 1.8rem clamp(1rem, 3vw, 3rem); align-items: center; justify-content: space-between; gap: 1rem; color: #bcb2c1; background: #121018; font-size: .76rem; }
.site-footer p { margin: 0; }

@media (max-width: 1120px) {
  .site-nav { gap: .72rem; }
  .site-nav > a { font-size: .66rem; }
  .nav-search label { display: none; }
  .art-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .art-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .site-nav { position: absolute; top: 100%; left: 0; right: 0; display: none; max-height: calc(100svh - 64px); padding: .65rem clamp(1rem, 4vw, 2rem) 1.3rem; align-items: stretch; flex-direction: column; gap: 0; overflow-y: auto; color: #fff; background: #121018; border-top: 1px solid rgba(255,255,255,.12); box-shadow: 0 18px 40px rgba(0,0,0,.28); }
  .site-nav.open { display: flex; }
  .site-nav > a { padding: .72rem 0; border-bottom: 1px solid rgba(255,255,255,.11); font-size: .82rem; }
  .nav-search { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; margin-top: 1rem; }
  .nav-search label { display: block; color: #fff; }
  .nav-search input, .nav-search input:focus { width: 100%; }
  .artwork-detail { grid-template-columns: 1fr; min-height: 0; }
  .artwork-stage { min-height: 56svh; }
  .artwork-stage img, .artwork-stage video { max-height: 74svh; }
  .group-index { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 700px) {
  .site-header { min-height: 60px; padding: .3rem .75rem; }
  .brand-lockup { gap: 0; }
  .brand-logo { width: 46px; height: 46px; flex-basis: 46px; }
  .brand-name { display: none; }
  .site-nav { max-height: calc(100svh - 60px); }
  .art-page-banner.is-feature-art { height: 72svh; max-height: 680px; }
  .art-page-banner-fallback { min-height: 60vw; }
  .art-page-banner-fallback img { width: 42vw; }
  .art-page-title-inner { width: 100%; min-height: 0; padding: .95rem 1.35rem 1.05rem; align-items: flex-start; flex-direction: column; gap: .75rem; }
  .art-page-title-inner h1 { font-size: clamp(1.65rem, 8vw, 2.05rem); line-height: 1.08; }
  .page-description { width: 100%; font-size: .92rem; }
  .latest-strip, .gallery-shell, .group-index, .search-results, .search-form-shell { width: calc(100% - 1.25rem); }
  .latest-strip { padding-top: 2.6rem; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: .55rem; }
  .section-heading h2 { font-size: 2rem; }
  .art-strip, .art-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; }
  .art-card-title { padding-top: .5rem; font-size: .88rem; }
  .feed-shell { width: 100%; padding: 2.2rem .75rem; }
  .feed-shell .section-heading { padding: 0 .55rem; }
  .feed-shell.narrow-top { padding-top: 1.5rem; }
  .post-feed { gap: .85rem; }
  .post-article.is-feed { padding: 1.25rem 1.35rem 1.35rem; }
  .post-article.is-feed > header { margin-bottom: .8rem; }
  .post-article.is-feed > header h3 { font-size: clamp(1.52rem, 7vw, 1.88rem); line-height: 1.12; }
  .post-article.is-feed .post-body, .post-article.is-feed .permalink { display: none; }
  .mobile-post-excerpt { display: block; margin: 0; color: #554c57; font-size: .96rem; line-height: 1.55; }
  .read-post { display: inline-block; margin-top: .8rem; }
  .single-post-shell { width: 100%; padding: 1.25rem 0 2.4rem; }
  .post-article.is-single { padding: 1.1rem 1.5rem 2rem; }
  .post-article.is-single > header { margin-bottom: .65rem; }
  .post-body { font-size: 1.08rem; line-height: 1.68; }
  .post-body > * { max-width: 100%; }
  .post-body div, .post-body section, .post-body article, .post-body [style*="width"] { max-width: 100% !important; }
  .post-body img, .post-body video, .post-body iframe, .post-body object, .post-body embed, .post-body svg { max-width: 100% !important; height: auto; }
  .post-body table { display: block; width: 100% !important; max-width: 100% !important; overflow-x: auto; }
  .post-body .alignleft, .post-body .alignright { float: none; margin: 1rem auto; }
  .post-article.is-single .post-body > img,
  .post-article.is-single .post-body > figure,
  .post-article.is-single .post-body > .wp-caption,
  .post-article.is-single .post-body > .responsive-video,
  .post-article.is-single .post-body > .post-video,
  .post-article.is-single .post-body > .embedded-gallery,
  .post-article.is-single .post-body > .inline-art,
  .post-article.is-single .post-body > p:has(> img:only-child),
  .post-article.is-single .post-body > p:has(> a:only-child > img:only-child) { width: calc(100% + 1.75rem) !important; max-width: calc(100% + 1.75rem) !important; margin-left: -.875rem !important; margin-right: -.875rem !important; }
  .post-article.is-single .post-body > p:has(> img:only-child) img,
  .post-article.is-single .post-body > p:has(> a:only-child > img:only-child) img { width: 100% !important; }
  .single-post-shell > .back-link { margin-left: 1.5rem; }
  .artwork-stage { min-height: 0; padding: .65rem; }
  .artwork-stage img, .artwork-stage video { max-height: none; }
  .artwork-notes { padding: 1.65rem 1.35rem 2.2rem; }
  .artwork-notes h1 { font-size: clamp(1.8rem, 9vw, 2.4rem); }
  .group-index { grid-template-columns: 1fr; }
  .group-card-copy strong { font-size: 1.15rem; }
  .search-results { gap: 2.5rem; }
  .big-search button { padding-inline: .9rem; }
  .pagination { grid-template-columns: 1fr 1fr; }
  .pagination > span { grid-column: 1 / -1; grid-row: 1; text-align: center; }
  .site-footer { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
