\
/* WORK PAGE: GRAND PORTFOLIO EXHIBITION */

.work-page {
  background:
    linear-gradient(180deg, rgba(5, 4, 3, 0.78), rgba(5, 4, 3, 0.98)),
    var(--texture-wide),
    var(--black);
  background-size: cover, cover, auto;
  background-attachment: fixed, fixed, scroll;
}

.work-page .site-nav a[aria-current="page"] {
  color: var(--gold-bright);
}

.work-hero {
  position: relative;
  min-height: clamp(45rem, 92svh, 61rem);
  display: grid;
  grid-template-columns: minmax(31rem, 41vw) minmax(0, 1fr);
  align-items: stretch;
  overflow: hidden;
  border-bottom: 1px solid rgba(184, 149, 85, 0.26);
  background:
    linear-gradient(90deg, #050403 0%, rgba(5, 4, 3, 0.96) 31%, rgba(5, 4, 3, 0.58) 58%, rgba(5, 4, 3, 0.24) 100%),
    var(--texture-arch-panel),
    var(--black);
  background-size: cover, min(44rem, 48vw) auto, auto;
  background-position: center, right bottom, center;
  background-repeat: no-repeat;
}

.work-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: 3;
  height: 13rem;
  pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(5, 4, 3, 0.94));
}

.work-hero__texture {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.28;
  pointer-events: none;
  background:
    linear-gradient(120deg, rgba(184, 149, 85, 0.08), transparent 34%),
    var(--texture-wide);
  background-size: cover, cover;
  background-position: center;
  mix-blend-mode: overlay;
}

.work-hero__rail {
  position: absolute;
  left: clamp(0.7rem, 2.1vw, 2.35rem);
  top: 54%;
  z-index: 5;
  transform: translateY(-50%);
  display: grid;
  justify-items: center;
  gap: 1.2rem;
  width: clamp(3.1rem, 4vw, 4.7rem);
  pointer-events: none;
}

.work-hero__rail span {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-family: var(--font-ui);
  font-size: clamp(0.48rem, 0.6vw, 0.64rem);
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: rgba(184, 149, 85, 0.72);
}

.work-hero__rail img {
  width: clamp(1.7rem, 2.4vw, 2.55rem);
  max-height: min(56svh, 34rem);
  object-fit: contain;
  opacity: 0.72;
  filter:
    drop-shadow(0 0 0.6rem rgba(184, 149, 85, 0.16))
    drop-shadow(0 0 1rem rgba(0, 0, 0, 0.9));
}

.work-hero__copy {
  position: relative;
  z-index: 4;
  align-self: center;
  max-width: 54rem;
  padding:
    calc(var(--header-height) + clamp(3rem, 6vw, 6.5rem))
    clamp(2rem, 6vw, 8rem)
    clamp(5rem, 7vw, 8rem);
}

.work-hero h1 {
  margin-top: 1.1rem;
  font-family: var(--font-display);
  font-size: clamp(4.5rem, 7.4vw, 10rem);
  font-weight: 500;
  line-height: 0.82;
  letter-spacing: 0.055em;
  text-transform: uppercase;
  color: var(--gold);
  text-shadow: 0 0 2rem rgba(0, 0, 0, 0.64);
}

.work-hero h1 span,
.work-hero h1 em {
  display: block;
}

.work-hero h1 em {
  margin: 0.14em 0 0.04em;
  font-size: 0.48em;
  line-height: 1;
  font-weight: 400;
  font-style: italic;
  letter-spacing: 0.05em;
  text-transform: lowercase;
  color: var(--bone);
}

.work-hero__copy > p:last-of-type {
  max-width: 34rem;
  color: var(--bone-muted);
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  line-height: 1.85;
}

.work-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.work-hero__image {
  position: relative;
  z-index: 2;
  align-self: stretch;
  min-height: 100%;
  overflow: hidden;
  margin: 0;
  clip-path: polygon(8% 0, 100% 0, 100% 100%, 0 100%);
}

.work-hero__image::before,
.work-hero__image::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.work-hero__image::before {
  background:
    linear-gradient(90deg, rgba(5, 4, 3, 0.72), transparent 42%),
    linear-gradient(180deg, rgba(5, 4, 3, 0.38), transparent 25%, rgba(5, 4, 3, 0.64));
}

.work-hero__image::after {
  box-shadow: inset 0 0 7rem rgba(0, 0, 0, 0.58);
}

.work-hero__image img {
  width: 100%;
  height: 100%;
  min-height: clamp(45rem, 92svh, 61rem);
  object-fit: cover;
  object-position: center center;
  filter: saturate(0.94) contrast(1.08) brightness(0.86);
  transform: scale(1.04);
  will-change: transform;
}

/* PROLOGUE */

.gallery-prologue {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 28rem);
  gap: clamp(2rem, 5vw, 6rem);
  max-width: var(--max-width);
  margin: 0 auto;
  padding: clamp(5rem, 8vw, 8rem) var(--gutter) clamp(3rem, 5vw, 5rem);
  border-left: 1px solid rgba(184, 149, 85, 0.14);
  border-right: 1px solid rgba(184, 149, 85, 0.14);
}

.gallery-prologue h2 {
  margin-top: 1rem;
  font-family: var(--font-display);
  font-size: clamp(3.6rem, 7.2vw, 8.7rem);
  line-height: 0.88;
  font-weight: 500;
  color: var(--gold);
}

.gallery-prologue__copy p:last-child {
  max-width: 52rem;
  margin-top: 1.5rem;
  color: var(--bone-muted);
  font-size: clamp(1rem, 1.25vw, 1.2rem);
  line-height: 1.9;
}

.chapter-jump {
  position: sticky;
  top: calc(var(--header-height) + 2rem);
  align-self: start;
  display: grid;
  gap: 0.65rem;
  padding: 1.4rem;
  border: 1px solid rgba(184, 149, 85, 0.22);
  background:
    linear-gradient(180deg, rgba(20, 17, 13, 0.62), rgba(5, 4, 3, 0.88)),
    var(--texture-raven-panel);
  background-size: cover;
  box-shadow: var(--shadow);
}

.chapter-jump a {
  padding: 0.85rem 0;
  font-family: var(--font-ui);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--bone-muted);
  border-bottom: 1px solid rgba(184, 149, 85, 0.16);
  transition: color 180ms ease, transform 180ms ease;
}

.chapter-jump a:hover,
.chapter-jump a:focus-visible {
  color: var(--gold-bright);
  transform: translateX(0.35rem);
}

/* CHAPTERS */

.chapter {
  position: relative;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: clamp(4rem, 7vw, 7rem) var(--gutter);
  border-left: 1px solid rgba(184, 149, 85, 0.14);
  border-right: 1px solid rgba(184, 149, 85, 0.14);
}

.chapter::before {
  content: "";
  position: absolute;
  inset: 0 var(--gutter);
  pointer-events: none;
  border-top: 1px solid rgba(184, 149, 85, 0.12);
}

.chapter__heading {
  position: relative;
  z-index: 2;
  max-width: 44rem;
  margin-bottom: clamp(2rem, 4vw, 4rem);
  padding: 1.4rem 0;
}

.chapter__heading--split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(18rem, 0.65fr);
  align-items: end;
  gap: clamp(2rem, 5vw, 6rem);
  max-width: none;
  position: relative;
}

.chapter__heading h2 {
  margin-top: 0.8rem;
  font-family: var(--font-display);
  font-size: clamp(3.6rem, 7vw, 8.2rem);
  line-height: 0.86;
  font-weight: 500;
  color: var(--gold);
}

.chapter__heading p:not(.eyebrow) {
  max-width: 34rem;
  margin-top: 1rem;
  color: var(--bone-muted);
  line-height: 1.8;
}

/* CARDS */

.exhibition-wall {
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: minmax(6rem, auto);
  gap: clamp(0.5rem, 1vw, 0.9rem);
}

.exhibit-card,
.water-feature,
.portrait-panel {
  position: relative;
  overflow: hidden;
  min-height: 23rem;
  border: 1px solid rgba(184, 149, 85, 0.26);
  background: var(--black);
  box-shadow: 0 1.6rem 4rem rgba(0, 0, 0, 0.42);
}

.exhibit-card button,
.water-feature button,
.portrait-panel button {
  appearance: none;
  width: 100%;
  height: 100%;
  display: block;
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
  text-align: left;
  cursor: zoom-in;
}

.exhibit-card img,
.water-feature img,
.portrait-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.96) contrast(1.08) brightness(0.92);
  transform: scale(1.015);
  transition: transform 900ms ease, filter 400ms ease;
}

.exhibit-card button::after,
.water-feature button::after,
.portrait-panel button::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 30%, rgba(0, 0, 0, 0.68)),
    radial-gradient(circle at center, transparent 48%, rgba(0, 0, 0, 0.35));
  transition: opacity 260ms ease;
}

.exhibit-card:hover img,
.exhibit-card:focus-within img,
.water-feature:hover img,
.water-feature:focus-within img,
.portrait-panel:hover img,
.portrait-panel:focus-within img {
  transform: scale(1.07);
  filter: saturate(1.08) contrast(1.08) brightness(1);
}

.exhibit-card:hover button::after,
.exhibit-card:focus-within button::after,
.water-feature:hover button::after,
.water-feature:focus-within button::after,
.portrait-panel:hover button::after,
.portrait-panel:focus-within button::after {
  opacity: 0.64;
}

.exhibit-card span,
.water-feature span,
.portrait-panel span {
  position: absolute;
  left: clamp(1.1rem, 2vw, 2rem);
  right: clamp(1.1rem, 2vw, 2rem);
  bottom: clamp(1.1rem, 2vw, 2rem);
  z-index: 2;
}

.exhibit-card b,
.water-feature b,
.portrait-panel b {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.15rem, 3.4vw, 4.6rem);
  line-height: 0.9;
  font-weight: 500;
  color: var(--bone);
}

.exhibit-card i,
.water-feature small {
  display: block;
  margin-top: 0.6rem;
  font-family: var(--font-ui);
  font-size: 0.66rem;
  font-style: normal;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold-bright);
}

.exhibit-card--wide {
  grid-column: span 7;
  grid-row: span 4;
  min-height: 30rem;
}

.exhibit-card--tall {
  grid-column: span 5;
  grid-row: span 7;
  min-height: 48rem;
}

.exhibit-card--standard {
  grid-column: span 5;
  grid-row: span 4;
  min-height: 30rem;
}

.exhibit-card--hero {
  min-height: 48rem;
}

/* WATER */

.chapter--water {
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(5, 4, 3, 0.48), rgba(5, 4, 3, 0.9)),
    radial-gradient(circle at 72% 34%, rgba(35, 109, 132, 0.22), transparent 28rem);
}

.water-sheen {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.18;
  background:
    linear-gradient(110deg, transparent 20%, rgba(255, 255, 255, 0.18) 24%, transparent 29%),
    linear-gradient(120deg, transparent 47%, rgba(184, 149, 85, 0.12) 51%, transparent 57%);
  background-size: 260% 100%, 220% 100%;
  animation: water-sheen 10s linear infinite;
}

.water-gallery {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(18rem, 0.8fr);
  gap: clamp(0.6rem, 1vw, 0.9rem);
}

.water-feature {
  min-height: clamp(36rem, 62vw, 58rem);
}

.water-feature b {
  font-size: clamp(3rem, 5.5vw, 7rem);
}

.water-stack {
  display: grid;
  gap: clamp(0.6rem, 1vw, 0.9rem);
}

.water-stack .exhibit-card {
  min-height: 18rem;
}

/* DECAY */

.decay-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(20rem, 0.85fr);
  grid-auto-rows: minmax(15rem, auto);
  gap: clamp(0.6rem, 1vw, 0.9rem);
}

.decay-layout .exhibit-card--hero {
  grid-row: span 3;
}

.decay-layout .exhibit-card:not(.exhibit-card--hero) {
  min-height: 19rem;
}

/* PORTRAITS */

.portrait-strip {
  display: grid;
  grid-template-columns: 0.8fr 1fr 0.8fr;
  gap: clamp(0.6rem, 1vw, 0.9rem);
}

.portrait-panel {
  min-height: clamp(31rem, 46vw, 47rem);
}

.portrait-panel:nth-child(2) {
  transform: translateY(clamp(2rem, 5vw, 5rem));
}

.portrait-panel span {
  font-family: var(--font-ui);
  font-size: 0.78rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-bright);
}

/* MONO */

.chapter--mono {
  padding-top: clamp(6rem, 9vw, 10rem);
}

.mono-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.1fr 0.8fr;
  gap: clamp(0.6rem, 1vw, 0.9rem);
  align-items: stretch;
}

.mono-grid .exhibit-card {
  min-height: clamp(30rem, 48vw, 48rem);
}

.mono-grid .exhibit-card:nth-child(2) {
  min-height: clamp(36rem, 58vw, 58rem);
}

/* CTA */

.portfolio-cta {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(26rem, 0.8fr);
  align-items: stretch;
  max-width: var(--max-width);
  margin: 0 auto clamp(5rem, 8vw, 8rem);
  padding: 0 var(--gutter);
}

.portfolio-cta__image {
  min-height: 38rem;
  overflow: hidden;
  border: 1px solid rgba(184, 149, 85, 0.18);
  box-shadow: var(--shadow);
}

.portfolio-cta__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.96) contrast(1.08) brightness(0.9);
}

.portfolio-cta__copy {
  display: grid;
  align-content: center;
  padding: clamp(2rem, 5vw, 5rem);
  border: 1px solid rgba(184, 149, 85, 0.18);
  border-left: 0;
  background:
    linear-gradient(180deg, rgba(20, 17, 13, 0.82), rgba(5, 4, 3, 0.96)),
    var(--texture-raven-panel);
  background-size: cover;
}

.portfolio-cta h2 {
  margin-top: 1rem;
  font-family: var(--font-display);
  font-size: clamp(3.4rem, 6vw, 7rem);
  line-height: 0.88;
  font-weight: 500;
  color: var(--gold);
}

.portfolio-cta p:not(.eyebrow) {
  max-width: 32rem;
  margin-top: 1.25rem;
  color: var(--bone-muted);
  line-height: 1.8;
}

.portfolio-cta .button {
  width: fit-content;
  margin-top: 2rem;
}

/* LIGHTBOX */

body.lightbox-is-open {
  overflow: hidden;
}



.lightbox {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 3vw, 3rem);
  background:
    radial-gradient(circle at 50% 50%, rgba(184, 149, 85, 0.08), transparent 34rem),
    rgba(3, 3, 2, 0.94);
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
}

.lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox__figure {
  position: relative;
  max-width: min(92vw, 94rem);
  max-height: 88svh;
  display: grid;
  justify-items: center;
  gap: 1rem;
}

.lightbox__figure img {
  max-width: min(92vw, 94rem);
  max-height: 78svh;
  object-fit: contain;
  border: 1px solid rgba(184, 149, 85, 0.28);
  box-shadow: 0 2rem 7rem rgba(0, 0, 0, 0.72);
}

.lightbox figcaption {
  display: grid;
  gap: 0.35rem;
  text-align: center;
}

.lightbox figcaption span {
  font-family: var(--font-ui);
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  color: var(--gold-bright);
  text-transform: uppercase;
}

.lightbox figcaption strong {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 3.4rem);
  color: var(--bone);
  font-weight: 400;
}

.lightbox__close,
.lightbox__nav {
  position: fixed;
  z-index: 3001;
  display: grid;
  place-items: center;
  color: var(--gold-bright);
  border: 1px solid rgba(184, 149, 85, 0.32);
  background: rgba(5, 4, 3, 0.72);
  transition: color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.lightbox__close:hover,
.lightbox__nav:hover {
  color: var(--bone);
  border-color: rgba(212, 179, 109, 0.8);
}

.lightbox__close {
  top: 1.2rem;
  right: 1.2rem;
  width: 3rem;
  height: 3rem;
  font-size: 2rem;
}

.lightbox__nav {
  top: 50%;
  width: 3.2rem;
  height: 4.6rem;
  transform: translateY(-50%);
  font-size: 3rem;
}

.lightbox__nav--prev {
  left: 1.2rem;
}

.lightbox__nav--next {
  right: 1.2rem;
}

/* ANIMATIONS */

.reveal {
  transition:
    opacity 800ms ease,
    transform 800ms ease,
    filter 800ms ease;
}

.reveal:not(.is-visible) {
  filter: blur(6px);
}

@keyframes water-sheen {
  0% {
    background-position: 160% 0, -120% 0;
  }

  100% {
    background-position: -140% 0, 160% 0;
  }
}

/* RESPONSIVE */

@media (max-width: 1180px) {
  .work-hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .work-hero__copy {
    padding-bottom: 3rem;
  }

  .work-hero__image {
    min-height: 34rem;
    clip-path: none;
  }

  .work-hero__image img {
    min-height: 34rem;
  }

  .work-hero__rail {
    display: none;
  }

  .gallery-prologue,
  .chapter__heading--split {
    grid-template-columns: 1fr;
  }

  .chapter-jump,
  .chapter__heading {
    position: relative;
    top: auto;
  }

  .water-gallery,
  .decay-layout,
  .portfolio-cta {
    grid-template-columns: 1fr;
  }

  .portfolio-cta__copy {
    border-left: 1px solid rgba(184, 149, 85, 0.18);
    border-top: 0;
  }

  .portrait-strip,
  .mono-grid {
    grid-template-columns: 1fr;
  }

  .portrait-panel:nth-child(2) {
    transform: none;
  }
}

@media (max-width: 900px) {
  .work-hero__copy {
    padding:
      calc(var(--header-height) + 3rem)
      var(--gutter)
      3rem;
  }

  .work-hero h1 {
    font-size: clamp(3.6rem, 14vw, 6.8rem);
  }

  .exhibition-wall {
    display: grid;
    grid-template-columns: 1fr;
  }

  .exhibit-card,
  .exhibit-card--wide,
  .exhibit-card--tall,
  .exhibit-card--standard,
  .exhibit-card--hero,
  .water-feature,
  .portrait-panel,
  .mono-grid .exhibit-card,
  .mono-grid .exhibit-card:nth-child(2) {
    grid-column: auto;
    grid-row: auto;
    min-height: clamp(24rem, 66vw, 38rem);
  }

  .chapter {
    padding-top: 4rem;
  }

  .chapter__heading h2,
  .gallery-prologue h2 {
    font-size: clamp(3.2rem, 13vw, 6rem);
  }

  .portfolio-cta__image {
    min-height: 28rem;
  }

  .portfolio-cta .button,
  .work-hero__actions .button {
    width: 100%;
  }

  .lightbox__nav {
    top: auto;
    bottom: 1rem;
    transform: none;
  }

  .lightbox__nav--prev {
    left: 1rem;
  }

  .lightbox__nav--next {
    right: 1rem;
  }
}


/* ==========================================================
   COMPACT EXHIBITION PASS
   Tighter book-like spacing + less aggressive image cropping
   ========================================================== */

.work-page {
  --work-section-pad: clamp(2.6rem, 4.8vw, 5rem);
  --work-tight-pad: clamp(1.8rem, 3.2vw, 3.5rem);
  --work-gap: clamp(0.35rem, 0.75vw, 0.65rem);
}

/* Pull the whole Work page into a denser editorial rhythm */
.work-hero {
  min-height: clamp(38rem, 80svh, 52rem);
}

.work-hero__copy {
  padding:
    calc(var(--header-height) + clamp(2rem, 4.5vw, 5rem))
    clamp(2rem, 5vw, 6.5rem)
    clamp(3rem, 5vw, 5.5rem);
}

.work-hero h1 {
  font-size: clamp(4rem, 6.4vw, 8.65rem);
}

.work-hero__image img {
  min-height: clamp(38rem, 80svh, 52rem);
}

/* Prologue becomes more like an opening spread than a full billboard */
.gallery-prologue {
  gap: clamp(1.4rem, 3.2vw, 4rem);
  padding: var(--work-section-pad) var(--gutter) var(--work-tight-pad);
}

.gallery-prologue h2 {
  font-size: clamp(3.1rem, 5.9vw, 7.15rem);
}

.gallery-prologue__copy p:last-child {
  max-width: 46rem;
  margin-top: 1rem;
  line-height: 1.7;
}

.chapter-jump {
  padding: 1rem 1.15rem;
}

.chapter-jump a {
  padding: 0.62rem 0;
  font-size: 0.66rem;
}

/* Chapters: less air, more book-spread pressure */
.chapter {
  padding: var(--work-section-pad) var(--gutter);
}

.chapter__heading {
  max-width: 39rem;
  margin-bottom: clamp(1rem, 2.4vw, 2.4rem);
  padding: 0.6rem 0;
}

.chapter__heading--split {
  gap: clamp(1.2rem, 3vw, 4rem);
}

.chapter__heading h2 {
  font-size: clamp(3rem, 5.7vw, 6.6rem);
}

.chapter__heading p:not(.eyebrow) {
  margin-top: 0.75rem;
  max-width: 31rem;
  line-height: 1.58;
}

/* Dense gallery architecture */
.exhibition-wall,
.water-gallery,
.water-stack,
.decay-layout,
.portrait-strip,
.mono-grid {
  gap: var(--work-gap);
}

/* Smaller image boxes */
.exhibit-card,
.water-feature,
.portrait-panel {
  min-height: 18rem;
  box-shadow: 0 1rem 2.6rem rgba(0, 0, 0, 0.36);
}

.exhibit-card--wide {
  min-height: 24rem;
}

.exhibit-card--tall {
  min-height: 35rem;
}

.exhibit-card--standard {
  min-height: 23rem;
}

.exhibit-card--hero {
  min-height: 36rem;
}

.water-feature {
  min-height: clamp(30rem, 48vw, 46rem);
}

.water-stack .exhibit-card {
  min-height: 15rem;
}

.decay-layout {
  grid-auto-rows: minmax(12rem, auto);
}

.decay-layout .exhibit-card:not(.exhibit-card--hero) {
  min-height: 15.5rem;
}

.portrait-panel {
  min-height: clamp(25rem, 35vw, 38rem);
}

.portrait-panel:nth-child(2) {
  transform: translateY(clamp(1rem, 2.7vw, 3rem));
}

.mono-grid .exhibit-card {
  min-height: clamp(24rem, 36vw, 38rem);
}

.mono-grid .exhibit-card:nth-child(2) {
  min-height: clamp(29rem, 44vw, 46rem);
}

/* More compact image captions */
.exhibit-card span,
.water-feature span,
.portrait-panel span {
  left: clamp(0.9rem, 1.6vw, 1.55rem);
  right: clamp(0.9rem, 1.6vw, 1.55rem);
  bottom: clamp(0.9rem, 1.6vw, 1.55rem);
}

.exhibit-card b,
.water-feature b,
.portrait-panel b {
  font-size: clamp(1.7rem, 2.7vw, 3.65rem);
}

.water-feature b {
  font-size: clamp(2.3rem, 4.2vw, 5.4rem);
}

/*
   Image fitting:
   cover = fills the box and crops.
   contain = shows the whole image with tasteful letterboxing.
   This pass uses contain globally for the Work page cards so the images are not butcher-cropped.
*/
.exhibit-card img,
.water-feature img,
.portrait-panel img {
  object-fit: contain;
  object-position: center center;
  background:
    radial-gradient(circle at center, rgba(184, 149, 85, 0.08), transparent 64%),
    #050403;
  padding: clamp(0.35rem, 0.55vw, 0.65rem);
}

/* Keep the hero/CTA cinematic and full-bleed */
.work-hero__image img,
.portfolio-cta__image img {
  object-fit: cover;
  padding: 0;
}

/* Softer hover now that images fit inside frames */
.exhibit-card:hover img,
.exhibit-card:focus-within img,
.water-feature:hover img,
.water-feature:focus-within img,
.portrait-panel:hover img,
.portrait-panel:focus-within img {
  transform: scale(1.035);
  filter: saturate(1.08) contrast(1.08) brightness(1);
}

/* CTA tightened */
.portfolio-cta {
  margin-bottom: clamp(3rem, 5vw, 5rem);
}

.portfolio-cta__image {
  min-height: 30rem;
}

.portfolio-cta__copy {
  padding: clamp(2rem, 4vw, 4rem);
}

.portfolio-cta h2 {
  font-size: clamp(3rem, 5vw, 5.8rem);
}

/* Mobile stays readable, but less vertically bloated */
@media (max-width: 1180px) {
  .work-hero__image,
  .work-hero__image img {
    min-height: 28rem;
  }

  .portrait-panel:nth-child(2) {
    transform: none;
  }
}

@media (max-width: 900px) {
  .gallery-prologue,
  .chapter {
    padding-top: clamp(2.5rem, 8vw, 4rem);
    padding-bottom: clamp(2.5rem, 8vw, 4rem);
  }

  .exhibit-card,
  .exhibit-card--wide,
  .exhibit-card--tall,
  .exhibit-card--standard,
  .exhibit-card--hero,
  .water-feature,
  .portrait-panel,
  .mono-grid .exhibit-card,
  .mono-grid .exhibit-card:nth-child(2) {
    min-height: clamp(20rem, 58vw, 32rem);
  }

  .exhibit-card img,
  .water-feature img,
  .portrait-panel img {
    padding: 0.35rem;
  }
}
