:root {
  --paper: #f4f0e8;
  --paper-soft: #fbf8f1;
  --paper-card: #fffaf0;
  --ink: #1f1b16;
  --text: #4e473e;
  --muted: #84796b;
  --faint: #a99f8f;
  --line: #d9d0c1;
  --line-strong: #b9ad9b;
  --olive: #5f6f52;
  --olive-dark: #3f4a35;
  --sepia: #9f7544;
  --shadow: 0 18px 42px rgba(54, 43, 25, 0.08);
  --display: Georgia, "Times New Roman", serif;
  --sans: "Trebuchet MS", "Gill Sans", "Segoe UI", sans-serif;
  --mono: "Courier New", ui-monospace, monospace;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  min-height: 100%;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 25% 8%, rgba(255, 255, 255, 0.8), transparent 26rem),
    radial-gradient(circle at 78% 15%, rgba(213, 196, 166, 0.24), transparent 24rem),
    linear-gradient(110deg, rgba(90, 79, 51, 0.035) 0 1px, transparent 1px 7px),
    var(--paper);
  font-family: var(--sans);
  line-height: 1.5;
}

body::before,
body::after {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
}

body::before {
  background-image:
    linear-gradient(rgba(80, 63, 38, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(80, 63, 38, 0.025) 1px, transparent 1px);
  background-size: 34px 34px, 38px 38px;
  opacity: 0.3;
}

body::after {
  background-image:
    radial-gradient(circle at 30% 20%, rgba(45, 35, 22, 0.045) 0 1px, transparent 1px),
    radial-gradient(circle at 72% 58%, rgba(45, 35, 22, 0.035) 0 1px, transparent 1px);
  background-size: 7px 7px, 11px 11px;
  mix-blend-mode: multiply;
  opacity: 0.28;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

button,
input,
textarea,
select {
  color: inherit;
  font: inherit;
}

:focus-visible {
  outline: 2px solid var(--olive);
  outline-offset: 4px;
}

.project-page-shell {
  width: min(100% - 68px, 1500px);
  min-height: 100vh;
  margin: 0 auto;
}

main {
  min-width: 0;
}

.project-header {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr) auto;
  column-gap: clamp(1.5rem, 3vw, 3.5rem);
  align-items: center;
  min-height: 68px;
  border-bottom: 1px solid var(--line-strong);
  background: transparent;
}

.brand {
  font-family: var(--display);
  font-size: clamp(1.9rem, 2.3vw, 2.5rem);
  letter-spacing: 0.04em;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: clamp(1.55rem, 4.2vw, 4.5rem);
  min-width: 0;
}

.main-nav a,
.header-kicker,
.section-topline h2,
.archive-meta span,
.footer-column span,
.project-meta dt {
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.main-nav a {
  position: relative;
  padding: 0.7rem 0;
  font-weight: 700;
  transition: color 180ms ease;
}

.main-nav a::after {
  position: absolute;
  right: 0;
  bottom: -1.23rem;
  left: 0;
  height: 2px;
  content: "";
  background: var(--olive);
  opacity: 0;
  transform: scaleX(0.5);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.main-nav a:hover,
.main-nav a:focus-visible,
.main-nav a.is-active {
  color: var(--olive-dark);
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after,
.main-nav a.is-active::after {
  opacity: 1;
  transform: scaleX(1);
}

.header-kicker {
  justify-self: end;
  margin: 0;
  max-width: 100%;
  white-space: nowrap;
}

.projects-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 170px 300px;
  gap: clamp(1.5rem, 3vw, 3rem);
  align-items: start;
  padding: clamp(3rem, 5.2vw, 5rem) 0 clamp(2.7rem, 4.6vw, 4.2rem);
}

body.effects-image-hover .project-page-shell .projects-hero::after {
  content: none;
}

.hero-copy h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(3.35rem, 7.1vw, 6.8rem);
  font-weight: 400;
  line-height: 0.83;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

.page-path {
  margin: 1.35rem 0 1.65rem;
  color: var(--olive-dark);
  font-family: var(--mono);
  font-size: clamp(1rem, 1.3vw, 1.18rem);
  letter-spacing: 0.06em;
}

.hero-description {
  max-width: 34rem;
  margin: 0;
  font-size: clamp(0.96rem, 1.1vw, 1.05rem);
  line-height: 1.65;
}

.archive-meta {
  display: grid;
  gap: 0.35rem;
  padding-top: 0.25rem;
}

.archive-meta strong {
  margin: 0 0 0.9rem;
  color: var(--sepia);
  font-family: var(--display);
  font-size: 2rem;
  letter-spacing: 0.18em;
  line-height: 1;
}

.archive-meta b {
  margin: 0 0 1rem;
  font-family: var(--mono);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.archive-stamp {
  position: relative;
  min-width: 0;
  margin-top: 0.25rem;
  padding: 0.5rem;
  border: 1px solid rgba(161, 149, 128, 0.5);
  background: var(--paper);
}

/* Split Showcase by Arsen Zbidniakov: https://codepen.io/ARS/pen/JogjRq
   Native polygon morphing, adapted to the site's own project covers and paper. */
.cover-showcase {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: 100%;
  aspect-ratio: 10 / 7;
  padding: 0;
  overflow: hidden;
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}

.cover-showcase:disabled {
  cursor: default;
}

.showcase-piece {
  position: relative;
  min-width: 0;
  height: 100%;
  overflow: hidden;
  clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%);
  transition: clip-path 1200ms cubic-bezier(0.65, 0, 0.35, 1);
}

.showcase-piece img {
  position: absolute;
  top: 0;
  left: 0;
  width: 400%;
  max-width: none;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.88) contrast(1.01);
}

.showcase-piece:nth-child(2) img { left: -100%; }
.showcase-piece:nth-child(3) img { left: -200%; }
.showcase-piece:nth-child(4) img { left: -300%; }

.showcase-caption {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 0.6rem;
  align-items: center;
  min-height: 2.5rem;
  padding: 0.35rem 0.2rem 0;
}

.showcase-title {
  min-width: 0;
  color: var(--olive-dark);
  font-family: var(--display);
  font-size: 0.95rem;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.showcase-count {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.65rem;
  white-space: nowrap;
}

.showcase-toggle {
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--olive-dark);
  cursor: pointer;
  font-family: var(--sans);
  font-size: 0.75rem;
}

.showcase-toggle:hover,
.showcase-toggle:focus-visible {
  border-color: var(--olive);
  background: var(--paper-soft);
}

.showcase-toggle:disabled {
  opacity: 0.4;
  cursor: default;
}

.showcase-empty {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 1rem;
  font-family: var(--mono);
  font-size: 0.75rem;
}

html[data-wong-motion="reduced"] .showcase-piece {
  transition: none;
}

.corner {
  position: absolute;
  width: 18px;
  height: 18px;
  border-color: rgba(161, 149, 128, 0.52);
  border-style: solid;
}

.corner-top-left {
  top: -12px;
  left: -12px;
  border-width: 1px 0 0 1px;
}

.corner-top-right {
  top: -12px;
  right: -12px;
  border-width: 1px 1px 0 0;
}

.corner-bottom-left {
  bottom: -12px;
  left: -12px;
  border-width: 0 0 1px 1px;
}

.corner-bottom-right {
  right: -12px;
  bottom: -12px;
  border-width: 0 1px 1px 0;
}

.project-exhibition {
  padding-bottom: clamp(2.2rem, 4vw, 3.2rem);
}

.section-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.section-topline h2 {
  margin: 0;
  color: var(--olive-dark);
  font-weight: 700;
}

.project-controls {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.project-position {
  margin: 0 0.65rem 0 0;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.75rem;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.project-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.icon-button {
  display: inline-grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  color: var(--olive-dark);
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.15rem;
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.icon-button:hover,
.icon-button:focus-visible {
  color: var(--paper-soft);
  background: var(--olive-dark);
  border-color: var(--olive-dark);
}

.icon-button:disabled {
  opacity: 0.35;
  cursor: default;
}

.project-rail {
  display: flex;
  gap: clamp(1rem, 2vw, 1.8rem);
  margin: 1.25rem 0 2rem;
  padding: 0 0 0.3rem;
  overflow-x: auto;
  border-top: 1px solid var(--line-strong);
  scrollbar-width: thin;
  scrollbar-color: var(--line-strong) transparent;
  scroll-snap-type: x proximity;
}

.rail-node {
  display: grid;
  flex: 1 0 10.5rem;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.3rem 0.8rem;
  align-content: start;
  min-width: 0;
  min-height: 5.35rem;
  padding: 1.1rem 0 0.9rem;
  color: var(--text);
  background: transparent;
  border: 0;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  cursor: pointer;
  text-align: left;
  scroll-snap-align: start;
  transition: color 180ms ease, border-color 180ms ease;
}

.rail-node:focus-visible {
  outline-offset: -4px;
}

.rail-node-number {
  grid-row: 1 / 3;
  padding-top: 0.15rem;
  color: var(--faint);
  font-family: var(--mono);
  font-size: 0.75rem;
  font-variant-numeric: tabular-nums;
}

.rail-node-title {
  font-family: var(--display);
  font-size: 1.12rem;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.rail-node-year {
  grid-column: 2;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.67rem;
  letter-spacing: 0.08em;
}

.rail-node:hover,
.rail-node:focus-visible,
.rail-node.is-active,
.rail-node.is-active .rail-node-number {
  color: var(--olive-dark);
}

.rail-node:hover {
  border-bottom-color: var(--line-strong);
}

.rail-node.is-active {
  border-bottom-color: var(--olive);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.25rem, 2.1vw, 2rem);
  align-items: stretch;
}

.project-card-index {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin: 0 0 0.7rem;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.project-selected-label {
  color: var(--olive-dark);
  visibility: hidden;
}

.project-card.is-active .project-selected-label {
  visibility: visible;
}

.project-empty {
  grid-column: 1 / -1;
  margin: 0;
  padding: 2rem 0;
  color: var(--muted);
}

.project-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 0.75rem;
  background: rgba(255, 250, 239, 0.18);
  border: 1px solid rgba(187, 173, 148, 0.72);
  color: var(--ink);
  cursor: pointer;
  scroll-margin-top: 1.5rem;
  animation: fade-up 520ms ease-out both;
  transition:
    border-color 200ms ease,
    box-shadow 200ms ease,
    transform 200ms ease,
    background-color 200ms ease;
}

.project-card::after {
  position: absolute;
  right: 42%;
  bottom: -3px;
  left: 42%;
  height: 4px;
  content: "";
  background: var(--olive);
  opacity: 0;
  transform: scaleX(0.4);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.project-card:hover,
.project-card:focus-visible,
.project-card.is-active {
  border-color: var(--olive);
  background: rgba(255, 250, 239, 0.42);
  box-shadow: 0 12px 30px rgba(54, 43, 25, 0.075);
}

.project-card:hover img,
.project-card:focus-visible img {
  transform: scale(1.025);
}

.project-card.is-active {
  border-color: var(--olive);
}

body.effects-image-hover .project-page-shell .project-card.is-active {
  box-shadow: 0 12px 30px rgba(54, 43, 25, 0.075);
}

.project-card.is-active::after {
  opacity: 1;
  transform: scaleX(1);
}

.project-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid rgba(80, 63, 38, 0.16);
  filter: saturate(0.88) contrast(1.01);
  transition: transform 220ms ease;
}


.project-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 0.55rem 0.25rem 0.15rem;
}

.project-card h3 {
  margin: 0 0 0.34rem;
  font-family: var(--display);
  font-size: clamp(1.55rem, 2.1vw, 2rem);
  font-weight: 400;
  line-height: 1.05;
}


.project-tag {
  align-self: flex-start;
  margin: 0 0 1rem;
  padding: 0.18rem 0.42rem;
  border: 1px solid var(--line-strong);
  color: var(--muted);
  font-size: 0.76rem;
}

.project-meta {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  margin: 0 0 0.7rem;
}

.project-meta div {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.25rem;
  align-content: start;
}

.project-meta div:last-child {
  justify-self: end;
}

.project-meta dt {
  color: var(--muted);
}

.project-meta dd {
  margin: 0;
  font-size: 0.78rem;
}

.project-summary {
  min-height: 3.35rem;
  margin: 0 0 1rem;
  font-size: 0.88rem;
  line-height: 1.5;
}

.view-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  align-self: flex-start;
  min-width: 11.35rem;
  margin-top: auto;
  padding: 0.62rem 1rem;
  border: 1px solid var(--line-strong);
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease;
}

.view-link span {
  margin-left: 1.25rem;
  font-size: 1rem;
  transition: transform 180ms ease;
}

.view-link:hover,
.view-link:focus-visible {
  color: var(--paper-soft);
  background: var(--olive-dark);
  border-color: var(--olive-dark);
}

.view-link:hover span,
.view-link:focus-visible span {
  transform: translateX(3px);
}

.project-footer {
  display: grid;
  grid-template-columns: 64px 120px 150px 170px 1fr;
  gap: clamp(1.4rem, 3.4vw, 3.9rem);
  align-items: center;
  margin-top: clamp(1.4rem, 2.6vw, 2.4rem);
  padding: 1.45rem 0 1.6rem;
  border-top: 1px solid rgba(185, 173, 155, 0.72);
  background: transparent;
}

.footer-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-right: 1px solid var(--line-strong);
  padding-right: 1.1rem;
}

.footer-mark svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: var(--ink);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.2;
}

.footer-column span {
  display: block;
  margin-bottom: 0.45rem;
}

.footer-column p,
.copyright {
  margin: 0;
  font-size: 0.86rem;
}

.copyright {
  justify-self: end;
  color: var(--muted);
}

.reveal-item {
  animation: fade-up 520ms ease-out both;
}

.archive-meta.reveal-item {
  animation-delay: 90ms;
}

.archive-stamp.reveal-item {
  animation-delay: 150ms;
}

.project-exhibition.reveal-item {
  animation-delay: 220ms;
}

.project-card:nth-child(1) {
  animation-delay: 290ms;
}

.project-card:nth-child(2) {
  animation-delay: 340ms;
}

.project-card:nth-child(3) {
  animation-delay: 390ms;
}

.project-card:nth-child(4) {
  animation-delay: 440ms;
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1320px) {
  .project-header {
    grid-template-columns: 150px minmax(0, 1fr);
    row-gap: 0.5rem;
    padding: 0.9rem 0;
  }

  .header-kicker {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .projects-hero {
    grid-template-columns: minmax(0, 1fr) 150px 250px;
    gap: clamp(1.6rem, 3vw, 2.5rem);
  }

  .hero-copy h1 {
    font-size: clamp(3.35rem, 7vw, 6rem);
    letter-spacing: 0.025em;
  }

  .archive-meta {
    max-width: 170px;
  }
}

@media (max-width: 1180px) {
  .project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .project-card.is-active {
    margin-top: 0;
  }
}

@media (min-width: 821px) and (max-width: 1000px) {
  .projects-hero {
    grid-template-columns: minmax(0, 1fr) 230px;
    gap: 1.5rem 2rem;
  }

  .hero-copy {
    grid-column: 1;
    grid-row: 1 / span 2;
  }

  .archive-meta {
    grid-column: 2;
    grid-row: 1;
  }

  .archive-stamp {
    grid-column: 2;
    grid-row: 2;
    margin-top: 0;
  }
}

@media (max-width: 820px) {
  .project-page-shell {
    width: min(100% - 32px, 720px);
  }

  .project-header {
    display: block;
    min-height: 0;
    padding: 1rem 0 0.9rem;
  }

  .brand {
    display: inline-block;
    margin-bottom: 0.7rem;
  }

  .main-nav {
    justify-content: flex-start;
    gap: 0.95rem;
    overflow-x: auto;
    padding-bottom: 0.45rem;
  }

  .main-nav a {
    padding: 0.35rem 0;
    font-size: 0.68rem;
    letter-spacing: 0.1em;
  }

  .main-nav a::after {
    bottom: -0.15rem;
  }

  .header-kicker {
    margin-top: 0.45rem;
  }

  .projects-hero {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 3.2rem 0 3rem;
  }

  .hero-copy h1 {
    max-width: 100%;
    overflow-wrap: anywhere;
    font-size: clamp(3.35rem, 16vw, 5.2rem);
    letter-spacing: 0.02em;
  }

  .hero-copy,
  .archive-meta {
    min-width: 0;
    width: 100%;
  }

  .archive-stamp {
    width: min(100%, 420px);
    margin-top: 0;
    justify-self: center;
  }

  .showcase-toggle {
    width: 2.75rem;
    height: 2.75rem;
  }

  .archive-meta {
    max-width: none;
    grid-template-columns: auto 1fr;
    gap: 0.4rem 1rem;
  }

  .archive-meta strong,
  .archive-meta b {
    margin: 0;
  }

  .section-topline {
    align-items: center;
  }

  .section-topline h2 {
    max-width: 10rem;
    font-size: 0.7rem;
    letter-spacing: 0.12em;
  }

  .project-controls {
    gap: 0.4rem;
  }

  .project-position {
    margin-right: 0.25rem;
    font-size: 0.67rem;
  }

  .icon-button {
    width: 2.75rem;
    height: 2.75rem;
  }

  .project-rail {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.25rem 1.25rem;
    margin-bottom: 1.4rem;
    overflow-x: visible;
  }

  .rail-node {
    min-height: 4.5rem;
    padding: 0.8rem 0;
  }

  .rail-node-year {
    overflow-wrap: anywhere;
  }

  .project-grid {
    grid-template-columns: 1fr;
  }

  .project-card img {
    aspect-ratio: 4 / 3;
  }

  .project-meta,
  .project-meta div {
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }

  .project-meta div:last-child {
    justify-self: start;
  }

  .view-link {
    width: 100%;
    min-width: 0;
  }

  .project-footer {
    grid-template-columns: 1fr;
    gap: 1rem;
    align-items: start;
  }

  .footer-mark {
    border-right: 0;
    padding-right: 0;
  }

  .copyright {
    justify-self: start;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
  }
}

/* Project pages use the same pagination controls as the photography archive. */
.project-cover-link { display: block; overflow: hidden; }
.project-card h3 a:hover, .project-card h3 a:focus-visible { color: var(--olive-dark); }
.project-card h3, .project-tag, .project-meta dd, .project-summary { overflow-wrap: anywhere; }
#project-results { scroll-margin-top: 1rem; }
.gallery-pagination {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center;
  gap: 0.8rem 1rem; margin-top: 1rem; padding: 0.9rem 0 0.2rem;
  border-top: 1px solid var(--line); font-family: var(--mono); font-size: 0.73rem; letter-spacing: 0.03em;
}
.gallery-page-summary { color: var(--muted); }
.gallery-page-controls { display: flex; flex-wrap: wrap; gap: 0.35rem; align-items: center; }
.gallery-page-controls button {
  min-width: 2.25rem; min-height: 2.25rem; padding: 0.35rem 0.6rem;
  border: 1px solid var(--line-strong); background: transparent; color: var(--olive-dark); font: inherit; cursor: pointer;
}
.gallery-page-controls button[aria-current="page"] { background: var(--olive-dark); color: var(--paper-soft); border-color: var(--olive-dark); }
.gallery-page-controls button:hover:not(:disabled), .gallery-page-controls button:focus-visible { border-color: var(--olive); outline: 1px solid var(--olive); outline-offset: 2px; }
.gallery-page-controls button:disabled { opacity: 0.35; cursor: default; }
.project-page-shell [hidden] { display: none !important; }
@media (max-width: 680px) {
  .gallery-page-controls button { min-width: 2.75rem; min-height: 2.75rem; }
  .gallery-pagination { align-items: flex-start; }
}
