:root {
  --cream: #f8f5ed;
  --paper: #fffdf8;
  --ink: #22231f;
  --olive: #424b39;
  --sage: #aeb3a2;
  --line: #d8d1c5;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  overflow-x: clip;
}
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  overflow-x: clip;
}
a {
  color: inherit;
  text-decoration: none;
}
header {
  height: 72px;
  padding: 0 6.8%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--paper);
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid #eee9df;
}
.logo {
  font:
    27px Georgia,
    serif;
  letter-spacing: 0.2em;
  line-height: 0.9;
  text-transform: uppercase;
}
.logo small {
  display: block;
  text-align: center;
  font: 7px Arial;
  letter-spacing: 0.68em;
  margin-top: 9px;
}
nav {
  display: flex;
  gap: 27px;
  align-items: center;
  font-size: 8px;
  letter-spacing: 0.22em;
}
nav > a,
.nav-dropdown > a {
  text-transform: uppercase;
}
nav a:hover {
  opacity: 0.55;
}
.hero {
  height: 440px;
  position: relative;
  overflow: hidden;
  background: #765c46;
}
.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 53%;
  filter: saturate(1.04);
}
.hero:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(24, 28, 21, 0.58),
    rgba(24, 28, 21, 0.08) 67%
  );
}
.hero-copy {
  position: absolute;
  z-index: 2;
  left: 7%;
  top: 50%;
  transform: translateY(-49%);
  color: white;
}
.hero h1 {
  font:
    48px Georgia,
    serif;
  letter-spacing: 0.13em;
  margin: 0 0 15px;
  text-transform: uppercase;
}
.caps {
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}
.rule {
  width: 30px;
  border-top: 1.5px solid currentColor;
  margin: 19px 0;
}
.hero p {
  font:
    18px/1.35 Georgia,
    serif;
  margin: 0 0 26px;
}
.btn {
  display: inline-block;
  border: 1px solid currentColor;
  padding: 14px 20px;
  font-size: 9px;
  letter-spacing: 0.2em;
  min-width: 202px;
  text-transform: uppercase;
}
.detail {
  position: absolute;
  z-index: 2;
  right: 3%;
  bottom: 14px;
  color: white;
  font: italic 11px Georgia;
}
section {
  scroll-margin-top: 72px;
}
.recent {
  padding: 26px 5.2% 32px;
  background: var(--paper);
}
.section-title {
  text-align: center;
  font-size: 14px;
  letter-spacing: 0.43em;
  margin: 0 0 30px;
  font-weight: 400;
  text-transform: uppercase;
}
.recent-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 27px;
}
.recent-card img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  background: transparent;
}
.recent-card h3 {
  font: italic 16px Georgia;
  margin: 9px 0 3px;
}
.meta {
  font-size: 8px;
  letter-spacing: 0.15em;
  line-height: 1.6;
  text-transform: uppercase;
}
.poems {
  padding: 50px 6%;
  background: #f4f0e7;
}
.poem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 62px;
}
.poem-card {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 25px;
  align-items: center;
}
.poem-card img {
  width: 100%;
  height: auto;
  object-fit: contain;
}
.poem-card h3 {
  font: italic 24px Georgia;
  margin: 5px 0 10px;
}
blockquote {
  margin: 0;
  white-space: pre-line;
  font: italic 14px/1.7 Georgia;
  color: #4c4a43;
}
.studio {
  display: grid;
  grid-template-columns: 1fr 1.08fr;
  min-height: 350px;
}
.studio-image {
  background: #dcd7cb;
  display: grid;
  place-items: center;
  padding: 38px;
}
.studio-placeholder {
  border: 1px solid #aaa395;
  width: 100%;
  height: 100%;
  min-height: 275px;
  display: grid;
  place-items: center;
  text-align: center;
  font: italic 22px Georgia;
  color: #666a61;
}
.studio-copy {
  padding: 48px 9%;
  background: #f2efe7;
  position: relative;
  overflow: hidden;
}
.studio-copy:after {
  content: "";
  position: absolute;
  right: -60px;
  top: -70px;
  width: 220px;
  height: 470px;
  border-left: 1px solid #c8c1b3;
  transform: rotate(17deg);
  opacity: 0.7;
}
.studio-copy h2 {
  font: 23px/1.3 Georgia;
  margin: 20px 0;
}
.studio-copy p {
  font: 13px/1.65 Georgia;
  max-width: 450px;
}
.about {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 6%;
  align-items: center;
  padding: 55px 7%;
  background: var(--paper);
}
.about img {
  width: 100%;
  height: 465px;
  object-fit: cover;
  object-position: center 20%;
}
.about h2 {
  font: 31px Georgia;
  margin: 12px 0 19px;
}
.about p {
  white-space: pre-line;
  font: 13px/1.72 Georgia;
  max-width: 650px;
}
.work-section {
  padding: 58px 5.5% 70px;
  background: var(--cream);
}
.collection-heading {
  text-align: center;
  margin: 42px 0 26px;
}
.collection-heading h3 {
  font:
    30px Georgia,
    serif;
  letter-spacing: 0.12em;
  margin: 0 0 8px;
  text-transform: uppercase;
}
.collection-heading p {
  font:
    italic 15px Georgia,
    serif;
  margin: 0;
  color: #5b5a53;
}
.collection-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: start;
  margin-bottom: 58px;
}
.collection-grid img {
  width: 100%;
  height: auto;
  display: block;
}
.collection-grid h4 {
  font: italic 17px Georgia;
  margin: 10px 0 4px;
}
.portfolio-heading {
  text-align: center;
  font-size: 12px;
  letter-spacing: 0.28em;
  margin: 48px 0 28px;
  font-weight: 400;
  text-transform: uppercase;
}
.work-intro {
  max-width: 720px;
  margin: -10px auto 35px;
  text-align: center;
  font: 14px/1.7 Georgia;
  color: #555;
}
.filters {
  display: flex;
  justify-content: center;
  gap: 25px;
  margin-bottom: 35px;
  font-size: 9px;
  letter-spacing: 0.17em;
}
.filters span {
  border-bottom: 1px solid #777;
  padding-bottom: 4px;
}
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 34px 22px;
  align-items: start;
}
.artframe {
  height: auto;
  display: block;
  background: transparent;
  padding: 0;
}
.gallery-card img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}
.gallery-card h3 {
  font: italic 16px Georgia;
  margin: 10px 0 4px;
}
.gallery-card p {
  font-size: 8px;
  letter-spacing: 0.11em;
  line-height: 1.55;
  margin: 0;
  color: #4c4c46;
}
.exhibitions {
  padding: 55px 7%;
  background: #f0ede5;
  text-align: center;
}
.exhibitions p {
  font: 15px/1.75 Georgia;
  max-width: 650px;
  margin: 0 auto;
}
.quote {
  padding: 70px 8%;
  text-align: center;
  background: #faf7ef;
}
.quote p {
  font: italic 25px/1.5 Georgia;
  margin: 0 auto 25px;
  max-width: 880px;
  color: #5b4b3d;
}
.quote strong {
  font-size: 12px;
  letter-spacing: 0.12em;
  color: #594b40;
  text-transform: uppercase;
}
footer {
  background: var(--olive);
  color: #f6f2e8;
  padding: 34px 7%;
  display: grid;
  grid-template-columns: 1.05fr 0.9fr 0.65fr;
  gap: 38px;
  align-items: center;
}
footer h2 {
  font-size: 16px;
  letter-spacing: 0.32em;
  font-weight: 400;
  text-transform: uppercase;
}
footer p {
  font: 13px/1.6 Georgia;
}
.contact {
  border-left: 1px solid #aaa99d;
  padding-left: 34px;
  font: 12px/2.35 Georgia;
}
.sig {
  font: italic 30px Georgia;
  text-align: center;
}
.sig small {
  display: block;
  font: 8px Arial;
  letter-spacing: 0.35em;
  margin-top: 13px;
  text-transform: uppercase;
}
@media (max-width: 800px) {
  .collection-grid {
    grid-template-columns: 1fr 1fr;
  }
  header {
    height: auto;
    padding: 18px 5%;
    align-items: flex-start;
    gap: 20px;
  }
  nav {
    gap: 11px;
    flex-wrap: wrap;
    justify-content: flex-end;
  }
  .hero {
    height: 470px;
  }
  .hero h1 {
    font-size: 36px;
  }
  .recent-grid,
  .poem-grid,
  .poem-card,
  .studio,
  .about,
  footer {
    grid-template-columns: 1fr;
  }
  .recent-card img {
    height: auto;
  }
  .gallery {
    grid-template-columns: 1fr 1fr;
  }
  .artframe {
    height: 250px;
  }
  .about img {
    height: auto;
  }
  .contact {
    border: 0;
    border-top: 1px solid #aaa;
    padding: 16px 0 0;
  }
}
@media (max-width: 520px) {
  .collection-grid {
    grid-template-columns: 1fr;
  }
  .gallery {
    grid-template-columns: 1fr;
  }
  .artframe {
    height: auto;
  }
  .gallery-card img {
    width: 100%;
    height: auto;
  }
}

/* Artwork images retain their true proportions; no forced square crops. */
.gallery-card img,
.work-card img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.studio-collage {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  grid-template-rows: 1fr 1fr;
  gap: 8px;
  padding: 0;
  background: #e8e3d8;
  overflow: hidden;
}
.studio-collage img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  display: block;
}
.studio-collage img:first-child {
  grid-row: 1 / span 2;
}
.studio-context-portrait {
  max-width: 230px;
  margin: 24px 0 0;
}
.studio-context-portrait img {
  width: 100%;
  height: auto;
  display: block;
}
.studio-context-portrait span {
  display: block;
  margin-top: 7px;
  font: 8px Arial;
  letter-spacing: 0.16em;
  color: #777;
}
@media (max-width: 800px) {
  .studio-collage {
    min-height: 420px;
  }
  .studio-context-portrait {
    max-width: 260px;
  }
}

/* Mushroom Season + Winter Walk: matching landscape presentation */
.gallery-card.landscape-pair .artframe {
  width: 100%;
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  overflow: hidden;
}
.gallery-card.landscape-pair .artframe img,
.gallery-card.landscape-pair img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}

/* V7 sold gallery: preserve original artwork proportions */
.sold-gallery {
  columns: 3 260px;
  column-gap: 28px;
  margin: 28px 0 72px;
}
.sold-card {
  break-inside: avoid;
  margin: 0 0 32px;
  display: inline-block;
  width: 100%;
  vertical-align: top;
}
.sold-artframe {
  width: 100%;
  background: transparent;
}
.sold-card img {
  width: 100%;
  height: auto !important;
  max-height: none !important;
  object-fit: contain !important;
  display: block;
}
.sold-card h3,
.sold-card h4 {
  font-family: Georgia, serif;
  font-weight: 400;
  font-size: 18px;
  margin: 12px 0 5px;
}
.sold-card .meta {
  font:
    10px Arial,
    sans-serif;
  letter-spacing: 0.14em;
  color: #777;
}
.collection-grid article img {
  width: 100%;
  height: auto !important;
  max-height: none !important;
  object-fit: contain !important;
  display: block;
}
@media (max-width: 700px) {
  .sold-gallery {
    columns: 1;
  }
  .collection-grid {
    grid-template-columns: 1fr !important;
  }
}

/* V8 current work corrections */
.collection-grid .landscape-pair .current-pair-frame {
  width: 100%;
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: transparent;
}
.collection-grid .landscape-pair .current-pair-frame img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  object-position: center;
  display: block;
}
.collection-grid .current-card .meta {
  margin-top: 6px;
  font:
    10px Arial,
    sans-serif;
  letter-spacing: 0.12em;
  color: #777;
}

.nav-dropdown {
  position: relative;
  display: inline-block;
}
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: -18px;
  min-width: 170px;
  background: #f7f4ed;
  padding: 10px 0;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  z-index: 1000;
}
.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu {
  display: block;
}
.dropdown-menu a {
  display: block !important;
  padding: 9px 18px !important;
  white-space: nowrap;
  font-size: 11px !important;
}
.dropdown-menu a:hover {
  background: #ebe7dd;
}
.art-click {
  cursor: pointer;
}
.art-click img {
  transition: opacity 0.2s ease;
}
.art-click:hover img {
  opacity: 0.9;
}
.art-click:after {
  content: "view painting";
  display: block;
  margin-top: 8px;
  font:
    9px Arial,
    sans-serif;
  letter-spacing: 0.16em;
  color: #777;
  text-transform: uppercase;
}
.collection-grid {
  align-items: end;
}
.collection-grid .small-work {
  max-width: 235px !important;
  justify-self: center !important;
}
.collection-grid .large-work {
  max-width: 430px !important;
  justify-self: center !important;
}
.collection-grid .large-work .current-pair-frame {
  height: auto !important;
  aspect-ratio: 4/3 !important;
}
.collection-grid .large-work .current-pair-frame img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
}
.art-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(20, 24, 20, 0.92);
  z-index: 5000;
  overflow: auto;
  padding: 40px 20px;
}
.art-modal.open {
  display: block;
}
.modal-inner {
  max-width: 1100px;
  margin: auto;
  background: #f8f6f0;
  padding: 28px;
  position: relative;
}
.modal-close {
  position: absolute;
  right: 18px;
  top: 12px;
  border: 0;
  background: none;
  font-size: 34px;
  cursor: pointer;
}
.modal-title {
  font-family: Georgia, serif;
  font-size: 28px;
  margin: 0 45px 6px 0;
}
.modal-meta {
  font:
    11px Arial,
    sans-serif;
  letter-spacing: 0.1em;
  color: #666;
  margin-bottom: 20px;
}
.modal-meta.uppercase {
  text-transform: uppercase;
}
.frame-production-note,
.modal-frame-note {
  font:
    11px Arial,
    sans-serif;
  line-height: 1.5;
  color: #666;
}
.frame-production-note {
  margin: 8px 0 0;
}
.artwork-description {
  margin: 10px 0 0;
  color: #5b5a53;
  font-size: 13px;
  line-height: 1.55;
}
.modal-frame-note {
  margin: -10px 0 18px;
}
.modal-frame-note[hidden] {
  display: none;
}
.modal-image-stage {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.modal-main {
  display: block;
  max-width: 100%;
  max-height: 72vh;
  margin: 0 auto;
  object-fit: contain;
}
.modal-gallery-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: rgba(248, 246, 240, 0.9);
  color: #333;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
}
.modal-prev {
  left: 8px;
}
.modal-next {
  right: 8px;
}
.modal-gallery-control[hidden],
.modal-counter[hidden] {
  display: none;
}
.modal-counter {
  margin-top: 10px;
  text-align: center;
  font:
    10px Arial,
    sans-serif;
  letter-spacing: 0.1em;
  color: #666;
}
.modal-thumbs {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 18px;
}
.modal-thumbs button {
  border: 1px solid #bbb;
  background: white;
  padding: 5px;
  cursor: pointer;
}
.modal-thumbs img {
  width: 110px;
  height: 80px;
  object-fit: contain;
  display: block;
}
.modal-caption {
  text-align: center;
  font:
    10px Arial,
    sans-serif;
  letter-spacing: 0.12em;
  color: #777;
  margin-top: 8px;
}
.click-note {
  text-align: center;
  margin: 16px 0 0;
  font:
    10px Arial,
    sans-serif;
  letter-spacing: 0.12em;
  color: #777;
  text-transform: uppercase;
}
@media (max-width: 760px) {
  .nav-dropdown {
    position: static;
  }
  .dropdown-menu {
    left: auto;
    right: 10px;
  }
  .collection-grid .small-work,
  .collection-grid .large-work {
    max-width: 100% !important;
  }
  .modal-inner {
    padding: 22px 14px;
  }
  .modal-main {
    max-height: 62vh;
  }
}

/* Karl review: calm exhibition spacing; smaller, uniform sold display */
.work-section {
  padding-left: clamp(30px, 9vw, 170px);
  padding-right: clamp(30px, 9vw, 170px);
}
.collection-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(65px, 9vw, 155px) clamp(60px, 9vw, 150px);
  margin: 65px auto 110px;
  max-width: 1040px;
  align-items: start;
}
.collection-grid .large-work {
  max-width: 370px !important;
}
.collection-grid .small-work {
  max-width: 260px !important;
}
.collection-grid article {
  width: 100%;
  margin: auto;
}
.collection-heading {
  margin-top: 85px;
  margin-bottom: 40px;
}
.sold-gallery {
  columns: unset;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 46px 34px;
  max-width: 940px;
  margin: 40px auto 90px;
}
.sold-card {
  display: block;
  width: 100%;
  margin: 0;
  break-inside: auto;
}
.sold-artframe {
  height: 165px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sold-card img {
  width: auto !important;
  height: auto !important;
  max-width: 100% !important;
  max-height: 165px !important;
  object-fit: contain !important;
  margin: auto;
}
@media (max-width: 800px) {
  .collection-grid {
    grid-template-columns: 1fr;
    gap: 65px;
  }
  .sold-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 35px 22px;
  }
  .sold-artframe {
    height: 140px;
  }
  .sold-card img {
    max-height: 140px !important;
  }
}

/* V11 photo review: photography-led additions, preserving the V10 galleries */
.studio-collage {
  grid-template-columns: 1.15fr 0.85fr;
  min-height: 430px;
}
.studio-collage img:first-child {
  object-position: 48% 46%;
}
.studio-collage img:nth-child(2) {
  object-position: 50% 55%;
}
.studio-collage img:nth-child(3) {
  object-position: 50% 70%;
}
.about > img:first-child {
  height: 540px;
  object-fit: cover;
  object-position: 50% 76%;
}
.studio-journal {
  background: #fffdf8;
  padding: 68px 8% 78px;
  scroll-margin-top: 80px;
}
.studio-journal-head {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 35px;
}
.studio-journal .eyebrow {
  font:
    10px Arial,
    sans-serif;
  letter-spacing: 0.25em;
  color: #74756b;
}
.studio-journal h2 {
  font:
    normal 29px/1.25 Georgia,
    serif;
  margin: 15px 0;
}
.studio-journal-head p {
  font:
    italic 15px/1.6 Georgia,
    serif;
  color: #67645c;
  margin: 0;
}
.studio-journal-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr 0.95fr;
  gap: 32px;
  max-width: 1100px;
  margin: auto;
  align-items: start;
}
.studio-journal figure {
  margin: 0;
}
.studio-journal figure img {
  width: 100%;
  height: 285px;
  object-fit: cover;
  object-position: 50% 68%;
  display: block;
}
.studio-journal figure:nth-child(2) img {
  object-position: 50% 72%;
}
.studio-journal figure:nth-child(3) img {
  object-position: 50% 68%;
}
.studio-journal figcaption {
  font:
    italic 13px Georgia,
    serif;
  color: #66645c;
  margin-top: 12px;
}
@media (max-width: 800px) {
  .studio-journal {
    padding: 46px 6%;
  }
  .studio-journal-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
  .studio-journal figure img {
    height: 270px;
  }
  .about > img:first-child {
    height: auto;
    max-height: 630px;
    object-fit: contain;
  }
}
@media (max-width: 520px) {
  .studio-journal-grid {
    grid-template-columns: 1fr;
  }
  .studio-journal figure img {
    height: auto;
    max-height: 450px;
    object-fit: contain;
  }
}

/* V12: restrained, equal-sized About and Studio photographs */
.about {
  grid-template-columns: 0.9fr 1.1fr;
  gap: 6%;
  align-items: center;
  padding: 75px 9%;
}
.about-photo-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  align-self: center;
}
.about-photo-pair img,
.about .about-photo-pair img:first-child {
  display: block;
  width: 100%;
  height: 265px;
  object-fit: cover;
  object-position: center 65%;
}
.about-photo-pair img:nth-child(2) {
  object-position: center 58%;
}
.studio {
  grid-template-columns: 1fr 1fr;
  min-height: unset;
}
.studio-collage {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: 1fr;
  gap: 12px;
  padding: 30px;
  min-height: unset;
  background: #f2efe7;
  align-items: center;
}
.studio-collage img,
.studio-collage img:first-child {
  grid-row: auto;
  width: 100%;
  height: 260px;
  min-height: 0;
  object-fit: cover;
  object-position: center 58%;
}
.studio-copy {
  padding: 42px 8%;
}
@media (max-width: 900px) {
  .about {
    grid-template-columns: 1fr;
    padding: 50px 7%;
  }
  .about-photo-pair {
    max-width: 650px;
    width: 100%;
  }
  .studio {
    grid-template-columns: 1fr;
  }
  .studio-collage {
    padding: 22px;
  }
  .studio-collage img,
  .studio-collage img:first-child {
    height: 230px;
  }
}
@media (max-width: 520px) {
  .about-photo-pair img,
  .about .about-photo-pair img:first-child {
    height: 195px;
  }
  .studio-collage {
    gap: 8px;
    padding: 12px;
  }
  .studio-collage img,
  .studio-collage img:first-child {
    height: 145px;
  }
}

/* V13: display hierarchy based on documented artwork dimensions.
   Dimensions determine relative visual prominence, not literal screen centimetres.
   Works without known dimensions retain a neutral presentation. */
.collection-grid {
  max-width: 1120px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(65px, 8vw, 135px);
  row-gap: clamp(48px, 5.5vw, 78px);
  align-items: start;
  margin: 80px auto 125px;
}
.collection-grid article {
  justify-self: center;
  align-self: start;
  width: 100%;
}
.collection-grid .size-monumental {
  grid-column: auto;
  max-width: var(--painting-width) !important;
  text-align: left;
}
.collection-grid .size-monumental .current-pair-frame {
  width: 100% !important;
  aspect-ratio: auto !important;
  height: auto !important;
  display: block !important;
  overflow: visible !important;
}
.collection-grid .size-monumental .current-pair-frame img {
  width: 100% !important;
  height: auto !important;
  max-height: none !important;
  object-fit: contain !important;
}
.collection-grid .size-small {
  max-width: 220px !important;
  align-self: center;
}
.collection-grid .size-unspecified {
  max-width: 380px !important;
}
.collection-grid .size-monumental h4 {
  margin-top: 10px;
}
/* Portfolio: larger known canvases occupy a larger, airy bay. */
.gallery {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 65px 36px;
  max-width: 1120px;
  margin: 0 auto 95px;
  align-items: start;
}
.gallery .gallery-card {
  width: 100%;
  justify-self: center;
}
.gallery .gallery-card.size-xl {
  grid-column: span 2;
  max-width: 480px;
}
.gallery .gallery-card.size-medium {
  max-width: 255px;
}
.gallery .gallery-card.size-small {
  max-width: 190px;
}
.gallery .gallery-card.size-unspecified {
  max-width: 240px;
}
.gallery .gallery-card .artframe {
  height: auto !important;
  aspect-ratio: auto !important;
}
.gallery .gallery-card img {
  width: 100% !important;
  height: auto !important;
  max-height: none !important;
  object-fit: contain !important;
}
/* Sold work remains consistently modest, as requested. */
@media (max-width: 800px) {
  .collection-grid {
    grid-template-columns: 1fr;
    gap: clamp(38px, 5vw, 55px);
    max-width: 680px;
  }
  .collection-grid .size-monumental {
    grid-column: auto;
    max-width: 100% !important;
  }
  .collection-grid .size-small {
    max-width: 220px !important;
  }
  .gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 55px 24px;
  }
  .gallery .gallery-card.size-xl {
    grid-column: span 2;
    max-width: 480px;
  }
}
@media (max-width: 520px) {
  .collection-grid {
    gap: 36px;
  }
  .collection-grid .size-monumental {
    max-width: 100% !important;
  }
  .collection-grid .size-unspecified {
    max-width: 88% !important;
  }
  .gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 46px 18px;
  }
  .gallery .gallery-card.size-xl {
    grid-column: span 2;
    max-width: 100%;
  }
  .gallery .gallery-card.size-small {
    max-width: 100%;
  }
}

/* V15 consistent dimension-led display scale: width = clamp(170px, 190px × (area_cm²/1200)^0.26, 320px).
   Size is intentionally compressed for screen readability, not a literal physical-size reproduction.
   Other paintings retain existing sizing until their dimensions are confirmed. */
.collection-grid article[data-size-cm] {
  width: 100%;
  max-width: var(--painting-width) !important;
  justify-self: center !important;
  align-self: center;
}
.collection-grid article[data-size-cm] .current-pair-frame {
  width: 100%;
  height: auto !important;
  aspect-ratio: auto !important;
  display: block !important;
  overflow: visible !important;
}
.collection-grid article[data-size-cm] .current-pair-frame img {
  width: 100% !important;
  height: auto !important;
  object-fit: contain !important;
}
@media (max-width: 700px) {
  .collection-grid article[data-size-cm] {
    width: min(100%, var(--painting-width));
    max-width: var(--painting-width) !important;
    margin-inline: auto;
  }
}

/* V16: one dimension-led sizing rule for all known current and available paintings.
   Width in CSS pixels = clamp(170, 190 * ((width_cm*height_cm)/1200)^0.26, 320).
   Responsive widths may shrink to fit screens. Image height is always automatic;
   generous gallery spacing is preserved. Sold gallery is intentionally excluded. */
#work .collection-grid article.size-confirmed,
#work .gallery article.size-confirmed {
  width: min(100%, var(--painting-width)) !important;
  max-width: var(--painting-width) !important;
  justify-self: center !important;
  align-self: center !important;
}
#work .collection-grid article.size-confirmed img,
#work .gallery article.size-confirmed img {
  width: 100% !important;
  height: auto !important;
  max-height: none !important;
  object-fit: contain !important;
}
.recent-grid .recent-card.size-confirmed {
  width: min(100%, var(--painting-width));
  max-width: var(--painting-width);
  justify-self: center;
}
.recent-grid .recent-card.size-confirmed img {
  width: 100%;
  height: auto;
  object-fit: contain;
}
@media (max-width: 520px) {
  #work .collection-grid article.size-confirmed,
  #work .gallery article.size-confirmed {
    width: min(100%, var(--painting-width)) !important;
  }
}

/* Version 18: clearly visible artwork measurements */
.recent-card .meta,
.current-card .meta,
.sold-card .meta {
  line-height: 1.6;
}
.artwork-measurement {
  margin: 6px 0 12px;
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  color: #625f55;
}

/* Work title treatment and understated botanical accents. */
.work-section {
  overflow-x: clip;
}
.work-heading {
  position: relative;
  isolation: isolate;
  padding: 4px 0 22px;
}
.work-heading::before,
.work-heading::after {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
  background-repeat: no-repeat;
}
.work-heading::before {
  top: -65px;
  left: calc(-1 * clamp(30px, 9vw, 170px));
  width: calc(100% + 2 * clamp(30px, 9vw, 170px));
  height: 360px;
  background-image: url("images/gum-branch-northwest.png");
  background-position: left top;
  background-size: clamp(320px, 30vw, 440px) auto;
  opacity: 0.68;
}
.work-heading::after {
  top: 126px;
  right: clamp(8px, 2vw, 30px);
  bottom: auto;
  width: clamp(190px, 22vw, 300px);
  height: 175px;
  background: url("images/eucalyptus_transparent_1.png") right center / contain
    no-repeat;
  opacity: 0.44;
}
.work-heading > .section-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 3vw, 42px);
  width: max-content;
  max-width: 100%;
  margin: 0 auto 34px;
  color: #493a2d;
  font:
    400 17px/1.2 Georgia,
    serif;
  letter-spacing: 0.34em;
}
.work-heading > .section-title::before,
.work-heading > .section-title::after {
  content: "";
  width: clamp(38px, 13vw, 190px);
  border-top: 1px solid #8b7967;
}
.collection-heading {
  position: relative;
  z-index: 1;
  margin: 0 auto;
  color: #49331f;
  font-family: Georgia, "Times New Roman", serif;
  text-align: center;
}
.collection-heading h3 {
  margin: 0 0 12px;
  font: 400 16px/1.4 Georgia, "Times New Roman", serif;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}
.collection-heading h4 {
  margin: 0 0 14px;
  font: 400 clamp(44px, 6.25vw, 90px)/1.08 Georgia, "Times New Roman", serif;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}
.collection-heading p {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(15px, 3.2vw, 44px);
  margin: 0 auto;
  color: #665748;
  font: italic clamp(17px, 2vw, 24px)/1.4 Georgia, "Times New Roman", serif;
}
.collection-heading p::before,
.collection-heading p::after {
  content: "";
  width: clamp(34px, 11vw, 160px);
  border-top: 1px solid #a79884;
}

.portfolio-heading {
  position: relative;
  isolation: isolate;
}
#portfolio-work::before,
#portfolio-work::after,
#sold-work::before {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
  background: center / contain no-repeat;
}
#portfolio-work::before {
  top: -105px;
  left: 0;
  width: clamp(280px, 32vw, 430px);
  height: 245px;
  background-image: url("images/eucalyptus_transparent_1.png");
  background-position: left center;
  opacity: 0.48;
}
#portfolio-work::after {
  display: none;
}
#sold-work::before {
  display: none;
}

#about,
#exhibitions {
  position: relative;
  isolation: isolate;
}
#about::after,
#exhibitions::before,
#exhibitions::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 145px;
  height: 125px;
  background: center / contain no-repeat;
  opacity: 0.62;
  pointer-events: none;
}
#about::after {
  right: 1%;
  top: 0;
  transform: scaleX(-1);
  width: 235px;
  height: 230px;
  background-image: url("images/gum-branch-northeast.png");
}
#exhibitions::before {
  top: 0;
  left: 1%;
  width: 225px;
  height: 230px;
  background-image: url("images/gum-branch-southwest.png");
}
#exhibitions::after {
  right: clamp(16px, 3.5vw, 48px);
  bottom: 0;
  width: 230px;
  height: 270px;
  background-image: url("images/wattle-branch-southeast.png");
}
#studio .studio-copy {
  position: relative;
  isolation: isolate;
}
#studio .studio-copy::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 24px;
  right: 0;
  width: clamp(220px, 26vw, 350px);
  height: 280px;
  background: url("images/eucalyptus_transparent_1.png") center / contain
    no-repeat;
  opacity: 0.44;
  pointer-events: none;
}

@media (max-width: 760px) {
  .work-heading {
    padding-bottom: 16px;
  }
  .work-heading::before,
  .work-heading::after {
    width: auto;
  }
  .work-heading::before {
    top: -45px;
    left: -5vw;
    width: calc(100% + 10vw);
    height: 300px;
    background-size: clamp(260px, 42vw, 330px) auto;
  }
  .work-heading::after {
    right: 4px;
    top: 145px;
    bottom: auto;
    width: clamp(130px, 23vw, 185px);
    height: 110px;
    opacity: 0.38;
  }
  .work-heading > .section-title {
    margin-bottom: 29px;
    font-size: 15px;
  }
  .work-heading > .section-title::before,
  .work-heading > .section-title::after {
    width: clamp(30px, 10vw, 72px);
  }
  .collection-heading h3 {
    font-size: 13px;
    letter-spacing: 0.2em;
  }
  .collection-heading h4 {
    font-size: clamp(26px, 7.2vw, 55px);
    letter-spacing: 0.015em;
    white-space: nowrap;
  }
  .collection-heading p::before,
  .collection-heading p::after {
    width: clamp(22px, 7vw, 48px);
  }
  #portfolio-work::before,
  #portfolio-work::after,
  #sold-work::before {
    width: clamp(180px, 27vw, 280px);
    height: 180px;
  }
  #about::after,
  #exhibitions::before,
  #exhibitions::after {
    width: 165px;
    height: 185px;
    opacity: 0.48;
  }
  #studio .studio-copy::before {
    width: 220px;
    height: 240px;
    opacity: 0.42;
  }
}

@media (max-width: 520px) {
  .work-heading::before {
    top: -26px;
    left: -7vw;
    width: calc(100% + 14vw);
    height: 235px;
    background-size: clamp(210px, 62vw, 270px) auto;
    background-position: left top;
  }
  .work-heading::after {
    top: 146px;
    right: 0;
    width: 110px;
    height: 90px;
    opacity: 0.36;
  }
  .work-heading > .section-title {
    gap: 12px;
    font-size: 13px;
    letter-spacing: 0.3em;
  }
  .work-heading > .section-title::before,
  .work-heading > .section-title::after {
    width: 28px;
  }
  .collection-heading h3 {
    margin-bottom: 10px;
    font-size: 11px;
    letter-spacing: 0.17em;
  }
  .collection-heading h4 {
    margin-bottom: 11px;
    font-size: clamp(24px, 7vw, 38px);
    letter-spacing: 0.015em;
    white-space: nowrap;
  }
  .collection-heading p {
    gap: 10px;
    font-size: 16px;
  }
  .collection-heading p::before,
  .collection-heading p::after {
    width: 18px;
  }
  #portfolio-work::before,
  #portfolio-work::after,
  #sold-work::before {
    width: 160px;
    height: 140px;
    opacity: 0.5;
  }
  #portfolio-work::before {
    top: -78px;
    width: 150px;
    height: 160px;
    background-image: url("images/eucalyptus_transparent_1.png");
    background-position: left center;
    opacity: 0.48;
  }
  #portfolio-work::after {
    display: none;
  }
  #sold-work::before {
    display: none;
  }
  #studio .studio-copy::before {
    right: 0;
    width: 155px;
    height: 190px;
    opacity: 0.36;
  }
  #about::after,
  #exhibitions::before,
  #exhibitions::after {
    width: 125px;
    height: 145px;
    opacity: 0.38;
  }
}

@media (min-width: 761px) {
  .work-heading::after {
    top: 126px;
    right: clamp(8px, 2vw, 30px);
    bottom: auto;
  }
}

.botanical-row {
  grid-column: 1 / -1;
  min-height: clamp(105px, 11vw, 150px);
  background-repeat: no-repeat;
  background-size: auto 100%;
  opacity: 0.46;
  pointer-events: none;
}
.current-botanical {
  background-image: url("images/eucalyptus_leaves.png");
  min-height: clamp(175px, 20vw, 245px);
  margin-top: -28px;
  background-position: center;
  background-size: auto 145%;
  opacity: 0.52;
  position: relative;
  z-index: 1;
}
.lower-current-botanical {
  grid-column: 2;
  min-height: clamp(180px, 21vw, 250px);
  background-image: url("images/eucalyptus_transparent_1.png");
  background-position: right center;
  background-size: auto 100%;
  opacity: 0.42;
}
.gallery-botanical {
  background-image: url("images/eucalyptus_gumnuts.png");
  background-position: right center;
}
.botanical-divider {
  height: clamp(190px, 20vw, 260px);
  margin: 0 0 10px;
  background: url("images/golden_wattle.png") 62% center / auto 100%
    no-repeat;
  opacity: 0.45;
  pointer-events: none;
}
#work .gallery article.patchwork-feature.size-confirmed {
  grid-column: 2 / 4;
  grid-row: 1;
  width: min(500px, 100%) !important;
  max-width: min(500px, 100%) !important;
}

.gallery-children,
.gallery-remaining {
  grid-column: 1 / -1;
  width: 100%;
  margin: 0;
}
.gallery-children {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-areas:
    ". patchwork ."
    "vogue . ladder";
  align-items: end;
}
.gallery-children .patchwork-feature {
  grid-area: patchwork;
}
.gallery-children [data-title="Vogue House"] {
  grid-area: vogue;
}
.gallery-children [data-title="The Secret Ladder"] {
  grid-area: ladder;
}
#work .gallery-children article.patchwork-feature.size-confirmed {
  width: min(255px, 100%) !important;
  max-width: min(255px, 100%) !important;
}
.gallery-remaining {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.gallery-remaining .gallery-botanical {
  grid-column: 1 / -1;
  min-height: clamp(125px, 15vw, 185px);
  background-position: right center;
}
.gallery-remaining .gallery-valerie {
  grid-column: 4;
  grid-row: 2;
}
.gallery-remaining [data-title="Pisces"] {
  grid-column: 1;
  grid-row: 2;
}
.gallery-remaining [data-title="Seagull Beach"] {
  grid-column: 2;
  grid-row: 2;
}
.gallery-remaining [data-title="Waxflower"] {
  grid-column: 3;
  grid-row: 2;
}
.sold-section {
  margin-inline: calc(-1 * clamp(30px, 9vw, 170px));
  padding: clamp(28px, 4vw, 58px) clamp(30px, 9vw, 170px) 1px;
  background: #eeece5;
}

@media (max-width: 800px) {
  .lower-current-botanical {
    grid-column: 1;
    min-height: 150px;
    background-size: auto 100%;
  }
  .gallery-children {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-areas:
      "patchwork patchwork"
      "vogue ladder";
    gap: 42px 24px;
  }
  #work .gallery-children article.patchwork-feature.size-confirmed {
    grid-column: 1 / -1;
    width: min(255px, 88%) !important;
    max-width: min(255px, 88%) !important;
  }
  .gallery-remaining {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .gallery-remaining .gallery-botanical {
    min-height: 140px;
  }
  .gallery-remaining .gallery-valerie {
    grid-column: 2;
    grid-row: 2;
  }
  .gallery-remaining [data-title="Pisces"] {
    grid-column: 1;
    grid-row: 2;
  }
  .gallery-remaining [data-title="Seagull Beach"] {
    grid-column: 1;
    grid-row: 3;
  }
  .gallery-remaining [data-title="Waxflower"] {
    grid-column: 2;
    grid-row: 3;
  }
  .sold-section {
    margin-inline: calc(-1 * clamp(30px, 9vw, 170px));
  }
}

@media (max-width: 760px) {
  #studio .studio-copy::before {
    width: 220px;
    height: 240px;
  }
}

@media (max-width: 520px) {
  .work-heading::before {
    background-size: clamp(190px, 66vw, 250px) auto;
  }
  .work-heading::after {
    width: 98px;
    height: 82px;
  }
  .current-botanical {
    min-height: 155px;
    margin-top: -18px;
    background-size: auto 140%;
  }
  .lower-current-botanical {
    min-height: 100px;
    background-size: auto 100%;
  }
  .gallery-children {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "patchwork"
      "vogue"
      "ladder";
    gap: 38px;
  }
  #work .gallery-children article.patchwork-feature.size-confirmed {
    width: min(255px, 88%) !important;
    max-width: min(255px, 88%) !important;
  }
  .gallery-remaining {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
  }
  .gallery-remaining .gallery-valerie {
    grid-column: 1;
  }
  .gallery-remaining .gallery-card {
    grid-column: 1;
    grid-row: auto;
  }
  #work .gallery:not(.gallery-children):not(.gallery-remaining) {
    grid-template-columns: minmax(0, 1fr);
  }
  #work .gallery:not(.gallery-children):not(.gallery-remaining)
    .gallery-card.size-xl {
    grid-column: 1;
  }
  .sold-section {
    margin-inline: -30px;
    padding-inline: 30px;
  }
  .botanical-divider {
    background-position: 66% center;
  }
  .botanical-row {
    min-height: 100px;
  }
  .current-botanical {
    background-size: auto 112%;
  }
  .botanical-divider {
    height: 150px;
    margin: 12px 0 20px;
  }
  #studio .studio-copy {
    padding-bottom: 170px;
  }
  #studio .studio-copy::before {
    top: auto;
    right: 12px;
    bottom: 14px;
    width: 145px;
    height: 105px;
    opacity: 0.38;
  }
}

#work .gallery-children > article.size-confirmed {
  align-self: start !important;
}
#work .gallery-children [data-title="The Secret Ladder"].size-confirmed {
  width: min(247px, 100%) !important;
  max-width: min(247px, 100%) !important;
}
#work .gallery-children .patchwork-feature .artframe {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
}
#work .gallery-children .patchwork-feature .artframe img {
  width: auto !important;
  height: 185px !important;
  max-width: 100% !important;
  max-height: 185px !important;
  object-fit: contain !important;
}

#work .collection-grid {
  position: relative;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(36px, 6vw, 90px);
  row-gap: clamp(58px, 7vw, 90px);
  align-items: start;
}
#work .collection-grid > [data-title="Longview"] {
  grid-column: 1;
  grid-row: 1;
}
#work .collection-grid > [data-title="Fragments of Earth"] {
  grid-column: 2;
  grid-row: 1;
}
#work .collection-grid > [data-title="It's a Daylight Serenade"] {
  grid-column: 1;
  grid-row: 2;
}
#work .collection-grid > [data-title="Old Growth Is Wise"] {
  grid-column: 2;
  grid-row: 2;
  align-self: center !important;
}
#work .collection-grid > [data-title="Mushroom Season"] {
  grid-column: 1;
  grid-row: 3;
}
#work .collection-grid > [data-title="Winter Walk"] {
  grid-column: 2;
  grid-row: 3;
}
#work .collection-grid .large-work {
  width: min(100%, 430px) !important;
  max-width: 430px !important;
}
#work .collection-grid .current-pair-frame {
  width: 100% !important;
  height: 280px !important;
  aspect-ratio: auto !important;
}
#work .collection-grid article.landscape-pair.size-confirmed .current-pair-frame img {
  width: 100% !important;
  height: 280px !important;
  max-height: 280px !important;
  object-fit: contain !important;
}
#work .collection-grid .current-botanical,
#work .collection-grid .lower-current-botanical {
  grid-column: 1 / -1;
  grid-row: 2 / 4;
  min-height: 0;
  height: 100%;
  align-self: stretch;
  z-index: 0;
  pointer-events: none;
}
#work .collection-grid .current-botanical {
  margin: 0;
  background-position: right 12%;
  background-size: auto 32%;
  opacity: 0.16;
}
#work .collection-grid .lower-current-botanical {
  background-position: left 90%;
  background-size: auto 34%;
  opacity: 0.16;
}
#work .collection-grid > article {
  position: relative;
  z-index: 1;
}

#work .gallery-children {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-areas: none;
  gap: 48px clamp(22px, 4vw, 48px);
  align-items: start;
}
#work .gallery-children > article {
  grid-area: auto;
  grid-column: auto !important;
  grid-row: auto !important;
  align-self: start !important;
  justify-self: center;
}
#work .gallery-children > article.patchwork-feature.size-confirmed {
  grid-area: auto !important;
  grid-column: auto !important;
  grid-row: auto !important;
}
#work .gallery-children .patchwork-feature,
#work .gallery-children [data-title="Vogue House"] {
  width: min(255px, 100%) !important;
  max-width: 255px !important;
}
#work .gallery-children [data-title="The Secret Ladder"] {
  width: min(247px, 100%) !important;
  max-width: 247px !important;
}
#work .gallery-remaining {
  row-gap: 55px;
}
#work .gallery-remaining article.gallery-valerie.size-confirmed {
  grid-column: 2 / 4;
  grid-row: 2;
  width: min(390px, 100%) !important;
  max-width: 390px !important;
  justify-self: center !important;
}
#work .gallery-remaining [data-title="Pisces"] {
  grid-column: 1;
  grid-row: 3;
}
#work .gallery-remaining [data-title="Seagull Beach"] {
  grid-column: 2;
  grid-row: 3;
}
#work .gallery-remaining [data-title="Waxflower"] {
  grid-column: 3;
  grid-row: 3;
}

@media (max-width: 800px) {
  #work .gallery-children {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-areas: none;
    gap: 38px 24px;
  }
  #work .gallery-children > article.patchwork-feature.size-confirmed {
    grid-column: 1 / -1 !important;
    grid-row: 1 !important;
  }
  #work .gallery-children [data-title="Vogue House"] {
    grid-column: 1 !important;
    grid-row: 2 !important;
  }
  #work .gallery-children [data-title="The Secret Ladder"] {
    grid-column: 2 !important;
    grid-row: 2 !important;
  }
  #work .gallery-remaining article.gallery-valerie.size-confirmed {
    grid-column: 1 / -1;
    grid-row: 2;
    width: min(390px, 100%) !important;
    max-width: 390px !important;
  }
  #work .gallery-remaining [data-title="Pisces"] {
    grid-column: 1;
    grid-row: 3;
  }
  #work .gallery-remaining [data-title="Seagull Beach"] {
    grid-column: 2;
    grid-row: 3;
  }
  #work .gallery-remaining [data-title="Waxflower"] {
    grid-column: 1;
    grid-row: 4;
  }
}

@media (max-width: 700px) {
  #work .collection-grid {
    grid-template-columns: minmax(0, 1fr) !important;
    row-gap: 48px;
  }
  #work .collection-grid > [data-title="Longview"] {
    grid-column: 1;
    grid-row: 1;
  }
  #work .collection-grid > [data-title="Fragments of Earth"] {
    grid-column: 1;
    grid-row: 2;
  }
  #work .collection-grid > [data-title="It's a Daylight Serenade"] {
    grid-column: 1;
    grid-row: 3;
  }
  #work .collection-grid > [data-title="Old Growth Is Wise"] {
    grid-column: 1;
    grid-row: 4;
    align-self: start !important;
  }
  #work .collection-grid > [data-title="Mushroom Season"] {
    grid-column: 1;
    grid-row: 5;
  }
  #work .collection-grid > [data-title="Winter Walk"] {
    grid-column: 1;
    grid-row: 6;
  }
  #work .collection-grid .current-botanical,
  #work .collection-grid .lower-current-botanical {
    display: none;
  }
}

@media (max-width: 520px) {
  #work .gallery-children {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: none;
    gap: 38px;
  }
  #work .gallery-children > article {
    grid-column: 1 !important;
    grid-row: auto !important;
  }
  #work .gallery-children > article.patchwork-feature.size-confirmed,
  #work .gallery-children [data-title="Vogue House"],
  #work .gallery-children [data-title="The Secret Ladder"] {
    grid-column: 1 !important;
    grid-row: auto !important;
  }
  #work .gallery-remaining article.gallery-valerie.size-confirmed {
    grid-column: 1;
    grid-row: 2;
    width: min(390px, 100%) !important;
    max-width: 390px !important;
  }
  #work .gallery-remaining [data-title="Pisces"] {
    grid-column: 1;
    grid-row: 3;
  }
  #work .gallery-remaining [data-title="Seagull Beach"] {
    grid-column: 1;
    grid-row: 4;
  }
  #work .gallery-remaining [data-title="Waxflower"] {
    grid-column: 1;
    grid-row: 5;
  }
}

/* Current collection: restrained, dimension-led sizing with complete room views. */
#work .collection-grid {
  max-width: 1120px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(36px, 6vw, 82px);
  row-gap: clamp(42px, 5vw, 68px);
  align-items: start;
  margin: 52px auto 82px;
}
#work .landscape-collection-grid {
  margin-top: 0;
}
#work .landscape-collection-grid > [data-title="Longview"] {
  grid-column: 1;
  grid-row: 1;
}
#work .landscape-collection-grid > [data-title="Fragments of Earth"] {
  grid-column: 2;
  grid-row: 1;
}
#work .landscape-collection-grid > [data-title="When Did the Light Change?"] {
  grid-column: 1;
  grid-row: 2;
}
#work .landscape-collection-grid > [data-title="Solid Rock"] {
  grid-column: 2;
  grid-row: 2;
}
#work .landscape-collection-grid > [data-title="Earth Energy"] {
  grid-column: 1;
  grid-row: 3;
}
#work .landscape-collection-grid > [data-title="Jarosite Oxide"] {
  grid-column: 2;
  grid-row: 3;
}
#work .landscape-collection-grid > [data-title="Bathurst Weekend"] {
  grid-column: 1 / -1;
  grid-row: 4;
  justify-self: center;
  width: min(100%, 480px) !important;
}
#work .landscape-collection-grid > [data-title="It's a Daylight Serenade"] {
  grid-column: 1 / -1;
  grid-row: 5;
  justify-self: center;
  align-self: start !important;
}
#work .landscape-collection-grid > .small-painting-pair {
  grid-column: 1 / -1;
  grid-row: 6;
  display: flex;
  justify-content: center;
  align-self: start !important;
  align-items: flex-start;
  gap: clamp(80px, 12vw, 180px);
}
#work .landscape-collection-grid > .small-painting-pair > article {
  width: min(65%, 230px) !important;
  max-width: 230px !important;
  align-self: flex-start !important;
  margin-top: 0 !important;
}
#work .landscape-collection-grid > [data-title="Mushroom Season"] {
  grid-column: 1;
  grid-row: 7;
}
#work .landscape-collection-grid > [data-title="Winter Walk"] {
  grid-column: 2;
  grid-row: 7;
}
#work .collection-grid > article.artwork-large {
  width: min(100%, 480px) !important;
  max-width: 480px !important;
  align-self: start !important;
}
#work .collection-grid > article.artwork-medium {
  width: min(85%, 350px) !important;
  max-width: 350px !important;
  align-self: start !important;
}
#work .collection-grid > article.artwork-small {
  width: min(65%, 230px) !important;
  max-width: 230px !important;
  align-self: start !important;
}
#work .collection-grid .current-pair-frame {
  width: 100% !important;
  height: auto !important;
  aspect-ratio: auto !important;
  overflow: visible !important;
}
#work .collection-grid .current-pair-frame img {
  width: 100% !important;
  height: auto !important;
  max-height: none !important;
  object-fit: contain !important;
}
#work .collection-grid .current-botanical,
#work .collection-grid .lower-current-botanical {
  grid-column: 1 / -1;
  grid-row: 2 / 6;
  min-height: 0;
  height: 100%;
  align-self: stretch;
}

/* Artwork groupings in the This Is Australia collection. */
.collection-heading .ai-image-disclosure {
  display: block;
  max-width: 760px;
  margin: 14px auto 0;
  color: #777064;
  font: 11px/1.6 Arial, sans-serif;
}
.collection-heading .ai-image-disclosure::before,
.collection-heading .ai-image-disclosure::after {
  content: none;
}
.collection-subsection-title {
  margin: 30px 0 18px;
  color: #594b40;
  text-align: center;
  font: italic 22px/1.3 Georgia, "Times New Roman", serif;
  letter-spacing: 0.04em;
}
.botanical-intro {
  max-width: 760px;
  margin: -10px auto 32px;
  color: #665748;
  text-align: center;
  font: italic 14px/1.7 Georgia, "Times New Roman", serif;
}
#work .botanical-grid {
  max-width: 1050px;
  display: flex;
  flex-direction: column;
  gap: clamp(36px, 5vw, 62px);
  align-items: stretch;
  margin: 0 auto 82px;
}
#work .botanical-feature-row {
  display: flex;
  justify-content: center;
}
#work .botanical-pair-row {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: clamp(24px, 5vw, 72px);
}
#work .botanical-feature-row > article.garden-bits {
  --painting-width: 270px;
  width: min(270px, 100%) !important;
  max-width: 270px !important;
}
#work .botanical-pair-row > article.maroon-one {
  --painting-width: 320px;
  width: min(320px, 100%) !important;
  max-width: 320px !important;
}
#work .botanical-pair-row > article.posh-pink {
  --painting-width: 280px;
  width: min(280px, 100%) !important;
  max-width: 280px !important;
}
#work .botanical-pair-row > article.red-jug-green {
  --painting-width: 260px;
  width: min(260px, 100%) !important;
  max-width: 260px !important;
}
#work .botanical-pair-row > article.shadey-one {
  --painting-width: 260px;
  width: min(260px, 100%) !important;
  max-width: 260px !important;
}
#work .botanical-grid article.botanical-artwork {
  align-self: flex-start !important;
  margin-top: 0 !important;
}
#work .botanical-grid .botanical-artwork img {
  width: 100% !important;
  height: auto !important;
  max-height: none !important;
  object-fit: contain !important;
}
.artwork-info-dialog {
  width: min(560px, calc(100% - 32px));
  max-height: min(80vh, 640px);
  padding: 30px;
  border: 1px solid #d5ccbd;
  background: #f8f6f0;
  color: #493a2d;
}
.artwork-info-dialog::backdrop {
  background: rgba(20, 24, 20, 0.72);
}
.artwork-info-dialog h2 {
  margin: 0 36px 16px 0;
  font: 24px/1.3 Georgia, "Times New Roman", serif;
}
.artwork-info-dialog p {
  margin: 0;
  font: 14px/1.7 Georgia, "Times New Roman", serif;
}
.artwork-info-close {
  position: absolute;
  top: 10px;
  right: 12px;
  border: 0;
  background: transparent;
  color: inherit;
  font-size: 26px;
  cursor: pointer;
}
.artwork-info-link {
  display: inline-block;
  margin-top: 12px;
  color: inherit;
  font: 10px/1.4 Arial, sans-serif;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 700px) {
  #work .collection-grid {
    grid-template-columns: minmax(0, 1fr) !important;
    row-gap: 42px;
  }
  #work .landscape-collection-grid > [data-title] {
    grid-column: 1 !important;
    grid-row: auto !important;
  }
  #work .landscape-collection-grid > .small-painting-pair {
    grid-column: 1 !important;
    grid-row: auto !important;
    width: 100%;
    flex-direction: column;
    align-items: center;
    gap: 42px;
  }
  #work .landscape-collection-grid > [data-title="Bathurst Weekend"] {
    grid-column: 1 !important;
    justify-self: center !important;
  }
  #work .botanical-grid {
    flex-direction: column;
    gap: 38px;
  }
  #work .botanical-pair-row {
    flex-direction: column;
    align-items: center;
    gap: 38px;
  }
  #work .botanical-feature-row > article.garden-bits {
    width: min(270px, 100%) !important;
    max-width: 270px !important;
  }
  #work .botanical-pair-row > article.maroon-one {
    width: min(320px, 100%) !important;
    max-width: 320px !important;
  }
  #work .botanical-pair-row > article.posh-pink {
    width: min(280px, 100%) !important;
    max-width: 280px !important;
  }
  #work .botanical-pair-row > article.red-jug-green,
  #work .botanical-pair-row > article.shadey-one {
    width: min(260px, 100%) !important;
    max-width: 260px !important;
  }
  #work .collection-grid > article.artwork-large {
    width: min(100%, 440px) !important;
    max-width: 440px !important;
  }
  #work .collection-grid > article.artwork-medium {
    width: min(100%, 330px) !important;
    max-width: 330px !important;
  }
  #work .collection-grid > article.artwork-small {
    width: min(100%, 230px) !important;
    max-width: 230px !important;
  }
  #work .collection-grid .current-botanical,
  #work .collection-grid .lower-current-botanical {
    display: none;
  }
}
