.hybrid-explorer #hybrid-explorer {
  width: min(calc(100% - var(--page-gutter) * 2), var(--container));
  margin: 0 auto;
  padding-block: 100px 64px;
}
.explorer-statuses {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  border-bottom: 1px solid var(--line);
}
.explorer-statuses button {
  border: 0;
  border-bottom: 2px solid transparent;
  padding: 14px 0;
  min-height: 48px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  cursor: pointer;
}
.explorer-statuses button[aria-pressed="true"] {
  color: var(--gold-dark);
  border-bottom-color: var(--gold-dark);
}
.explorer-controls {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr)) minmax(180px, 1.7fr);
  gap: 20px;
  margin-top: 28px;
}
.explorer-controls label {
  display: grid;
  gap: 8px;
  font-size: 12px;
  color: var(--muted);
}
.explorer-controls :is(input, select) {
  width: 100%;
  min-width: 0;
  min-height: 48px;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  padding: 10px 8px;
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  font-size: 15px;
}
.explorer-results {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin: 28px 0 36px;
}
.explorer-results #portfolio-count {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}
[data-explorer-clear] {
  min-height: 44px;
  border: 0;
  border-bottom: 1px solid currentColor;
  border-radius: 0;
  padding: 8px 0;
  background: transparent;
  color: var(--gold-dark);
  cursor: pointer;
  font: inherit;
  font-size: 13px;
}
#hybrid-explorer #portfolio-grid {
  width: 100%;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 88px 40px;
  padding: 0;
}
#hybrid-explorer #portfolio-grid > .editorial-project {
  grid-column: span 6;
  margin-top: 0;
  animation-duration: 550ms;
}
#hybrid-explorer #portfolio-grid > .editorial-project:nth-child(10n + 1),
#hybrid-explorer #portfolio-grid > .editorial-project:nth-child(10n + 4),
#hybrid-explorer #portfolio-grid > .editorial-project:nth-child(10n + 7),
#hybrid-explorer #portfolio-grid > .editorial-project:nth-child(10n + 10) {
  grid-column: span 8;
}
#hybrid-explorer #portfolio-grid > .editorial-project:nth-child(10n + 2),
#hybrid-explorer #portfolio-grid > .editorial-project:nth-child(10n + 3),
#hybrid-explorer #portfolio-grid > .editorial-project:nth-child(10n + 8),
#hybrid-explorer #portfolio-grid > .editorial-project:nth-child(10n + 9) {
  grid-column: span 4;
}
#hybrid-explorer .editorial-project:nth-child(even) {
  padding-top: 56px;
}
#hybrid-explorer .editorial-project .editorial-project-media {
  aspect-ratio: 4/3;
}
#hybrid-explorer .editorial-project:nth-child(10n + 2) .editorial-project-media,
#hybrid-explorer .editorial-project:nth-child(10n + 3) .editorial-project-media,
#hybrid-explorer .editorial-project:nth-child(10n + 8) .editorial-project-media,
#hybrid-explorer
  .editorial-project:nth-child(10n + 9)
  .editorial-project-media {
  aspect-ratio: 4/5;
}
#hybrid-explorer .editorial-project-image {
  transition-duration: 600ms;
}
#hybrid-explorer .editorial-project-title {
  font-size: clamp(24px, 2.2vw, 34px);
}
.editorial-project-year {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
}
#hybrid-explorer .load-more-row {
  width: 100%;
  padding: 64px 0 0;
  text-align: center;
}
#explorer-empty {
  padding: 64px 24px;
  border-block: 1px solid var(--line);
  text-align: center;
}
.explorer-error {
  padding: 24px;
  border: 1px solid var(--line);
}
#hybrid-explorer :focus-visible {
  outline: 2px solid var(--gold-dark);
  outline-offset: 4px;
}
@media (min-width: 768px) and (max-width: 1199px) {
  .hybrid-explorer #hybrid-explorer #portfolio-grid > .editorial-project {
    grid-column: span 6;
    padding-top: 0;
  }
  .hybrid-explorer
    #hybrid-explorer
    .editorial-project
    .editorial-project-media {
    aspect-ratio: 4/3;
  }
  .explorer-controls {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .explorer-search {
    grid-column: 1/-1;
  }
}
@media (max-width: 767px) {
  .hybrid-explorer #hybrid-explorer {
    padding-block: 64px 48px;
  }
  .explorer-statuses {
    gap: 0 20px;
  }
  .explorer-statuses button {
    font-size: 14px;
  }
  .explorer-controls {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 16px;
  }
  .explorer-search {
    grid-column: 1/-1;
  }
  #hybrid-explorer #portfolio-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .hybrid-explorer #hybrid-explorer #portfolio-grid > .editorial-project {
    grid-column: 1;
    padding-top: 0;
  }
  .hybrid-explorer
    #hybrid-explorer
    .editorial-project
    .editorial-project-media {
    aspect-ratio: 4/3;
  }
}
@media (prefers-reduced-motion: reduce) {
  #hybrid-explorer .editorial-project {
    animation: none;
  }
  #hybrid-explorer .editorial-project img {
    transition: none;
    transform: none;
  }
}
.project-wall .hybrid-explorer #hybrid-explorer {
  width: 100%;
  max-width: none;
  padding-block: 24px 64px;
}
.project-wall #hybrid-explorer #portfolio-grid {
  display: grid;
  width: min(calc(100% - var(--page-gutter) * 2), var(--container));
  margin-inline: auto;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  background: transparent;
}
.project-wall
  .hybrid-explorer
  #hybrid-explorer
  #portfolio-grid
  > .editorial-project {
  grid-column: span 1;
  margin: 0;
  padding: 0;
  min-width: 0;
  border: 0;
  border-radius: 0;
  overflow: hidden;
  color: white;
  background: var(--ink);
}
.project-wall
  .hybrid-explorer
  #hybrid-explorer
  #portfolio-grid
  > .editorial-project:nth-child(4n + 1),
.project-wall
  .hybrid-explorer
  #hybrid-explorer
  #portfolio-grid
  > .editorial-project:nth-child(4n + 4) {
  grid-column: span 2;
}
.project-wall #hybrid-explorer .editorial-project-body {
  position: relative;
  height: clamp(340px, 32vw, 440px);
}
.project-wall #hybrid-explorer .editorial-project .editorial-project-media {
  height: 100%;
  aspect-ratio: auto;
}
.project-wall #hybrid-explorer .editorial-project-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 650ms ease;
}
.project-wall #hybrid-explorer .editorial-project-media::after {
  background: linear-gradient(
    180deg,
    transparent 30%,
    rgba(20, 24, 21, 0.2) 50%,
    rgba(20, 24, 21, 0.88) 100%
  );
  opacity: 1;
}
.project-wall #hybrid-explorer .editorial-project-copy {
  position: absolute;
  inset: auto 0 0;
  padding: clamp(20px, 2.2vw, 32px);
  border: 0;
  z-index: 1;
}
.project-wall
  #hybrid-explorer
  :is(
    .editorial-project-meta,
    .editorial-project-title,
    .editorial-project-location,
    .editorial-project-year,
    .editorial-project-cta
  ) {
  color: #fff;
}
.project-wall #hybrid-explorer .editorial-project-title {
  font-size: clamp(24px, 2.2vw, 32px);
  font-weight: 500;
  line-height: 1.35;
  margin: 0 0 10px;
}
.project-wall #hybrid-explorer .editorial-project-meta {
  font-size: 11px;
  letter-spacing: 0.14em;
  margin-bottom: 16px;
}
.project-wall #hybrid-explorer .editorial-project-location {
  max-width: 42ch;
  line-height: 1.7;
}
.project-wall #hybrid-explorer .editorial-project-cta {
  margin: 22px 0 0;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.65);
  padding-bottom: 8px;
}
.project-wall #hybrid-explorer .editorial-project:focus-visible {
  outline: 3px solid #d8c28e;
  outline-offset: -6px;
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .project-wall #hybrid-explorer .editorial-project-copy {
    transform: translateY(24px);
    transition: transform 650ms ease;
  }
  .project-wall #hybrid-explorer .editorial-project-cta {
    opacity: 0;
    transition: opacity 650ms ease;
  }
  .project-wall
    #hybrid-explorer
    .editorial-project:is(:hover, :focus-visible)
    .editorial-project-copy {
    transform: translateY(0);
  }
  .project-wall
    #hybrid-explorer
    .editorial-project:is(:hover, :focus-visible)
    .editorial-project-cta {
    opacity: 1;
  }
  .project-wall
    #hybrid-explorer
    .editorial-project:is(:hover, :focus-visible)
    .editorial-project-image {
    transform: scale(1.03);
  }
}
@media (min-width: 768px) and (max-width: 1199px) {
  .project-wall #hybrid-explorer #portfolio-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .project-wall
    .hybrid-explorer
    #hybrid-explorer
    #portfolio-grid
    > .editorial-project:nth-child(n) {
    grid-column: span 1;
  }
  .project-wall #hybrid-explorer .editorial-project-body {
    height: 380px;
  }
}
@media (max-width: 767px) {
  .project-wall #hybrid-explorer #portfolio-grid {
    grid-template-columns: 1fr;
  }
  .project-wall
    .hybrid-explorer
    #hybrid-explorer
    #portfolio-grid
    > .editorial-project:nth-child(n) {
    grid-column: 1;
  }
  .project-wall #hybrid-explorer .editorial-project-body {
    height: clamp(340px, 100vw, 420px);
  }
}
@media (prefers-reduced-motion: reduce) {
  .project-wall
    #hybrid-explorer
    .editorial-project
    :is(
      .editorial-project-image,
      .editorial-project-copy,
      .editorial-project-cta
    ) {
    transition: none;
    transform: none;
    opacity: 1;
  }
}
.project-wall main#main-content {
  width: 100%;
  max-width: none;
  padding-inline: 0;
}
.project-wall .hybrid-explorer .listing-hero {
  width: min(calc(100% - var(--page-gutter) * 2), var(--container));
  margin-inline: auto;
}
.project-wall #hybrid-explorer .editorial-project-body {
  width: 100%;
}
.project-wall #all-projects {
  scroll-margin-top: calc(var(--header-height) + 24px);
}
.project-wall .portfolio-detail-facts {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}
.project-wall .portfolio-detail-facts dt {
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 6px;
}
.project-wall .portfolio-detail-facts dd {
  margin: 0;
  white-space: pre-line;
  overflow-wrap: anywhere;
  line-height: 1.8;
}
.project-wall :is(.explorer-filters, .explorer-results) {
  width: min(calc(100% - var(--page-gutter) * 2), var(--container));
  margin-inline: auto;
}
