:root {
  --background: #fbfbfa;
  --foreground: #191817;
  --brand: hsl(210 12% 47%);
  --muted: #77716e;
  --line: #e7e4e1;
  --focus: #315b86;
  --measure: 46rem;
  --navigation_gap: clamp(1.5rem, 4vw, 4.5rem);
  --gutter: clamp(1.25rem, 5vw, 5rem);
  --font_body: 'Source Serif 4', Georgia, 'Times New Roman', serif;
  --font_heading: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font_ui: Arial, Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  max-width: 100%;
  overflow-x: clip;
  color-scheme: light;
  scroll-behavior: smooth;
}

html.viewer_is_open,
html.viewer_is_open body {
  overflow: hidden;
  overscroll-behavior: none;
}

html.viewer_is_open body {
  position: fixed;
  right: 0;
  left: 0;
}

body {
  max-width: 100%;
  margin: 0;
  overflow-x: clip;
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font_body);
  font-size: 1.05rem;
  line-height: 1.65;
  text-align: left;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font_heading);
}

a {
  color: inherit;
  text-underline-offset: .2em;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

button,
input,
textarea,
select {
  font: inherit;
}

img,
video {
  display: block;
  max-width: 100%;
}

picture {
  display: block;
}

.slideshow_slide picture,
.child_page_card picture,
.viewer_image_scale picture {
  width: 100%;
  height: 100%;
}

[hidden] {
  display: none !important;
}

.visually_hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.site_header {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 2rem;
  align-items: center;
  min-height: 7.5rem;
  padding: 0 var(--gutter);
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--background) 94%, transparent);
}

.site_name {
  justify-self: start;
  color: var(--brand);
  font-family: var(--font_heading);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  letter-spacing: .56em;
  text-decoration: none;
  white-space: nowrap;
}

.site_navigation {
  align-self: stretch;
}

.site_navigation_list {
  display: flex;
  align-items: stretch;
  justify-content: flex-end;
  gap: var(--navigation_gap);
  height: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site_navigation_item {
  position: relative;
  display: flex;
  align-items: center;
}

.site_navigation a,
.site_navigation_measurement,
.eyebrow,
.child_page_navigation a,
.site_footer {
  font-family: var(--font_ui);
  font-size: .7rem;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.site_navigation a,
.site_navigation_measurement {
  font-size: .78rem;
}

.site_navigation_measurement {
  position: fixed;
  top: 0;
  right: 100%;
  display: flex;
  gap: var(--navigation_gap);
  width: max-content;
  white-space: nowrap;
  visibility: hidden;
  pointer-events: none;
}

.site_navigation_link {
  white-space: nowrap;
  position: relative;
  text-decoration: none;
}

.site_navigation_link::after {
  position: absolute;
  right: 0;
  bottom: -.45rem;
  left: 0;
  height: 1px;
  background: currentColor;
  content: '';
  opacity: 0;
  transform: scaleX(0);
  transition: opacity .2s, transform .2s;
}

.site_navigation_link:hover::after,
.site_navigation_link.is_active::after {
  opacity: 1;
  transform: scaleX(1);
}

.site_subnavigation {
  position: absolute;
  top: 100%;
  left: 50%;
  min-width: max-content;
  margin: 0;
  padding: .65rem;
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--background) 96%, transparent);
  box-shadow: 0 .5rem 1.5rem rgb(25 24 23 / 10%);
  list-style: none;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -.5rem);
  transition: opacity .2s, transform .2s, visibility .2s;
  visibility: hidden;
}

.site_subnavigation a {
  display: block;
  padding: .6rem .8rem;
  text-decoration: none;
  white-space: nowrap;
}

.site_subnavigation a:hover,
.site_subnavigation a:focus-visible,
.site_subnavigation a[aria-current='page'] {
  background: var(--line);
}

.site_header[data-menu-mode='desktop'] .site_navigation_item:hover > .site_subnavigation,
.site_header[data-menu-mode='desktop'] .site_navigation_item:focus-within > .site_subnavigation {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
  visibility: visible;
}

.menu_toggle {
  display: none;
}

main {
  min-height: 70vh;
}

.slideshow {
  position: relative;
  width: 100%;
  height: clamp(34rem, 82vh, 62rem);
  overflow: hidden;
  background: var(--background);
}

.slideshow_slide {
  position: absolute;
  z-index: 0;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: var(--line);
  cursor: zoom-in;
  opacity: 0;
  pointer-events: none;
  transform: scale(1);
  transform-origin: center;
  visibility: hidden;
}

.slideshow_slide.is_active {
  z-index: 1;
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}

.slideshow_slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero,
.page_header,
.error_page {
  max-width: calc(var(--measure) + 2 * var(--gutter));
  margin: 0 auto;
  padding: clamp(6rem, 15vh, 11rem) var(--gutter) clamp(5rem, 12vh, 9rem);
  text-align: left;
}

.hero h1,
.page_header h1,
.error_page h1 {
  margin: .3em 0 .8em;
  font-size: clamp(2.1rem, 6vw, 4.6rem);
  font-weight: 500;
  letter-spacing: .1em;
  line-height: 1.12;
  text-align: center;
}

.hero h1 {
  font-size: clamp(2.1rem, 4.5vw, 3.2rem);
  letter-spacing: .56em;
  margin-right: -.56em;
}

.page_header h2 {
  margin: .3em 0 .8em;
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  font-weight: 500;
  line-height: 1.2;
  text-align: center;
}

.page_content_section + .page_content_section .page_header {
  padding-top: clamp(3rem, 8vh, 6rem);
  padding-bottom: clamp(2rem, 5vh, 4rem);
}

.eyebrow {
  color: var(--muted);
  font-size: .76rem;
}

.hero > .eyebrow,
.page_header > .eyebrow,
.error_page > .eyebrow {
  text-align: center;
}

.eyebrow a {
  text-decoration: none;
}

.eyebrow a:hover {
  text-decoration: underline;
}

.prose {
  max-width: var(--measure);
  margin-inline: auto;
  font-size: clamp(1.1rem, 1.5vw, 1.2rem);
  text-align: left;
}

.intro {
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  text-align: left;
}

.contact_page {
  --measure: 34rem;
  padding-bottom: clamp(5rem, 10vw, 9rem);
}

.contact_page .page_header {
  padding-bottom: 1.5rem;
}

.contact_content {
  width: min(var(--measure), calc(100% - 2 * var(--gutter)));
  margin-inline: auto;
  text-align: left;
}

.contact_email {
  margin: 0 0 2.5rem;
  overflow-wrap: anywhere;
}

.contact_form,
.contact_field {
  display: grid;
  gap: .5rem;
}

.contact_form {
  gap: 1.5rem;
}

.contact_field label,
.contact_submit {
  font-family: var(--font_ui);
  font-size: .85rem;
  letter-spacing: .04em;
}

.contact_field input,
.contact_field textarea {
  width: 100%;
  min-width: 0;
  padding: .7rem .85rem;
  border: 1px solid var(--muted);
  border-radius: 0;
  background: transparent;
  color: var(--foreground);
}

.contact_field textarea {
  resize: vertical;
}

.contact_submit {
  justify-self: start;
  padding: .9rem 1.3rem;
  border: 1px solid var(--foreground);
  background: var(--foreground);
  color: var(--background);
  cursor: pointer;
}

.contact_submit:hover {
  background: var(--background);
  color: var(--foreground);
}

.contact_error {
  margin: .25rem 0;
  color: #9b2929;
}

.contact_field [aria-invalid='true'] {
  border-color: #9b2929;
}

.contact_honeypot {
  position: absolute;
  left: -100vw;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact_status {
  padding-block: 1rem;
  border-block: 1px solid var(--line);
}

.prose p {
  margin: 0;
}

.prose p + p {
  margin-top: 1em;
}

.gallery_section {
  padding: 0 var(--gutter) clamp(5rem, 12vw, 10rem);
}

.gallery {
  --gallery_gap: clamp(1.5rem, 4vw, 4rem);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--gallery_gap);
  max-width: 100rem;
  margin: 0 auto;
}

.gallery_item {
  min-width: 0;
  margin: 0;
}

.gallery_open {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
  text-decoration: none;
}

.gallery_item .gallery_open {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 0;
  background: #e2e8f0;
}

.gallery_item img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}

.gallery_item .gallery_open:focus-visible img,
.search_result_link:focus-visible img {
  transform: scale(1.1);
}

.search_result_link .gallery_open {
  cursor: pointer;
}

@media (hover: hover) and (pointer: fine) {
  .gallery_item .gallery_open:hover img,
  .search_result_link:hover img {
    transform: scale(1.1);
  }
}

/* A cropped image is scaled so its chosen square spans the tile, and shifted
   to that square's corner; hover zooms around the square's centre. */
.gallery_open.is_cropped img {
  inset: auto;
  top: calc(-100% * var(--crop_y) / var(--crop_height));
  left: calc(-100% * var(--crop_x) / var(--crop_width));
  width: calc(100% / var(--crop_width));
  max-width: none;
  height: calc(100% / var(--crop_height));
  object-fit: fill;
  transform-origin: calc(100% * (var(--crop_x) + var(--crop_width) / 2)) calc(100% * (var(--crop_y) + var(--crop_height) / 2));
}

.gallery_play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: white;
  font-size: 2.5rem;
  text-shadow: 0 1px 5px #000;
}

.site_search_link .lucide_icon {
  width: 1rem;
  height: 1rem;
  vertical-align: -.2em;
}

.work_page {
  padding: clamp(3rem, 8vh, 6rem) var(--gutter) clamp(5rem, 12vw, 10rem);
}

.work_header {
  max-width: var(--measure);
  margin: 0 auto;
}

.work_header .eyebrow {
  text-align: center;
}

.work_header h1,
.search_header h1 {
  margin: .3em 0 .8em;
  font-size: clamp(2.1rem, 5vw, 3.6rem);
  font-weight: 500;
  letter-spacing: .1em;
  line-height: 1.12;
  text-align: center;
}

.work_figure {
  margin: 0;
}

.work_open {
  display: flex;
  justify-content: center;
  cursor: zoom-in;
}

.work_open img,
.work_video {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 80vh;
  margin: 0 auto;
}

/* The work details read like the viewer's infobox, left-aligned in a narrow
   centred block. */
.work_details {
  width: min(24rem, 100%);
  margin: 2rem auto 0;
  font-family: var(--font_ui);
  font-size: .85rem;
  line-height: 1.8;
  text-align: left;
}

.work_details p {
  margin: 0;
  overflow-wrap: anywhere;
}

.work_status {
  color: var(--muted);
  font-size: .75rem;
  font-weight: 700;
}

.work_details .work_description {
  margin-top: 1rem;
  white-space: pre-wrap;
}

.search_page {
  padding: clamp(3rem, 8vh, 6rem) var(--gutter) clamp(5rem, 12vw, 10rem);
}

.search_header {
  max-width: var(--measure);
  margin: 0 auto clamp(2.5rem, 6vw, 4rem);
}

.search_form {
  display: flex;
  align-items: center;
  gap: .5rem;
  max-width: 30rem;
  margin: 0 auto;
  border-bottom: 1px solid var(--foreground);
}

.search_form input {
  flex: 1;
  min-width: 0;
  padding: .6rem 0;
  border: 0;
  background: transparent;
  color: inherit;
  font-size: 1.15rem;
}

.search_form input::-webkit-search-cancel-button {
  cursor: pointer;
}

.search_form button {
  display: grid;
  place-items: center;
  padding: .5rem;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.search_form .lucide_icon {
  width: 1.2rem;
  height: 1.2rem;
}

.search_count {
  min-height: 1.2em;
  margin: 1.5rem 0 0;
  color: var(--muted);
  font-family: var(--font_ui);
  font-size: .7rem;
  letter-spacing: .18em;
  text-align: center;
  text-transform: uppercase;
}

.search_results {
  padding: 0;
  list-style: none;
}

.search_result_link {
  display: block;
  text-decoration: none;
}

.search_result_title,
.search_result_year {
  display: block;
  font-family: var(--font_ui);
  font-size: .8rem;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.search_result_title {
  margin-top: .7rem;
  font-weight: 700;
}

.search_result_year {
  color: var(--muted);
}

.child_page_navigation {
  width: min(var(--measure), calc(100% - 2 * var(--gutter)));
  margin: 0 auto;
  padding: 0 0 clamp(6rem, 10vw, 9rem);
}

.child_page_navigation ul {
  display: grid;
  gap: clamp(2rem, 6vw, 4rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

.child_page_card {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--line);
  text-decoration: none;
}

.child_page_card img,
.child_page_card_placeholder {
  display: block;
  width: 100%;
  height: 100%;
}

.child_page_card img {
  object-fit: cover;
  transition: transform .35s ease;
}

.child_page_card:focus-visible img {
  transform: scale(1.02);
}

@media (hover: hover) and (pointer: fine) {
  .child_page_card:hover img {
    transform: scale(1.02);
  }
}

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

.child_page_card_placeholder {
  background: var(--line);
}

.child_page_card_title {
  position: absolute;
  top: 50%;
  left: 50%;
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  max-width: calc(100% - 2rem);
  padding: 1rem 1.6rem;
  border: 2px solid white;
  background: rgb(25 24 23 / 58%);
  box-shadow: 0 .25rem 1.2rem rgb(25 24 23 / 18%);
  color: white;
  font-size: clamp(.8rem, 1.4vw, 1rem);
  font-weight: 500;
  line-height: 1.3;
  text-align: center;
  transform: translate(-50%, -50%);
  white-space: nowrap;
}

.child_page_card_title .lucide_icon {
  flex: 0 0 auto;
  width: 1.15rem;
  height: 1.15rem;
}

.lucide_icon {
  display: inline-grid;
  place-items: center;
}

.lucide_icon svg {
  display: block;
  width: 100%;
  height: 100%;
}

.site_footer {
  display: flex;
  justify-content: space-between;
  padding: 2.5rem var(--gutter);
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.viewer {
  width: 100vw;
  max-width: none;
  height: 100vh;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: 1rem;
  border: 0;
  background: rgb(251 251 250 / 97%);
  overscroll-behavior: contain;
}

.viewer::backdrop {
  background: rgb(0 0 0 / 35%);
}

/* Equal side columns keep the image centred, with the work infobox at its
   bottom right. Narrow screens stack the infobox below the image. */
.viewer figure {
  display: grid;
  grid-template-columns: minmax(9rem, 16rem) minmax(0, 1fr) minmax(9rem, 16rem);
  grid-template-rows: minmax(0, 1fr);
  grid-template-areas: '. stage info';
  gap: .75rem 1.5rem;
  height: 100%;
  margin: 0;
  overflow: hidden;
}

.viewer_image_stage {
  grid-area: stage;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
}

/* The viewer handles pinching itself, so the page around it never zooms; a
   zoomed image takes every touch movement for panning. */
.viewer_image_track {
  display: flex;
  height: 100%;
  touch-action: pan-y;
  user-select: none;
}

.viewer.is_zoomed .viewer_image_track {
  touch-action: none;
}

.viewer_image_stage.is_zoomable {
  cursor: zoom-in;
}

.viewer.is_zoomed .viewer_image_stage {
  cursor: zoom-out;
}

.viewer_image_slide {
  flex: 0 0 100%;
  min-width: 0;
  height: 100%;
  overflow: hidden;
}

.viewer_image_scale {
  width: 100%;
  height: 100%;
  transform-origin: center;
  will-change: transform;
}

.viewer_image_slide img,
.viewer_image_slide video {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
}

.viewer_image_slide img {
  transform-origin: 0 0;
}

.viewer_image_slide img.is_zoom_animating {
  transition: transform .25s ease;
}

/* Chevrons overlay the left and right edges, vertically centred on the
   image row; clicks between them reach the image. */
.viewer_navigation {
  z-index: 1;
  display: flex;
  grid-row: 1;
  grid-column: 1 / -1;
  align-self: center;
  justify-content: space-between;
  pointer-events: none;
}

.viewer_navigation button {
  pointer-events: auto;
}

.viewer_info {
  display: grid;
  grid-area: info;
  align-self: end;
  gap: .75rem;
  min-width: 0;
  max-height: 100%;
  overflow-y: auto;
  font-family: var(--font_ui);
  font-size: .85rem;
  line-height: 1.8;
  text-align: left;
}

.viewer_work p {
  margin: 0;
  overflow-wrap: anywhere;
}

.viewer_work_title {
  font-weight: 700;
}

.viewer_work_status {
  color: var(--muted);
  font-size: .75rem;
  font-weight: 700;
}

.viewer_description {
  margin: 0;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}

.viewer_work_page_link {
  width: fit-content;
  color: var(--muted);
  font-family: var(--font_ui);
  font-size: .68rem;
  letter-spacing: .08em;
  text-underline-offset: .2em;
}

.viewer_work_page_link:hover {
  color: var(--foreground);
}

.viewer_close {
  position: fixed;
  top: 1rem;
  right: 1.5rem;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgb(255 255 255 / 78%);
  color: var(--foreground);
  cursor: pointer;
}

.viewer_close:hover {
  background: rgb(255 255 255 / 94%);
}

.viewer_close .lucide_icon {
  width: 1rem;
  height: 1rem;
}

.viewer_close:focus {
  outline: none;
}

.viewer_close:focus-visible {
  background: white;
}

.viewer_previous:focus-visible,
.viewer_next:focus-visible {
  outline-offset: 0;
}

.viewer_previous,
.viewer_next {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}

.viewer_next {
  margin-left: auto;
}

.viewer_previous:hover,
.viewer_next:hover {
  color: var(--foreground);
}

.viewer_previous .lucide_icon,
.viewer_next .lucide_icon {
  width: 2rem;
  height: 2rem;
}

.site_header:not([data-menu-mode='desktop']) {
  grid-template-columns: 1fr auto;
  min-height: 5.5rem;
}

.site_header:not([data-menu-mode='desktop']) .menu_toggle {
  display: grid;
  width: 2rem;
  height: 2rem;
  padding: .35rem 0;
  border: 0;
  background: transparent;
  color: #000;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}

.site_header:not([data-menu-mode='desktop']) .menu_toggle > span:not(.visually_hidden) {
  display: block;
  width: 100%;
  height: 2px;
  background: currentColor;
}

.site_header:not([data-menu-mode='desktop']) .site_navigation {
  position: absolute;
  top: 100%;
  right: 0;
  left: 0;
  display: block;
  padding: 1rem var(--gutter) 2rem;
  border-bottom: 1px solid var(--line);
  background: var(--background);
}

.site_header:not([data-menu-mode='desktop']) .site_navigation[data-enhanced] {
  display: none;
}

.site_header:not([data-menu-mode='desktop']) .site_navigation[data-enhanced][data-open='true'] {
  display: block;
}

.site_header:not([data-menu-mode='desktop']) .site_navigation_list {
  display: flex;
  align-items: stretch;
  flex-direction: column;
  gap: 0;
  height: auto;
}

.site_header:not([data-menu-mode='desktop']) .site_navigation_item {
  display: block;
}

.site_header:not([data-menu-mode='desktop']) .site_navigation_link {
  display: block;
  padding: .85rem 0;
}

.site_header:not([data-menu-mode='desktop']) .site_navigation_link::after {
  display: none;
}

.site_header:not([data-menu-mode='desktop']) .site_navigation_link.is_active {
  font-weight: 700;
}

.site_header:not([data-menu-mode='desktop']) .site_search_link .lucide_icon {
  display: none;
}

.site_header:not([data-menu-mode='desktop']) .site_search_link .visually_hidden {
  position: static;
  width: auto;
  height: auto;
  overflow: visible;
  clip: auto;
}

.site_header:not([data-menu-mode='desktop']) .site_subnavigation {
  position: static;
  min-width: 0;
  padding: 0 0 .5rem 1.25rem;
  border: 0;
  background: transparent;
  box-shadow: none;
  opacity: 1;
  pointer-events: auto;
  transform: none;
  transition: none;
  visibility: visible;
}

.site_header:not([data-menu-mode='desktop']) .site_subnavigation a {
  padding: .5rem 0;
  color: var(--muted);
}

.site_header:not([data-menu-mode='desktop']) .site_subnavigation a:hover,
.site_header:not([data-menu-mode='desktop']) .site_subnavigation a:focus-visible,
.site_header:not([data-menu-mode='desktop']) .site_subnavigation a[aria-current='page'] {
  background: transparent;
  color: var(--foreground);
}

.site_header:not([data-menu-mode]) .site_navigation {
  position: static;
  grid-column: 1 / -1;
  padding-inline: 0;
  border-bottom: 0;
}

@media (max-width: 800px) {
  .slideshow {
    height: 72vh;
    min-height: 30rem;
  }

  .hero,
  .page_header {
    padding-top: 5rem;
  }

  .page_header h1,
  .error_page h1 {
    letter-spacing: .07em;
  }

  .site_footer {
    flex-direction: column;
    gap: 1rem;
  }

  .viewer {
    padding-top: 3.25rem;
  }

  .viewer figure {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: minmax(0, 1fr) auto;
    grid-template-areas:
      'stage'
      'info';
  }

  .viewer_info {
    align-self: start;
    justify-self: center;
    width: min(100%, var(--viewer_info_width, 100%));
    max-height: 30vh;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gallery_item .gallery_open img,
  .gallery_item .gallery_open:hover img,
  .gallery_item .gallery_open:focus-visible img,
  .search_result_link:hover img,
  .search_result_link:focus-visible img,
  .child_page_card img,
  .child_page_card:hover img,
  .child_page_card:focus-visible img {
    transform: none;
    transition: none;
  }

  .viewer_image_scale {
    transform: none !important;
  }
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: .01ms !important;
  }
}

@media (max-width: 480px) {
  .gallery {
    grid-template-columns: minmax(0, 1fr);
  }
}
