@font-face {
  font-family: "Interface";
  src: url("fonts/interface-variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Index";
  src: url("fonts/index-variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #fff;
  --ground: #f7f7f7;
  --ink: #0c0d0e;
  --grey-100: #ededee;
  --grey-200: #dcdddf;
  --grey-300: #c2c4c7;
  --grey-400: #9a9da1;
  --grey-500: #75797e;
  --grey-600: #55595e;
  --grey-800: #26282b;
  --grey-900: #16181a;
  --accent: #e9cc2a;
  --accent-hover: #c6ad22;
  --border: #dcdddf;
  --page: 32px;
  --tight: 8px;
  --gutter: 24px;
  --dur-fast: 120ms;
  --dur: 320ms;
  --dur-slow: 560ms;
  --shutter: cubic-bezier(.16, 1, .3, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: "Interface", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.62;
  text-rendering: optimizeLegibility;
}

body.viewer-open { overflow: hidden; }

button, input, textarea { font: inherit; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
[hidden] { display: none !important; }

button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 1px solid currentColor;
  outline-offset: 2px;
}

.skip-link {
  position: fixed;
  z-index: 200;
  left: 12px;
  top: 8px;
  transform: translateY(-160%);
  background: var(--ink);
  color: var(--paper);
  padding: 6px 10px;
}
.skip-link:focus { transform: none; }

.masthead {
  position: sticky;
  z-index: 50;
  top: 0;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--page);
  border-bottom: 1px solid var(--border);
  background: rgba(247, 247, 247, .84);
  backdrop-filter: blur(14px);
}

.brand-button, .nav-link {
  display: inline-flex;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
}

.brand {
  display: inline-flex;
  align-items: baseline;
  white-space: nowrap;
  font-weight: 500;
  letter-spacing: -.032em;
  line-height: 1;
}

.brand-block {
  display: inline-block;
  width: .64em;
  height: .47em;
  margin-left: .14em;
  background: var(--accent);
}
.masthead .brand-block { animation: wls-blink 1.15s steps(1, end) infinite; }
@keyframes wls-blink { 0%, 55% { opacity: 1; } 56%, 100% { opacity: 0; } }

.nav-link {
  font-family: "Index", monospace;
  font-size: 11px;
  line-height: 26px;
  letter-spacing: .08em;
  text-transform: uppercase;
  border-bottom: 1px solid transparent;
}
.nav-link:hover, .nav-link.is-active { color: var(--accent-hover); border-color: currentColor; }

.micro {
  font-family: "Index", monospace;
  font-size: 10px;
  line-height: 1.3;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.muted { color: var(--grey-500); }

.home-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: end;
  padding: 18px var(--page) 16px;
}

h1, h2, p { margin-top: 0; }
h1, h2 { font-weight: 500; letter-spacing: -.022em; }
.home-intro h1 {
  margin: 4px 0 0;
  font-size: clamp(16px, 1.4vw, 20px);
  line-height: 1.1;
}
.home-intro p { margin-bottom: 0; color: var(--grey-600); font-size: 12px; line-height: 1.4; }

.index-section, .frame-index { padding: 0 var(--page); }
.frame-index { padding-top: 96px; }
.section-bar {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid var(--border);
}

.filters { display: flex; gap: 4px; padding: 7px 0; overflow-x: auto; }
.filter {
  min-height: 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  padding: 2px 10px;
  font-family: "Index", monospace;
  font-size: 10px;
  letter-spacing: .06em;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
  transition: background var(--dur-fast), color var(--dur-fast), border-color var(--dur-fast);
}
.filter:hover { background: var(--grey-100); }
.filter.is-active { background: var(--ink); color: var(--paper); border-color: var(--ink); }

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

.project-card {
  display: block;
  width: 100%;
  border: 0;
  padding: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
}
.project-card[hidden] { display: none; }
.project-media {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--grey-100);
}
.project-card:nth-child(5n + 2) .project-media { aspect-ratio: 3 / 4; }
.project-card:nth-child(5n + 3) .project-media { aspect-ratio: 4 / 3; }
.project-card:nth-child(5n + 4) .project-media { aspect-ratio: 1 / 1; }

.frame-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.008);
  transition: opacity var(--dur-slow) var(--shutter), transform var(--dur-slow) var(--shutter);
}
.frame-image.is-loaded { opacity: 1; transform: none; }
.project-card .frame-image { transition: opacity var(--dur-slow) var(--shutter), transform var(--dur-slow) var(--shutter); }
.project-card:hover .frame-image { transform: scale(1.02); }

.project-scrim {
  position: absolute;
  inset: 58% 0 0;
  background: rgba(12,13,14,.68);
  opacity: 0;
  transition: opacity var(--dur) var(--shutter);
}
.project-hover-title {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 14px;
  color: var(--paper);
  font-size: clamp(20px, 2.2vw, 34px);
  line-height: 1.02;
  letter-spacing: -.022em;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity var(--dur) var(--shutter), transform var(--dur) var(--shutter);
}
.project-card:hover .project-scrim, .project-card:hover .project-hover-title { opacity: 1; }
.project-card:hover .project-hover-title { transform: none; }

.project-caption { display: grid; gap: 4px; padding: 11px 0 0; }
.project-title { font-size: 17px; line-height: 1.15; letter-spacing: -.012em; }

.contact-sheet {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: var(--tight);
}
.contact-frame {
  position: relative;
  border: 0;
  padding: 0;
  background: var(--grey-100);
  overflow: hidden;
  cursor: zoom-in;
}
.contact-image { display: block; width: 100%; height: 100%; overflow: hidden; }
.contact-frame .frame-image { transition: opacity var(--dur-slow) var(--shutter), transform var(--dur-slow) var(--shutter); }
.contact-frame:hover .frame-image { transform: scale(1.02); }
.frame-shape-0, .frame-shape-3 { aspect-ratio: 3 / 4; }
.frame-shape-1, .frame-shape-4 { aspect-ratio: 4 / 3; }
.frame-shape-2 { aspect-ratio: 1 / 1; }
.frame-label {
  position: absolute;
  left: 6px;
  bottom: 5px;
  color: var(--paper);
  font-family: "Index", monospace;
  font-size: 9px;
  line-height: 1;
  padding: 2px 3px;
  background: rgba(12,13,14,.62);
}

.project-lead {
  position: relative;
  display: block;
  width: 100%;
  height: min(78vh, 850px);
  border: 0;
  padding: 0;
  background: var(--grey-100);
  overflow: hidden;
  cursor: zoom-in;
}
.project-lead .frame-image { object-fit: cover; }
.project-video-lead { display: grid; place-items: center; background: var(--ink); cursor: default; }
.project-video-lead .video-embed { width: 100%; height: 100%; aspect-ratio: auto; }
.project-video-lead .video-play img { object-fit: contain; }
.project-video-lead .lead-open { border: 0; font: inherit; cursor: zoom-in; }
.lead-open {
  position: absolute;
  right: var(--page);
  bottom: 20px;
  color: var(--paper);
  padding: 7px 9px;
  background: rgba(12,13,14,.72);
  backdrop-filter: blur(8px);
}
.project-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 64px;
  padding: 48px var(--page) 0;
}
.photo-essay {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 48px var(--tight);
}
.essay-frame { margin: 0; grid-column: span 6; }
.essay-frame.essay-third { grid-column: span 4; }
.essay-frame.essay-wide { grid-column: 1 / -1; }
.essay-frame button {
  display: block;
  width: 100%;
  border: 0;
  padding: 0;
  background: var(--grey-100);
  cursor: zoom-in;
}
.essay-frame .frame-image { width: 100%; height: auto; object-fit: contain; }
.essay-video { background: var(--ink); }
.video-embed { position: relative; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; background: var(--ink); }
.video-embed iframe, .video-play { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-play { padding: 0; background: var(--ink); color: var(--paper); cursor: pointer; }
.video-play img { display: block; width: 100%; height: 100%; object-fit: cover; }
.video-play-label { position: absolute; right: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 7px; padding: 7px 9px; background: var(--ink); color: var(--paper); font-family: "Index", monospace; font-size: 10px; letter-spacing: .06em; text-transform: uppercase; }
.video-play:hover .video-play-label { background: var(--accent); color: var(--ink); }
.essay-frame figcaption {
  display: flex;
  justify-content: space-between;
  margin-top: 6px;
  color: var(--grey-500);
  font-family: "Index", monospace;
  font-size: 9px;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.project-meta {
  position: sticky;
  top: 80px;
  align-self: start;
}
.project-meta h1 { margin: 18px 0 18px; font-size: clamp(34px, 4vw, 58px); line-height: .98; }
.project-meta p { color: var(--grey-600); }
.project-meta dl, .viewer-meta dl { margin: 28px 0; border-top: 1px solid var(--border); }
.project-meta dl div, .viewer-meta dl div { display: grid; grid-template-columns: 80px 1fr; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--border); }
.project-meta dt, .viewer-meta dt { font-family: "Index", monospace; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.project-meta dd, .viewer-meta dd { margin: 0; color: var(--grey-600); }
.view-actions { display: grid; gap: 8px; }
.button {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border: 1px solid var(--ink);
  border-radius: 2px;
  background: transparent;
  padding: 6px 11px;
  font-family: "Index", monospace;
  font-size: 10px;
  letter-spacing: .06em;
  text-transform: uppercase;
  cursor: pointer;
}
.button:hover { background: var(--grey-100); }
.button:active { transform: translateY(.5px); }
.button.accent { border-color: var(--accent); background: var(--accent); color: var(--ink); }
.button.accent:hover { border-color: var(--accent-hover); background: var(--accent-hover); }

.next-project {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: calc(100% - var(--page) * 2);
  min-height: 440px;
  margin: 120px var(--page) 0;
  border: 0;
  padding: 0;
  background: var(--ink);
  color: var(--paper);
  text-align: left;
  cursor: pointer;
  overflow: hidden;
}
.next-image { overflow: hidden; }
.next-project:hover .frame-image { transform: scale(1.02); }
.next-copy { display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; gap: 18px; padding: 32px; }
.next-copy strong { max-width: 12ch; font-size: clamp(38px, 5vw, 72px); font-weight: 500; line-height: .94; letter-spacing: -.022em; }
.next-copy > span:last-child { font-size: 36px; }

.info-page { padding: 88px var(--page) 0; }
.info-heading { padding-bottom: 88px; border-bottom: 1px solid var(--border); }
.info-heading h1 { max-width: 14ch; margin: 24px 0 0; font-size: clamp(48px, 7vw, 104px); line-height: .95; }
.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12vw; padding: 64px 0 80px; }
.info-grid > section { max-width: 560px; }
.info-grid p { color: var(--grey-600); }
.info-grid .large-copy { margin-top: 24px; color: var(--ink); font-size: clamp(23px, 2.3vw, 34px); line-height: 1.2; letter-spacing: -.018em; }
.availability { display: flex; gap: 9px; align-items: center; margin-top: 36px; font-family: "Index", monospace; font-size: 10px; letter-spacing: .06em; text-transform: uppercase; }
.availability span { width: 7px; height: 7px; background: var(--accent); }
form { display: grid; gap: 20px; margin-top: 24px; }
.wls-honeypot { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.form-error { padding: 10px; border: 1px solid var(--accent); color: var(--ink); }
form label { display: grid; gap: 7px; font-family: "Index", monospace; font-size: 10px; letter-spacing: .06em; text-transform: uppercase; }
input, textarea {
  width: 100%;
  border: 1px solid var(--grey-300);
  border-radius: 2px;
  background: var(--paper);
  padding: 9px 10px;
  font-family: "Interface", sans-serif;
  font-size: 15px;
  line-height: 1.4;
  text-transform: none;
}
textarea { resize: vertical; }
input:focus, textarea:focus { border-color: var(--ink); outline: 1px solid var(--ink); outline-offset: -2px; }
.form-confirmation { margin-top: 24px; padding: 24px; border: 1px solid var(--border); background: var(--paper); }
.form-confirmation p { margin: 20px 0 28px; color: var(--ink); font-size: 24px; line-height: 1.2; }

.lightbox {
  position: fixed;
  z-index: 100;
  inset: 0;
  width: 100%;
  height: 100%;
  height: 100dvh;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  background: rgba(12,13,14,.98);
  color: var(--ground);
  animation: viewer-in var(--dur) var(--shutter) both;
}
@keyframes viewer-in { from { opacity: 0; } }
.viewer-stage { position: relative; min-width: 0; min-height: 0; max-width: 100%; max-height: 100%; display: grid; place-items: center; padding: 28px 64px; overflow: hidden; }
.viewer-stage .frame-image { position: absolute; inset: 28px 64px; width: calc(100% - 128px); height: calc(100% - 56px); max-width: none; max-height: none; object-fit: contain; }
.viewer-stage .viewer-video { position: absolute; inset: 28px 64px; width: calc(100% - 128px); height: calc(100% - 56px); border: 0; background: var(--ink); }
.viewer-arrow, .close-button {
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
}
.viewer-arrow {
  position: absolute;
  top: 50%;
  width: 34px;
  height: 34px;
  border: 1px solid var(--grey-600);
  background: rgba(12,13,14,.56);
  backdrop-filter: blur(8px);
}
.viewer-arrow:hover { background: var(--grey-800); border-color: var(--ground); }
.viewer-arrow.previous { left: 16px; }
.viewer-arrow.next { right: 16px; }
.viewer-meta { display: flex; flex-direction: column; gap: 32px; padding: 22px; border-left: 1px solid var(--grey-800); background: var(--ink); }
.viewer-top { display: flex; align-items: center; justify-content: space-between; }
.close-button { font-family: "Index", monospace; font-size: 13px; }
.viewer-meta h2 { margin: 12px 0 0; font-size: 32px; line-height: 1.02; }
.viewer-meta dl { border-color: var(--grey-800); }
.viewer-meta dl div { border-color: var(--grey-800); grid-template-columns: 64px 1fr; }
.viewer-meta dd { color: var(--grey-300); }
.viewer-help { margin-top: auto; color: var(--grey-400); font-family: "Index", monospace; font-size: 9px; letter-spacing: .05em; text-transform: uppercase; }

footer {
  min-height: 180px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: end;
  gap: 24px;
  margin-top: 120px;
  padding: 36px var(--page);
  border-top: 1px solid var(--border);
}
footer .micro { justify-self: center; }
footer a { justify-self: end; font-family: "Index", monospace; font-size: 10px; letter-spacing: .06em; text-transform: uppercase; text-decoration: underline; text-underline-offset: 3px; }
footer a:hover { color: var(--accent-hover); }
footer .footer-credit { display: inline-flex; align-items: center; gap: 8px; line-height: 1; text-decoration: none; transition: opacity 160ms ease; }
footer .footer-credit-label { font-family: "Index", monospace; font-size: 8px; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
footer .footer-credit img { display: block; width: 84px; height: auto; }
footer .footer-credit:hover { opacity: .62; }

@media (max-width: 900px) {
  :root { --page: 20px; }
  .home-intro { grid-template-columns: 1fr 1fr; gap: 28px; }
  .project-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .contact-sheet { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .project-body { grid-template-columns: 1fr; gap: 48px; }
  .project-meta { position: relative; top: auto; grid-row: 1; max-width: 580px; }
  .next-project { min-height: 360px; }
  .info-grid { gap: 56px; }
  footer { grid-template-columns: 1fr 1fr; }
  footer .micro { display: none; }
}

@media (max-width: 640px) {
  :root { --page: 12px; }
  .masthead { height: 52px; }
  .home-intro { grid-template-columns: 1fr; gap: 10px; padding: 20px var(--page) 17px; }
  .home-intro h1 { margin-top: 4px; font-size: 17px; }
  .home-intro p { max-width: 48ch; font-size: 12px; }
  .section-bar { align-items: flex-start; flex-direction: column; padding: 12px 0 8px; }
  .section-bar .muted { display: none; }
  .filters { width: 100%; }
  .project-grid { grid-template-columns: 1fr 1fr; }
  .project-card:nth-child(odd) .project-media { aspect-ratio: 4 / 5; }
  .project-card:nth-child(even) .project-media { aspect-ratio: 3 / 4; }
  .project-caption .micro { font-size: 8px; }
  .project-title { font-size: 14px; }
  .project-hover-title, .project-scrim { display: none; }
  .frame-index { padding-top: 72px; }
  .contact-sheet { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .project-lead { height: 62vh; }
  .project-body { padding-top: 32px; }
  .photo-essay { gap: 32px var(--tight); }
  .essay-frame, .essay-frame.essay-third { grid-column: span 6; }
  .essay-frame.essay-wide { grid-column: 1 / -1; }
  .essay-frame figcaption span:last-child { display: none; }
  .next-project { grid-template-columns: 1fr; min-height: 540px; margin-top: 80px; }
  .next-image { min-height: 330px; }
  .next-copy { padding: 24px; }
  .info-page { padding-top: 56px; }
  .info-heading { padding-bottom: 56px; }
  .info-heading h1 { font-size: 52px; }
  .info-grid { grid-template-columns: 1fr; gap: 72px; padding-top: 48px; }
  .lightbox { grid-template-columns: 1fr; grid-template-rows: minmax(0, 1fr) auto; }
  .viewer-stage { padding: 16px 48px; }
  .viewer-stage .frame-image { inset: 16px 48px; width: calc(100% - 96px); height: calc(100% - 32px); }
	.viewer-stage .viewer-video { inset: 16px 48px; width: calc(100% - 96px); height: calc(100% - 32px); }
  .viewer-meta { min-height: 150px; display: grid; grid-template-columns: 1fr auto; gap: 12px; border-left: 0; border-top: 1px solid var(--grey-800); padding: 14px; }
  .viewer-meta h2 { font-size: 22px; }
  .viewer-meta dl, .viewer-help { display: none; }
  .viewer-top { grid-column: 1 / -1; }
  footer { min-height: 150px; margin-top: 80px; padding-bottom: 24px; }
  footer a { font-size: 8px; }
  footer .footer-credit { gap: 6px; }
  footer .footer-credit-label { font-size: 7px; }
  footer .footer-credit img { width: 72px; }
}

@media (hover: none) {
  .project-hover-title, .project-scrim { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .frame-image, .project-card:hover .frame-image, .contact-frame:hover .frame-image, .next-project:hover .frame-image { transform: none; }
  .masthead .brand-block { animation: none !important; }
}
