:root {
  color-scheme: light;
  --paper: #fff;
  --ground: #eeede9;
  --ink: #1f211f;
  --muted: #656a66;
  --line: rgba(31, 33, 31, 0.14);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--ground);
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 50% 0, rgba(255,255,255,.85), transparent 36rem),
    var(--ground);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.catalogue-header {
  position: sticky;
  top: 0;
  z-index: 10;
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 3vw, 42px);
  border-bottom: 1px solid var(--line);
  background: rgba(247, 246, 242, .92);
  backdrop-filter: blur(18px);
}

.identity {
  display: flex;
  flex-direction: column;
  gap: 3px;
  text-decoration: none;
  letter-spacing: .16em;
  font-size: 12px;
}

.identity small {
  color: var(--muted);
  font-size: 9px;
  letter-spacing: .08em;
}

nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 26px);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

nav a { text-underline-offset: 4px; }

.page-nav {
  appearance: none;
  border: 0;
  padding: 4px;
  color: inherit;
  background: transparent;
  font: inherit;
  cursor: pointer;
}

.page-status {
  min-width: 46px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.catalogue {
  width: min(100%, 1120px);
  margin: 0 auto;
  padding: clamp(24px, 5vw, 70px) clamp(12px, 4vw, 44px) 80px;
}

.catalogue-page {
  width: min(100%, 820px);
  margin: 0 auto clamp(24px, 6vw, 74px);
  scroll-margin-top: 88px;
  background: var(--paper);
  box-shadow: 0 18px 55px rgba(22, 24, 21, .13), 0 2px 8px rgba(22, 24, 21, .08);
}

.catalogue-page img {
  display: block;
  width: 100%;
  height: auto;
}

.catalogue-page--cover {
  position: relative;
  container-type: inline-size;
}

.cover-title {
  position: absolute;
  top: 18.7%;
  left: 8.2%;
  width: 73%;
  padding: 1.75% .6% 1.45%;
  background: #f4f3ee;
  color: #242424;
  font-size: 4.55cqw;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0;
  white-space: nowrap;
}

.cover-art-replacement {
  position: absolute;
  top: 37.1%;
  left: 9.7%;
  width: 80.6%;
  height: 49.2%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #eee8e0;
}

.catalogue-page .cover-art-replacement img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.catalogue-page--about {
  position: relative;
  padding: clamp(38px, 6.15%, 52px);
  overflow: hidden;
}

.catalogue-page--about h1 {
  margin: 0 0 5.8%;
  color: #526b66;
  font-size: clamp(11px, 1.55vw, 18px);
  font-weight: 400;
}

.about-copy {
  max-width: 82%;
  font-size: clamp(10px, 1.48vw, 17px);
  line-height: 1.85;
}

.about-copy p { margin: 0 0 4.6%; }

.artist-statement {
  max-width: 42rem;
  font-size: clamp(10px, 1.24vw, 14px);
  line-height: 1.72;
}

.artist-statement p { margin-bottom: 3.2%; }

.artist-statement-portrait {
  float: right;
  width: 28%;
  height: auto;
  margin: 0 0 4% 5%;
  object-fit: cover;
}

.about-contact {
  display: flex;
  flex-direction: column;
  gap: .7em;
  margin-top: clamp(30px, 5vw, 52px);
  font-size: clamp(8px, 1.18vw, 13px);
}

.about-contact strong {
  margin-bottom: .7em;
  color: #526b66;
  font-weight: 400;
}

.about-contact a { text-decoration: none; }

.about-note {
  margin: clamp(28px, 4vw, 42px) 0 0;
  color: #6e6e6e;
  font-size: clamp(6px, .9vw, 10px);
}

.catalogue-page--about .artwork-footer {
  position: static;
  margin-top: clamp(24px, 3vw, 34px);
}

.catalogue-page--artwork {
  position: relative;
  aspect-ratio: 595.28 / 841.89;
  padding: 6.15% 6.15% 4.6%;
  color: #242424;
  overflow: hidden;
}

.catalogue-page--artwork .artwork-section {
  margin: 0;
  color: #6e6e6e;
  font-size: clamp(8px, 1.28vw, 15px);
  line-height: 1;
}

.catalogue-page--artwork .artwork-image {
  width: 100%;
  height: auto;
  margin-top: 4.5%;
  object-fit: contain;
  cursor: zoom-in;
  user-select: none;
  -webkit-user-drag: none;
}

.catalogue-page--artwork picture { display: block; width: 100%; margin-top: 4.5%; }
.catalogue-page--artwork picture .artwork-image { margin-top: 0; }

.catalogue-page--work .artwork-image {
  width: 100%;
  height: 62%;
  margin-top: 4%;
  object-fit: contain;
}

.catalogue-page--work picture { height: 62%; margin-top: 4%; }
.catalogue-page--work picture .artwork-image { height: 100%; margin-top: 0; }

.catalogue-page--work .artwork-caption {
  margin-top: 3.5%;
}

.artwork-title {
  margin: 4.5% 0 0;
  font-size: clamp(12px, 1.7vw, 20px);
  font-style: italic;
  font-weight: 400;
  line-height: 1.2;
}

.artwork-title span { margin-right: .35em; }

.individual-works {
  width: min(1120px, calc(100% - 36px));
  margin: clamp(58px, 9vw, 120px) auto;
  padding: clamp(30px, 5vw, 58px) 0;
  border-top: 1px solid rgba(36, 36, 36, .22);
  border-bottom: 1px solid rgba(36, 36, 36, .22);
  display: grid;
  grid-template-columns: minmax(220px, .75fr) minmax(0, 1.5fr);
  gap: clamp(34px, 7vw, 92px);
}

.individual-works-heading h2 {
  margin: .35em 0 .7em;
  font: italic 400 clamp(28px, 4vw, 48px)/1.05 Georgia, serif;
}

.individual-works-heading > p:last-child {
  max-width: 32em;
  margin: 0;
  color: #5f625e;
  font-size: 13px;
  line-height: 1.65;
}

.individual-works-list {
  margin: 0;
  padding: 0;
  list-style: none;
  columns: 2;
  column-gap: clamp(26px, 5vw, 62px);
}

.individual-works-list li {
  break-inside: avoid;
  border-top: 1px solid rgba(36, 36, 36, .12);
}

.individual-works-list a {
  padding: 11px 0 10px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  color: inherit;
  text-decoration: none;
}

.individual-works-list span {
  font: italic 400 15px/1.25 Georgia, serif;
}

.individual-works-list small {
  flex: 0 0 auto;
  color: #777a76;
  font-size: 8px;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.individual-works-list a:hover span,
.individual-works-list a:focus-visible span { text-decoration: underline; text-underline-offset: 4px; }

@media (max-width: 720px) {
  .individual-works { grid-template-columns: 1fr; }
  .individual-works-list { columns: 1; }
}

.artwork-caption {
  margin-top: 5%;
}

.artwork-caption h1 {
  margin: 0 0 1.4%;
  font-size: clamp(12px, 1.7vw, 20px);
  font-style: italic;
  font-weight: 400;
  line-height: 1.2;
}

.artwork-caption h1 span { margin-right: .35em; }

.artwork-details {
  margin: 0 0 3%;
  color: #6e6e6e;
  font-size: clamp(7px, 1.08vw, 12px);
}

.artwork-description {
  max-width: 92%;
  margin: 0;
  font-size: clamp(6px, .9vw, 10px);
  line-height: 1.35;
}

.artwork-actions {
  display: flex;
  align-items: center;
  gap: 1.2em;
  margin-top: 2.2%;
  font-size: clamp(6px, .82vw, 9px);
  text-transform: uppercase;
  letter-spacing: .08em;
}

.artwork-availability { margin: 0; color: #526b66; }
.artwork-enquire { text-underline-offset: 3px; }

.artwork-footer {
  position: absolute;
  right: 6.15%;
  bottom: 3.3%;
  left: 6.15%;
  display: flex;
  justify-content: space-between;
  color: #6e6e6e;
  font-size: clamp(6px, .82vw, 9px);
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  padding: 28px clamp(18px, 3vw, 42px) 42px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

footer p { margin: 0; }
footer a { text-underline-offset: 4px; }

.site-information {
  width: min(calc(100% - 32px), 820px);
  margin: 0 auto 70px;
  padding: clamp(30px, 6vw, 62px);
  display: grid;
  grid-template-columns: 1.35fr .85fr;
  gap: clamp(34px, 7vw, 72px);
  background: #fff;
  box-shadow: 0 18px 55px rgba(22, 24, 21, .1);
  font-family: Georgia, serif;
  font-size: 15px;
  line-height: 1.7;
}


.site-information h2 { margin: .2em 0 1em; font-size: 25px; font-weight: 400; }
.site-information p { margin: 0 0 1em; }
.information-kicker { color: #526b66; font: 10px/1.2 "Helvetica Neue", sans-serif; letter-spacing: .14em; text-transform: uppercase; }
.studio-enquiry { display: inline-block; padding: 12px 15px; border: 1px solid var(--ink); text-decoration: none; font: 10px/1.2 "Helvetica Neue", sans-serif; letter-spacing: .1em; text-transform: uppercase; }

.lightbox {
  width: 100vw;
  max-width: none;
  height: 100vh;
  max-height: none;
  margin: 0;
  border: 0;
  padding: 38px 70px 28px;
  color: #fff;
  background: rgba(12, 13, 12, .96);
}
.lightbox::backdrop { background: rgba(0, 0, 0, .78); }
.lightbox[open] { display: grid; grid-template-columns: 42px 1fr 42px; align-items: center; }
.lightbox figure { min-width: 0; height: 100%; margin: 0; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 14px; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 100px); object-fit: contain; user-select: none; -webkit-user-drag: none; }
.lightbox figcaption { font-size: 12px; letter-spacing: .08em; }
.lightbox button { border: 0; color: #fff; background: transparent; cursor: pointer; font-size: 24px; }
.lightbox-close { position: absolute; top: 15px; right: 20px; }

@media (max-width: 680px) {
  .catalogue-header {
    align-items: flex-start;
    min-height: 62px;
    padding: 12px 14px;
  }

  .identity small,
  .page-status,
  nav a:nth-of-type(1), nav a:nth-of-type(3) { display: none; }

  .identity { margin-top: 9px; font-size: 10px; }
  .catalogue { padding: 16px 8px 48px; }
  .catalogue-page { margin-bottom: 20px; box-shadow: 0 7px 22px rgba(22, 24, 21, .12); }
  footer { flex-direction: column; gap: 9px; padding: 24px 14px 34px; font-size: 9px; }
  nav { gap: 9px; font-size: 9px; }
  .site-information { grid-template-columns: 1fr; margin-bottom: 35px; padding: 30px 24px; font-size: 14px; }
  .catalogue-page--about { aspect-ratio: auto; min-height: 0; padding: 34px 28px 28px; }
  .catalogue-page--about h1 { margin-bottom: 24px; font-size: 12px; }
  .catalogue-page--about .artist-statement { max-width: 34rem; font-size: 14px; line-height: 1.65; }
  .catalogue-page--about .artist-statement p { margin-bottom: 1.15em; }
  .catalogue-page--about .artist-statement-portrait { width: min(42%, 220px); margin: 0 0 20px 22px; }
  .catalogue-page--about .about-contact { margin-top: 30px; font-size: 10px; }
  .catalogue-page--about .about-note { margin-top: 28px; font-size: 9px; }
  .catalogue-page--about .artwork-footer { margin-top: 24px; font-size: 8px; }
  .lightbox { padding: 45px 10px 20px; }
  .lightbox[open] { grid-template-columns: 32px 1fr 32px; }
}

@media print {
  .catalogue-header, footer { display: none; }
  .catalogue { width: auto; margin: 0; padding: 0; }
  .catalogue-page { width: 100%; margin: 0; box-shadow: none; break-after: page; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
