:root {
  --art-bg: #070605;
  --art-panel: #100d0a;
  --art-panel-soft: #17120e;
  --art-line: rgba(212, 174, 108, 0.2);
  --art-line-strong: rgba(212, 174, 108, 0.36);
  --art-text: #f1e1c5;
  --art-muted: #ad9a7b;
  --art-gold: #d4ae6c;
}

body.art-body {
  margin: 0;
  background:
    radial-gradient(circle at 16% 6%, rgba(124, 56, 30, 0.18), transparent 28%),
    linear-gradient(180deg, #090705 0%, #0e0a07 50%, #050403 100%);
  color: var(--art-text);
  font-size: 14px;
}

body.art-body img {
  border-radius: 0;
}

.art-main {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1rem 0 3rem;
}

.site-header {
  background: rgba(5, 4, 3, 0.92);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.artist-intro {
  display: grid;
  grid-template-columns: minmax(340px, 0.9fr) minmax(0, 1.1fr);
  gap: 1px;
  border: 1px solid var(--art-line);
  background: var(--art-line);
}

.intro-copy,
.intro-image,
.room-tile,
.collection-intro {
  background: var(--art-panel);
}

.intro-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: clamp(1rem, 3vw, 2.25rem);
}

.micro,
.room-tile small,
.work-title,
.work-meta,
.collection-intro small,
.lead-work span,
.lightbox-meta {
  color: var(--art-gold);
  font-size: 0.6rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.intro-copy h1,
.gallery-heading h2,
.about-strip h2,
.room-tile h2,
.collection-intro h1,
.lightbox-copy h3 {
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: -0.04em;
}

.intro-copy h1 {
  margin: 0;
  color: #fff2d7;
  font-size: clamp(3.6rem, 8vw, 6.6rem);
  line-height: 0.84;
}

.intro-copy p {
  max-width: 36rem;
  margin: 0.85rem 0 0;
  color: var(--art-muted);
  line-height: 1.55;
}

.intro-image {
  margin: 0;
  display: grid;
  place-items: center;
  min-height: min(68vh, 720px);
  padding: 0.75rem;
}

.intro-image img {
  max-width: 100%;
  max-height: min(68vh, 720px);
  object-fit: contain;
}

.back-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0;
}

.small-button {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0.28rem 0.58rem;
  border: 1px solid var(--art-line-strong);
  border-radius: 999px;
  color: var(--art-text);
  background: rgba(255, 255, 255, 0.02);
  font-size: 0.74rem;
  font-weight: 800;
  text-decoration: none;
}

.room-index,
.about-strip {
  margin-top: 2.25rem;
}

.gallery-heading,
.about-strip {
  display: grid;
  grid-template-columns: minmax(0, 0.65fr) minmax(260px, 1.35fr);
  gap: 1rem;
  align-items: end;
  margin-bottom: 0.85rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid rgba(212, 174, 108, 0.18);
}

.gallery-heading h2,
.about-strip h2 {
  margin: 0;
  color: #fff2d7;
  font-size: clamp(1.9rem, 3.4vw, 3.1rem);
  line-height: 0.95;
}

.gallery-heading p,
.about-strip p {
  margin: 0;
  color: var(--art-muted);
  line-height: 1.48;
}

.documentation-callout.about-callout {
  grid-template-columns: 1fr;
  align-items: start;
}

.about-callout .about-lead {
  max-width: 78ch;
  margin-top: 0.45rem;
  font-size: 0.9rem;
  line-height: 1.55;
}

.about-detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.85rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(212, 174, 108, 0.18);
}

.about-detail {
  min-width: 0;
}

.about-detail + .about-detail {
  padding-left: 0.85rem;
  border-left: 1px solid rgba(212, 174, 108, 0.12);
}

.about-detail .micro {
  margin: 0 0 0.42rem;
}

.documentation-callout .about-detail p {
  margin: 0;
  color: var(--art-muted);
  font-size: 0.82rem;
  line-height: 1.48;
}

.about-detail p + p {
  margin-top: 0.55rem;
}

.documentation-callout.about-callout .about-detail strong {
  display: inline;
  color: var(--art-text);
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
}

.about-detail em {
  color: var(--art-text);
}

@media (max-width: 760px) {
  .about-detail-grid {
    grid-template-columns: 1fr;
  }

  .about-detail + .about-detail {
    padding-top: 0.85rem;
    padding-left: 0;
    border-top: 1px solid rgba(212, 174, 108, 0.12);
    border-left: 0;
  }
}

.room-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 0.85rem;
}

.room-tile {
  display: block;
  color: var(--art-text);
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.045);
}

.room-tile-media {
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
  background: #0a0908;
  padding: 0.35rem;
}

.art-home .room-tile-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.room-tile-copy {
  padding: 0.72rem;
}

.room-tile h2 {
  margin: 0.25rem 0 0.38rem;
  color: #fff2d7;
  font-size: 1.25rem;
  line-height: 1;
}

.room-tile p {
  margin: 0 0 0.5rem;
  color: var(--art-muted);
  font-size: 0.84rem;
  line-height: 1.36;
}

.room-tile:hover,
.work-card:hover {
  background: var(--art-panel-soft);
}

.collection-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(260px, 1.1fr) auto;
  gap: 1rem;
  align-items: end;
  padding: 1.05rem;
  border: 1px solid var(--art-line);
}

.collection-intro h1 {
  margin: 0;
  color: #fff2d7;
  font-size: clamp(2.6rem, 5.8vw, 5.6rem);
  line-height: 0.82;
}

.collection-intro p {
  margin: 0;
  color: var(--art-muted);
  line-height: 1.45;
}

.lead-work {
  margin: 1.2rem 0 1.6rem;
  border: 1px solid var(--art-line);
  background: var(--art-panel);
  padding: 0.75rem;
}

.lead-link {
  display: grid;
  place-items: center;
  background: #050403;
}

.lead-link img {
  max-width: 100%;
  max-height: min(76vh, 820px);
  object-fit: contain;
}

.lead-work p {
  margin: 0.65rem 0 0;
  color: var(--art-text);
}

.lead-work strong {
  color: #fff2d7;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1rem;
}

.archive-wall {
  columns: 5 165px;
  column-gap: 0.75rem;
}

.work-card {
  display: inline-block;
  width: 100%;
  margin: 0 0 0.75rem;
  color: var(--art-text);
  text-decoration: none;
  background: var(--art-panel);
  border: 1px solid rgba(255, 255, 255, 0.045);
  break-inside: avoid;
}

.work-card img {
  width: 100%;
  height: auto;
  display: block;
}

.work-title,
.work-meta {
  display: block;
  padding-left: 0.45rem;
  padding-right: 0.45rem;
}

.work-title {
  padding-top: 0.42rem;
  color: var(--art-gold);
  line-height: 1.25;
}

.work-meta {
  padding-top: 0.18rem;
  padding-bottom: 0.48rem;
  color: #8f7b5f;
  letter-spacing: 0.08em;
}

.text-link {
  color: var(--art-gold);
  font-weight: 800;
  text-decoration: none;
}

.site-footer .text-link {
  margin-right: 0.85rem;
}

.work-lightbox {
  width: min(1040px, calc(100% - 1rem));
  max-height: min(860px, calc(100vh - 1rem));
  padding: 0;
  color: var(--art-text);
  border: 1px solid var(--art-line-strong);
  background: #080706;
}

.work-lightbox::backdrop {
  background: rgba(4, 3, 2, 0.82);
  backdrop-filter: blur(4px);
}

.lightbox-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(260px, 0.7fr);
  max-height: inherit;
}

.lightbox-image-wrap {
  display: grid;
  place-items: center;
  background: #030303;
}

.lightbox-image-wrap img {
  width: 100%;
  height: 100%;
  max-height: calc(100vh - 1rem);
  object-fit: contain;
}

.lightbox-copy {
  position: relative;
  padding: 1rem;
  overflow: auto;
  background: var(--art-panel);
  border-left: 1px solid rgba(255, 255, 255, 0.06);
}

.lightbox-close {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  width: 1.75rem;
  height: 1.75rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--art-text);
  cursor: pointer;
}

.lightbox-copy h3 {
  margin: 2rem 0 0.5rem;
  color: #fff2d7;
  font-size: clamp(1.45rem, 2.7vw, 2.4rem);
  line-height: 0.98;
}

.lightbox-text,
.lightbox-reading {
  color: var(--art-muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

@media (min-width: 921px) {
  .work-lightbox {
    height: min(860px, calc(100vh - 1rem));
    height: min(860px, calc(100dvh - 1rem));
    max-height: none;
    overflow: hidden;
  }

  .lightbox-inner {
    grid-template-rows: minmax(0, 1fr);
    height: 100%;
    min-height: 0;
    max-height: none;
  }

  .lightbox-image-wrap {
    position: relative;
    min-width: 0;
    min-height: 0;
    overflow: hidden;
  }

  .lightbox-image-wrap img {
    position: absolute;
    inset: 0;
    max-width: none;
    max-height: none;
  }

  .lightbox-copy {
    min-height: 0;
  }
}

@media (max-width: 920px) {
  .artist-intro,
  .gallery-heading,
  .about-strip,
  .collection-intro,
  .lightbox-inner {
    grid-template-columns: 1fr;
  }

  .intro-image {
    order: -1;
    min-height: 420px;
  }

  .archive-wall {
    columns: 3 150px;
  }

  .lightbox-copy {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
  }
}

@media (max-width: 640px) {
  body.art-body {
    font-size: 13.5px;
  }

  .container,
  .art-main {
    width: min(100% - 1rem, 1120px);
  }

  .site-header {
    position: static;
  }

  .topbar {
    gap: 0.5rem;
    padding: 0.65rem 0;
  }

  .nav {
    gap: 0.3rem;
  }

  .nav a {
    padding: 0.34rem 0.46rem;
    font-size: 0.8rem;
  }

  .intro-copy {
    padding: 0.9rem;
  }

  .intro-copy h1 {
    font-size: clamp(3.3rem, 18vw, 4.6rem);
  }

  .intro-image {
    min-height: 0;
  }

  .intro-image img {
    max-height: 66vh;
  }

  .room-grid {
    grid-template-columns: 1fr;
  }

  .collection-intro {
    padding: 0.9rem;
  }

  .collection-intro h1 {
    font-size: 2.45rem;
  }

  .archive-wall {
    columns: 2 140px;
    column-gap: 0.55rem;
  }

  .work-card {
    margin-bottom: 0.55rem;
  }

  .lightbox-image-wrap img {
    max-height: 56vh;
  }

  .lightbox-copy {
    max-height: 40vh;
  }
}
