:root {
  --paper: #ffffff;
  --ink: #242521;
  --muted: #82827b;
  --line: #deded6;
  --gutter: 48px;
  --header: 92px;
}
* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--paper);
  color: var(--ink);
}
body {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
a {
  touch-action: manipulation;
}
button:focus-visible,
a:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 6px;
}
button:disabled {
  cursor: default;
}
button:disabled svg {
  opacity: 0.18;
}
svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.15;
}
h1,
h2,
p,
figure {
  margin: 0;
}
em {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: normal;
}
[hidden] {
  display: none !important;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
.skip-link {
  position: fixed;
  left: 20px;
  top: -100px;
  padding: 12px;
  background: var(--ink);
  color: white;
  z-index: 20;
}
.skip-link:focus {
  top: 16px;
}
.header {
  height: var(--header);
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.brand {
  font-family:
    -apple-system, system-ui, Inter, "Segoe UI", Roboto, Oxygen, Ubuntu,
    Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 15px;
  line-height: 24px;
  letter-spacing: normal;
  color: rgb(0, 0, 0);
}
.header nav {
  display: flex;
  gap: 34px;
  font-size: 13px;
}
.header nav a {
  padding: 8px 0;
  color: var(--muted);
  position: relative;
}
.header nav a:hover,
.header nav a[aria-current] {
  color: var(--ink);
}
.header nav a[aria-current]:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--ink);
}
#main:focus {
  outline: 0;
}
.work {
  height: calc(100svh - var(--header));
  min-height: 550px;
  display: grid;
  grid-template-rows: 74px minmax(0, 1fr) 74px 78px;
}
.gallery-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--gutter);
}
.gallery-top h1 {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.03em;
}
.gallery-top h1 span {
  color: var(--muted);
  margin-left: 18px;
}
.filters {
  display: flex;
  gap: 25px;
}
.filter {
  color: var(--muted);
  font-size: 12px;
  padding: 8px 0;
  min-height: 40px;
}
.filter[aria-pressed="true"],
.filter:hover {
  color: var(--ink);
}
.filter[aria-pressed="true"] {
  text-decoration: underline;
  text-underline-offset: 5px;
}
.filter sup {
  font-size: 8px;
  display: inline-block;
  margin-left: 3px;
  text-decoration: none;
}
.gallery-shell {
  position: relative;
  min-height: 0;
}
.gallery {
  height: 100%;
  display: flex;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
  touch-action: pan-x pan-y pinch-zoom;
  cursor: grab;
}
.gallery::-webkit-scrollbar {
  display: none;
}
.gallery.dragging {
  cursor: grabbing;
  scroll-snap-type: none;
  scroll-behavior: auto;
}
.slide {
  height: 100%;
  flex: 0 0 100%;
  width: 100%;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 130px;
  scroll-snap-align: center;
  scroll-snap-stop: always;
}
.slide img {
  display: block;
  height: 100%;
  width: 100%;
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
}
.gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 68px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 50%;
  transition: border-color 0.2s;
}
.gallery-arrow:hover:not(:disabled) {
  border-color: var(--line);
}
.gallery-arrow svg {
  width: 34px;
  height: 24px;
}
.arrow-prev {
  left: calc(var(--gutter) - 17px);
}
.arrow-next {
  right: calc(var(--gutter) - 17px);
}
.gallery-bottom {
  margin: 0 var(--gutter);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  border-bottom: 1px solid var(--line);
}
.photo-caption {
  display: flex;
  gap: 16px;
  align-items: baseline;
}
.chapter {
  font-size: 10px;
  color: var(--muted);
}
.photo-caption h2 {
  font-size: 14px;
  font-weight: 400;
}
.photo-counter {
  font-size: 12px;
  justify-self: end;
  font-variant-numeric: tabular-nums;
}
.counter-divider {
  color: var(--line);
  margin: 0 13px;
}
#total-count {
  color: var(--muted);
}
.filmstrip-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  padding: 0 var(--gutter);
}
.filmstrip {
  display: flex;
  gap: 7px;
  overflow: auto;
  padding: 7px 3px;
  scrollbar-width: none;
  max-width: 100%;
}
.filmstrip::-webkit-scrollbar {
  display: none;
}
.thumb {
  position: relative;
  flex: 0 0 31px;
  height: 41px;
  padding: 0;
  opacity: 0.45;
  transition: opacity 0.2s;
}
.thumb:hover,
.thumb[aria-pressed="true"] {
  opacity: 1;
}
.thumb[aria-pressed="true"]:after {
  content: "";
  position: absolute;
  inset: -4px;
  border: 1px solid var(--ink);
}
.thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about-page {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr);
  column-gap: clamp(36px, 6vw, 96px);
  padding: 48px var(--gutter) 64px;
  font-family:
    -apple-system, system-ui, Inter, "Segoe UI", Roboto, Oxygen, Ubuntu,
    Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 24px;
  color: #000;
}
.about-column h1,
.about-column h2 {
  margin: 0 0 32px;
  font-size: 32px;
  font-weight: 650;
  line-height: 38px;
  letter-spacing: -0.8px;
}
.about-text p {
  margin: 0 0 16px;
  overflow-wrap: anywhere;
}
.about-text p:last-child {
  margin-bottom: 0;
}
.about-text a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.about-text h3 {
  margin: 0 0 12px;
  font-size: 15px;
  font-weight: 600;
}
.about-text h3:not(:first-child) {
  margin-top: 32px;
}
.placeholder {
  color: #94948c;
}
body:has(.contact-dialog[open]) {
  overflow: hidden;
}
.contact-dialog {
  width: min(500px, calc(100% - 40px));
  max-height: calc(100dvh - 40px);
  padding: 20px;
  border: 1px solid #e8e8e8;
  border-radius: 4px;
  background: #fff;
  color: #000;
  box-shadow: 0 20px 90px #0002;
  font-family:
    -apple-system, system-ui, Inter, "Segoe UI", Roboto, Oxygen, Ubuntu,
    Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
}
.contact-dialog::backdrop {
  background: rgb(0 0 0 / 28%);
  backdrop-filter: blur(3px);
}
.dialog-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 12px;
  border-bottom: 1px solid #e5e5e5;
}
.dialog-heading h2 {
  font-size: 22px;
  font-weight: 600;
  line-height: 28px;
  letter-spacing: -0.5px;
}
.icon-button {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 2px;
  color: #666;
}
.icon-button:hover {
  background: #f3f3f3;
  color: #000;
}
.contact-dialog svg {
  display: block;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  fill: currentColor;
  stroke: none;
}
.email-field {
  padding: 12px 0;
  border-bottom: 1px solid #e5e5e5;
  display: flex;
  align-items: center;
  gap: 16px;
}
.email-field label {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-shrink: 0;
  font-size: 13px;
  color: #666;
}
.email-field input,
.message-field textarea {
  font: inherit;
  font-size: 15px;
  line-height: 24px;
  color: #111;
  border: 0;
  border-radius: 0;
  background: #fff;
}
.email-field input {
  min-width: 0;
  width: 100%;
  padding: 6px 0;
}
.message-field textarea {
  display: block;
  width: 100%;
  height: clamp(120px, 20dvh, 160px);
  resize: vertical;
  min-height: 100px;
  max-height: 40dvh;
  padding: 14px 0;
}
.email-field input::placeholder,
.message-field textarea::placeholder {
  color: #929292;
  opacity: 1;
}
.email-field input:focus,
.message-field textarea:focus {
  outline: none;
}
.email-field:focus-within {
  border-bottom-color: #111;
}
.message-field:focus-within {
  box-shadow: inset 0 -1px #111;
}
.contact-status {
  min-height: 18px;
  font-size: 11px;
  color: #777;
  padding: 8px 0 12px;
}
.dialog-actions {
  border-top: 1px solid #e5e5e5;
  padding-top: 12px;
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}
.dialog-button {
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid #dcdcdc;
  border-radius: 2px;
  display: inline-flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 500;
}
.button-secondary {
  background: #fff;
  color: #333;
}
.button-secondary:hover {
  background: #f5f5f5;
}
.button-primary {
  background: #171717;
  color: #fff;
  border-color: #171717;
}
.button-primary:hover:not(:disabled) {
  background: #343434;
}
.button-primary:disabled {
  opacity: 0.45;
}
.button-primary:disabled svg {
  opacity: 1;
}
.noscript {
  position: fixed;
  bottom: 8px;
  background: var(--paper);
  padding: 10px;
  font-size: 12px;
}
.work {
  grid-template-columns: minmax(0, 1fr);
}
.gallery-shell {
  min-width: 0;
}
@media (min-width: 1600px) {
  :root {
    --gutter: 64px;
  }
  .work {
    grid-template-rows: 86px minmax(0, 1fr) 82px 88px;
  }
}
@media (max-width: 700px) {
  :root {
    --gutter: 22px;
    --header: 82px;
  }
  .header nav {
    gap: 20px;
    font-size: 12px;
  }
  .work {
    min-height: 470px;
    grid-template-rows: 88px minmax(0, 1fr) 72px 76px;
  }
  .gallery-top {
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
    gap: 9px;
  }
  .gallery-top h1 {
    font-size: 10px;
    color: var(--muted);
  }
  .gallery-top h1 span {
    margin-left: 10px;
  }
  .filters {
    gap: 23px;
  }
  .filter {
    font-size: 12px;
    min-height: 32px;
    padding: 3px 0;
  }
  .slide {
    padding: 0 var(--gutter);
  }
  .gallery-arrow {
    top: auto;
    bottom: -57px;
    transform: none;
    width: 42px;
    height: 42px;
    z-index: 2;
  }
  .gallery-arrow svg {
    width: 25px;
  }
  .arrow-prev {
    left: calc(50% - 46px);
  }
  .arrow-next {
    right: calc(50% - 46px);
  }
  .gallery-bottom {
    grid-template-columns: 1fr auto;
    position: relative;
  }
  .photo-caption {
    display: block;
  }
  .photo-caption h2 {
    margin-top: 5px;
  }
  .chapter {
    font-size: 9px;
  }
  .filmstrip-wrap {
    padding: 0 var(--gutter);
  }
  .filmstrip {
    gap: 7px;
  }
  .thumb {
    flex-basis: 25px;
    height: 33px;
  }
  .photo-counter {
    font-size: 11px;
  }
  .counter-divider {
    margin: 0 9px;
  }
  .about-page {
    grid-template-columns: 1fr;
    gap: 44px;
    padding-top: 36px;
  }
  .about-column h1,
  .about-column h2 {
    margin-bottom: 24px;
  }
  .contact-dialog {
    width: min(500px, calc(100% - 24px));
    max-height: calc(100dvh - 24px);
    padding: 16px;
  }
  .dialog-heading {
    padding-bottom: 10px;
  }
  .dialog-heading h2 {
    font-size: 22px;
  }
  .email-field {
    gap: 10px;
    padding: 10px 0;
  }
  .email-field label {
    gap: 8px;
    font-size: 12px;
  }
  .email-field input,
  .message-field textarea {
    font-size: 16px;
  }
  .dialog-button {
    padding: 0 16px;
  }
  .dialog-actions {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
  }
}
@media (max-width: 370px) {
  :root {
    --gutter: 16px;
  }
  .header nav {
    gap: 15px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
