/* Bounded, pre-rendered gallery and film light surfaces. */
.ambient {
  position: absolute;
  inset: 4dvh 0;
  pointer-events: none;
  z-index: 0;
  contain: strict;
}
html.opening .ambient { opacity: 0; }
.ambient-palette {
  position: absolute;
  inset: 0;
  mask: url("assets/ambient-feather.png?v=48cfdda9f4dd") center / 100% 100% no-repeat;
}
.ambient-color, .ambient-edges {
  position: absolute;
  display: block;
}
.ambient-color {
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
}
.ambient-edges {
  opacity: 0;
}
.ambient [hidden] { display: none; }
#gallery .card:focus-visible { outline: none; }
#gallery .card:focus-visible .card-artist,
#gallery .card:focus-visible .card-title { opacity: 1; }
#gallery .card:focus-visible .caption-line {
  transform: none;
  text-decoration: underline;
  text-underline-offset: .24em;
}
html[data-vellum] .canvas .work-filters button,
html[data-vellum] .canvas .edition,
html[data-vellum] .canvas .card .card-artist,
html[data-vellum] .canvas .card .card-title { color: #37372e; }

.gallery-cursor { display: none; }
@media (hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference) {
  html:not(.motion-lite):not(.opening):not(.panel-open):not(.film-active) .gallery-cursor {
    display: block;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 6;
    pointer-events: none;
    padding: 4px 7px;
    border: 1px solid rgb(54 51 42 / .24);
    border-radius: 2px;
    background: #f1eee4;
    color: #35332b;
    font: 11px/1.3 var(--site-font);
    letter-spacing: .06em;
    opacity: 0;
    transition: opacity var(--motion-micro) var(--motion-ease);
  }
  html:not(.motion-lite):not(.opening):not(.panel-open):not(.film-active) .gallery-cursor[data-visible] { opacity: 1; }
}

html.panel-open, html.panel-open body { overflow: hidden; overscroll-behavior: none; }
@media (prefers-reduced-motion: no-preference) {
  html:not(.motion-lite, .film-active).panel-gallery-travel #gallery {
    transition: transform var(--motion-panelDepth) var(--motion-settle),
      opacity var(--motion-panelDepth) var(--motion-settle);
  }
  html:not(.motion-lite, .film-active).panel-gallery-behind #gallery {
    opacity: var(--motion-panelDepthOpacity);
    transform: translateY(calc(-50% + var(--motion-panelDepthTravel))) scale(var(--motion-panelDepthScale));
  }
}
@media (max-width: 680px) and (prefers-reduced-motion: no-preference) {
  html:not(.motion-lite, .film-active).panel-gallery-behind #gallery {
    transform: translateY(var(--motion-panelDepthTravel)) scale(var(--motion-panelDepthScale));
  }
}
html[data-vellum] #info {
  position: fixed;
  inset: 0 0 0 auto;
  margin: 0;
  width: min(560px, 44vw);
  max-width: none;
  height: 100dvh;
  max-height: none;
  padding: 0;
  border: 0;
  border-left: 1px solid rgb(58 53 43 / .14);
  border-radius: 0;
  overflow: hidden;
  box-shadow: -16px 0 48px rgb(52 45 33 / .095);
  background-color: rgb(238 236 229 / .94);
  background-image: url("assets/vellum-background.svg?v=da7e5d24e1c2");
  background-size: 384px;
  font: 400 14px/1.55 var(--site-font);
  color: #36342c;
}
html[data-vellum] #info[data-panel="index"] { width: min(1040px, 76vw); }
#info[open] { display: flex; flex-direction: column; }
html[data-vellum] #info::backdrop {
  background: rgb(238 236 229 / .40);
  backdrop-filter: none;
  opacity: 0;
  transition: opacity var(--motion-panelBackdrop) var(--motion-ease);
}
html[data-vellum] #info[data-visible]::backdrop { opacity: 1; }
#info .panel-header {
  position: relative;
  inset: auto;
  flex: none;
  flex-wrap: nowrap;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: max(24px, env(safe-area-inset-top)) max(26px, env(safe-area-inset-right)) 16px max(30px, env(safe-area-inset-left));
  border-bottom: 1px solid rgb(58 53 43 / .15);
}
#info .close {
  position: static;
  flex: 0 0 44px;
  display: grid;
  place-items: center;
  min-width: 44px;
  min-height: 44px;
}
#info .close svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  transition: transform var(--motion-micro) var(--motion-ease);
}
#info .close:hover svg { transform: rotate(90deg); }
.panel-handle { display: none; }
.panel-tabs { position: relative; display: flex; align-items: center; gap: 12px; }
.panel-tabs[hidden], #info [hidden] { display: none; }
.panel-tabs button {
  min-width: 44px;
  min-height: 44px;
  font-size: 14px;
  letter-spacing: .05em;
}
.panel-tabs button[aria-selected="false"] { color: #565246; }
.panel-tab-line {
  position: absolute;
  bottom: 3px;
  left: 0;
  width: 1px;
  height: 1px;
  background: currentColor;
  transform-origin: left;
  transition: transform var(--motion-medium) var(--motion-ease);
}
.panel-body {
  position: relative;
  flex: 1;
  overflow: auto;
  overscroll-behavior: contain;
  padding: clamp(28px, 7vh, 76px) max(26px, env(safe-area-inset-right)) max(36px, env(safe-area-inset-bottom)) max(30px, env(safe-area-inset-left));
}
#info .panel-body p {
  max-width: 37ch;
  margin: 0 0 24px;
  font-size: 15px;
  line-height: 1.65;
  color: #49463a;
}
#info .panel-body .panel-colophon {
  margin: 28px 0 0;
  font: 400 10px/1.6 var(--site-font);
  letter-spacing: .015em;
  color: #6e6a5e;
}
.panel-mask { overflow: hidden; padding: 3px; margin: -3px; }
.panel-outgoing {
  position: absolute;
  inset: 0;
  padding: inherit;
  pointer-events: none;
}
.contact-links, .index-list { padding: 0; margin: 0; list-style: none; }
.contact-address {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 2px 12px;
  margin-bottom: 26px;
}
.contact-address a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  max-width: 100%;
  font-size: clamp(22px, 3vw, 34px);
  line-height: 1.2;
  letter-spacing: -.065em;
  overflow-wrap: anywhere;
}
.copy-email { min-width: 67px; min-height: 44px; font-size: 14px; }
.contact-links a, .index-list a {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 44px;
  padding: 8px 2px;
  border-bottom: 1px solid rgb(58 53 43 / .22);
  font-size: 14px;
}
.contact-links li:first-child, .index-list li:first-child { border-top: 1px solid rgb(58 53 43 / .22); }
.contact-links a::after {
  content: "";
  position: absolute;
  inset: auto 0 -1px;
  height: 1px;
  background: currentColor;
  transform-origin: left;
  transform: scaleX(0);
  transition: transform var(--motion-medium) var(--motion-ease);
}
.contact-links a:is(:hover,:focus-visible)::after { transform: scaleX(1); }
.contact-arrow { transition: transform var(--motion-medium) var(--motion-ease); }
.contact-links a:is(:hover,:focus-visible) .contact-arrow { transform: translate(4px,-4px); }
#index-pane {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: start;
  gap: clamp(24px, 5vw, 66px);
}
#info[data-panel="index"] .panel-body { padding-top: 28px; }
.index-list a { justify-content: start; }
.index-list a:is(:hover,:focus-visible) { color: #181813; text-decoration: underline; text-underline-offset: 4px; }
.index-entry { position: relative; display: block; width: 100%; }
.index-number {
  position: absolute;
  inset-inline-end: -1.45em;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0;
  color: inherit;
  font-size: 11px;
  font-variant-numeric: tabular-nums;
  pointer-events: none;
}
.index-list a:focus-visible .index-number { opacity: 1; }
@media (hover:hover) {
  .index-list a:hover .index-number { opacity: 1; }
}
@media (hover:hover) and (prefers-reduced-motion:no-preference) {
  html:not(.motion-lite) .index-entry {
    transition: transform var(--motion-indexPreview) var(--motion-rollCurve);
  }
  html:not(.motion-lite) .index-list a:hover .index-entry { transform: translateX(var(--motion-indexHover)); }
  html:not(.motion-lite) .index-number {
    transition: opacity var(--motion-indexPreview) var(--motion-rollCurve);
  }
}
.index-preview {
  position: sticky;
  top: 0;
  aspect-ratio: 4 / 3;
  margin: 0;
  overflow: hidden;
  background: rgb(72 65 48 / .10);
}
.index-preview img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }
.index-preview img:not([src]) { visibility: hidden; }
.panel-index-heading { display: flex; align-items: center; gap: 28px; }
.index-view-switch { display: flex; align-items: center; gap: 8px; }
.index-view-switch button {
  min-height: 44px;
  padding: 4px 0;
  font: inherit;
  font-size: 11px;
  letter-spacing: .06em;
  color: #6e6a5e;
}
.index-view-switch button[aria-pressed="true"] {
  color: #36342c;
  text-decoration: underline;
  text-underline-offset: .35em;
}
#index-pane[data-index-view="sheet"] { display: block; }
.index-sheet {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 16px 10px;
  list-style: none;
  padding: 0;
  margin: 0;
}
#info .index-sheet[hidden] { display: none; }
.index-sheet li {
  position: relative;
  aspect-ratio: 3 / 4;
  content-visibility: auto;
  contain-intrinsic-size: auto 0px;
}
#info .index-sheet a {
  display: block;
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: rgb(70 62 48 / .09);
}
.index-sheet img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.sheet-caption {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 8px;
  background: linear-gradient(rgb(22 23 21 / .65), rgb(22 23 21 / .65) 30%, rgb(22 23 21 / .86));
  color: #fff;
  opacity: 0;
  pointer-events: none;
  font-size: 10px;
  line-height: 1.4;
}
.sheet-number { font-variant-numeric: tabular-nums; font-size: 9px; }
.sheet-title { overflow-wrap: anywhere; }
.index-sheet a:is(:hover, :focus-visible) .sheet-caption { opacity: 1; }
.index-sheet a:focus-visible { outline: 1px solid #36342c; outline-offset: 3px; }
@media (prefers-reduced-motion: no-preference) {
  html:not(.motion-lite) .sheet-caption { transition: opacity var(--motion-micro) var(--motion-ease); }
}
@media (max-width: 1024px) {
  .index-sheet { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  html[data-vellum] #info, html[data-vellum] #info[data-panel="index"] {
    inset: auto 0 0;
    width: 100%;
    height: 88dvh;
    border-left: 0;
    border-top: 1px solid rgb(58 53 43 / .14);
    border-radius: 3px 3px 0 0;
    box-shadow: 0 -12px 38px rgb(52 45 33 / .10);
  }
  #info .panel-header {
    padding: 0 max(20px, env(safe-area-inset-right)) 12px max(20px, env(safe-area-inset-left));
    touch-action: none;
  }
  .panel-body { padding-inline: max(20px, env(safe-area-inset-left)) max(20px, env(safe-area-inset-right)); }
  .panel-handle {
    display: grid;
    flex: none;
    height: 30px;
    place-items: center;
    touch-action: none;
  }
  .panel-handle::before {
    content: "";
    width: 32px;
    height: 2px;
    border-radius: 2px;
    background: #777263;
  }
  #index-pane { display: block; }
  .index-preview { display: none; }
  .index-number { inset-inline-end: 0; }
  .index-sheet { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px 10px; }
  .panel-index-heading { gap: 18px; }
  .index-view-switch button { font-size: 10px; }
  html[data-vellum] .canvas .work-filters { gap: clamp(3px, 1vw, 7px); }
  html[data-vellum] .canvas .work-filters button { font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  #info *, #info::backdrop { transition: none !important; }
}
html.motion-lite #info *, html.motion-lite #info::backdrop { transition: none !important; }

@media (min-width: 681px) {
  html[data-vellum] .canvas { --gallery-footer-bottom: clamp(28px, 4vh, 44px); }
  html[data-vellum] .canvas :is(.work-filters, .edition) {
    bottom: var(--gallery-footer-bottom);
    min-height: 44px;
    align-items: center;
    line-height: 1.4;
  }
  html[data-vellum] .canvas .work-filters button { line-height: inherit; }
}

/* About and Contact share the paper surface and use the system typeface. */
html[data-vellum] #info:is([data-panel="about"], [data-panel="contact"]) {
  --popup-font: -apple-system, BlinkMacSystemFont, system-ui, "Segoe UI", sans-serif;
  background-color: rgb(238 236 229 / .98);
  background-image:
    linear-gradient(145deg, rgb(255 254 250 / .38), rgb(238 233 218 / .06)),
    url("assets/vellum-background.svg?v=da7e5d24e1c2");
  background-size: auto, 384px;
  backdrop-filter: none;
  color: #37372e;
  font: 400 14px/1.5 var(--popup-font);
  letter-spacing: normal;
}
html[data-vellum] #info:is([data-panel="about"], [data-panel="contact"])::backdrop {
  background: transparent;
  transition: none;
}
#info:is([data-panel="about"], [data-panel="contact"]) .panel-header {
  background: transparent;
}
#info:is([data-panel="about"], [data-panel="contact"]) .close { inset: auto; }
#info:is([data-panel="about"], [data-panel="contact"]) :is(.panel-tabs button, .copy-email) {
  font-family: var(--popup-font);
  font-size: 12px;
  font-weight: 600;
}
#info:is([data-panel="about"], [data-panel="contact"]) .panel-body {
  min-height: 0;
}
#info[data-panel="about"] .panel-body p {
  margin: 0;
  font: 400 15px/1.55 var(--popup-font);
  letter-spacing: normal;
  text-shadow: none;
}
#info[data-panel="contact"] .contact-address { margin-bottom: 10px; }
#info[data-panel="contact"] .contact-address a {
  font: 500 clamp(17px, 3vw, 23px)/1.25 var(--popup-font);
  letter-spacing: 0;
}
@media (min-width: 681px) {
  html[data-vellum] #info:is([data-panel="about"], [data-panel="contact"]) {
    --popup-top: clamp(76px, calc(11svh + 54px), 165px);
    inset: var(--popup-top) 6.5vw auto auto;
    width: min(468px, calc(100vw - 28px));
    height: auto;
    max-height: calc(100dvh - var(--popup-top) - max(16px, env(safe-area-inset-bottom)));
    border: 1px solid rgb(76 70 56 / .20);
    border-radius: 23px;
    box-shadow: 0 15px 42px rgb(53 46 34 / .14), inset 0 1px rgb(255 255 255 / .50);
  }
  #info:is([data-panel="about"], [data-panel="contact"]) .panel-header {
    padding: 9px 15px 8px 22px;
  }
  #info:is([data-panel="about"], [data-panel="contact"]) .panel-body {
    padding: 20px 22px 23px;
  }
}
@media (max-width: 680px) {
  html[data-vellum] #info:is([data-panel="about"], [data-panel="contact"]) {
    max-height: calc(100dvh - env(safe-area-inset-top));
    border-radius: 19px 19px 0 0;
  }
  #info:is([data-panel="about"], [data-panel="contact"]) .panel-body {
    padding-block: 20px max(28px, env(safe-area-inset-bottom));
  }
}
.index-film-source { visibility: hidden !important; }
