:root {
  --ink: #183c2c;
  --muted: #566757;
  --paper: #fffaf0;
  --cream: #f2ecd9;
  --line: #d3d8c5;
  --lime: #d5e7ad;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font:
    15px/1.6 "Avenir Next",
    "Segoe UI",
    system-ui,
    sans-serif;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
a {
  color: inherit;
  text-underline-offset: 4px;
}
a:hover {
  color: #54723b;
}
a:focus-visible,
button:focus-visible,
video:focus-visible {
  outline: 3px solid #b86831;
  outline-offset: 5px;
}
button {
  font: inherit;
  cursor: pointer;
}
img,
video {
  max-width: 100%;
}
.skip-link {
  position: absolute;
  top: -100px;
  left: 15px;
  background: var(--ink);
  color: white;
  padding: 12px;
  z-index: 5;
}
.skip-link:focus {
  top: 15px;
}
.site-header {
  max-width: 1180px;
  margin: auto;
  padding: 25px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  font-weight: 800;
  font-size: 19px;
  letter-spacing: -0.4px;
}
.site-header nav {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 13px;
}
.site-header nav a {
  text-decoration: none;
  padding: 8px 0;
}
.site-header nav a[aria-current] {
  border-bottom: 2px solid var(--ink);
}
main {
  max-width: 1120px;
  margin: auto;
  padding: 0 30px;
}
h1,
h2,
p,
figure {
  margin: 0;
}
.gallery-intro {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: flex-end;
  padding: 58px 0 42px;
}
.eyebrow {
  text-transform: uppercase;
  font-size: 10px;
  letter-spacing: 2px;
  font-weight: 750;
}
h1 {
  font:
    400 clamp(56px, 7vw, 88px)/1.1 Georgia,
    serif;
  letter-spacing: -4px;
  margin: 20px 0 23px;
}
h1 em {
  color: #607846;
  font-weight: 400;
}
.intro {
  font-size: 21px;
  line-height: 1.5;
}
.intro-note {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 12px;
  color: var(--muted);
  padding-bottom: 5px;
}
.intro-note > span {
  font:
    55px Georgia,
    serif;
  color: #769452;
}
.review-note {
  border: 1px solid #dbcda7;
  background: #f4ecd5;
  border-radius: 9px;
  padding: 13px 16px;
  display: flex;
  gap: 17px;
  align-items: center;
}
.draft {
  font-size: 9px;
  letter-spacing: 1px;
  white-space: nowrap;
  color: #665a32;
  font-weight: 750;
}
.review-note p {
  font-size: 11px;
  color: #665a32;
}
.collection-heading {
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  margin-top: 38px;
  padding-bottom: 15px;
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.collection-heading p {
  font-weight: 750;
}
.gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px 34px;
  margin-top: 27px;
}
.art-card {
  min-width: 0;
}
.art-open {
  display: block;
  border-radius: 12px;
  text-decoration: none;
}
.art-mat {
  height: 380px;
  position: relative;
  padding: 26px;
  background: #e9eddc;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.art-2 .art-mat {
  background: #f0dfd0;
}
.art-3 .art-mat {
  background: #e4e5ef;
}
.art-4 .art-mat {
  background: #e2e9df;
}
.art-mat img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 5px 8px #183c2c12);
}
.expand {
  position: absolute;
  right: 12px;
  bottom: 12px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 50%;
  width: 33px;
  height: 33px;
  display: grid;
  place-items: center;
  font-size: 17px;
  transition: transform 0.15s;
}
.art-open:hover .expand {
  transform: translate(2px, -2px);
}
.motion-label {
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 5px 9px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 20px;
  font-size: 10px;
}
.art-label {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  text-transform: uppercase;
  letter-spacing: 1.3px;
  font-size: 9px;
  color: var(--muted);
  margin: 19px 0 8px;
}
figcaption h2 {
  font:
    400 29px/1.25 Georgia,
    serif;
  letter-spacing: -0.7px;
}
figcaption > p {
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
  margin-top: 9px;
  max-width: 480px;
}
.originals {
  display: flex;
  gap: 17px;
  flex-wrap: wrap;
  margin-top: 14px;
  font-size: 10px;
}
.originals a {
  text-decoration-color: #aebc9f;
}
.gallery-footnote {
  display: flex;
  gap: 20px;
  align-items: center;
  padding: 42px 0 48px;
  font-size: 11px;
  color: var(--muted);
}
.gallery-footnote > span {
  font-size: 30px;
  color: #71855a;
}
footer {
  max-width: 1180px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
  padding: 26px 30px 35px;
  font-size: 11px;
  color: var(--muted);
}
footer > a {
  font-weight: 700;
  color: var(--ink);
}
.empty {
  grid-column: 1/-1;
  border: 1px dashed var(--line);
  padding: 60px 30px;
  text-align: center;
  border-radius: 12px;
  color: var(--muted);
}
.empty h2 {
  font:
    30px Georgia,
    serif;
  margin-bottom: 12px;
}
.empty p {
  font-size: 13px;
}
.viewer-open {
  overflow: hidden;
}
dialog {
  padding: 0;
  border: 1px solid #65755b;
  border-radius: 14px;
  background: var(--paper);
  color: var(--ink);
  max-width: min(1100px, calc(100vw - 32px));
  width: 1100px;
  max-height: calc(100dvh - 32px);
  overflow: auto;
}
dialog::backdrop {
  background: #0a1d18dc;
}
.viewer-shell {
  padding: 17px 22px 22px;
}
.viewer-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 13px;
}
.viewer-toolbar button {
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 25px;
  padding: 7px 13px;
  font-size: 12px;
  min-height: 40px;
}
#viewer-close span {
  font-size: 17px;
  margin-left: 10px;
}
#viewer-media {
  height: min(62dvh, 650px);
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e7ebdf;
  border-radius: 7px;
  overflow: hidden;
}
#viewer-media img,
#viewer-media video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.viewer-caption {
  display: flex;
  justify-content: space-between;
  gap: 25px;
  align-items: center;
  padding-top: 17px;
}
.viewer-caption h2 {
  font:
    28px/1.25 Georgia,
    serif;
  margin-bottom: 6px;
}
.viewer-caption p {
  font-size: 12px;
  color: var(--muted);
}
.viewer-caption nav {
  display: flex;
  gap: 10px;
}
.viewer-caption button {
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 50%;
  height: 44px;
  width: 44px;
  font-size: 21px;
  flex-shrink: 0;
}
.viewer-caption button:hover,
.viewer-toolbar button:hover {
  background: var(--lime);
}
.viewer-caption button:disabled {
  opacity: 0.4;
  cursor: default;
}
#viewer-motion {
  font-size: 10px;
  margin-top: 5px;
}
@media (max-width: 800px) {
  .gallery-intro {
    align-items: flex-start;
    flex-direction: column;
    padding-top: 38px;
    gap: 22px;
  }
  .intro-note > span {
    font-size: 35px;
  }
  .intro-note br {
    display: none;
  }
  .intro-note p {
    max-width: 400px;
  }
  .art-mat {
    height: 310px;
    padding: 18px;
  }
  .gallery-grid {
    gap: 38px 22px;
  }
  .review-note {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }
  h1 {
    font-size: 67px;
  }
  .viewer-caption {
    align-items: flex-start;
  }
  .viewer-caption h2 {
    font-size: 25px;
  }
}
@media (max-width: 600px) {
  .site-header {
    padding: 20px;
    align-items: flex-start;
  }
  .brand {
    font-size: 15px;
    gap: 8px;
  }
  .brand img {
    width: 34px;
    height: 34px;
  }
  .site-header nav {
    font-size: 11px;
    gap: 13px;
    justify-content: flex-end;
    max-width: 175px;
  }
  main {
    padding: 0 20px;
  }
  .gallery-intro {
    padding-top: 30px;
    padding-bottom: 25px;
  }
  h1 {
    font-size: 60px;
    letter-spacing: -3px;
    margin-top: 17px;
  }
  .intro {
    font-size: 19px;
  }
  .intro br {
    display: none;
  }
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .art-mat {
    height: 360px;
    padding: 20px;
  }
  .review-note p {
    font-size: 11px;
  }
  .collection-heading {
    margin-top: 29px;
  }
  .art-label {
    font-size: 10px;
  }
  .originals {
    font-size: 11px;
    gap: 20px;
  }
  .originals a {
    padding-block: 5px;
  }
  footer {
    flex-direction: column;
    padding: 25px 20px;
    gap: 11px;
  }
  .gallery-footnote {
    padding: 35px 0;
  }
  .viewer-shell {
    padding: 12px;
  }
  .viewer-caption {
    gap: 12px;
    flex-wrap: wrap;
  }
  .viewer-caption h2 {
    font-size: 25px;
  }
  #viewer-media {
    height: 52dvh;
  }
  .viewer-caption nav {
    margin-left: auto;
  }
  .viewer-toolbar {
    margin-bottom: 10px;
  }
}
@media (max-width: 360px) {
  h1 {
    font-size: 51px;
  }
  .art-mat {
    height: 300px;
  }
  .site-header {
    gap: 12px;
  }
  .site-header nav {
    gap: 9px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
