@font-face {
  font-family: "SuisseIntl-Light";
  src: url("fonts/SuisseIntl-Light.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #fff;
  --text: rgba(0, 0, 0, 0.85);
  --muted: rgba(0, 0, 0, 0.55);
  --pad: 3rem;
  --gap: 1.2rem;
  --cols: 7;
  --landing-header-x: var(--pad);
  --landing-header-y: var(--pad);
  --intro-control-offset: clamp(12.2rem, 17svh, 15.4rem);
}

* { box-sizing: border-box; }

html {
  font-size: 10px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "SuisseIntl-Light", "Suisse Intl", "Helvetica Neue", Arial, sans-serif;
  font-size: 1.2rem;
  font-weight: 300;
  line-height: 1.2;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

body.is-quick-open { overflow: hidden; }

a,
button { color: inherit; font: inherit; }
a { text-decoration: none; }
a:hover,
button:hover { color: #ff0000; }

button {
  appearance: none;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
}

.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;
}

.page-content {
  width: 100%;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  padding: var(--pad);
  text-align: left;
}

.work-list {
  width: 100%;
}

.landing-shell {
  min-height: 100svh;
  position: relative;
  overflow: hidden;
}

.landing-backdrop {
  position: fixed;
  z-index: 0;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: var(--gap);
  padding: var(--pad);
  overflow: hidden;
  pointer-events: none;
  opacity: 0;
  filter: blur(24px);
  transform: scale(1.065);
  transform-origin: center;
}

.landing-backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, .66);
}

.landing-backdrop img {
  width: 100%;
  height: 100%;
  min-height: 0;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.landing-logo {
  position: fixed;
  z-index: 20;
  top: 50%;
  left: 50%;
  margin: 0;
  font: inherit;
  font-size: clamp(4.2rem, 8.5vw, 11rem);
  line-height: .86;
  letter-spacing: .015em;
  max-width: 92vw;
  text-align: center;
  white-space: nowrap;
  transform: translate(-50%, -50%);
  transition:
    top 980ms cubic-bezier(.16, 1, .3, 1),
    left 980ms cubic-bezier(.16, 1, .3, 1),
    transform 980ms cubic-bezier(.16, 1, .3, 1),
    font-size 980ms cubic-bezier(.16, 1, .3, 1),
    letter-spacing 980ms cubic-bezier(.16, 1, .3, 1),
    opacity 680ms ease;
}

.landing-logo a {
  display: block;
  pointer-events: none;
}

.landing-enter {
  display: block;
  position: absolute;
  z-index: 21;
  left: 50%;
  top: calc(50% + var(--intro-control-offset));
  transform: translateX(-50%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 360ms ease;
}

.landing-enter:hover { opacity: 1; }

.landing-intro {
  position: fixed;
  z-index: 12;
  inset: 0;
  display: grid;
  place-items: center;
  padding: var(--pad);
  transition: opacity 760ms ease, transform 900ms cubic-bezier(.16, 1, .3, 1);
}

.landing-intro-inner {
  position: relative;
  width: 100%;
  min-height: min(44rem, 78svh);
}

.landing-intro-name {
  position: absolute;
  z-index: 22;
  top: 50%;
  left: 50%;
  width: max-content;
  max-width: calc(100vw - 3rem);
  margin: 0;
  padding: .08em .04em .12em;
  font: inherit;
  font-size: clamp(3.8rem, 7.2vw, 9.6rem);
  line-height: 1.08;
  letter-spacing: .006em;
  text-align: center;
  white-space: nowrap;
  overflow: visible;
  opacity: 0;
  clip-path: inset(-18% -8% -22% -8%);
  transform: translate(-50%, -50%);
}

.landing-bio {
  position: absolute;
  z-index: 21;
  top: 50%;
  left: 50%;
  width: min(48rem, 78vw);
  min-height: 15.6rem;
  display: grid;
  align-content: center;
  text-align: center;
  opacity: 0;
  transform: translate(-50%, calc(-50% + 5.2rem));
}

.landing-bio p {
  margin: 0 0 1.12rem;
}

.landing-bio p:last-child { margin-bottom: 0; }

.landing-bio--mobile { display: none; }

.landing-site {
  position: relative;
  z-index: 2;
  width: 100%;
  min-height: calc(100svh - (var(--pad) * 2));
  display: grid;
  grid-template-rows: auto 1fr;
}

.landing-site-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 4rem;
}

.landing-site-header h1 {
  margin: 0;
  font: inherit;
  font-size: 1.2rem;
  line-height: 1.2;
  letter-spacing: 0;
}

.landing-site-header nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: .8rem 1.5rem;
}

.landing-entry-grid {
  position: relative;
  z-index: 2;
  width: 100%;
  min-height: 0;
  align-self: stretch;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(2rem, 4.6vw, 6rem);
  padding: clamp(2rem, 3svh, 3.8rem) 0;
  transform: none;
}

.landing-entry {
  width: auto;
  display: grid;
  justify-items: center;
  align-items: start;
  gap: 1.05rem;
  min-width: 0;
}

.landing-entry-token {
  display: block;
  min-height: 1.45rem;
  font-size: 1.2rem;
  line-height: 1.2;
  letter-spacing: 0;
  color: var(--text);
  transition: transform 680ms cubic-bezier(.16, 1, .3, 1), opacity 520ms ease;
  will-change: transform;
}

.landing-entry-image {
  width: auto;
  height: 58svh;
  max-height: 60rem;
  aspect-ratio: var(--entry-ratio);
  display: grid;
  place-items: center;
  overflow: visible;
  transition: opacity 520ms ease, transform 680ms cubic-bezier(.16, 1, .3, 1), filter 520ms ease;
}

.landing-entry img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  transition: opacity 160ms ease, filter 160ms ease;
}

.landing-entry:hover img {
  opacity: .86;
  filter: contrast(1.04);
}

.photos-page .gallery-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.info-content {
  width: min(44rem, 100%);
  display: grid;
  gap: 2.6rem;
}

.info-copy p {
  margin: 0 0 1.4rem;
}

.info-copy p:last-child { margin-bottom: 0; }

.info-links {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem 1.8rem;
}

.info-credit {
  margin-top: auto;
  padding-top: 6rem;
  text-align: left;
  color: var(--muted);
}

.info-credit a {
  color: inherit;
}

.info-credit a:hover {
  color: #ff0000;
}

.intro-enabled body.landing-page .landing-backdrop {
  animation: landing-backdrop-in 900ms cubic-bezier(.16, 1, .3, 1) 80ms forwards;
}

.intro-enabled body.landing-page.is-site-entering .landing-backdrop {
  opacity: 0;
  filter: blur(34px);
  transform: scale(1.1);
  transition: opacity 980ms ease, filter 980ms ease, transform 980ms cubic-bezier(.16, 1, .3, 1);
}

.intro-enabled body.landing-page .landing-site {
  opacity: 0;
  pointer-events: none;
  transform: translateY(18svh);
  transition: opacity 900ms ease, transform 1180ms cubic-bezier(.16, 1, .3, 1);
}

.intro-enabled body.landing-page.is-site-entering .landing-site {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.intro-enabled body.landing-page.is-site-entering .landing-intro {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-2rem);
}

.intro-enabled body.landing-page .landing-intro-name {
  opacity: 0;
  clip-path: inset(0);
}

.intro-enabled body.landing-page.is-name-typing .landing-intro-name {
  opacity: 1;
  clip-path: inset(0);
  transform: translate(-50%, -50%);
  transition: opacity 220ms ease;
}

.intro-enabled body.landing-page.is-typewriter-started .landing-intro-name {
  opacity: 0;
  clip-path: inset(0);
  transform: translate(-50%, calc(-50% - 1.1rem));
  transition: opacity 520ms ease, transform 700ms cubic-bezier(.16, 1, .3, 1);
}

.intro-enabled body.landing-page .landing-bio [data-typewriter-line] {
  visibility: hidden;
}

.intro-enabled body.landing-page.is-typewriter-started .landing-bio {
  opacity: 1;
  transform: translate(-50%, -50%);
  transition: opacity 620ms ease, transform 760ms cubic-bezier(.16, 1, .3, 1);
}

.intro-enabled body.landing-page.is-enter-ready .landing-enter {
  opacity: .58;
  pointer-events: auto;
  animation: landing-enter-blink 980ms linear 3;
}

.intro-enabled body.landing-page.is-site-entering .landing-enter {
  opacity: 0;
  pointer-events: none;
}

.intro-enabled body.landing-page.is-entry-transitioning .landing-entry-grid {
  pointer-events: none;
}

.intro-enabled body.landing-page.is-entry-transitioning .landing-entry-token {
  transform: translateY(clamp(-26rem, -30svh, -15rem));
}

.intro-enabled body.landing-page.is-entry-transitioning .landing-entry-image {
  opacity: .18;
  filter: blur(6px);
  transform: translateY(1.2rem) scale(.985);
}

@keyframes landing-backdrop-in {
  from { opacity: 0; transform: scale(1.09); }
  to { opacity: .52; transform: scale(1.065); }
}

@keyframes landing-name-swipe-in {
  from {
    opacity: 1;
    clip-path: inset(0 100% 0 0);
    transform: translate(calc(-50% - 2.2rem), -50%);
  }
  to {
    opacity: 1;
    clip-path: inset(0);
    transform: translate(-50%, -50%);
  }
}

@keyframes landing-enter-blink {
  0%, 100% { opacity: .58; }
  50% { opacity: .06; }
}

@keyframes landing-logo-in {
  from { opacity: 0; transform: translate(-50%, calc(-50% + .8rem)); }
  to { opacity: 1; transform: translate(-50%, -50%); }
}

.work-section {
  margin: 0;
}

.work-section + .work-section {
  margin-top: 2.2rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(var(--cols), minmax(0, 1fr));
  gap: var(--gap);
  align-items: start;
}

figure {
  margin: 0;
  min-width: 0;
}

.gallery-button {
  width: 100%;
  display: block;
  text-align: left;
}

.gallery-button img,
img,
video {
  display: block;
  width: 100%;
  height: auto;
  border: 0;
  object-fit: contain;
}

.landing-entry img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
}

.gallery-button img {
  transition: opacity 140ms ease, filter 140ms ease;
}

.gallery-button:hover img {
  opacity: .84;
  filter: contrast(1.04);
}

.photo-credit {
  margin: .72rem 0 0;
  font-size: 1.2rem;
  font-style: italic;
  line-height: 1.1;
  color: var(--text);
}

.site-header {
  margin: 0 0 clamp(6rem, 10svh, 12rem);
  display: grid;
  gap: clamp(4rem, 7svh, 8rem);
}

.site-header--compact {
  margin-bottom: clamp(5rem, 8svh, 9rem);
}

.site-nav-row {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 4rem;
}

.site-nav-row h1 {
  margin: 0;
  font: inherit;
  font-size: 1.2rem;
  line-height: 1.2;
  letter-spacing: 0;
}

.site-nav-row nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: .8rem 1.5rem;
}

.index-nav {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 1.15rem;
  font-size: 1.2rem;
  line-height: 1.2;
  letter-spacing: 0;
}

.index-nav-link {
  min-width: 2.2rem;
  text-align: center;
  opacity: .42;
  transition: opacity 160ms ease, color 160ms ease;
}

.index-nav-link.is-active,
.index-nav-link:hover {
  opacity: 1;
}


.header-info {
  width: min(39rem, 100%);
  color: var(--text);
}

.header-info p {
  margin: 0 0 1.4rem;
}

.header-info p:last-child { margin-bottom: 0; }

.quick-view {
  position: fixed;
  z-index: 50;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 3rem;
  background: #fff;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.quick-view.is-open {
  opacity: 1;
  pointer-events: auto;
}

.quick-close {
  position: fixed;
  top: 3rem;
  right: 3rem;
  z-index: 55;
}

.quick-figure {
  max-width: calc(100vw - 12rem);
  max-height: calc(100svh - 11rem);
  display: grid;
  place-items: center;
  gap: .8rem;
}

.quick-figure img {
  max-width: 100%;
  max-height: calc(100svh - 13.5rem);
  width: auto;
  height: auto;
  object-fit: contain;
}

.quick-figure figcaption {
  color: var(--muted);
  font-style: italic;
}

.quick-nav {
  position: fixed;
  top: 50%;
  z-index: 55;
  transform: translateY(-50%);
  font-size: 1.8rem;
  color: var(--muted);
  padding: 2rem;
}

.quick-prev { left: 1rem; }
.quick-next { right: 1rem; }

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

  .intro-enabled body.landing-page .landing-site {
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .intro-enabled body.landing-page .landing-intro,
  .intro-enabled body.landing-page .landing-backdrop,
  .intro-enabled body.landing-page .landing-enter {
    display: none;
  }

  .intro-enabled body.landing-page .landing-entry-grid {
    pointer-events: auto;
    transform: none;
  }
}

@media (max-width: 980px) {
  :root { --cols: 5; }

  .photos-page .gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  :root {
    --pad: 0;
    --gap: .45rem;
    --cols: 4;
    --landing-header-x: 1.4rem;
    --landing-header-y: 1.4rem;
    --intro-control-offset: 14rem;
  }

  .page-content { padding: 0; }

  .site-header {
    margin: 0;
    padding: 1.4rem 1.4rem 4.4rem;
    gap: 3.6rem;
  }

  .site-nav-row {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: flex-start;
    column-gap: 1rem;
  }

  .site-nav-row h1 {
    min-width: 0;
    flex: 0 0 auto;
    font-size: 1.2rem;
    line-height: 1.2;
  }

  .site-nav-row h1 a { white-space: nowrap; }

  .site-nav-row nav {
    justify-content: flex-end;
    gap: .7rem 1.2rem;
  }

  .index-nav {
    position: static;
    justify-self: center;
    transform: none;
    gap: .8rem;
    white-space: nowrap;
  }

  .index-nav-link { min-width: 1.8rem; }

  .header-info { width: min(34rem, 100%); }
  .header-info p { margin-bottom: 1.2rem; }
  body.landing-page .page-content { padding: 0; }

  .landing-backdrop {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: .45rem;
    padding: .45rem;
    filter: blur(18px);
  }

  .landing-backdrop::after {
    background: rgba(255, 255, 255, .72);
  }

  .landing-intro-name {
    max-width: calc(100vw - 2.8rem);
    font-size: clamp(2.8rem, 8.8vw, 3.8rem);
    line-height: 1.12;
    padding: .1em .05em .14em;
  }

  .landing-site {
    min-height: 100svh;
  }

  .landing-site-header {
    padding: var(--landing-header-y) var(--landing-header-x) 0;
    gap: 2rem;
  }

  .landing-site-header h1 {
    flex: 0 0 auto;
    font-size: 1.2rem;
    line-height: 1.2;
  }

  .landing-site-header h1 a { white-space: nowrap; }

  .landing-site-header nav {
    gap: .7rem 1.2rem;
  }

  .landing-enter {
    top: calc(50% + var(--intro-control-offset));
  }

  .landing-mini-nav {
    top: var(--landing-header-y);
    right: var(--landing-header-x);
    gap: .7rem 1.3rem;
  }

  .landing-intro {
    min-height: 100svh;
    padding: 7.2rem 1.4rem 7.2rem;
  }

  .landing-intro-inner { min-height: min(45rem, 82svh); }

  .landing-bio--desktop { display: none; }

  .landing-bio--mobile { display: grid; }

  .landing-bio {
    width: min(32rem, calc(100vw - 2.8rem));
    min-height: 19.8rem;
    text-align: center;
  }

  .landing-bio p {
    margin-bottom: 1rem;
  }

  .info-content {
    width: auto;
    padding: 0 1.4rem 4.4rem;
  }

  .info-credit {
    padding: 4.8rem 1.4rem 1.4rem;
  }

  .intro-enabled body.landing-page.is-landing-ready .landing-intro {
    min-height: clamp(8rem, 14svh, 10.5rem);
    padding: 5.2rem var(--landing-header-x) .9rem;
  }

  .landing-entry-grid {
    align-self: stretch;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
    align-content: center;
    justify-items: stretch;
    gap: var(--landing-header-x);
    padding: 0 var(--landing-header-x) 1.4rem;
    transform: none;
  }

  .landing-entry {
    width: 100%;
    gap: .72rem;
  }

  .landing-entry-image {
    width: auto;
    height: 55vw;
    max-height: 33svh;
    aspect-ratio: var(--entry-ratio);
  }

  .intro-enabled body.landing-page.is-entry-transitioning .landing-entry-token {
    transform: translateY(-12rem);
  }
  .work-section + .work-section { margin-top: 1.6rem; }
  .photo-credit { margin: .55rem 0 0; padding: 0 1.4rem; }
  .quick-view { padding: 1.6rem; }
  .quick-close { top: 1.6rem; right: 1.6rem; }
  .quick-figure { max-width: calc(100vw - 3.2rem); max-height: calc(100svh - 8rem); }
  .quick-figure img { max-height: calc(100svh - 10rem); }
  .quick-nav { padding: 1.2rem; }
  .quick-prev { left: 0; }
  .quick-next { right: 0; }
}

@media (max-width: 430px) {
  :root {
    --cols: 4;
    --gap: .4rem;
  }
}

@media (max-width: 360px) {
  :root { --cols: 3; }

  :root { --landing-header-x: 1.2rem; --landing-header-y: 1.2rem; --intro-control-offset: 13.6rem; }
  .site-header { padding-left: 1.2rem; padding-right: 1.2rem; }
  .site-nav-row { column-gap: .7rem; }
  .site-nav-row nav { gap: .6rem .8rem; }
  .index-nav { gap: .6rem; }
  .index-nav-link { min-width: 1.5rem; }
  .photos-page .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
