:root {
  color-scheme: light;
  --bg: #f7f4ee;
  --bg-alt: #fbf8f2;
  --fg: #161616;
  --muted: #5e5b56;
  --line: rgba(22, 22, 22, 0.14);
  --line-strong: rgba(22, 22, 22, 0.34);
  --focus: #0f4c81;
  --page-pad: clamp(1rem, 3vw, 2.4rem);
  --page-transition: 360ms ease;
  --gallery-toggle-transition: 520ms cubic-bezier(0.22, 1, 0.36, 1);
  --body-font: "Avenir Next", Avenir, "Segoe UI", "Trebuchet MS", sans-serif;
  --site-shell-pad-top: clamp(1rem, 2vw, 1.7rem);
  --site-shell-pad-bottom: clamp(0.45rem, 1vh, 0.8rem);
  --site-topbar-row: 4.4rem;
  --site-bottom-rail-row: 1.35rem;
  --site-bottom-control-row: 1.55rem;
  --site-shell-row-gap: clamp(1rem, 2vh, 1.5rem);
}

@property --filmstrip-row {
  syntax: "<length>";
  inherits: true;
  initial-value: 9rem;
}

html {
  background: var(--bg);
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.6), transparent 32%),
    linear-gradient(180deg, var(--bg-alt), var(--bg));
  color: var(--fg);
  font-family: var(--body-font);
  font-weight: 300;
  line-height: 1.55;
  transition: opacity var(--page-transition);
  opacity: 1;
}

html.has-js body {
  opacity: 0;
}

html.has-js body.is-ready {
  opacity: 1;
}

html.has-js body.is-fallback-ready {
  opacity: 1;
}

html.has-js body.is-exiting {
  opacity: 0;
}

a {
  color: inherit;
  display: inline-flex;
  text-decoration: none;
  transition:
    color 180ms ease,
    font-weight 180ms ease,
    transform 180ms ease;
}

a:hover {
  font-weight: 700;
  text-decoration: none;
}

a:focus-visible {
  text-decoration: none;
}

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

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

.site-shell {
  min-height: 100vh;
  display: flex;
}

.home-shell {
  width: 100%;
  height: auto;
  min-height: 100svh;
  display: grid;
  grid-template-rows: var(--site-topbar-row) minmax(0, 1fr) var(--site-bottom-rail-row) var(--site-bottom-control-row);
  gap: var(--site-shell-row-gap);
  padding: var(--site-shell-pad-top) var(--page-pad) var(--site-shell-pad-bottom);
  box-sizing: border-box;
  position: relative;
}

.home-panel {
  width: min(100%, 76rem);
  margin-left: auto;
  display: grid;
  grid-template-rows: minmax(0, 1fr);
  min-height: 0;
  position: relative;
}

.home-topbar {
  justify-content: flex-end;
  padding-top: 0.35rem;
}

.home-main {
  align-self: stretch;
  display: grid;
  align-content: start;
  justify-items: end;
  gap: clamp(1.1rem, 3vh, 2rem);
  padding-top: clamp(0.65rem, 3.5vh, 1.8rem);
  text-align: right;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 2.5rem;
  font-family: var(--body-font);
  font-weight: 300;
  font-size: clamp(4rem, 7.6vw, 7.2rem);
  line-height: 0.96;
  letter-spacing: 0.035em;
  margin: 0;
}

.wordmark .divider {
  width: 1px;
  height: 1.9em;
  background: var(--line-strong);
  transform: translateY(0.06em);
}

.home-primary-nav,
.home-secondary-nav {
  display: grid;
  justify-content: flex-end;
  justify-items: end;
  align-content: start;
}

.home-primary-nav {
  font-size: clamp(2rem, 1.6vw + 1.9rem, 2.35rem);
  gap: 0.1rem;
}

.home-primary-link,
.home-secondary-nav a,
.back-link {
  text-transform: lowercase;
  letter-spacing: 0.02em;
}

.home-primary-link,
.home-secondary-nav a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  line-height: 1.06;
  padding-block: 0.08em 0.2em;
}

.home-primary-link-featured {
  position: relative;
  overflow: hidden;
  font-size: inherit;
}

.home-primary-link-featured::after {
  content: "";
  position: absolute;
  top: -10%;
  bottom: -10%;
  left: -45%;
  width: 36%;
  background: linear-gradient(
    110deg,
    rgba(255, 255, 255, 0),
    rgba(255, 255, 255, 0.82),
    rgba(255, 255, 255, 0)
  );
  opacity: 0;
  pointer-events: none;
  transform: skewX(-20deg);
}

.home-primary-link-featured:hover {
  animation: none;
  font-weight: 700;
  transform: none;
}

.home-primary-link-featured:hover::after {
  opacity: 1;
  animation: statement-nav-shimmer 360ms ease-out 1;
}

.home-primary-link-featured > span:first-child {
  font-size: 2em;
  line-height: 1;
  display: inline-block;
  padding-block: 0.02em 0.08em;
}

.home-primary-link-introduction {
  margin-right: 1.4rem;
}

.home-primary-link-featured {
  margin-right: 0;
}

.home-primary-link-prints {
  margin-right: 1.15rem;
}

.home-lower {
  position: absolute;
  right: 0;
  bottom: 0.8rem;
  display: grid;
  justify-items: end;
}

.home-secondary-nav {
  gap: 0.04rem;
  font-size: clamp(1.8rem, 0.95vw + 1.6rem, 2.2rem);
  text-align: right;
}

.site-bottom-strip-shell {
  display: grid;
  grid-template-rows: minmax(0, 1fr);
  height: 100%;
  min-height: 0;
  overflow: hidden;
  border-top: 1px solid var(--line);
  padding-top: 0.35rem;
}

.site-bottom-strip-content {
  max-height: 0;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-0.45rem);
}

.site-bottom-strip-control {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  gap: 1rem;
  min-height: var(--site-bottom-control-row);
  padding-bottom: 0.35rem;
  box-sizing: border-box;
}

.site-bottom-strip-link {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.35;
  letter-spacing: 0.03em;
  text-transform: lowercase;
}

.site-bottom-strip-link:hover {
  animation: none;
  font-weight: 700;
  transform: none;
}

.page {
  width: 100%;
  min-height: 100vh;
  padding: var(--page-pad);
  box-sizing: border-box;
}

.page-inner {
  width: min(100%, 72rem);
  margin: 0 auto;
}

.statement-page-shell {
  display: grid;
  grid-template-rows: var(--site-topbar-row) minmax(0, 1fr) var(--site-bottom-rail-row) var(--site-bottom-control-row);
  gap: var(--site-shell-row-gap);
  height: auto;
  min-height: 100svh;
  padding: var(--site-shell-pad-top) var(--page-pad) var(--site-shell-pad-bottom);
  box-sizing: border-box;
  position: relative;
  align-content: stretch;
}

.statement-layout {
  display: flex;
  min-height: 0;
  align-items: flex-start;
  justify-content: flex-end;
  position: relative;
}

.statement-card {
  width: min(100%, 36rem);
  margin-left: auto;
  margin-right: clamp(1rem, 6vw, 5rem);
  padding-top: clamp(1.25rem, 7vh, 5rem);
  text-align: right;
}

.statement-card h1,
.gallery-header h1 {
  margin: 0 0 2.25rem;
  font-family: var(--body-font);
  font-weight: 300;
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  line-height: 1.05;
}

.statement-card p {
  margin: 0 0 1rem;
  color: var(--muted);
  max-width: 34rem;
  margin-left: auto;
}

.statement-divider-block {
  position: relative;
  width: 100%;
  height: clamp(4.5rem, 12vh, 7.5rem);
  margin: 0;
}

.statement-divider-block::before {
  content: none;
}

.statement-card p a {
  display: inline;
  position: static;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.14em;
}

.statement-card p a:hover {
  animation: none;
  font-weight: inherit;
  transform: none;
  text-decoration-thickness: 2px;
}

.section-nav {
  display: grid;
  justify-items: end;
  gap: 0.16rem;
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
  font-weight: 300;
  line-height: 1.55;
  letter-spacing: 0.03em;
  text-transform: lowercase;
}

.statement-nav {
  margin-top: 0;
}

.statement-nav-single {
  margin-top: 0;
}

.section-nav a,
.section-nav .section-nav-current {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: inherit;
  font-weight: inherit;
  animation: none;
  transform: none;
}

.section-nav .statement-nav-bottom-link:hover {
  animation: none;
  font-weight: 700;
}

.section-nav .statement-nav-current {
  color: var(--fg);
  font-weight: 700;
}

.section-nav .statement-nav-current strong {
  font-weight: inherit;
}

.back-link {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
  margin-top: 1rem;
}

.back-link::before {
  content: none;
}

.statement-links {
  display: grid;
  justify-items: end;
  gap: 0.45rem;
  margin-top: 1.3rem;
}

.statement-links .back-link {
  margin-top: 0;
}

.forward-link {
  align-items: center;
  gap: 0.5rem;
  text-transform: lowercase;
  letter-spacing: 0.02em;
}

.gallery-shell {
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 1rem;
  min-height: calc(100vh - (var(--page-pad) * 2));
}

.galleries-index-shell {
  display: grid;
  grid-template-rows: var(--site-topbar-row) minmax(0, 1fr) var(--site-bottom-rail-row) var(--site-bottom-control-row);
  gap: var(--site-shell-row-gap);
  height: auto;
  min-height: 100svh;
  padding: var(--site-shell-pad-top) var(--page-pad) var(--site-shell-pad-bottom);
}

.galleries-index {
  align-self: center;
  width: min(100%, 70rem);
  margin-left: auto;
  text-align: right;
}

.galleries-index h1 {
  margin: 0 0 2rem;
  font-family: var(--body-font);
  font-weight: 300;
  font-size: clamp(1.9rem, 3.2vw, 3rem);
  line-height: 1.05;
}

.galleries-list {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  gap: clamp(1rem, 2.5vw, 2rem);
  align-items: flex-start;
  justify-content: flex-end;
}

.gallery-entry {
  flex: 0 1 16.5rem;
  width: min(100%, 16.5rem);
}

.gallery-entry a {
  display: grid;
  position: relative;
  justify-items: stretch;
  overflow: hidden;
  animation: none;
  transform: none;
}

.gallery-entry a:hover {
  animation: none;
  font-weight: inherit;
  transform: none;
}

.gallery-entry a:hover img {
  animation: soft-pulse 1.2s ease-in-out infinite alternate;
}

.gallery-entry img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.gallery-entry span {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  box-sizing: border-box;
  padding: 0.5rem 0.75rem 0.58rem;
  background: rgba(0, 0, 0, 0.86);
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(2.4rem, 4vw, 3.7rem);
  font-weight: 300;
  line-height: 1.1;
  text-align: right;
  text-transform: none;
}

.gallery-entry a:hover span {
  animation: none;
  color: #fff;
  font-weight: 300;
}

@media (min-width: 721px) and (max-height: 760px) {
  body.galleries-index-page .galleries-index-shell {
    align-content: start;
    gap: clamp(0.75rem, 1.8vh, 1rem);
    height: auto;
    min-height: 100svh;
    overflow: auto;
  }

  body.galleries-index-page .galleries-index {
    align-self: start;
    width: min(100%, 72rem);
    padding-top: 0.15rem;
  }

  body.galleries-index-page .galleries-index h1 {
    margin-bottom: 0.95rem;
    font-size: clamp(1.55rem, 2.6vw, 2.35rem);
  }

  body.galleries-index-page .galleries-list {
    gap: 0.9rem 1rem;
  }

  body.galleries-index-page .gallery-entry {
    flex-basis: 12rem;
    width: 12rem;
  }

  body.galleries-index-page .gallery-entry img {
    aspect-ratio: 4 / 3;
    border-radius: 0.12rem;
  }

  body.galleries-index-page .gallery-entry span {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 0.3rem 0.45rem 0.36rem;
    background: rgba(0, 0, 0, 0.84);
    color: rgba(255, 255, 255, 0.84);
    font-size: clamp(1.1rem, 1.6vw, 1.45rem);
    line-height: 1;
  }

  body.galleries-index-page .gallery-entry a:hover span {
    color: #fff;
  }
}

.gallery-page-shell {
  --gallery-pad-top: clamp(1rem, 2vw, 1.7rem);
  --gallery-pad-bottom: clamp(0.45rem, 1vh, 0.8rem);
  --gallery-row-gap: clamp(1rem, 2vh, 1.5rem);
  --gallery-top-row: 4.4rem;
  --filmstrip-row: 8.75rem;
  --filmstrip-toggle-row: 1.55rem;
  height: 100svh;
  min-height: 100svh;
  display: grid;
  grid-template-rows: var(--gallery-top-row) minmax(0, 1fr) var(--filmstrip-row) var(--filmstrip-toggle-row);
  gap: var(--gallery-row-gap);
  padding: var(--gallery-pad-top) var(--page-pad) var(--gallery-pad-bottom);
  box-sizing: border-box;
  overflow: hidden;
  position: relative;
  transition: grid-template-rows var(--gallery-toggle-transition);
}

.gallery-page-shell.is-filmstrip-collapsed {
  --filmstrip-row: 1.35rem;
}

.gallery-topbar {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  height: 100%;
  min-height: 0;
  padding-top: 0.35rem;
  box-sizing: border-box;
  position: relative;
  z-index: 4;
}

.gallery-brand-block {
  display: grid;
  gap: 0.7rem;
}

.gallery-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  width: fit-content;
  font-size: 1.05rem;
  letter-spacing: 0.03em;
  text-transform: lowercase;
  white-space: nowrap;
}

.gallery-exit-overlay {
  display: none;
}

.entry-transition-card,
.gallery-transition-card {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: clamp(1.5rem, 4vw, 3rem);
  box-sizing: border-box;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  z-index: 5;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.7), transparent 32%),
    linear-gradient(180deg, #fbf8f2, #f7f4ee);
  transition:
    opacity 620ms ease,
    visibility 0s linear 620ms;
}

.entry-transition-card {
  position: fixed;
}

.entry-transition-card,
.gallery-transition-card {
  color: rgba(94, 91, 86, 0.58);
  font-family: var(--body-font);
  text-align: center;
  text-transform: lowercase;
}

.entry-transition-card span,
.gallery-transition-card span {
  font-size: clamp(1.95rem, 5.2vw, 4.2rem);
  font-weight: 300;
  letter-spacing: 0.08em;
  line-height: 0.95;
}

.entry-transition-card small,
.gallery-transition-card small {
  font-size: clamp(1.95rem, 5.2vw, 4.2rem);
  font-weight: 300;
  letter-spacing: 0.08em;
  line-height: 0.95;
}

.statement-entry-card span {
  font-size: clamp(1.95rem, 5.2vw, 4.2rem);
}

.entry-transition-card span,
.entry-transition-card small,
.gallery-transition-card span,
.gallery-transition-card small {
  color: rgba(94, 91, 86, 0.58);
}

body.has-gallery-entry.is-gallery-entry-card-visible .entry-transition-card,
body.has-gallery-entry.is-gallery-entry-card-visible .gallery-transition-card,
body.is-gallery-desktop-fullscreen-exit-overlay-visible .gallery-transition-card {
  opacity: 1;
  visibility: visible;
  transition-delay: 0s;
}

html.has-js body.has-page-entry.is-page-entry-card-visible .entry-transition-card {
  opacity: 1;
  visibility: visible;
  transition-delay: 0s;
}

html.has-js body.has-page-entry.is-page-entry-content-hidden .home-topbar,
html.has-js body.has-page-entry.is-page-entry-content-hidden .home-panel,
html.has-js body.has-page-entry.is-page-entry-content-hidden .site-bottom-strip-shell,
html.has-js body.has-page-entry.is-page-entry-content-hidden .site-bottom-strip-control,
html.has-js body.has-page-entry.is-page-entry-content-hidden .statement-page-shell > .gallery-topbar,
html.has-js body.has-page-entry.is-page-entry-content-hidden .statement-card {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

html.has-js body.has-page-entry.is-page-entry-content-fade-in .home-topbar,
html.has-js body.has-page-entry.is-page-entry-content-fade-in .home-panel,
html.has-js body.has-page-entry.is-page-entry-content-fade-in .site-bottom-strip-shell,
html.has-js body.has-page-entry.is-page-entry-content-fade-in .site-bottom-strip-control,
html.has-js body.has-page-entry.is-page-entry-content-fade-in .statement-page-shell > .gallery-topbar,
html.has-js body.has-page-entry.is-page-entry-content-fade-in .statement-card {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition:
    opacity 720ms cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0s linear 0s;
}

html.has-js body.has-page-entry.is-fallback-ready .home-topbar,
html.has-js body.has-page-entry.is-fallback-ready .home-panel,
html.has-js body.has-page-entry.is-fallback-ready .site-bottom-strip-shell,
html.has-js body.has-page-entry.is-fallback-ready .site-bottom-strip-control,
html.has-js body.has-page-entry.is-fallback-ready .statement-page-shell > .gallery-topbar,
html.has-js body.has-page-entry.is-fallback-ready .statement-card {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

body.has-gallery-entry .gallery-topbar,
body.gallery-page.has-gallery-entry:not(.is-gallery-entry-top-visible) .filmstrip-shell,
body.gallery-page.has-gallery-entry:not(.is-gallery-entry-top-visible) .filmstrip-control,
body.galleries-index-page.has-gallery-entry.is-gallery-entry-content-hidden .site-bottom-strip-shell,
body.galleries-index-page.has-gallery-entry.is-gallery-entry-content-hidden .site-bottom-strip-control,
body.has-gallery-entry.is-gallery-entry-content-hidden .galleries-index h1,
body.has-gallery-entry.is-gallery-entry-content-hidden .galleries-list,
body.has-gallery-entry.is-gallery-entry-content-hidden .gallery-layout {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

body.galleries-index-page.has-gallery-entry.is-gallery-entry-content-hidden .galleries-index {
  transform: translateY(0.7rem) scale(0.985);
  transform-origin: 100% 50%;
}

body.galleries-index-page.has-gallery-entry.is-gallery-entry-content-hidden .gallery-entry {
  opacity: 0;
  clip-path: inset(14% 9% 14% 9% round 0.18rem);
  transform: translateY(1rem) scale(0.94);
  transform-origin: 50% 58%;
}

body.has-gallery-entry.is-gallery-entry-top-visible .gallery-topbar,
body.gallery-page.has-gallery-entry.is-gallery-entry-top-visible .filmstrip-shell,
body.gallery-page.has-gallery-entry.is-gallery-entry-top-visible .filmstrip-control {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition:
    opacity 320ms ease,
    visibility 0s linear 0s;
}

body.galleries-index-page.has-gallery-entry.is-gallery-entry-content-fade-in .galleries-index h1,
body.galleries-index-page.has-gallery-entry.is-gallery-entry-content-fade-in .galleries-list {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

body.galleries-index-page.has-gallery-entry.is-gallery-entry-content-fade-in .galleries-index {
  transform: translateY(0) scale(1);
}

body.galleries-index-page.has-gallery-entry.is-gallery-entry-content-fade-in .gallery-entry {
  opacity: 1;
  clip-path: inset(0 round 0.15rem);
  transform: translateY(0) scale(1);
}

body.galleries-index-page.has-gallery-entry.is-gallery-entry-content-hidden .galleries-index h1,
body.galleries-index-page.has-gallery-entry.is-gallery-entry-content-hidden .galleries-list {
  transition: none;
}

body.galleries-index-page.has-gallery-entry.is-gallery-entry-content-hidden .galleries-index,
body.galleries-index-page.has-gallery-entry.is-gallery-entry-content-hidden .gallery-entry,
body.galleries-index-page.has-gallery-entry.is-gallery-entry-content-hidden .site-bottom-strip-shell,
body.galleries-index-page.has-gallery-entry.is-gallery-entry-content-hidden .site-bottom-strip-control {
  transition: none;
}

body.gallery-page.has-gallery-entry.is-gallery-entry-content-hidden .gallery-layout,
body.gallery-page.has-gallery-entry:not(.is-gallery-entry-top-visible) .filmstrip-shell,
body.gallery-page.has-gallery-entry:not(.is-gallery-entry-top-visible) .filmstrip-control {
  transition: none;
}

body.galleries-index-page.has-gallery-entry.is-gallery-entry-content-fade-in .galleries-index h1,
body.galleries-index-page.has-gallery-entry.is-gallery-entry-content-fade-in .galleries-list {
  transition:
    opacity 720ms cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0s linear 0s;
}

body.galleries-index-page.has-gallery-entry.is-gallery-entry-content-fade-in .galleries-index {
  transition: transform 720ms cubic-bezier(0.22, 1, 0.36, 1);
}

body.galleries-index-page.has-gallery-entry.is-gallery-entry-content-fade-in .gallery-entry {
  transition:
    clip-path 760ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 700ms ease,
    transform 760ms cubic-bezier(0.22, 1, 0.36, 1);
}

body.galleries-index-page.has-gallery-entry.is-gallery-entry-content-fade-in .site-bottom-strip-shell,
body.galleries-index-page.has-gallery-entry.is-gallery-entry-content-fade-in .site-bottom-strip-control {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition:
    opacity 720ms cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0s linear 0s;
}

body.galleries-index-page.has-gallery-entry.is-gallery-entry-content-fade-in .gallery-entry:nth-child(2) {
  transition-delay: 55ms;
}

body.galleries-index-page.has-gallery-entry.is-gallery-entry-content-fade-in .gallery-entry:nth-child(3) {
  transition-delay: 110ms;
}

body.galleries-index-page.has-gallery-entry.is-gallery-entry-content-fade-in .gallery-entry:nth-child(4) {
  transition-delay: 165ms;
}

body.galleries-index-page.has-gallery-entry.is-gallery-entry-content-fade-in .gallery-entry:nth-child(n + 5) {
  transition-delay: 220ms;
}

.gallery-layout {
  --info-width: clamp(18rem, 24vw, 24rem);
  display: grid;
  grid-template-columns: minmax(3.25rem, 6vw) minmax(0, 1fr) minmax(3rem, 4.5vw) var(--info-width);
  gap: clamp(1rem, 2.5vw, 2rem);
  align-items: center;
  height: 100%;
  max-height: 100%;
  min-height: 0;
  overflow: hidden;
  position: relative;
  z-index: 1;
  opacity: 1;
  transition:
    max-height var(--gallery-toggle-transition),
    opacity 340ms ease;
}

.gallery-stage {
  min-width: 0;
  min-height: 0;
  height: 100%;
  overflow: hidden;
  display: grid;
  place-items: center;
  overscroll-behavior: contain;
  transition: opacity 260ms ease;
}

.gallery-info-button {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 1.2rem;
  height: 1.2rem;
  aspect-ratio: 1;
  box-sizing: border-box;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0.08));
  color: var(--muted);
  font: inherit;
  font-size: 0.78rem;
  line-height: 1;
  font-style: italic;
  animation: none;
  transition:
    border-color 180ms ease,
    color 180ms ease,
    background-color 180ms ease;
}

.gallery-info-button::before {
  content: "";
  position: absolute;
  inset: -30%;
  background: linear-gradient(
    120deg,
    transparent 35%,
    rgba(255, 255, 255, 0.55) 50%,
    transparent 65%
  );
  opacity: 0.12;
  transform: translateX(-130%) rotate(8deg);
  animation: gallery-info-shimmer 6.5s ease-in-out infinite;
  pointer-events: none;
}

.gallery-info-button:hover {
  border-color: var(--line-strong);
  color: var(--muted);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0.08));
}

.gallery-info-button:hover::before {
  opacity: 0.12;
  animation-duration: 6.5s;
}

.gallery-info-copy {
  display: contents;
}

.gallery-info-mobile-button {
  display: none;
}

.gallery-info .site-kicker {
  display: block;
}

.gallery-page-experiment .gallery-info .site-kicker {
  order: 0;
}

.gallery-page-experiment .gallery-info .image-title {
  order: 1;
  margin: 0.55rem 0 0.85rem;
  font-family: var(--body-font);
  font-weight: 300;
  font-size: clamp(1.75rem, 2.2vw, 2.5rem);
  line-height: 1.05;
  color: inherit;
}

.gallery-page-experiment .gallery-info .gallery-title {
  order: 2;
  margin-bottom: 0.8rem;
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.1;
  color: var(--muted);
}

.gallery-info .gallery-title {
  order: 1;
}

.gallery-info .image-title {
  order: 2;
}

.gallery-info .gallery-rule {
  order: 3;
}

.gallery-info .image-description {
  order: 4;
}

.gallery-info .image-note {
  order: 5;
}

.gallery-info .gallery-count-rule {
  order: 6;
}

.gallery-info .gallery-count-row {
  order: 7;
}

.gallery-count-desktop-fullscreen {
  display: none;
}

.gallery-stage > .gallery-info-button {
  display: none;
}

.gallery-figure {
  margin: 0;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  touch-action: pan-y;
  user-select: none;
}

.gallery-figure img {
  grid-area: 1 / 1;
  max-width: 100%;
  max-height: calc(
    100svh
    - var(--gallery-pad-top)
    - var(--gallery-pad-bottom)
    - var(--gallery-top-row)
    - var(--filmstrip-row)
    - var(--filmstrip-toggle-row)
    - (var(--gallery-row-gap) * 3)
  );
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 0.15rem;
  opacity: 1;
  transition:
    max-height var(--gallery-toggle-transition),
    opacity 340ms ease;
}

.gallery-figure .gallery-image-incoming {
  opacity: 0;
  pointer-events: none;
}

.gallery-figure .gallery-image-incoming.is-visible {
  opacity: 1;
}

.gallery-figure .gallery-image-outgoing {
  opacity: 0;
}

body.is-gallery-middle-hidden .gallery-layout {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: none;
}

body.is-gallery-middle-fade-in .gallery-layout {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition:
    max-height var(--gallery-toggle-transition),
    opacity 520ms ease;
}

body.is-gallery-desktop-fullscreen-exit-fading-image .gallery-stage,
body.is-gallery-desktop-fullscreen-exit-fading-image .gallery-nav-prev,
body.is-gallery-desktop-fullscreen-exit-fading-image .gallery-nav-next {
  opacity: 0;
  pointer-events: none;
}

.gallery-nav {
  justify-self: center;
  align-self: center;
  width: 2.5rem;
  height: 2.5rem;
  display: inline-grid;
  place-items: center;
  padding: 0;
  border: 0;
  background: transparent;
  font-size: 1.7rem;
  line-height: 1;
  transition: opacity 260ms ease;
}

.gallery-nav:hover {
  background: transparent;
  transform: translateY(-1px);
}

.gallery-nav-prev {
  grid-column: 1;
}

.gallery-nav-next {
  grid-column: 3;
}

.gallery-info {
  grid-column: 4;
  align-self: center;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  text-align: left;
  padding-left: clamp(1rem, 1.5vw, 1.35rem);
  border-left: 1px solid var(--line);
  opacity: 1;
  transition:
    opacity 260ms ease,
    transform var(--gallery-toggle-transition);
}

.gallery-page-shell.is-changing-image .gallery-info {
  opacity: 0;
}

.gallery-page-shell.is-changing-image .gallery-nav-prev,
.gallery-page-shell.is-changing-image .gallery-nav-next {
  opacity: 0;
  pointer-events: none;
}

@media (min-width: 721px) {
  .gallery-exit-overlay {
    position: absolute;
    inset: var(--gallery-pad-top) var(--page-pad) var(--gallery-pad-bottom);
    display: grid;
    place-items: center;
    padding: clamp(1.5rem, 4vw, 3rem);
    box-sizing: border-box;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    z-index: 2;
    background:
      radial-gradient(circle at top right, rgba(255, 255, 255, 0.7), transparent 32%),
      linear-gradient(180deg, #fbf8f2, #f7f4ee);
    transition:
      opacity 620ms ease,
      visibility 0s linear 620ms;
  }

  body.is-gallery-desktop-fullscreen-exit-overlay-visible .gallery-exit-overlay {
    opacity: 1;
    visibility: visible;
    transition:
      opacity 520ms ease,
      visibility 0s linear 0s;
  }

  .gallery-topbar,
  .filmstrip-shell,
  .filmstrip-control {
    transition:
      opacity 320ms ease,
      visibility 0s linear 320ms;
  }

  body.is-gallery-desktop-fullscreen-exiting:not(.is-gallery-desktop-fullscreen-exit-top-visible) .gallery-topbar,
  body.is-gallery-desktop-fullscreen-exiting:not(.is-gallery-desktop-fullscreen-exit-top-visible) .filmstrip-shell,
  body.is-gallery-desktop-fullscreen-exiting:not(.is-gallery-desktop-fullscreen-exit-top-visible) .filmstrip-control {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }

  body.is-gallery-desktop-fullscreen-exit-top-visible .gallery-topbar,
  body.is-gallery-desktop-fullscreen-exit-top-visible .filmstrip-shell,
  body.is-gallery-desktop-fullscreen-exit-top-visible .filmstrip-control {
    opacity: 1;
    visibility: visible;
    transition-delay: 0s;
  }

  .gallery-page-experiment .gallery-info-mobile-button {
    display: none;
  }

  body.is-gallery-desktop-fullscreen .gallery-page-shell,
  body.is-gallery-desktop-fullscreen-exit-fading-image .gallery-page-shell {
    --gallery-top-row: 0rem;
  }

  body.is-gallery-desktop-fullscreen .gallery-topbar,
  body.is-gallery-desktop-fullscreen-exit-fading-image .gallery-topbar {
    visibility: hidden;
    pointer-events: none;
  }

  body.is-gallery-desktop-fullscreen .gallery-info,
  body.is-gallery-desktop-fullscreen-exit-fading-image .gallery-info {
    display: none;
  }

  body.is-gallery-desktop-fullscreen .filmstrip-control,
  body.is-gallery-desktop-fullscreen-exit-fading-image .filmstrip-control {
    display: grid;
    grid-template-columns: minmax(3.25rem, 6vw) minmax(0, 1fr) minmax(3.25rem, 6vw);
    align-items: end;
    gap: clamp(1rem, 2.5vw, 2rem);
    padding-left: 0;
    padding-right: 0;
  }

  body.is-gallery-desktop-fullscreen .strip-toggle,
  body.is-gallery-desktop-fullscreen-exit-fading-image .strip-toggle {
    justify-self: start;
  }

  body.is-gallery-desktop-fullscreen .gallery-count-desktop-fullscreen,
  body.is-gallery-desktop-fullscreen-exit-fading-image .gallery-count-desktop-fullscreen {
    display: inline-grid;
    justify-self: center;
    align-self: end;
    margin: 0;
    padding-bottom: 0.05rem;
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.35;
    letter-spacing: 0.03em;
    text-transform: lowercase;
    font-variant-numeric: tabular-nums;
  }

  body.is-gallery-desktop-fullscreen .gallery-fullscreen-link,
  body.is-gallery-desktop-fullscreen-exit-fading-image .gallery-fullscreen-link {
    justify-self: end;
  }

  body.is-gallery-desktop-fullscreen .gallery-layout,
  body.is-gallery-desktop-fullscreen-exit-fading-image .gallery-layout {
    grid-template-columns: minmax(3.25rem, 6vw) minmax(0, 1fr) minmax(3.25rem, 6vw);
  }

  body.is-gallery-desktop-fullscreen .gallery-stage,
  body.is-gallery-desktop-fullscreen-exit-fading-image .gallery-stage {
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto;
    align-items: stretch;
    justify-items: center;
    gap: 0.55rem;
  }

  body.is-gallery-desktop-fullscreen .gallery-figure,
  body.is-gallery-desktop-fullscreen-exit-fading-image .gallery-figure {
    grid-row: 1;
    width: 100%;
    height: 100%;
    min-height: 0;
    display: grid;
    place-items: center;
  }

  body.is-gallery-desktop-fullscreen .gallery-figure img,
  body.is-gallery-desktop-fullscreen-exit-fading-image .gallery-figure img {
    grid-area: 1 / 1;
    position: relative;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    min-width: 0;
    min-height: 0;
    transform: none;
    object-fit: contain;
    object-position: center center;
  }

  body.is-gallery-desktop-fullscreen .gallery-info-button,
  body.is-gallery-desktop-fullscreen-exit-fading-image .gallery-info-button {
    grid-row: 2;
    align-self: center;
    position: relative;
    z-index: 3;
    width: 1.7rem;
    height: 1.7rem;
    aspect-ratio: 1;
    box-sizing: border-box;
    margin: 0.14rem 0;
    display: inline-grid;
    place-items: center;
    padding: 0;
    border: 1px solid var(--line-strong);
    border-radius: 50%;
    background: transparent;
    color: var(--muted);
    font-size: 1rem;
    line-height: 1;
    font-style: italic;
    animation: ring-pulse 2.6s ease-in-out infinite alternate;
  }

  .filmstrip-shell,
  .filmstrip-control {
    position: relative;
    z-index: 4;
  }
}

.site-kicker,
.image-title,
.gallery-count,
.image-note {
  margin: 0;
}

.site-kicker {
  font-size: 0.92rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.gallery-info h1 {
  margin: 0.55rem 0 0.85rem;
  font-family: var(--body-font);
  font-weight: 300;
  font-size: clamp(1.75rem, 2.2vw, 2.5rem);
  line-height: 1.05;
}

.image-title {
  font-size: 1.05rem;
  color: var(--muted);
  margin-bottom: 0.8rem;
}

.gallery-count {
  font-size: 1.05rem;
  font-variant-numeric: tabular-nums;
}

.gallery-count-row {
  display: block;
}

.gallery-count-nav {
  display: none;
}

.gallery-rule {
  width: 4rem;
  height: 1px;
  background: var(--line);
  margin: 1rem 0 1.1rem;
}

.gallery-count-rule {
  width: 4rem;
  height: 1px;
  background: var(--line);
  margin: 1.15rem 0 0.95rem;
}

.image-description {
  margin: 0;
  max-width: 18rem;
  color: var(--muted);
}

.image-note {
  margin-top: 1.25rem;
  color: var(--muted);
  font-size: 0.98rem;
}

.filmstrip-shell {
  display: grid;
  grid-template-rows: minmax(0, 1fr);
  border-top: 1px solid var(--line);
  height: 100%;
  padding-top: 0.85rem;
  padding-bottom: 0;
  min-height: 0;
  overflow: hidden;
  transition: padding-top var(--gallery-toggle-transition);
}

.filmstrip-shell.is-collapsed {
  grid-template-rows: minmax(0, 1fr);
  border-top-color: var(--line);
  padding-top: 0.35rem;
}

.filmstrip-content {
  display: grid;
  grid-template-columns: minmax(2.5rem, 3rem) minmax(0, 1fr) minmax(2.5rem, 3rem);
  gap: 0.75rem;
  align-items: center;
  min-height: 0;
  max-height: 6.75rem;
  opacity: 1;
  overflow: hidden;
  transform: translateY(0);
  transition:
    max-height var(--gallery-toggle-transition),
    opacity var(--gallery-toggle-transition),
    transform var(--gallery-toggle-transition);
}

.filmstrip-shell.is-collapsed .filmstrip-content {
  max-height: 0;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-0.45rem);
}

.filmstrip-control {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--filmstrip-toggle-row);
  padding-left: calc(3rem + 0.75rem);
  padding-bottom: 0.35rem;
  box-sizing: border-box;
}

.filmstrip-frame {
  grid-column: 2;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
}

.filmstrip-frame::-webkit-scrollbar {
  display: none;
}

.strip-nav {
  width: 2.2rem;
  height: 2.2rem;
  border: 0;
  background: transparent;
  padding: 0;
  font-size: 1.55rem;
  line-height: 1;
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 220ms ease,
    transform var(--gallery-toggle-transition),
    background-color 160ms ease,
    border-color 160ms ease;
}

.strip-nav:hover {
  background: transparent;
  transform: translateY(-1px);
}

.strip-nav-prev {
  grid-column: 1;
}

.strip-nav-next {
  grid-column: 3;
}

.strip-toggle,
.gallery-fullscreen-link {
  border: 0;
  background: transparent;
  padding: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.35;
  transition:
    transform var(--gallery-toggle-transition),
    opacity var(--gallery-toggle-transition),
    font-weight 180ms ease;
}

.gallery-fullscreen-link:not([aria-pressed="true"]) {
  animation: soft-pulse 1.4s ease-in-out infinite alternate;
}

.gallery-fullscreen-link[aria-pressed="true"] {
  animation: none;
}

@media (hover: hover) and (pointer: fine) {
  .strip-toggle:hover,
  .gallery-fullscreen-link:hover {
    background: transparent;
    font-weight: 300;
    transform: none;
    text-decoration: none;
  }
}

.thumbnail-strip {
  display: flex;
  gap: 0.52rem;
  align-items: stretch;
  padding: 0.15rem 0 0.35rem;
  width: max-content;
}

.thumbnail-strip button {
  flex: 0 0 auto;
  width: clamp(3.2rem, 3.9vw, 4.1rem);
  aspect-ratio: 2 / 3;
  padding: 0;
  border-radius: 0.3rem;
  overflow: hidden;
  background: transparent;
  border: 1px solid transparent;
}

.thumbnail-strip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.thumbnail-strip button[aria-current="true"] {
  border-color: var(--focus);
}

.gallery-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  flex-wrap: wrap;
}

.gallery-header p {
  margin: 0.2rem 0 0;
  color: var(--muted);
}

.gallery-viewer {
  display: grid;
  place-items: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 1rem 0;
}

.slide-frame {
  width: min(100%, 72rem);
  display: grid;
  gap: 0.9rem;
  justify-items: center;
}

.slide-figure {
  width: 100%;
  margin: 0;
  display: grid;
  place-items: center;
  min-height: min(70vh, 46rem);
}

.slide-figure img {
  max-width: 100%;
  max-height: min(72vh, 44rem);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 0.15rem;
  opacity: 1;
  transition: opacity 180ms ease;
}

.slide-figure.is-fading img {
  opacity: 0;
}

.gallery-controls,
.thumbnail-toggle-row {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.button,
button {
  appearance: none;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.42);
  color: var(--fg);
  padding: 0.72rem 1rem;
  font: inherit;
  border-radius: 999px;
  cursor: pointer;
  transition:
    background-color 160ms ease,
    border-color 160ms ease,
    transform 160ms ease;
}

.button:hover,
button:hover {
  background: rgba(255, 255, 255, 0.7);
  border-color: rgba(22, 22, 22, 0.5);
}

.button:active,
button:active {
  transform: translateY(1px);
}

.gallery-meta {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.thumbnail-panel {
  display: none;
  border-top: 1px solid var(--line);
  padding-top: 1rem;
}

.thumbnail-panel.is-open {
  display: block;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 720px) {
  .home-shell {
    grid-template-rows: auto minmax(0, 1fr) var(--site-bottom-rail-row) var(--site-bottom-control-row);
    gap: 0;
    height: auto;
    padding: 0.75rem 1.1rem 1.15rem 1rem;
  }

  .home-panel {
    width: 100%;
    min-height: 0;
    padding-top: 0.2rem;
  }

  .home-topbar {
    min-height: 2rem;
    padding-top: 0;
  }

  .home-main {
    gap: 1.05rem;
    padding-top: 0;
  }

  .wordmark {
    gap: 0.6rem;
    font-size: clamp(3rem, 10.5vw, 4rem);
    letter-spacing: 0.015em;
  }

  .wordmark .divider {
    height: 1.65em;
  }

  .home-primary-nav {
    font-size: clamp(1.15rem, 4.5vw, 1.45rem);
    gap: 0.02rem;
  }

  .home-primary-link {
    padding-block: 0.1em 0.22em;
  }

  .home-primary-link-featured > span:first-child {
    font-size: clamp(1.9rem, 7vw, 2.55rem);
  }

  .home-primary-link-introduction,
  .home-primary-link-prints {
    margin-right: 0.55rem;
  }

  .home-lower {
    bottom: 0.7rem;
  }

  .home-secondary-nav {
    gap: 0.02rem;
    font-size: clamp(1.15rem, 4.4vw, 1.45rem);
  }

  .site-bottom-strip-link {
    font-size: 0.98rem;
  }

  .statement-layout {
    display: block;
  }

  .statement-page-shell {
    grid-template-rows: auto auto var(--site-bottom-rail-row) var(--site-bottom-control-row);
    gap: 0;
    height: auto;
    min-height: 100svh;
  }

  .gallery-topbar {
    width: 100%;
  }

  .statement-card {
    width: 100%;
    padding-top: 0;
    margin-right: 0;
    margin-left: auto;
    text-align: right;
  }

  .galleries-index-shell {
    grid-template-rows: auto auto var(--site-bottom-rail-row) var(--site-bottom-control-row);
    gap: 2.6rem;
    height: auto;
    min-height: 100svh;
    padding: 0.55rem 1rem 0.5rem;
  }

  .galleries-index {
    align-self: start;
    width: 100%;
  }

  .galleries-index h1 {
    margin-bottom: 1.35rem;
  }

  .galleries-list {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.45rem;
  }

  .gallery-entry {
    flex: none;
    width: auto;
  }

  .gallery-entry img {
    max-height: none;
  }

  .statement-links {
    display: grid;
    justify-items: end;
    gap: 0.45rem;
  }

  .gallery-viewer {
    padding: 0.8rem 0;
  }

  .slide-figure {
    min-height: min(56vh, 34rem);
  }

  .slide-figure img {
    max-height: min(58vh, 34rem);
  }

  .gallery-page-shell {
    --gallery-pad-top: 1rem;
    --gallery-pad-bottom: 0.5rem;
    --gallery-row-gap: 0.85rem;
    --gallery-top-row: 4.4rem;
    --filmstrip-row: 6.75rem;
    --filmstrip-toggle-row: 1.55rem;
    gap: var(--gallery-row-gap);
    overflow: auto;
    height: auto;
    min-height: 100svh;
    padding: var(--gallery-pad-top) 1rem var(--gallery-pad-bottom);
    grid-template-rows: var(--gallery-top-row) var(--filmstrip-toggle-row) var(--filmstrip-row) auto;
  }

  .gallery-page-shell.is-filmstrip-collapsed {
    --filmstrip-row: 1.25rem;
  }

  .gallery-layout {
    grid-row: 4;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto;
    gap: 1rem 0.85rem;
    align-items: start;
    height: auto;
    max-height: none;
    overflow: visible;
  }

  .gallery-info {
    display: grid;
    grid-template-columns: minmax(0, 9fr) minmax(1.6rem, 1fr);
    column-gap: 0.45rem;
    align-items: center;
    grid-column: 1 / -1;
    grid-row: 2;
    border-left: 0;
    border-top: 1px solid var(--line);
    padding-left: 0;
    padding-top: 1rem;
    margin-top: 0.15rem;
    text-align: left;
  }

  .gallery-info-copy {
    grid-column: 1;
    grid-row: 1;
    display: grid;
    gap: 0.18rem;
    min-width: 0;
  }

  .gallery-info .site-kicker {
    display: block;
  }

  .gallery-info-mobile-button {
    grid-column: 2;
    grid-row: 1 / 3;
    display: inline-grid;
    align-self: center;
    justify-self: center;
  }

  .gallery-count-row {
    grid-column: 1;
    grid-row: 2;
  }

  .gallery-rule,
  .gallery-count-rule,
  .gallery-mobile-actions,
  .gallery-info > .image-description,
  .gallery-info > .image-note {
    grid-column: 1 / -1;
  }

  .gallery-count-rule {
    display: none;
  }

  .gallery-stage {
    grid-column: 1;
    grid-row: 1;
    height: auto;
    overflow: visible;
    align-items: start;
    justify-items: center;
  }

  .gallery-figure {
    height: auto;
    overflow: visible;
    align-items: start;
    justify-items: center;
  }

  .gallery-figure img {
    align-self: start;
    justify-self: center;
    max-height: none;
    width: auto;
    height: auto;
  }

  .gallery-nav-prev {
    display: none;
  }

  .gallery-nav-next {
    display: none;
  }

  .filmstrip-shell {
    grid-row: 3;
    grid-template-rows: minmax(0, 1fr);
    padding-top: 0.7rem;
    padding-bottom: 0;
  }

  .filmstrip-control {
    grid-row: 2;
    align-self: end;
    padding-left: calc(2rem + 0.45rem);
    padding-bottom: 0.05rem;
    min-height: var(--filmstrip-toggle-row);
  }

  .filmstrip-shell.is-collapsed {
    grid-template-rows: minmax(0, 1fr);
    padding-top: 0.35rem;
  }

  .filmstrip-content {
    grid-template-columns: 2rem minmax(0, 1fr) 2rem;
    gap: 0.45rem;
    max-height: 6rem;
    width: 100%;
  }

  .filmstrip-frame {
    min-width: 0;
    width: 100%;
    overflow-x: auto;
  }

  .thumbnail-strip {
    display: flex;
    width: max-content;
    min-width: max-content;
  }

  .strip-toggle {
    font-size: 0.95rem;
  }

  .thumbnail-strip button {
    width: 3.2rem;
  }

  .gallery-page-experiment .gallery-page-shell {
    --gallery-top-row: 2.65rem;
    --gallery-pad-top: 0.55rem;
    --gallery-pad-bottom: 0.5rem;
    --gallery-row-gap: 0rem;
    --gallery-image-info-gap: 0.45rem;
    --gallery-first-screen: calc(100svh - var(--gallery-pad-top) - var(--gallery-pad-bottom) - var(--gallery-top-row) - var(--gallery-landscape-action-row));
    --gallery-first-screen: calc(100dvh - var(--gallery-pad-top) - var(--gallery-pad-bottom) - var(--gallery-top-row) - var(--gallery-landscape-action-row));
    display: grid;
    grid-template-rows: var(--gallery-top-row) minmax(0, 1fr);
    height: 100svh;
    height: 100dvh;
    min-height: 100svh;
    min-height: 100dvh;
    overflow-x: hidden;
    overflow-y: hidden;
    padding: var(--gallery-pad-top) 1rem var(--gallery-pad-bottom);
  }

  .gallery-page-experiment .gallery-page-shell.is-filmstrip-collapsed {
    --filmstrip-row: 1.25rem;
  }

  .gallery-page-experiment .gallery-topbar {
    display: flex;
  }

  .gallery-page-experiment .gallery-layout {
    grid-row: 2;
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto;
    gap: var(--gallery-image-info-gap);
    height: var(--gallery-first-screen);
    min-height: 0;
    overflow: hidden;
  }

  body.is-gallery-fullscreen.gallery-page-experiment .gallery-page-shell {
    --gallery-first-screen: calc(100svh - var(--gallery-pad-top) - var(--gallery-pad-bottom) - var(--gallery-landscape-action-row));
    --gallery-first-screen: calc(100dvh - var(--gallery-pad-top) - var(--gallery-pad-bottom) - var(--gallery-landscape-action-row));
    grid-template-rows: minmax(0, 1fr);
  }

  body.is-gallery-fullscreen.gallery-page-experiment .gallery-topbar {
    display: none;
  }

  body.is-gallery-fullscreen.gallery-page-experiment .gallery-layout {
    grid-row: 1;
  }

  .gallery-page-experiment .gallery-stage {
    width: 100%;
    height: 100%;
    min-height: 0;
    overflow: hidden;
    align-items: center;
    justify-items: center;
  }

  .gallery-page-experiment .gallery-figure {
    width: 100%;
    height: 100%;
    align-items: center;
    justify-items: center;
    overflow: hidden;
  }

  .gallery-page-experiment .gallery-figure img {
    align-self: center;
    justify-self: center;
    max-width: 100%;
    max-height: 100%;
    min-width: 0;
    min-height: 0;
    width: auto;
    height: auto;
    object-fit: contain;
    object-position: 50% 50%;
  }

  .gallery-page-experiment .gallery-figure img.is-landscape {
    align-self: center;
    object-position: 50% 50%;
  }

  .gallery-page-experiment .gallery-info {
    display: grid;
    grid-template-columns: minmax(0, 9fr) minmax(1.6rem, 1fr);
    gap: 0.18rem 0.45rem;
    align-content: end;
    align-self: end;
    align-items: center;
    justify-items: stretch;
    min-height: 0;
    max-height: none;
    overflow: visible;
    border-top: 0;
    padding-top: 0;
    margin-top: 0;
    text-align: left;
  }

  .gallery-page-experiment .gallery-info-copy {
    grid-column: 1;
    grid-row: 1;
    display: grid;
    gap: 0.18rem;
    min-width: 0;
  }

  .gallery-page-experiment .gallery-info-mobile-button {
    grid-column: 2;
    grid-row: 1 / 3;
    display: inline-grid;
    align-self: center;
    justify-self: center;
  }

  .gallery-page-experiment .site-kicker {
    display: block;
    font-size: clamp(0.68rem, 2.9vw, 0.86rem);
    letter-spacing: 0.12em;
  }

  .gallery-page-experiment .gallery-info .image-title {
    margin: 0.02rem 0 0;
    font-size: clamp(1.9rem, 9.2vw, 2.85rem);
    line-height: 1;
  }

  .gallery-page-experiment .gallery-info .gallery-title {
    margin-bottom: 0;
    font-size: clamp(1rem, 5.2vw, 1.55rem);
    line-height: 1.1;
  }

  .gallery-page-experiment .gallery-count {
    margin: 0;
    font-size: clamp(1rem, 4.6vw, 1.32rem);
  }

  .gallery-page-experiment .gallery-count-row {
    grid-column: 1;
    grid-row: 2;
    display: inline-grid;
    grid-template-columns: 1.7rem auto 1.7rem;
    align-items: center;
    justify-content: start;
    gap: 0.45rem;
    margin-top: 0.08rem;
    width: fit-content;
  }

  .gallery-page-experiment .gallery-count-nav {
    width: 1.7rem;
    height: 1.7rem;
    display: inline-grid;
    place-items: center;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--muted);
    font-size: 1.15rem;
    line-height: 1;
  }

  .gallery-page-experiment .gallery-count-nav:hover {
    background: transparent;
    transform: translateY(-1px);
  }

  .gallery-page-experiment .gallery-more-link {
    grid-column: 1;
    display: inline-flex;
    justify-self: start;
    width: 100%;
    max-width: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--muted);
    font: inherit;
    font-size: clamp(0.78rem, 3.3vw, 0.95rem);
    line-height: 1.35;
    text-align: left;
    text-transform: lowercase;
    white-space: nowrap;
  }

  .gallery-page-experiment .gallery-rule {
    grid-column: 1 / -1;
    width: 100%;
    margin: 0.16rem 0 0.05rem;
  }

  .gallery-page-experiment .gallery-count-rule {
    display: none;
  }

  .gallery-page-experiment .gallery-mobile-actions {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    justify-self: stretch;
    gap: 0.75rem;
    padding: 0 0.15rem;
    width: 100%;
    box-sizing: border-box;
  }

  .gallery-page-experiment .gallery-filmstrip-link,
  .gallery-page-experiment .gallery-fullscreen-link {
    display: inline-flex;
    max-width: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--muted);
    font: inherit;
    font-size: clamp(0.78rem, 3.3vw, 0.95rem);
    line-height: 1.35;
    min-height: 1.35em;
    text-transform: lowercase;
    white-space: nowrap;
  }

  .gallery-page-experiment .gallery-filmstrip-link {
    justify-self: start;
    text-align: left;
  }

  .gallery-page-experiment .gallery-fullscreen-link {
    justify-self: end;
    text-align: right;
  }

  .gallery-page-experiment .gallery-more-link:hover,
  .gallery-page-experiment .gallery-filmstrip-link:hover,
  .gallery-page-experiment .gallery-fullscreen-link:hover {
    background: transparent;
    text-decoration: none;
  }

  .gallery-page-experiment .gallery-count-rule,
  .gallery-page-experiment .gallery-info > .image-description,
  .gallery-page-experiment .gallery-info > .image-note {
    display: none;
  }

  .gallery-page-experiment .filmstrip-control {
    display: none;
  }

  .gallery-page-experiment .filmstrip-shell {
    display: none;
  }
}

@media (max-height: 760px) {
  body.home-page .home-panel {
    grid-template-rows: auto auto;
    align-content: start;
    gap: clamp(0.9rem, 2.8vh, 1.4rem);
  }

  body.home-page .home-lower {
    position: static;
    right: auto;
    bottom: auto;
    margin-top: 0;
  }
}

@media (max-width: 960px) and (orientation: landscape) {
  body.galleries-index-page .galleries-index-shell {
    grid-template-rows: auto auto var(--site-bottom-rail-row) var(--site-bottom-control-row);
    gap: 0.9rem;
    height: auto;
    min-height: 100svh;
    padding: 0.55rem 0.75rem 0.5rem;
    overflow: auto;
  }

  body.galleries-index-page .galleries-index {
    align-self: start;
    width: 100%;
  }

  body.galleries-index-page .galleries-index h1 {
    margin-bottom: 0.8rem;
    font-size: clamp(1.15rem, 3vw, 1.55rem);
  }

  body.galleries-index-page .galleries-list {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
    width: min(100%, 24rem);
    margin-left: auto;
  }

  body.galleries-index-page .gallery-entry {
    flex: none;
    width: auto;
  }

  body.galleries-index-page .gallery-entry img {
    aspect-ratio: 1;
    border-radius: 0.12rem;
  }

  body.galleries-index-page .gallery-entry span {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 0.34rem 0.5rem 0.4rem;
    background: rgba(0, 0, 0, 0.84);
    color: rgba(255, 255, 255, 0.84);
    font-size: clamp(1.18rem, 2.6vw, 1.7rem);
    line-height: 1.02;
  }

  body.galleries-index-page .gallery-entry a:hover span {
    color: #fff;
  }
}

@media (max-width: 760px) and (orientation: landscape) {
  body.galleries-index-page .galleries-list {
    width: min(100%, 19rem);
  }
}

@media (min-width: 721px) {
  body.galleries-index-page .galleries-index-shell {
    grid-template-rows: auto auto var(--site-bottom-rail-row) var(--site-bottom-control-row);
    gap: 2.6rem;
    height: auto;
    min-height: 100svh;
    padding: 0.55rem 1rem 0.5rem;
  }

  body.galleries-index-page .galleries-index {
    align-self: start;
    width: 100%;
  }

  body.galleries-index-page .galleries-index h1 {
    margin-bottom: 1.35rem;
  }

  body.galleries-index-page .galleries-list {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.45rem;
    width: min(100%, 31rem);
    margin-left: auto;
  }

  body.galleries-index-page .gallery-entry {
    flex: none;
    width: auto;
  }

  body.galleries-index-page .gallery-entry img {
    aspect-ratio: 1;
    max-height: none;
  }

  body.galleries-index-page .gallery-entry span {
    padding: 0.4rem 0.6rem 0.48rem;
    font-size: clamp(1.65rem, 2.35vw, 2.45rem);
    line-height: 1.03;
  }
}

.gallery-mobile-actions,
.gallery-filmstrip-link,
.gallery-more-link,
.gallery-more-modal,
.gallery-filmstrip-modal {
  display: none;
}

body.is-gallery-modal-open {
  overflow: hidden;
}

.gallery-page-experiment .gallery-more-modal,
.gallery-page-experiment .gallery-filmstrip-modal {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.gallery-page-experiment .gallery-more-modal[hidden],
.gallery-page-experiment .gallery-filmstrip-modal[hidden] {
  display: none;
}

.gallery-more-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 19, 17, 0.36);
}

.gallery-more-panel {
  position: relative;
  z-index: 1;
  width: min(100%, 27rem);
  padding: 1.35rem;
  border: 1px solid var(--line);
  border-radius: 0.35rem;
  background: var(--bg);
  text-align: left;
}

.gallery-filmstrip-panel {
  position: relative;
  z-index: 1;
  width: min(100%, 31rem);
  box-sizing: border-box;
  overflow: hidden;
  padding: 1.35rem 0 1.15rem;
  border: 1px solid var(--line);
  border-radius: 0.35rem;
  background: var(--bg);
  text-align: left;
}

.gallery-filmstrip-panel .site-kicker {
  padding: 0 1rem;
}

.gallery-filmstrip-modal-frame {
  margin-top: 1.1rem;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: thin;
}

.gallery-filmstrip-modal-strip {
  padding: 0.2rem 1rem 0.45rem;
}

.gallery-filmstrip-modal-strip button {
  width: clamp(4.2rem, 20vw, 5.4rem);
}

.gallery-more-panel .image-description {
  margin-top: 1rem;
  max-width: none;
}

.gallery-more-panel .gallery-title {
  margin: 0.45rem 0 0;
  font-family: inherit;
  font-weight: 400;
  font-size: 1.05rem;
  line-height: 1.1;
  color: var(--muted);
}

.gallery-more-panel .image-title {
  margin-top: 0.45rem;
  margin-bottom: 0;
  font-family: var(--body-font);
  font-weight: 300;
  font-size: clamp(1.55rem, 4vw, 2.2rem);
  line-height: 1.05;
}

.gallery-more-panel .image-note {
  margin-top: 1.15rem;
}

.gallery-more-close {
  position: absolute;
  top: 0.55rem;
  right: 0.65rem;
  width: 2rem;
  height: 2rem;
  display: inline-grid;
  place-items: center;
  padding: 0;
  border: 0;
  background: transparent;
  font-size: 1.45rem;
  line-height: 1;
}

@media (max-height: 480px) and (orientation: landscape) and (pointer: coarse) {
  body.gallery-page::before {
    content: "Please rotate your device or view on a larger screen.";
    position: fixed;
    inset: 0;
    z-index: 50;
    display: grid;
    place-items: center;
    padding: 1.5rem;
    background: var(--bg);
    color: var(--fg);
    font-size: 1.1rem;
    line-height: 1.35;
    text-align: center;
  }

  body.gallery-page > * {
    visibility: hidden;
  }

  body.home-page .home-shell {
    grid-template-rows: auto minmax(0, 1fr) var(--site-bottom-rail-row) var(--site-bottom-control-row);
    gap: 0;
    min-height: 100svh;
    height: auto;
    padding: 0.55rem 0.9rem 0.85rem;
  }

  body.home-page .home-panel {
    width: 100%;
    min-height: 0;
  }

  body.home-page .home-main {
    gap: 0.7rem;
    padding-top: 0;
  }

  body.home-page .home-panel {
    grid-template-rows: auto auto;
    align-content: start;
    gap: 0.75rem;
  }

  body.home-page .wordmark {
    gap: 0.6rem;
    font-size: clamp(2.6rem, 7vw, 3.8rem);
    letter-spacing: 0.015em;
  }

  body.home-page .wordmark .divider {
    height: 1.55em;
  }

  body.home-page .home-primary-nav {
    font-size: clamp(1rem, 2.6vw, 1.2rem);
    gap: 0;
  }

  body.home-page .home-primary-link {
    padding-block: 0.09em 0.2em;
  }

  body.home-page .home-primary-link-featured > span:first-child {
    font-size: clamp(1.7rem, 4.8vw, 2.3rem);
  }

  body.home-page .home-primary-link-introduction,
  body.home-page .home-primary-link-prints {
    margin-right: 0.35rem;
  }

  body.home-page .home-lower {
    position: static;
    right: auto;
    bottom: auto;
    margin-top: 0;
  }

  body.home-page .home-secondary-nav {
    gap: 0;
    font-size: clamp(1rem, 2.6vw, 1.2rem);
  }

  body.statement-mobile-divider .statement-divider-block::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 1px;
    background: var(--line-strong);
    transform: translateX(-50%);
  }

  body.gallery-page-experiment::before {
    content: none;
    display: none;
  }

  body.gallery-page-experiment > * {
    visibility: visible;
  }

  .gallery-page-experiment .gallery-page-shell {
    --gallery-landscape-gap: clamp(0.75rem, 2vw, 1.25rem);
    --gallery-landscape-action-row: 1.05rem;
    --gallery-top-row: 1.65rem;
    display: grid;
    grid-template-rows: var(--gallery-top-row) minmax(0, 1fr);
    height: 100svh;
    min-height: 100svh;
    overflow: hidden;
    padding: 0.55rem 0.75rem;
  }

  .gallery-page-experiment .filmstrip-control,
  .gallery-page-experiment .filmstrip-shell {
    display: none;
  }

  .gallery-page-experiment .gallery-topbar {
    display: flex;
  }

  .gallery-page-experiment .gallery-layout {
    grid-row: 2;
    height: calc(100svh - 1.1rem - var(--gallery-landscape-action-row) - var(--gallery-top-row));
    grid-template-columns: minmax(0, 1fr) minmax(12rem, 33vw);
    grid-template-rows: minmax(0, 1fr);
    gap: var(--gallery-landscape-gap);
    align-items: stretch;
    box-sizing: border-box;
    position: relative;
  }

  .gallery-page-experiment .gallery-nav-prev,
  .gallery-page-experiment .gallery-nav-next {
    display: none;
  }

  .gallery-page-experiment .gallery-stage {
    grid-column: 1;
    grid-row: 1;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-items: center;
  }

  .gallery-page-experiment .gallery-figure {
    width: 100%;
    height: 100%;
    align-items: center;
    justify-items: center;
  }

  .gallery-page-experiment .gallery-figure img {
    align-self: center;
    justify-self: center;
    max-width: 100%;
    max-height: 100%;
    min-width: 0;
    min-height: 0;
    width: auto;
    height: auto;
    object-fit: contain;
    object-position: center center;
  }

  .gallery-page-experiment .gallery-figure img.is-landscape {
    object-fit: contain;
  }

  .gallery-page-experiment .gallery-info {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-column: 2;
    grid-row: 1;
    align-self: center;
    justify-items: start;
    align-content: center;
    max-height: 100%;
    overflow: visible;
    gap: 0.18rem;
    text-align: left;
  }

  .gallery-page-experiment .gallery-info-copy {
    grid-column: 1;
    grid-row: auto;
    display: grid;
    gap: 0.18rem;
    min-width: 0;
    order: 1;
  }

  .gallery-page-experiment .gallery-info-mobile-button {
    grid-column: 1;
    grid-row: auto;
    display: inline-grid;
    justify-self: start;
    order: 2;
  }

  .gallery-page-experiment .site-kicker {
    display: block;
    font-size: clamp(0.62rem, 1.8vw, 0.78rem);
  }

  .gallery-page-experiment .gallery-info .image-title {
    font-size: clamp(1.35rem, 4vw, 2.15rem);
  }

  .gallery-page-experiment .gallery-info .gallery-title {
    font-size: clamp(0.86rem, 2.4vw, 1.15rem);
  }

  .gallery-page-experiment .gallery-count {
    font-size: clamp(0.88rem, 2.4vw, 1.12rem);
  }

  .gallery-page-experiment .gallery-count-row {
    grid-column: 1;
    grid-row: auto;
    order: 3;
  }

  .gallery-page-experiment .gallery-rule {
    display: none;
  }

  .gallery-page-experiment .gallery-more-link {
    grid-column: 1;
    display: inline-flex;
    justify-self: start;
    width: 100%;
    max-width: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--muted);
    font: inherit;
    font-size: clamp(0.72rem, 2vw, 0.9rem);
    line-height: 1.35;
    text-align: left;
    text-transform: lowercase;
    white-space: nowrap;
  }

  .gallery-page-experiment .gallery-mobile-actions {
    display: grid;
    position: fixed;
    left: 0.75rem;
    right: 0.75rem;
    bottom: max(0.25rem, env(safe-area-inset-bottom));
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 0.75rem;
    align-items: center;
    justify-self: stretch;
    padding: 0 0.15rem;
    width: auto;
    box-sizing: border-box;
    z-index: 2;
  }

  .gallery-page-experiment .gallery-filmstrip-link,
  .gallery-page-experiment .gallery-fullscreen-link {
    display: inline-flex;
    max-width: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--muted);
    font: inherit;
    font-size: clamp(0.72rem, 2vw, 0.9rem);
    line-height: 1.35;
    min-height: 1.35em;
    text-transform: lowercase;
    white-space: nowrap;
  }

  .gallery-page-experiment .gallery-filmstrip-link {
    justify-self: start;
    text-align: left;
  }

  .gallery-page-experiment .gallery-fullscreen-link {
    justify-self: end;
    text-align: right;
  }

  .gallery-page-experiment .gallery-info > .image-description,
  .gallery-page-experiment .gallery-info > .image-note {
    display: none;
  }

  .gallery-page-experiment .gallery-more-modal,
  .gallery-page-experiment .gallery-filmstrip-modal {
    padding: 0.55rem;
  }

  .gallery-more-panel,
  .gallery-filmstrip-panel {
    max-height: calc(100svh - 1.1rem);
    overflow-y: auto;
  }
}

@media (max-height: 480px) and (orientation: landscape) {
  body.statement-mobile-divider .statement-divider-block::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 1px;
    background: var(--line-strong);
    transform: translateX(-50%);
  }

  body.gallery-page-experiment::before {
    content: none;
    display: none;
  }

  body.gallery-page-experiment > * {
    visibility: visible;
  }

  .gallery-page-experiment .gallery-page-shell {
    --gallery-landscape-gap: clamp(0.75rem, 2vw, 1.25rem);
    --gallery-landscape-action-row: 1.05rem;
    --gallery-top-row: 1.65rem;
    display: grid;
    grid-template-rows: var(--gallery-top-row) minmax(0, 1fr);
    height: 100svh;
    min-height: 100svh;
    overflow: hidden;
    padding: 0.55rem 0.75rem;
  }

  .gallery-page-experiment .filmstrip-control,
  .gallery-page-experiment .filmstrip-shell,
  .gallery-page-experiment .gallery-nav-prev,
  .gallery-page-experiment .gallery-nav-next {
    display: none;
  }

  .gallery-page-experiment .gallery-topbar {
    display: flex;
  }

  .gallery-page-experiment .gallery-layout {
    grid-row: 2;
    height: calc(100svh - 1.1rem - var(--gallery-landscape-action-row) - var(--gallery-top-row));
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(12rem, 33vw);
    grid-template-rows: minmax(0, 1fr);
    gap: var(--gallery-landscape-gap);
    align-items: stretch;
    box-sizing: border-box;
    padding-bottom: 0.85rem;
    overflow: hidden;
    position: relative;
  }

  .gallery-page-experiment .gallery-stage {
    grid-column: 1;
    grid-row: 1;
    width: 100%;
    height: 100%;
    display: grid;
    align-items: center;
    justify-items: center;
    overflow: hidden;
  }

  .gallery-page-experiment .gallery-figure {
    width: 100%;
    height: 100%;
    display: grid;
    align-items: center;
    justify-items: center;
    overflow: hidden;
  }

  .gallery-page-experiment .gallery-figure img,
  .gallery-page-experiment .gallery-figure img.is-landscape {
    align-self: center;
    justify-self: center;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    min-width: 0;
    min-height: 0;
    object-fit: contain;
    object-position: center center;
  }

  .gallery-page-experiment .gallery-info {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-column: 2;
    grid-row: 1;
    align-self: center;
    justify-items: start;
    align-content: center;
    max-height: 100%;
    overflow: visible;
    gap: 0.18rem;
    text-align: left;
  }

  .gallery-page-experiment .gallery-info-copy {
    grid-column: 1;
    grid-row: auto;
    display: grid;
    gap: 0.18rem;
    min-width: 0;
    order: 1;
  }

  .gallery-page-experiment .gallery-info-mobile-button {
    grid-column: 1;
    grid-row: auto;
    display: inline-grid;
    justify-self: start;
    order: 2;
  }

  .gallery-page-experiment .gallery-count {
    margin: 0;
  }

  .gallery-page-experiment .gallery-count-row {
    grid-column: 1;
    grid-row: auto;
    order: 3;
    display: inline-grid;
    grid-template-columns: 1.45rem auto 1.45rem;
    align-items: center;
    justify-content: start;
    gap: 0.35rem;
    width: fit-content;
  }

  .gallery-page-experiment .gallery-count-nav {
    width: 1.45rem;
    height: 1.45rem;
    display: inline-grid;
    place-items: center;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--muted);
    font-size: 1rem;
    line-height: 1;
  }

  .gallery-page-experiment .gallery-rule,
  .gallery-page-experiment .gallery-count-rule,
  .gallery-page-experiment .gallery-info > .image-description,
  .gallery-page-experiment .gallery-info > .image-note {
    display: none;
  }

  .gallery-page-experiment .gallery-more-link {
    grid-column: 1;
    display: inline-flex;
    justify-self: start;
    width: 100%;
    max-width: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--muted);
    font: inherit;
    font-size: clamp(0.72rem, 2vw, 0.9rem);
    line-height: 1.35;
    text-align: left;
    text-transform: lowercase;
    white-space: nowrap;
  }

  .gallery-page-experiment .gallery-mobile-actions {
    display: grid;
    position: fixed;
    left: 0.75rem;
    right: 0.75rem;
    bottom: max(0.25rem, env(safe-area-inset-bottom));
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 0.75rem;
    align-items: center;
    justify-self: stretch;
    padding: 0 0.15rem;
    width: auto;
    box-sizing: border-box;
    z-index: 2;
  }

  .gallery-page-experiment .gallery-filmstrip-link,
  .gallery-page-experiment .gallery-fullscreen-link {
    display: inline-flex;
    max-width: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--muted);
    font: inherit;
    font-size: clamp(0.72rem, 2vw, 0.9rem);
    line-height: 1.35;
    min-height: 1.35em;
    text-transform: lowercase;
    white-space: nowrap;
  }

  .gallery-page-experiment .gallery-filmstrip-link {
    justify-self: start;
    text-align: left;
  }

  .gallery-page-experiment .gallery-fullscreen-link {
    justify-self: end;
    text-align: right;
  }

  .gallery-page-experiment .gallery-more-modal,
  .gallery-page-experiment .gallery-filmstrip-modal {
    padding: 0.55rem;
  }

  .gallery-more-panel,
  .gallery-filmstrip-panel {
    max-height: calc(100svh - 1.1rem);
    overflow-y: auto;
  }
}

@media (orientation: landscape) and (pointer: coarse) {
  body.is-gallery-fullscreen.gallery-page-experiment::before {
    content: none;
    display: none;
  }

  body.is-gallery-fullscreen.gallery-page-experiment > * {
    visibility: visible;
  }

  body.is-gallery-fullscreen.gallery-page-experiment .gallery-page-shell {
    --gallery-landscape-gap: clamp(0.75rem, 2vw, 1.25rem);
    --gallery-landscape-action-row: 1.05rem;
    display: grid;
    grid-template-rows: minmax(0, 1fr);
    height: 100svh;
    min-height: 100svh;
    height: 100dvh;
    min-height: 100dvh;
    overflow: hidden;
    padding: 0.55rem 0.75rem;
  }

  body.is-gallery-fullscreen.gallery-page-experiment .gallery-topbar,
  body.is-gallery-fullscreen.gallery-page-experiment .filmstrip-control,
  body.is-gallery-fullscreen.gallery-page-experiment .filmstrip-shell,
  body.is-gallery-fullscreen.gallery-page-experiment .gallery-nav-prev,
  body.is-gallery-fullscreen.gallery-page-experiment .gallery-nav-next {
    display: none;
  }

  body.is-gallery-fullscreen.gallery-page-experiment .gallery-layout {
    height: calc(100svh - 1.1rem - var(--gallery-landscape-action-row));
    height: calc(100dvh - 1.1rem - var(--gallery-landscape-action-row));
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(12rem, 33vw);
    grid-template-rows: minmax(0, 1fr);
    gap: var(--gallery-landscape-gap);
    align-items: stretch;
    box-sizing: border-box;
    padding-bottom: 0.85rem;
    overflow: hidden;
    position: relative;
  }

  body.is-gallery-fullscreen.gallery-page-experiment .gallery-stage {
    grid-column: 1;
    grid-row: 1;
    width: 100%;
    height: 100%;
    display: grid;
    align-items: center;
    justify-items: center;
    overflow: hidden;
  }

  body.is-gallery-fullscreen.gallery-page-experiment .gallery-figure {
    width: 100%;
    height: 100%;
    display: grid;
    align-items: center;
    justify-items: center;
    overflow: hidden;
  }

  body.is-gallery-fullscreen.gallery-page-experiment .gallery-figure img {
    align-self: center;
    justify-self: center;
    max-width: 100%;
    max-height: 100%;
    min-width: 0;
    min-height: 0;
    width: auto;
    height: auto;
    object-fit: contain;
    object-position: center center;
  }

  body.is-gallery-fullscreen.gallery-page-experiment .gallery-figure img.is-landscape {
    object-fit: contain;
  }

  body.is-gallery-fullscreen.gallery-page-experiment .gallery-info {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-column: 2;
    grid-row: 1;
    align-self: center;
    justify-items: start;
    align-content: center;
    max-height: 100%;
    overflow: visible;
    gap: 0.18rem;
    text-align: left;
  }

  body.is-gallery-fullscreen.gallery-page-experiment .gallery-info-copy {
    grid-column: 1;
    grid-row: auto;
    display: grid;
    gap: 0.18rem;
    min-width: 0;
    order: 1;
  }

  body.is-gallery-fullscreen.gallery-page-experiment .gallery-info-mobile-button {
    grid-column: 1;
    grid-row: auto;
    display: inline-grid;
    justify-self: start;
    order: 2;
  }

  body.is-gallery-fullscreen.gallery-page-experiment .gallery-count {
    margin: 0;
  }

  body.is-gallery-fullscreen.gallery-page-experiment .gallery-count-row {
    grid-column: 1;
    grid-row: auto;
    order: 3;
    display: inline-grid;
    grid-template-columns: 1.45rem auto 1.45rem;
    align-items: center;
    justify-content: start;
    gap: 0.35rem;
    width: fit-content;
  }

  body.is-gallery-fullscreen.gallery-page-experiment .gallery-count-nav {
    width: 1.45rem;
    height: 1.45rem;
    display: inline-grid;
    place-items: center;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--muted);
    font-size: 1rem;
    line-height: 1;
  }

  body.is-gallery-fullscreen.gallery-page-experiment .gallery-rule,
  body.is-gallery-fullscreen.gallery-page-experiment .gallery-count-rule,
  body.is-gallery-fullscreen.gallery-page-experiment .gallery-info > .image-description,
  body.is-gallery-fullscreen.gallery-page-experiment .gallery-info > .image-note {
    display: none;
  }

  body.is-gallery-fullscreen.gallery-page-experiment .gallery-more-link {
    grid-column: 1;
    display: inline-flex;
    justify-self: start;
    width: 100%;
    max-width: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--muted);
    font: inherit;
    font-size: clamp(0.72rem, 2vw, 0.9rem);
    line-height: 1.35;
    text-align: left;
    text-transform: lowercase;
    white-space: nowrap;
  }

  body.is-gallery-fullscreen.gallery-page-experiment .gallery-mobile-actions {
    display: grid;
    position: fixed;
    left: 0.75rem;
    right: 0.75rem;
    bottom: max(0.25rem, env(safe-area-inset-bottom));
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 0.75rem;
    align-items: center;
    justify-self: stretch;
    padding: 0 0.15rem;
    width: auto;
    box-sizing: border-box;
    z-index: 2;
  }

  body.is-gallery-fullscreen.gallery-page-experiment .gallery-filmstrip-link,
  body.is-gallery-fullscreen.gallery-page-experiment .gallery-fullscreen-link {
    display: inline-flex;
    max-width: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--muted);
    font: inherit;
    font-size: clamp(0.72rem, 2vw, 0.9rem);
    line-height: 1.35;
    min-height: 1.35em;
    text-transform: lowercase;
    white-space: nowrap;
  }

  body.is-gallery-fullscreen.gallery-page-experiment .gallery-filmstrip-link {
    justify-self: start;
    text-align: left;
  }

  body.is-gallery-fullscreen.gallery-page-experiment .gallery-fullscreen-link {
    justify-self: end;
    text-align: right;
  }

  body.is-gallery-fullscreen.gallery-page-experiment .gallery-more-modal,
  body.is-gallery-fullscreen.gallery-page-experiment .gallery-filmstrip-modal {
    padding: 0.55rem;
  }

  body.is-gallery-fullscreen.gallery-page-experiment .gallery-more-panel,
  body.is-gallery-fullscreen.gallery-page-experiment .gallery-filmstrip-panel {
    max-height: calc(100svh - 1.1rem);
    max-height: calc(100dvh - 1.1rem);
    overflow-y: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  body {
    opacity: 1;
  }
}

@keyframes link-pulse {
  from {
    transform: translateY(0) scale(1);
  }

  to {
    transform: translateY(-1px) scale(1.025);
  }
}

@keyframes statement-nav-shimmer {
  from {
    left: -42%;
    opacity: 0;
  }

  18% {
    opacity: 0.92;
  }

  to {
    left: 112%;
    opacity: 0;
  }
}

@keyframes gallery-info-shimmer {
  0% {
    transform: translateX(-130%) rotate(8deg);
    opacity: 0.08;
  }

  45% {
    opacity: 0.18;
  }

  100% {
    transform: translateX(130%) rotate(8deg);
    opacity: 0.08;
  }
}

@keyframes soft-pulse {
  from {
    opacity: 0.46;
  }

  to {
    opacity: 1;
  }
}

@keyframes ring-pulse {
  from {
    box-shadow: 0 0 0 0 rgba(42, 35, 30, 0);
  }

  to {
    box-shadow: 0 0 0 0.14rem rgba(42, 35, 30, 0.09);
  }
}
