:root {
  --paper: #f3eee6;
  --paper-deep: #e6ded2;
  --ink: #2b2723;
  --soft: #514a43;
  --muted: #5e564e;
  --clay: #8a5340;
  --clay-deep: #6e4030;
  --sage: #3f5140;
  --moss: #2d362e;
  --line: rgba(43, 39, 35, 0.14);
  --line-strong: rgba(43, 39, 35, 0.32);
  --serif: "Fraunces", "Iowan Old Style", Palatino, "Palatino Linotype", serif;
  --sans: "Outfit", "Avenir Next", "Segoe UI", sans-serif;
  --header-offset: 5.5rem;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.6;
}

img {
  max-width: 100%;
  height: auto;
}

h1, h2, h3, p, figure {
  margin-top: 0;
}

figure {
  margin: 0;
}

p {
  margin-bottom: 1rem;
}

p:last-child {
  margin-bottom: 0;
}

a {
  color: var(--clay-deep);
}

a:hover {
  color: var(--clay);
}

:focus-visible {
  outline: 2px solid var(--clay);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 40;
  background: var(--ink);
  color: var(--paper);
  padding: 0.5rem 0.8rem;
  text-decoration: none;
}

.skip:focus {
  top: 0.6rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.wrap {
  width: min(68rem, calc(100% - 2.5rem));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  min-height: 4.6rem;
}

.brand {
  color: inherit;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand:hover {
  color: inherit;
}

.brand-name {
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 560;
  letter-spacing: -0.02em;
}

.brand-meta {
  margin-top: 0.28rem;
  color: var(--sage);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.nav-toggle {
  display: none;
  font: inherit;
  font-size: 0.92rem;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 0.35rem 0.8rem;
  cursor: pointer;
}

.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.35rem 1.05rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.94rem;
}

.site-nav a:hover {
  color: var(--clay-deep);
}

.site-nav a[aria-current="page"] {
  color: var(--clay-deep);
  box-shadow: inset 0 -1px 0 var(--clay);
}

.welcome,
.page-intro {
  padding: 3.25rem 0 1.5rem;
}

h1 {
  font-family: var(--serif);
  font-weight: 560;
  font-size: clamp(2.5rem, 6vw, 4.4rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}

.eyebrow {
  margin-bottom: 0.7rem;
  color: var(--sage);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.lede {
  max-width: 38rem;
  color: var(--soft);
  font-size: 1.15rem;
  line-height: 1.65;
}

.section-heading {
  margin: 1rem 0 1.4rem;
}

.section-heading h2,
.gallery-section h2,
.sale-group h2,
.inquire-block h2,
.event h2,
.sale-item h3 {
  font-family: var(--serif);
  font-weight: 560;
  letter-spacing: -0.02em;
}

.section-heading h2 {
  font-size: 1.8rem;
  margin-bottom: 0.3rem;
}

.section-heading p {
  color: var(--muted);
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.75rem 1.15rem;
  margin: 0 0 3.5rem;
  padding: 0;
  list-style: none;
}

.work-grid.pairs {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem 1.25rem;
}

.work-link,
.work-open {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  font: inherit;
}

.work-link:hover,
.work-open:hover {
  color: inherit;
}

.frame {
  overflow: hidden;
  background: var(--paper-deep);
}

.work-link img,
.work-open img,
.about-figure img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--paper-deep);
}

.work-link img,
.work-open img {
  transition: transform 0.45s ease;
}

.work-link:hover img,
.work-open:hover img {
  transform: scale(1.03);
}

.work-title,
.work-open + figcaption,
.gallery-section figcaption {
  display: block;
}

.work-title,
figcaption {
  margin-top: 0.6rem;
  font-family: var(--serif);
  font-size: 1.12rem;
  line-height: 1.3;
}

.work-kind,
.work-meta {
  display: block;
  margin-top: 0.2rem;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* Image titles are hidden for now. Delete this rule to show them again. */
.work-title,
.work-kind,
.work-open + figcaption,
.gallery-section figcaption,
.about-figure figcaption {
  display: none;
}

.lightbox-caption {
  visibility: hidden;
}

.section-jump {
  display: flex;
  gap: 1.4rem;
  margin: 0 0 2.4rem;
}

.section-jump a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--clay);
  padding-bottom: 0.12rem;
}

.section-jump a:hover {
  color: var(--clay-deep);
}

.gallery-section {
  scroll-margin-top: var(--header-offset);
  margin-bottom: 3.25rem;
}

.gallery-section h2 {
  font-size: 2rem;
  margin-bottom: 1.15rem;
}

.gallery-section .work-grid {
  margin-bottom: 0;
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 3rem;
  align-items: start;
  padding-bottom: 3.5rem;
}

.about-copy h2 {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 560;
  margin-bottom: 0.6rem;
}

.about-figure {
  margin: 0;
}

.about-figure figcaption {
  color: var(--muted);
  font-size: 1rem;
}

.sale-group {
  margin-bottom: 2.5rem;
}

.sale-group h2 {
  font-size: 2rem;
  margin-bottom: 0.25rem;
}

.sale-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.sale-item {
  display: grid;
  grid-template-columns: minmax(12rem, 20rem) minmax(0, 1fr);
  gap: 1.5rem;
  align-items: center;
  padding: 1.6rem 0;
  border-top: 1px solid var(--line);
}

.sale-item h3 {
  font-size: 1.55rem;
  margin-bottom: 0.3rem;
}

.sale-kind {
  color: var(--sage);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.buy {
  font-weight: 500;
}

.event-list {
  margin: 0 0 3.5rem;
  padding: 0;
  list-style: none;
}

.event {
  display: grid;
  grid-template-columns: 12.5rem minmax(0, 1fr);
  gap: 1.25rem 2rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--line);
}

.event-date {
  margin: 0;
  color: var(--sage);
  font-weight: 500;
}

.event h2 {
  font-size: 1.7rem;
  margin-bottom: 0.45rem;
}

.event-kind {
  margin-bottom: 0.2rem;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.event-place {
  color: var(--soft);
}

.inquire-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  padding-bottom: 3.5rem;
}

.email-line {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 3vw, 2rem);
  line-height: 1.25;
  margin: 0.4rem 0 1.8rem;
}

.email-line a {
  color: var(--ink);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

.inquire-block {
  background: color-mix(in srgb, white 45%, var(--paper));
  border: 1px solid var(--line);
  padding: 1.4rem 1.4rem 1.2rem;
}

.inquire-block h2 {
  font-size: 1.55rem;
  margin-bottom: 0.55rem;
}

.inquire-block ul {
  margin: 0.4rem 0 0;
  padding-left: 1.15rem;
}

.inquire-block li + li {
  margin-top: 0.35rem;
}

.page-note {
  margin-top: 1.5rem;
  color: var(--soft);
}

.site-footer {
  background: var(--moss);
  color: #f3eee6;
  padding: 2.75rem 0 2rem;
}

.site-footer a {
  color: inherit;
}

.site-footer a:hover {
  color: #f6e2c8;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1.2fr;
  gap: 1.5rem 2rem;
}

.footer-name {
  font-family: var(--serif);
  font-size: 1.45rem;
  margin-bottom: 0.25rem;
}

.footer-role,
.copyright {
  color: #d9d0c3;
}

.social {
  margin: 0;
  padding: 0;
  list-style: none;
}

.social li + li {
  margin-top: 0.25rem;
}

.copyright {
  margin-top: 2rem;
  font-size: 0.9rem;
}

#lightbox {
  width: min(60rem, calc(100vw - 2rem));
  max-width: calc(100vw - 2rem);
  max-height: calc(100vh - 2rem);
  padding: 0.75rem;
  border: 0;
  background: #161a16;
  color: #f3eee6;
}

#lightbox::backdrop {
  background: rgba(24, 28, 24, 0.88);
}

#lightbox img {
  display: block;
  width: 100%;
  max-height: calc(100vh - 7.5rem);
  object-fit: contain;
  background: #161a16;
}

.lightbox-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  padding-top: 0.8rem;
}

.lightbox-caption {
  flex: 1 1 12rem;
  margin: 0;
  font-family: var(--serif);
  font-size: 1.15rem;
}

.lightbox-bar button {
  font: inherit;
  font-size: 0.92rem;
  color: #f3eee6;
  background: transparent;
  border: 1px solid rgba(243, 238, 230, 0.45);
  padding: 0.35rem 0.7rem;
  cursor: pointer;
}

.lightbox-bar button:hover {
  border-color: #f3eee6;
}

@media (max-width: 980px) {
  .header-inner {
    flex-wrap: wrap;
    padding: 0.75rem 0;
  }

  html.js .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    flex-basis: 100%;
  }

  html.js .site-nav {
    display: none;
  }

  html.js body.nav-open .site-nav {
    display: block;
    padding-bottom: 0.8rem;
  }

  .site-nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.15rem;
  }

  .site-nav a {
    display: inline-block;
    padding: 0.4rem 0;
  }
}

@media (max-width: 800px) {
  .work-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-layout,
  .inquire-layout,
  .event,
  .sale-item,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .event-date {
    margin-bottom: -0.4rem;
  }
}

@media (max-width: 560px) {
  .work-grid,
  .work-grid.pairs {
    grid-template-columns: 1fr;
  }

  .welcome,
  .page-intro {
    padding-top: 2.2rem;
  }
}

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

  .work-link img,
  .work-open img {
    transition: none;
  }

  .work-link:hover img,
  .work-open:hover img {
    transform: none;
  }
}
