@font-face {
  font-family: "Silent Autograph";
  src: url("fonts/Silent Autograph.otf") format("opentype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
.site-nav-links a[aria-current="page"] {
  position: relative;
  width: fit-content;
  padding: 0.75rem 0;
  color: var(--cloud);
}

.site-nav-links a[aria-current="page"]::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 3px;
  background: var(--raz);
}

.work-index-page {
  overflow: clip;
}

.work-index-page > section {
  min-height: 0;
}

.work-index-page > .work-index-intro {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(2rem, 4vw, 4rem);
  align-items: end;
  padding: clamp(3.25rem, 5.5vw, 5rem) 0 clamp(2.5rem, 4vw, 3.75rem);
  border-top: 0;
}

.work-index-page > .work-index-intro::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  background: var(--cloud);
  pointer-events: none;
}

.work-index-page > .work-index-intro > * {
  position: relative;
  z-index: 1;
}

@media (min-width: 701px) {
  .work-index-page > .work-index-intro {
    width: min(1200px, calc(100% - 7rem));
  }
}

.work-index-intro h1 {
  margin: 0;
  color: var(--raz);
  font-family: var(--font-display);
  font-size: clamp(5rem, 11vw, 9rem);
  font-weight: 700;
  line-height: 0.86;
  letter-spacing: -0.055em;
}

.work-index-intro-heading {
  grid-column: span 2;
}

.work-index-intro-copy {
  width: min(100%, 42rem);
  margin-top: 1.25rem;
  padding-bottom: 0;
}

.work-intro-annotation {
  position: absolute;
  right: 0;
  bottom: clamp(.4rem, 1.25vw, 1.1rem);
  display: flex;
  align-items: flex-end;
  flex-direction: column;
  color: var(--raz);
  transform: rotate(-2deg);
}

.work-intro-annotation span {
  font-family: "Silent Autograph", cursive;
  font-size: clamp(2.4rem, 3.4vw, 3.5rem);
  font-weight: 400;
  line-height: .8;
  white-space: nowrap;
}

.work-intro-annotation svg {
  display: block;
  width: clamp(5.25rem, 7vw, 7rem);
  height: auto;
  margin: .15rem 1.1rem 0 0;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.work-index-intro-copy p {
  margin: 0;
  color: var(--pavement);
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  font-weight: 400;
  line-height: 1.7;
}

.work-index-page > .work-index-gallery {
  width: min(1360px, calc(100% - 3rem));
  margin: clamp(2rem, 4vw, 4rem) auto clamp(4rem, 6vw, 6rem);
  padding: 0;
  border-top: 0;
  background: transparent;
}

.editorial-layout {
  display: grid;
  width: 100%;
  max-width: 1360px;
  margin: 0 auto;
}

.editorial-row {
  display: grid;
  gap: 14px;
  align-items: start;
}

.editorial-row + .editorial-row {
  margin-top: 14px;
}

.editorial-row--68-32 {
  grid-template-columns: minmax(0, 2.125fr) minmax(0, 1fr);
}

.editorial-row--42-58 {
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1fr);
  align-items: end;
}

.editorial-row--feature {
  grid-template-columns: minmax(0, 1fr);
}

.editorial-row--62-38 {
  grid-template-columns: minmax(0, 1.63fr) minmax(0, 1fr);
  align-items: center;
}

.editorial-row--offset {
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1fr);
}

.editorial-row--offset .project-entry {
  grid-column: 2;
}

.project-entry {
  --project-bar-bottom: calc(70% - 4rem);
  position: relative;
  display: block;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}

.project-entry::before,
.project-entry::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
}

.project-entry::before {
  background:
    linear-gradient(var(--raz), var(--raz)) bottom left / var(--project-bar-bottom) 5px no-repeat,
    linear-gradient(var(--raz), var(--raz)) bottom left / 5px 0 no-repeat;
  transition: background-size .22s ease .18s;
}

.project-entry::after {
  background:
    linear-gradient(var(--raz), var(--raz)) top left / 0 5px no-repeat,
    linear-gradient(var(--raz), var(--raz)) bottom right / 5px 0 no-repeat;
  transition: background-size .22s ease;
}

.project-entry:focus-visible { outline: none; }

.project-frame {
  --project-rest-overlay-opacity: .46;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  height: clamp(20rem, 36vw, 28rem);
  background: var(--cloud);
}

.project-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}


.project-frame::after {
  z-index: 1;
  background-color: rgb(0 0 0 / var(--project-rest-overlay-opacity));
  background-image: linear-gradient(
    to top,
    rgb(0 0 0 / .76) 0%,
    rgb(0 0 0 / .42) 22%,
    rgb(0 0 0 / 0) 48%
  );
  transition: background-color .3s ease;
}

.project-entry:focus-visible::before {
  background-size:
    100% 5px,
    5px 100%;
  transition-delay: 0s;
}

.project-entry:focus-visible::after {
  background-size:
    100% 5px,
    5px 100%;
  transition-delay: .18s;
}
.project-entry:focus-visible .project-frame::after { background-color: transparent; }

.project-frame--landscape,
.project-frame--portrait,
.project-frame--square,
.project-frame--wide,
.project-frame--feature {
  aspect-ratio: auto;
}

.project-image,
.project-placeholder {
  width: calc(100% + 2px);
  height: calc(100% + 2px);
  margin: -1px;
  backface-visibility: hidden;
  transition: transform .3s ease;
}

.project-image {
  display: block;
  object-fit: cover;
  object-position: var(--project-position, 50% 50%);
}

.project-placeholder {
  display: grid;
  place-items: center;
  background-repeat: no-repeat;
  background-position: var(--project-position, 50% 50%);
  background-size: cover;
}

.project-placeholder--cloud {
  background-color: var(--cloud);
  color: var(--pavement);
}

.project-placeholder--dark {
  background-color: var(--smoke);
  color: var(--mist);
}

.project-meta {
  position: absolute;
  right: 4.5rem;
  bottom: clamp(1rem, 2vw, 1.35rem);
  left: clamp(1rem, 2vw, 1.35rem);
  z-index: 3;
  opacity: 1;
  transition: opacity .3s ease;
}


.project-meta h2 {
  margin: 0;
  color: var(--cloud);
  font-family: var(--font-display);
  font-size: clamp(1.872rem, 2.714vw, 2.153rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.015em;
  text-shadow: none;
}


.project-arrow {
  position: absolute;
  right: clamp(1rem, 2vw, 1.35rem);
  bottom: clamp(1.15rem, 2vw, 1.5rem);
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1em;
  height: 1em;
  border-radius: 50%;
  background: var(--raz);
  color: rgb(255, 255, 255);
  font-size: 1.927rem;
  line-height: 1;
  opacity: 1;
  transition: transform .3s ease, opacity .3s ease;
}

.project-arrow > .fa-arrow-right {
  font-size: 0.42em;
}

.project-entry:focus-visible .project-image,
.project-entry:focus-visible .project-placeholder { transform: scale(1.03); }
.project-entry:focus-visible .project-arrow { transform: translateX(2px); }

@media (hover: hover) and (pointer: fine) {
  .project-entry:hover::before {
    background-size:
      100% 5px,
      5px 100%;
    transition-delay: 0s;
  }

  .project-entry:hover::after {
    background-size:
      100% 5px,
      5px 100%;
    transition-delay: .18s;
  }
  .project-entry:hover .project-frame::after { background-color: transparent; }
  .project-entry:hover .project-image,
  .project-entry:hover .project-placeholder { transform: scale(1.03); }
  .project-entry:hover .project-arrow { transform: translateX(2px); }
}

@media (max-width: 700px), (hover: none), (pointer: coarse) {
  .project-arrow { opacity: .9; }
}

@media (max-width: 900px) {
  .work-index-page > .work-index-intro {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(1.5rem, 3vw, 2.5rem);
    padding: clamp(2.5rem, 4.5vw, 3.5rem) 0 clamp(2.25rem, 4vw, 3rem);
  }

  .work-index-intro h1 {
    font-size: clamp(4.5rem, 12vw, 7rem);
  }

  .editorial-row--68-32 {
    grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr);
  }

  .editorial-row--42-58 {
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1fr);
  }

  .editorial-row--62-38 {
    grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  }

  .editorial-row--offset {
    grid-template-columns: minmax(0, 0.45fr) minmax(0, 1fr);
  }
}

@media (max-width: 700px) {
  .work-index-page > .work-index-intro {
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
    align-items: start;
    padding: 2.25rem 0 2rem;
  }

  .work-index-intro h1 {
    font-size: clamp(4.25rem, 22vw, 6rem);
  }

  .work-intro-divider {
    transform: translateY(-1rem);
  }

  .work-index-intro-heading {
    grid-column: 1;
  }

  .work-index-intro-copy {
    justify-self: start;
    width: min(100%, 32rem);
    padding-bottom: 0;
  }

  .work-intro-annotation {
    position: relative;
    right: auto;
    bottom: auto;
    justify-self: end;
    margin-top: -.75rem;
    transform: rotate(-2deg);
  }

  .work-intro-annotation span {
    font-size: clamp(2.6rem, 12vw, 3.4rem);
  }

  .work-intro-annotation svg {
    width: clamp(4.75rem, 22vw, 6rem);
    margin-right: .75rem;
  }

  .work-index-page > .work-index-gallery {
    width: calc(100% - 2rem);
    margin-bottom: 3.5rem;
    padding: 0;
  }

  .editorial-row,
  .editorial-row--68-32,
  .editorial-row--42-58,
  .editorial-row--62-38,
  .editorial-row--offset {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .editorial-row + .editorial-row {
    margin-top: 12px;
  }

  .editorial-row--offset .project-entry {
    grid-column: 1;
  }

  .project-frame {
    height: clamp(18rem, 82vw, 20rem);
  }
}

@media (max-width: 420px) {
  .work-index-page > .work-index-intro {
    padding: 1.875rem 0 1.75rem;
  }

  .work-index-page > .work-index-gallery {
    width: calc(100% - 2rem);
    margin-bottom: 3rem;
    padding: 0;
  }

  .work-intro-annotation {
    margin-top: -1rem;
  }

  .work-intro-annotation span {
    font-size: 2.65rem;
  }

  .work-intro-annotation svg {
    width: 4.75rem;
  }

  .editorial-row,
  .editorial-row + .editorial-row {
    gap: 10px;
    margin-top: 10px;
  }

  .editorial-row:first-child {
    margin-top: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .project-entry::before,
  .project-entry::after,
  .project-frame::after,
  .project-arrow,
  .project-image,
  .project-placeholder {
    transition: none;
  }

  .project-entry:hover::before,
  .project-entry:focus-visible::before,
  .project-entry:hover::after,
  .project-entry:focus-visible::after {
    background-size:
      100% 5px,
      5px 100%;
  }

  .project-entry:hover .project-image,
  .project-entry:hover .project-placeholder,
  .project-entry:focus-visible .project-image,
  .project-entry:focus-visible .project-placeholder {
    transform: none;
  }
}












