:root {
  --paper: #f7f7f5;
  --ink: #202020;
  --muted: #4c4c4c;
  --line: #d9d9d5;
  --gutter: 32px;
  --header-height: 58px;
  font-family: sans-serif, -apple-system, BlinkMacSystemFont, "San Francisco", Roboto,
    "Segoe UI", "Helvetica Neue", sans-serif;
  color: var(--muted);
  background: var(--paper);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

/* ── Chinese language overrides ── */
body.lang-zh {
  font-family: "Microsoft YaHei", "微软雅黑", sans-serif, -apple-system, BlinkMacSystemFont, Roboto,
    "Segoe UI", "Helvetica Neue", sans-serif;
}

body.lang-zh .brand { font-size: 22px; font-weight: 400; }
body.lang-zh .brand-line { height: 2px; }

/* Chinese: slightly looser letter-spacing on project titles & names */
body.lang-zh .viewer-caption h1,
body.lang-zh .profile-intro h1 {
  letter-spacing: 0.04em;
}

/* ── Splash ── */
.splash {
  position: fixed;
  z-index: 9999;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #1DB8DA;
  padding: 48px var(--gutter);
  cursor: none;
  transition: opacity 520ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* white cursor dot on splash */
.fluid-cursor.is-splash {
  z-index: 10000;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  opacity: 1;
  transition: width 200ms ease-out, height 200ms ease-out;
}
.fluid-cursor.is-splash.is-pressed {
  width: 13px;
  height: 13px;
}
/* text enlarges on hover */
.splash-text:hover,
.splash-text:active {
  transform: scale(1.12);
}
.splash-text {
  transition: transform 200ms ease-out;
}
.fluid-cursor.is-splash::before {
  display: none;
}

.splash.is-dismissed {
  opacity: 0;
  pointer-events: none;
}

.splash-lines {
  display: flex;
  flex-direction: column;
  gap: 28px;
  max-width: 680px;
  width: 100%;
}

.splash-text {
  margin: 0;
  color: #fff;
  line-height: 1.5;
  text-align: center;
  min-height: 1.5em;
  user-select: none;
  opacity: 0;
  animation: splash-fade-in 1.4s ease-out forwards;
}

.splash-text#splash-en {
  font-family: sans-serif, -apple-system, BlinkMacSystemFont, "San Francisco", Roboto,
    "Segoe UI", "Helvetica Neue", sans-serif;
  font-size: 16px;
  font-weight: 400;
}

.splash-text#splash-zh {
  font-family: "Microsoft YaHei", "微软雅黑", sans-serif, -apple-system, BlinkMacSystemFont, Roboto, "Segoe UI", "Helvetica Neue", sans-serif;
  font-size: 22px;
  font-weight: 400;
}

@media (max-width: 720px) {
  .splash-text#splash-en { font-size: 14px; }
  .splash-text#splash-zh { font-size: 18px; }
}

.splash-text.is-finished {
  cursor: pointer;
  transition: opacity 200ms ease;
}

.splash-text.is-finished:hover {
  opacity: 0.82;
}

@keyframes splash-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

* { box-sizing: border-box; }
*, *::before, *::after { -webkit-tap-highlight-color: transparent; }

html {
  min-width: 320px;
  height: 100%;
  background: var(--paper);
}

body {
  min-height: 100%;
  margin: 0;
  overflow: hidden;
  background: var(--paper);
  color: var(--muted);
  font-size: 12px;
  line-height: 18px;
  -webkit-font-smoothing: antialiased;
}

body[data-view="archive"],
body[data-view="about"],
body[data-view="contact"] {
  overflow: auto;
}

a, button { color: inherit; font: inherit; }
a { text-decoration: none; }
button { padding: 0; border: 0; background: transparent; }

.fluid-cursor {
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #1DB8DA;
  opacity: 0;
  pointer-events: none;
  transform: translate3d(-20px, -20px, 0);
  transform-origin: center;
  transition: width 440ms cubic-bezier(0.34, 1.4, 0.64, 1), height 440ms cubic-bezier(0.34, 1.4, 0.64, 1), border-radius 360ms cubic-bezier(0.16, 1, 0.3, 1), background-color 220ms ease, opacity 180ms ease;
  will-change: transform, width, height;
}

.fluid-cursor::before {
  position: absolute;
  inset: 0;
  background: #1DB8DA;
  content: "";
  opacity: 0;
  transform: scale(0.72);
  -webkit-mask: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 16'%3E%3Cpath d='M2.5 8h11M9.5 3.5 14 8l-4.5 4.5' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  mask: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 16'%3E%3Cpath d='M2.5 8h11M9.5 3.5 14 8l-4.5 4.5' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  transition: opacity 220ms ease, transform 420ms cubic-bezier(0.34, 1.4, 0.64, 1);
}

.fluid-cursor.is-visible { opacity: 0.92; }
.fluid-cursor.is-initializing { transition: none !important; }
.fluid-cursor.is-demagnetizing {
  transition: transform 300ms cubic-bezier(0.16, 1, 0.3, 1), width 560ms cubic-bezier(0.16, 1, 0.3, 1), height 560ms cubic-bezier(0.16, 1, 0.3, 1), border-radius 520ms cubic-bezier(0.16, 1, 0.3, 1), background-color 260ms ease, opacity 220ms ease;
}
.fluid-cursor.is-over-projects { opacity: 0; }
.fluid-cursor.is-pressed { width: 11px; height: 11px; }
.fluid-cursor.is-magnetic {
  width: var(--cursor-magnet-width, 40px);
  height: var(--cursor-magnet-height, 24px);
  border-radius: 999px;
  mix-blend-mode: multiply;
  transition: transform 320ms cubic-bezier(0.34, 1.32, 0.64, 1), width 440ms cubic-bezier(0.34, 1.4, 0.64, 1), height 440ms cubic-bezier(0.34, 1.4, 0.64, 1), border-radius 360ms cubic-bezier(0.16, 1, 0.3, 1), background-color 220ms ease, opacity 180ms ease;
}
.fluid-cursor.is-previous,
.fluid-cursor.is-next {
  width: 26px;
  height: 20px;
  border-radius: 999px;
  background-color: transparent;
}
.fluid-cursor.is-previous::before,
.fluid-cursor.is-next::before {
  opacity: 1;
  transform: scale(1);
}
.fluid-cursor.is-previous::before { transform: rotate(180deg) scale(1); }

@media (hover: hover) and (pointer: fine) {
  .fluid-cursor-enabled,
  .fluid-cursor-enabled * { cursor: none !important; }

  .viewer-arrow::after,
  .lightbox-arrow::after,
  .viewer--home::before,
  .viewer--home::after { display: none !important; }
}

@media (hover: none), (pointer: coarse) {
  .fluid-cursor { display: none; }
  /* suppress post-tap focus rings */
  *:focus-visible { outline: none !important; outline-offset: 0 !important; }
}

::view-transition-old(root),
::view-transition-new(root) {
  animation: none;
  mix-blend-mode: normal;
}

::view-transition-group(blue-navigation) {
  z-index: 200;
  animation-duration: 760ms;
  animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
}

::view-transition-old(blue-navigation),
::view-transition-new(blue-navigation),
::view-transition-old(portfolio-media),
::view-transition-new(portfolio-media),
::view-transition-old(portfolio-caption),
::view-transition-new(portfolio-caption) {
  mix-blend-mode: normal;
}

::view-transition-group(portfolio-media),
::view-transition-group(portfolio-caption) {
  animation-duration: 620ms;
  animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
}

.route-page-clone {
  position: fixed;
  z-index: 45;
  inset: 0;
  display: grid;
  grid-template-rows: var(--header-height) minmax(0, 1fr);
  overflow: hidden;
  background: var(--paper);
  opacity: 1;
  pointer-events: none;
  transition: opacity 480ms cubic-bezier(0.4, 0, 0.2, 1);
}

.route-page-clone .route-app-clone { height: calc(100svh - var(--header-height)); }
.route-page-clone .brand-line,
.route-page-clone .back-link-bg,
.route-page-clone .back-link-label { opacity: 0 !important; }
.route-page-clone.is-leaving { opacity: 0; }

body.manual-route-transition > .site-header,
body.manual-route-transition > #app {
  opacity: 0;
  transition: opacity 520ms cubic-bezier(0.4, 0, 0.2, 1);
}

body.manual-route-transition.route-page-visible > .site-header,
body.manual-route-transition.route-page-visible > #app {
  opacity: 1;
}

.blue-route-morph {
  position: fixed;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #1DB8DA;
  color: var(--ink);
  white-space: nowrap;
  pointer-events: none;
  will-change: transform;
}

.blue-route-morph--line {
  transform: scaleX(var(--route-line-start-scale, 0.1));
  transform-origin: left center;
  transition: transform 360ms cubic-bezier(0.25, 1, 0.35, 1);
}

.blue-route-morph--line.is-extending {
  transform: scaleX(1);
  transition: transform 440ms cubic-bezier(0.22, 1, 0.36, 1);
}

.blue-route-morph--line.is-exiting {
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 380ms cubic-bezier(0.25, 1, 0.35, 1);
}

.blue-route-project-pill {
  transform: translate3d(0, 0, 0) scaleY(1);
  transform-origin: right center;
  transition:
    transform 380ms cubic-bezier(0.34, 1.56, 0.64, 1),
    background-color 220ms cubic-bezier(0.4, 0, 0.2, 1);
}

.blue-route-project-pill::after {
  position: absolute;
  right: 0;
  left: 0;
  top: 50%;
  height: 2px;
  border-radius: 999px;
  background: #1DB8DA;
  content: "";
  opacity: 0;
  transform: translateY(-50%) scaleX(0.84);
  transform-origin: right center;
  transition:
    opacity 180ms cubic-bezier(0.25, 1, 0.35, 1),
    transform 320ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

.blue-route-project-pill span,
.blue-route-arrival span {
  position: relative;
  z-index: 1;
  transition: opacity 180ms cubic-bezier(0.25, 1, 0.35, 1);
}

.blue-route-project-pill.is-deflating {
  transform: translate3d(0, 0, 0) scaleY(var(--route-line-scale-y, 0.07));
  transition: transform 520ms cubic-bezier(0.25, 1, 0.35, 1);
}

.blue-route-project-pill.is-deflating span {
  opacity: 0;
  transition: opacity 200ms ease;
}
.blue-route-project-pill.is-deflating::after { opacity: 1; }

.blue-route-project-pill.is-returning-right {
  transform: translate3d(var(--route-to-edge-x), 0, 0) scaleY(var(--route-line-scale-y, 0.07));
  opacity: 0;
  transition:
    transform 560ms cubic-bezier(0.25, 1, 0.35, 1),
    opacity 360ms 200ms ease;
}

.blue-route-arrival {
  position: fixed;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #1DB8DA;
  color: var(--ink);
  white-space: nowrap;
  pointer-events: none;
  transform: translateX(80px) scaleY(var(--route-line-scale-y, 0.07));
  transform-origin: center;
  opacity: 0;
  transition: transform 560ms cubic-bezier(0.34, 1.56, 0.64, 1);
  will-change: transform;
}

.blue-route-arrival span { opacity: 0; transition: opacity 240ms 160ms ease; }

.blue-route-arrival.is-arriving {
  opacity: 1;
  transform: translateX(0) scaleY(1);
}

.blue-route-arrival.is-arriving span { opacity: 1; }

.blue-route-return-line {
  position: fixed;
  z-index: 300;
  display: block;
  border-radius: 999px;
  background: #1DB8DA;
  pointer-events: none;
  opacity: 0;
  transform: translate3d(var(--route-return-x, 100px), 0, 0);
  transform-origin: left center;
  will-change: transform;
}

.blue-route-return-line.is-returning-in {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  transition:
    transform 600ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 220ms ease;
}

.blue-route-return-line.is-handing-off {
  opacity: 0;
  transition: opacity 260ms ease;
}

body.manual-route-transition.route-line-handoff .brand-line { opacity: 1 !important; }

body.manual-route-transition .brand-line,
body.manual-route-transition .back-link-bg,
body.manual-route-transition .back-link-label { opacity: 0 !important; }

.site-header {
  position: relative;
  z-index: 20;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  height: var(--header-height);
  padding: 0 var(--gutter);
  background: var(--paper);
}

.identity-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  min-width: 0;
  transform: translateY(9px);
}

.brand {
  position: relative;
  color: var(--ink);
  font-size: 22px;
  font-weight: 400;
  line-height: 26px;
  white-space: nowrap;
  transform-origin: left center;
  transition: transform 240ms cubic-bezier(0.16, 1, 0.3, 1);
}

@media (hover: hover) and (pointer: fine) {
  .brand:hover,
  .brand.is-cursor-hovered { transform: scale(1.14); }
}

.brand-line {
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: #1DB8DA;
  pointer-events: none;
}

body:not([data-view="landing"]) .brand-line { opacity: 0; }
body[data-view="landing"] .brand-line { view-transition-name: blue-navigation; }
body[data-view="project"] .back-link-bg { view-transition-name: blue-navigation; }

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
  transform: translateY(9px);
}

.profile-nav {
  display: flex;
  gap: 20px;
}

.lang-switcher button {
  padding: 4px 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  line-height: 20px;
  cursor: pointer;
  transition: color 180ms ease;
  outline: none;
}

.lang-switcher button:hover {
  color: var(--ink);
}

.lang-switcher button:focus-visible {
  outline: 1px solid var(--ink);
  outline-offset: 2px;
}

.city-nav {
  display: flex;
  justify-content: center;
  gap: 22px;
  min-width: 0;
  overflow: visible;
  margin: 0 32px;
  scrollbar-width: none;
  white-space: nowrap;
  transform: translateY(9px);
}

.city-nav::-webkit-scrollbar { display: none; }

.city-nav a,
.profile-nav a,
.nav-filter-toggle {
  position: relative;
  display: inline-block;
  padding: 4px 0;
  color: var(--ink);
  font-size: 13px;
  line-height: 20px;
}

.nav-filter {
  position: relative;
  flex: 0 0 auto;
}

.nav-filter-toggle {
  border: 0;
  background: transparent;
  cursor: pointer;
}

.nav-filter-menu {
  position: absolute;
  z-index: 80;
  top: calc(100% + 10px);
  left: 50%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: max-content;
  max-height: min(62vh, 430px);
  padding: 10px 12px;
  overflow-y: auto;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: color-mix(in srgb, var(--paper) 96%, transparent);
  box-shadow: 0 14px 34px rgba(39, 39, 36, 0.08);
  transform: translateX(-50%);
  backdrop-filter: blur(12px);
}

.nav-filter-menu[hidden] { display: none; }

.nav-filter-menu a {
  width: 100%;
  padding: 7px 10px;
  border-radius: 12px;
  color: var(--ink);
  font-size: 13px;
  line-height: 20px;
}

.nav-filter.is-current > .nav-filter-toggle,
.nav-filter-menu a[aria-current="page"] { color: var(--ink); }

.meta-index-link { color: inherit; }

.architect-link {
  margin-left: 4px;
  color: #92928d;
  font-size: 0.82em;
  white-space: nowrap;
}

.nav-filter-toggle,
.city-nav > .nav-pill,
.profile-nav a {
  padding: 9px 12px;
  margin: -5px -8px;
  border-radius: 999px;
}

#app {
  height: calc(100svh - var(--header-height));
  outline: none;
}

.viewer, .viewer-stage { height: 100%; }

.viewer-media { view-transition-name: portfolio-media; }
.viewer-caption { view-transition-name: portfolio-caption; }

.viewer-stage {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 2.8fr) minmax(300px, 1fr);
  min-height: 0;
  touch-action: pan-y;
}

.viewer--home > .viewer-stage {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
}

.viewer--home .viewer-media {
  padding-right: var(--gutter);
}

.viewer.carousel-transition {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  contain: layout paint;
}

.viewer.carousel-transition .carousel-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transition: transform 1400ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
  backface-visibility: hidden;
  contain: layout paint style;
}

.viewer.carousel-transition .carousel-layer .viewer-image {
  animation: none;
}

.carousel-incoming.carousel-next { transform: translate3d(100%, 0, 0); }
.carousel-incoming.carousel-previous { transform: translate3d(-100%, 0, 0); }
.carousel-outgoing { z-index: 2; pointer-events: none; }
.carousel-incoming { z-index: 1; }

.carousel-active .carousel-incoming { transform: translate3d(0, 0, 0); }
.carousel-active .carousel-outgoing.carousel-next { transform: translate3d(-100%, 0, 0); }
.carousel-active .carousel-outgoing.carousel-previous { transform: translate3d(100%, 0, 0); }

.viewer-media {
  --media-pad-top: 18px;
  --media-pad-right: 30px;
  --media-pad-bottom: 32px;
  --media-pad-left: var(--gutter);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 0;
  margin: 0;
  padding: 18px 30px 32px var(--gutter);
  overflow: hidden;
  cursor: default;
}

.viewer--project .viewer-media {
  --media-pad-right: var(--gutter);
  padding-right: var(--media-pad-right);
}

.viewer--project .viewer-media::after {
  position: absolute;
  z-index: 3;
  top: 0;
  right: 0;
  bottom: 0;
  width: var(--media-pad-right);
  background: var(--paper);
  content: "";
  pointer-events: none;
}

.viewer-image-frame {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
}

.viewer--project .viewer-image-frame {
  position: absolute;
  top: var(--media-pad-top);
  right: var(--media-pad-right);
  bottom: var(--media-pad-bottom);
  left: var(--media-pad-left);
  width: auto;
  height: auto;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
  cursor: zoom-in;
}

.media-carousel-transition {
  isolation: isolate;
  contain: layout paint;
}

.media-carousel-layer {
  position: absolute;
  z-index: 1;
  top: var(--media-pad-top);
  right: var(--media-pad-right);
  bottom: var(--media-pad-bottom);
  left: var(--media-pad-left);
  width: auto;
  height: auto;
  transition: transform 1400ms cubic-bezier(0.22, 1, 0.36, 1);
  backface-visibility: hidden;
  contain: layout paint style;
  will-change: transform;
}

.media-carousel-incoming.carousel-next { transform: translate3d(110%, 0, 0); }
.media-carousel-incoming.carousel-previous { transform: translate3d(-110%, 0, 0); }
.media-carousel-outgoing { z-index: 2; pointer-events: none; }
.media-carousel-active .media-carousel-incoming { transform: translate3d(0, 0, 0); }
.media-carousel-active .media-carousel-outgoing.carousel-next { transform: translate3d(-110%, 0, 0); }
.media-carousel-active .media-carousel-outgoing.carousel-previous { transform: translate3d(110%, 0, 0); }

.media-carousel-layer .viewer-image { animation: none; }
.carousel-settled .viewer-image { animation: none; }

.viewer-media--link { cursor: pointer; }

.viewer-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
  animation: image-in 360ms cubic-bezier(0.2, 0.72, 0.25, 1) both;
}

body.project-entry-arrival .viewer--project .viewer-image { animation: none; }
.viewer-image--steady { animation: none; }

.viewer--home .viewer-image {
  object-fit: cover;
}

.is-previous .viewer-image { --entry-shift: -10px; }
.is-next .viewer-image { --entry-shift: 10px; }

.viewer-image--natural {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
}

.viewer-caption {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 18px var(--gutter) 32px 24px;
}

.viewer-kicker,
.viewer-caption h1,
.back-link { max-width: 34ch; }

.project-description {
  max-width: 56ch;
  color: #6b6b67;
  font-size: 13px;
  line-height: 20px;
}

.viewer-kicker { margin: 0 0 12px; color: #8a8a86; }

.viewer-caption h1 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(24px, 1.95vw, 28px);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.025em;
}

.back-link {
  display: inline-block;
  margin: 0;
  color: var(--ink);
}

.project-meta {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 8px 8px;
  margin: 24px 0 0;
}

.project-meta dt { color: #8a8a86; }
.project-meta dd { margin: 0; color: var(--ink); }
.architect-link {
  text-decoration: none;
}
.project-description { margin: 24px 0 0; }

.viewer-caption-footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-top: auto;
  padding-top: 28px;
  color: var(--ink);
}

.view-project,
.back-link {
  text-decoration: none;
}

body[data-view="project"] .back-link {
  position: relative;
  z-index: 0;
  margin-left: -8px;
  padding: 1px 8px;
  border-radius: 999px;
  isolation: isolate;
  text-decoration: none;
  font-size: 11px;
}

.back-link-label {
  position: relative;
  z-index: 1;
}

body[data-view="project"] .back-link-bg {
  position: absolute;
  z-index: -1;
  inset: 0;
  border-radius: inherit;
  background: #1DB8DA;
  pointer-events: none;
}

.viewer-counter { white-space: nowrap; font-variant-numeric: tabular-nums; }

.viewer-tools {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  white-space: nowrap;
}

.fullscreen-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  color: var(--ink);
  cursor: pointer;
}

.fullscreen-toggle:focus-visible {
  outline: 1px solid var(--ink);
  outline-offset: 3px;
}

.fullscreen-icon {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: square;
  stroke-width: 1;
}

.fullscreen-icon--exit,
.fullscreen-toggle[data-fullscreen-active="true"] .fullscreen-icon--enter { display: none; }
.fullscreen-toggle[data-fullscreen-active="true"] .fullscreen-icon--exit { display: block; }

html:fullscreen body {
  height: 100dvh;
  overflow: hidden;
}

html:fullscreen .site-header { display: none; }
html:fullscreen #app { height: 100dvh; }

html:fullscreen .viewer-media {
  --media-pad-top: clamp(88px, 14dvh, 156px);
  --media-pad-bottom: clamp(88px, 14dvh, 156px);
  padding-top: var(--media-pad-top);
  padding-bottom: var(--media-pad-bottom);
}

html:fullscreen .lightbox-shell {
  padding-top: clamp(88px, 14dvh, 156px);
  padding-bottom: clamp(76px, 12dvh, 136px);
}

@media (min-width: 721px) {
  html:fullscreen .viewer-caption {
    justify-content: center;
    padding-top: clamp(88px, 14dvh, 156px);
    padding-bottom: clamp(88px, 14dvh, 156px);
  }

  html:fullscreen .viewer-caption-footer {
    margin-top: 28px;
  }
}

body[data-view="archive"] .site-header,
body[data-view="about"] .site-header,
body[data-view="contact"] .site-header {
  position: sticky;
  top: 0;
  background: color-mix(in srgb, var(--paper) 96%, transparent);
  backdrop-filter: blur(8px);
}

body[data-view="archive"] #app,
body[data-view="about"] #app,
body[data-view="contact"] #app {
  height: auto;
  min-height: calc(100svh - var(--header-height));
}

.archive-view {
  padding: 14px var(--gutter) 70px;
}

.archive-toolbar {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: baseline;
  gap: 16px;
  margin: 0 0 28px;
  color: var(--ink);
}

.archive-toolbar h1 {
  margin: 0;
  font-size: 20px;
  font-weight: 400;
  line-height: 24px;
}

.archive-toolbar span {
  color: #8a8a86;
}

.archive-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 20px 16px;
  align-items: start;
}

.archive-card {
  grid-column: auto;
  min-width: 0;
  margin: 0;
  animation: card-in 420ms cubic-bezier(0.2, 0.72, 0.25, 1) both;
  animation-delay: calc(min(var(--order), 14) * 22ms);
}

.archive-card a,
.archive-card img {
  display: block;
}

.archive-card figure {
  margin: 0;
  overflow: hidden;
  background: var(--line);
}

.archive-card img {
  width: 100%;
  height: auto;
  transition: opacity 220ms ease, transform 420ms cubic-bezier(0.2, 0.72, 0.25, 1);
}

@media (hover: hover) and (pointer: fine) {
  .archive-card a:hover img,
  .archive-card.is-cursor-hovered img { transform: scale(1.015); }
}

.archive-card h2 {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 5px 0 0;
  color: var(--ink);
  font-size: 12px;
  font-weight: 400;
  line-height: 18px;
}

.archive-card-date {
  flex: 0 0 auto;
  color: #8a8a86;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.archive-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: 74px;
  padding-top: 13px;
  border-top: 1px solid var(--line);
  color: #8a8a86;
}

.archive-footer p { margin: 0; }

.profile-view {
  min-height: calc(100svh - var(--header-height));
  padding: 18px var(--gutter) 84px;
}

.profile-intro {
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
  margin-bottom: 70px;
  padding-top: clamp(38px, 6svh, 64px);
  color: var(--ink);
}

.profile-kicker {
  position: absolute;
  top: 0;
  left: 0;
  margin: 2px 0 0;
  color: #8a8a86;
}

.profile-intro h1 {
  grid-column: 4 / span 4;
  margin: 0;
  font-size: clamp(32px, 3.3vw, 48px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.035em;
}

.profile-statement {
  grid-column: 8 / -1;
  max-width: 34ch;
  margin: 0;
  font-size: clamp(17px, 1.45vw, 21px);
  line-height: 1.35;
  letter-spacing: -0.012em;
}

.about-view .profile-intro {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
}

.about-view .profile-intro h1 {
  grid-column: 1;
  align-self: center;
  justify-self: center;
  transform: translateX(calc(var(--gutter) / -2));
}

.about-view .profile-statement {
  grid-column: 2;
  justify-self: center;
  transform: translateX(calc(var(--gutter) / 2));
}

.selection-header {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: baseline;
  gap: 16px;
  padding: 13px 0 20px;
  border-top: 1px solid var(--line);
  color: var(--ink);
}

.selection-header h2,
.selection-header p { margin: 0; }
.selection-header h2 { font-size: 20px; font-weight: 400; line-height: 24px; }
.selection-header p,
.selection-header span { color: #8a8a86; }

.about-gallery {
  columns: 4;
  column-gap: 20px;
}

.about-photo {
  break-inside: avoid;
  margin: 0 0 22px;
  animation: card-in 420ms cubic-bezier(0.2, 0.72, 0.25, 1) both;
  animation-delay: calc(min(var(--order), 12) * 22ms);
}

.about-photo button,
.about-photo img {
  display: block;
  width: 100%;
}

.about-photo button {
  overflow: hidden;
  cursor: zoom-in;
}

.about-photo img {
  height: auto;
  transition: opacity 220ms ease, transform 420ms cubic-bezier(0.2, 0.72, 0.25, 1);
}

@media (hover: hover) and (pointer: fine) {
  .about-photo button:hover img,
  .about-photo.is-cursor-hovered img { transform: scale(1.015); }
}

.about-photo figcaption {
  display: flex;
  justify-content: space-between;
  margin-top: 5px;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.about-photo button:focus-visible {
  outline: 1px solid var(--ink);
  outline-offset: 3px;
}

.gallery-empty { margin: 0; color: #8a8a86; }

.contact-view {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-rows: 1fr auto;
}

.contact-intro {
  grid-row: 1 / -1;
  grid-column: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin: 0;
  padding: 0;
  text-align: center;
}

.contact-intro h1 { margin: 0; }

.contact-identity {
  width: min(100%, 34ch);
  transform: translateX(calc(var(--gutter) / -2));
}

.contact-identity .profile-statement {
  width: min(100%, 31ch);
  margin: 24px auto 0;
}

.contact-portrait {
  grid-row: 1;
  grid-column: 2;
  place-self: center;
  width: clamp(132px, 14vw, 220px);
  margin: 0;
  perspective: 900px;
  transform: translateX(-15%);
}

.contact-portrait img {
  display: block;
  width: 100%;
  height: auto;
  transform: translate3d(0, 0, 0) rotateY(0) rotateZ(0) scale(1);
  transform-origin: 48% 44%;
  transition: transform 620ms cubic-bezier(0.16, 1, 0.3, 1), filter 420ms ease;
  will-change: transform;
}

@media (hover: hover) and (pointer: fine) {
  .contact-portrait:hover img,
  .contact-portrait.is-cursor-hovered img {
    animation: portrait-pop 760ms cubic-bezier(0.16, 1, 0.3, 1) both;
    filter: saturate(1.025) contrast(1.015);
  }
}

@keyframes portrait-pop {
  0% { transform: translate3d(0, 0, 0) rotateY(0) rotateZ(0) scale(1, 1); }
  38% { transform: translate3d(-3%, -5%, 0) rotateY(-11deg) rotateZ(-2.2deg) scale(1.17, 1.12); }
  60% { transform: translate3d(-1%, -0.5%, 0) rotateY(-4deg) rotateZ(1.25deg) scale(1.055, 1.1); }
  80% { transform: translate3d(-2.3%, -2.2%, 0) rotateY(-8deg) rotateZ(-0.9deg) scale(1.11, 1.075); }
  100% { transform: translate3d(-2%, -1.5%, 0) rotateY(-7deg) rotateZ(-0.6deg) scale(1.085, 1.085); }
}

.contact-list {
  grid-row: 2;
  grid-column: 2;
  align-self: end;
  width: min(100%, 760px);
  margin: 0 0 0 auto;
  color: var(--ink);
}

.contact-list > div {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 20px;
  align-items: baseline;
  padding: 15px 0 14px;
  border-top: 1px solid var(--line);
}

.contact-list > div:last-child { border-bottom: 1px solid var(--line); }
.contact-list dt { color: #8a8a86; }
.contact-list dd { margin: 0; font-size: clamp(18px, 1.7vw, 24px); line-height: 1.25; letter-spacing: -0.018em; }
.contact-list a { text-decoration: none; }
.contact-list a:focus-visible { outline: 1px solid var(--ink); outline-offset: 3px; }

body.lightbox-open { overflow: hidden !important; }

.lightbox[hidden] { display: none; }

.lightbox {
  position: fixed;
  z-index: 100;
  inset: 0;
  background: var(--paper);
  opacity: 0;
  transition: opacity 180ms ease;
}

.lightbox.is-open { opacity: 1; }
.lightbox-backdrop { position: absolute; inset: 0; }

.lightbox-shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  width: 100%;
  height: 100dvh;
  padding: 28px var(--gutter) 22px;
}

.lightbox-stage {
  position: relative;
  min-width: 0;
  min-height: 0;
  margin: 22px 52px 0;
  overflow: hidden;
  isolation: isolate;
  contain: layout paint;
  touch-action: none;
  user-select: none;
}

.lightbox:not(.is-zoomed) .lightbox-stage { cursor: zoom-in; }

.lightbox-frame {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
  contain: layout paint style;
}

.lightbox-frame img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transform-origin: center;
  backface-visibility: hidden;
  transition: transform 180ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
  -webkit-user-drag: none;
}

.lightbox.is-zoomed .lightbox-frame img {
  cursor: grab;
}

.lightbox.is-zoomed .lightbox-arrow { pointer-events: none; }

.lightbox.is-dragging .lightbox-frame img {
  cursor: grabbing;
  transition: none;
}

.lightbox-stage--moving .lightbox-frame {
  transition: transform 1400ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

@media (min-width: 721px) {
  body[data-view="project"] .viewer-caption {
    z-index: 4;
    overflow: visible;
  }
}

.lightbox-frame--incoming.is-next { transform: translate3d(110%, 0, 0); }
.lightbox-frame--incoming.is-previous { transform: translate3d(-110%, 0, 0); }
.lightbox-stage--active .lightbox-frame--incoming { transform: translate3d(0, 0, 0); }
.lightbox-stage--active .lightbox-frame--outgoing.is-next { transform: translate3d(-110%, 0, 0); }
.lightbox-stage--active .lightbox-frame--outgoing.is-previous { transform: translate3d(110%, 0, 0); }

.lightbox-close {
  position: absolute;
  z-index: 5;
  top: 11px;
  right: max(4px, calc(var(--gutter) - 14px));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 64px;
  min-height: 44px;
  border-radius: 999px;
  color: var(--ink);
  cursor: pointer;
}

.lightbox-arrow {
  position: absolute;
  z-index: 4;
  top: 0;
  bottom: 42px;
  color: var(--ink);
  cursor: pointer;
  touch-action: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  overflow: hidden;
}

.lightbox-arrow--previous { left: 0; text-align: left; }
.lightbox-arrow--next { right: 0; text-align: right; }
.lightbox-meta {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 12px;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.lightbox-loading {
  position: absolute;
  top: 50%;
  left: 50%;
  margin: 0;
  color: #8a8a86;
  transform: translate(-50%, -50%);
}

.lightbox-close:focus-visible { outline: 1px solid var(--ink); outline-offset: 3px; }

.viewer-arrow:focus,
.lightbox-arrow:focus { outline: none; }

.viewer-arrow::after,
.lightbox-arrow::after {
  position: absolute;
  top: 50%;
  width: 13px;
  height: 13px;
  background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M5 2.5 10.5 8 5 13.5' fill='none' stroke='%23272724' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  opacity: 0.56;
  content: "";
  pointer-events: none;
  transition: opacity 180ms ease;
}

.viewer-arrow--previous::after,
.lightbox-arrow--previous::after {
  left: 10px;
  transform: translateY(-50%) rotate(180deg);
}

.viewer-arrow--next::after,
.lightbox-arrow--next::after {
  right: 10px;
  transform: translateY(-50%);
}

.viewer-arrow:hover::after,
.lightbox-arrow:hover::after { opacity: 0.86; }

.viewer-arrow {
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 10;
  width: clamp(80px, 12vw, 176px);
  color: var(--ink);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.viewer-arrow--previous {
  left: 0;
  padding-left: var(--gutter);
  text-align: left;
  cursor: w-resize;
}
.viewer-arrow--next {
  right: calc(100% / 3.8);
  padding-right: var(--gutter);
  text-align: right;
  cursor: e-resize;
}



.viewer--home { position: relative; }

.viewer--home .viewer-arrow::after { display: none; }
.viewer--project .viewer-arrow { z-index: 2; }

.viewer--home::before,
.viewer--home::after {
  position: absolute;
  z-index: 14;
  top: 50%;
  width: 13px;
  height: 13px;
  background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M5 2.5 10.5 8 5 13.5' fill='none' stroke='%23272724' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  opacity: 0.56;
  content: "";
  pointer-events: none;
}

.viewer--home::before {
  left: 10px;
  transform: translateY(-50%) rotate(180deg);
}

.viewer--home::after {
  right: 10px;
  transform: translateY(-50%);
}

.viewer--home .viewer-caption {
  z-index: 11;
  padding-left: 0;
}

.viewer--home .viewer-caption a,
.viewer--home .viewer-tools {
  position: relative;
  z-index: 1;
}

.brand:focus-visible,
.profile-nav a:focus-visible,
.city-nav a:focus-visible,
.viewer-media--link:focus-visible,
.viewer-caption a:focus-visible {
  outline: 1px solid var(--ink);
  outline-offset: 3px;
}

.archive-card a:focus-visible {
  outline: 1px solid var(--ink);
  outline-offset: 3px;
}

.error-state, .loading, .noscript { margin: 0; padding: 48px var(--gutter); }

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

@keyframes image-in {
  from { opacity: 0; transform: translateX(var(--entry-shift, 10px)); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes card-in {
  from { opacity: 0; transform: translateY(7px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 980px) {
  :root { --gutter: 22px; }
  .identity-nav { gap: 24px; }
  .city-nav { gap: 14px; margin: 0 22px; }
  .viewer-stage { grid-template-columns: minmax(0, 2.5fr) minmax(230px, 1fr); }
  .viewer-arrow--next { right: calc(100% / 3.5); }
  .viewer-caption h1 { font-size: 25px; }
  .archive-grid { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 19px 14px; }
  .archive-card { grid-column: auto; }
  .about-gallery { columns: 3; column-gap: 18px; }
  .profile-intro { gap: 18px; }
  .profile-statement { grid-column: 8 / -1; }
  .project-description {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 7;
  }
}

@media (max-width: 720px) {
  :root { --gutter: 20px; --header-height: 72px; }

  .site-header {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: 31px 33px;
    padding: 7px var(--gutter) 0;
  }
  .identity-nav { justify-content: flex-start; gap: 0; }
  .brand { display: inline-block; }
  .header-actions {
    position: absolute;
    z-index: 2;
    top: 5px;
    right: var(--gutter);
    justify-self: auto;
    transform: none;
  }

  .profile-nav {
    gap: 15px;
  }

  .city-nav {
    grid-column: 1 / -1;
    justify-content: flex-start;
    gap: 11px;
    margin: 1px 0 0;
    padding-bottom: 2px;
  }

  .identity-nav,
  .city-nav { transform: none; }

  .nav-filter-menu {
    position: fixed;
    top: 68px;
    right: var(--gutter);
    left: var(--gutter);
    min-width: 0;
    max-height: min(58vh, 390px);
    transform: none;
  }

  .fullscreen-toggle { display: none !important; }

  .viewer-arrow::after,
  .lightbox-arrow::after,
  .viewer--home::before,
  .viewer--home::after { display: none !important; }

  .lightbox-arrow { pointer-events: none; }

  .viewer--home::before { left: var(--home-previous-cue-offset, 3px); }
  .viewer--home::after { right: var(--home-next-cue-offset, 3px); }

  .viewer--home > .viewer-stage {
    position: relative;
    inset: auto;
    width: 100%;
    height: 100%;
    grid-template-rows: minmax(80px, 58fr) minmax(220px, 42fr);
    grid-template-columns: 1fr;
  }

  .viewer--project .viewer-stage {
    grid-template-rows: minmax(0, 48fr) minmax(275px, 52fr);
    grid-template-columns: 1fr;
  }

  .viewer-media {
    --media-pad-top: 6px;
    --media-pad-right: var(--gutter);
    --media-pad-bottom: 10px;
    --media-pad-left: var(--gutter);
    padding: 6px var(--gutter) 10px;
  }

  .viewer--project .viewer-media {
    --media-pad-right: var(--gutter);
    padding-right: var(--media-pad-right);
  }

  html:fullscreen .viewer-media {
    --media-pad-top: max(clamp(64px, 11dvh, 104px), env(safe-area-inset-top));
    --media-pad-right: max(24px, env(safe-area-inset-right));
    --media-pad-bottom: max(clamp(64px, 11dvh, 104px), env(safe-area-inset-bottom));
    --media-pad-left: max(24px, env(safe-area-inset-left));
    padding:
      var(--media-pad-top)
      max(24px, env(safe-area-inset-right))
      var(--media-pad-bottom)
      max(24px, env(safe-area-inset-left));
  }

  .viewer--home .viewer-caption {
    padding-left: var(--gutter);
  }
  .viewer-caption {
    padding: 8px var(--gutter) 15px;
    overflow: hidden;
    border-top: 1px solid var(--line);
  }

  .viewer-caption h1 { max-width: 30ch; font-size: 23px; }
  .viewer-kicker { display: none; }
  .back-link { margin-bottom: 10px; }
  .project-meta { grid-template-columns: 78px minmax(0, 1fr); gap: 0 8px; margin-top: 15px; }
  .project-description { margin-top: 15px; -webkit-line-clamp: 4; }
  .viewer-caption-footer { padding-top: 16px; }

  .project-description {
    display: block;
    flex: 1 1 auto;
    min-height: 0;
    padding-right: 6px;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    -webkit-line-clamp: unset;
  }

  .viewer-caption-footer {
    flex: 0 0 auto;
    margin-top: 0;
    padding-top: 10px;
  }

  .viewer-arrow {
    top: 0;
    bottom: auto;
    width: min(28vw, 112px);
    height: 58%;
    pointer-events: none;
  }

  .viewer-arrow--next { right: 0; }

  .viewer--project .viewer-arrow { height: 48%; }

  .archive-view { padding: 10px var(--gutter) 60px; }
  .archive-toolbar { grid-template-columns: auto 1fr; margin-bottom: 20px; }
  .archive-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 12px; }
  .archive-card { margin: 0; }
  .archive-footer { display: block; margin-top: 44px; }
  .archive-footer p + p { margin-top: 4px; }

  .profile-view { padding: 11px var(--gutter) 58px; }
  .profile-intro { display: block; margin-bottom: 58px; padding-top: 30px; }
  .profile-kicker { margin-bottom: 0; }
  .profile-intro h1 { margin-bottom: 25px; font-size: 34px; }
  .about-view .profile-intro h1,
  .about-view .profile-statement {
    justify-self: auto;
    transform: none;
  }
  .profile-statement { max-width: 31ch; font-size: 18px; line-height: 1.4; }
  .selection-header { grid-template-columns: auto 1fr; padding-bottom: 17px; }
  .selection-header span { grid-column: 1 / -1; }
  .about-gallery { columns: 2; column-gap: 15px; }
  .about-photo { margin-bottom: 21px; }
  .contact-view { display: block; }
  .contact-intro {
    display: block;
    width: 100%;
    margin-bottom: 58px;
    padding-top: 30px;
    text-align: left;
  }
  .contact-identity { width: 100%; transform: none; }
  .contact-identity .profile-statement { width: auto; margin: 0; }
  .contact-portrait {
    width: min(38vw, 150px);
    margin: 0 auto 54px;
    transform: none;
  }
  .contact-list { width: 100%; }
  .contact-list > div { grid-template-columns: 96px minmax(0, 1fr); gap: 12px; }
  .contact-list dd { font-size: 18px; overflow-wrap: anywhere; }

  .lightbox-shell {
    padding:
      max(22px, env(safe-area-inset-top))
      max(15px, env(safe-area-inset-right))
      max(18px, env(safe-area-inset-bottom))
      max(15px, env(safe-area-inset-left));
  }
  .lightbox.is-pulling-down .lightbox-frame {
    transform: translate3d(0, var(--lightbox-pull-y, 0), 0) !important;
    transition: none !important;
  }
  .lightbox.is-pull-releasing .lightbox-frame {
    transform: translate3d(0, var(--lightbox-pull-y, 0), 0) !important;
    transition: transform 260ms cubic-bezier(0.16, 1, 0.3, 1) !important;
  }
  .lightbox.is-pull-dismissing .lightbox-frame {
    transform: translate3d(0, var(--lightbox-pull-y, 100dvh), 0) !important;
    transition: transform 340ms cubic-bezier(0.7, 0, 0.84, 0) !important;
  }
  .lightbox-stage { margin: 25px 24px 0; }
  .lightbox-close {
    top: max(4px, env(safe-area-inset-top));
    right: max(2px, calc(env(safe-area-inset-right) - 2px));
  }
  .lightbox-arrow--previous { left: 0; }
  .lightbox-arrow--next { right: 0; }
}

@media (max-height: 630px) and (min-width: 721px) {
  .project-description {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 5;
  }
}

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