/* Project cards must not inherit the site navigation's background or stacking. */
.tour-showcase > header,
.service-outcome > header {
  position: static;
  z-index: auto;
  background: transparent;
  border-bottom: 0;
  box-shadow: none;
}
.tour-showcase > header { color: var(--paper); }
.tour-showcase > header h2 { color: var(--paper); }
.tour-showcase > header .eyebrow { color: #c8c4bb; }
.tour-showcase > header > div { min-width: 0; }
.tour-showcase h2 { overflow-wrap: anywhere; }
.tour-showcase .tour-status,
.tour-showcase .tour-direct { font-size: .875rem; }
.tour-showcase .tour-status { color: #c8c4bb; }
.tour-viewport { height: clamp(360px, 43vw, 620px); }
.tour-cover { display: block; width: 100%; height: 100%; object-fit: cover; }
.tour-cover-label {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  margin: 0;
  padding: .6rem .85rem;
  background: var(--field);
  color: var(--paper);
  font: 500 .875rem/1.5 var(--meta);
}
.tour-links { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.tour-links .portfolio-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 0;
  margin: 0;
  overflow: hidden;
}
.portfolio-card-photo { display: block; aspect-ratio: 16 / 10; overflow: hidden; }
.portfolio-card-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.portfolio-card-copy { display: flex; flex-direction: column; flex: 1; padding: clamp(1.25rem, 2.2vw, 2rem); }
.portfolio-card-meta { display: flex; align-items: baseline; gap: .8rem; margin: 0 0 1rem; }
.portfolio-card-meta .eyebrow,
.portfolio-card-number { margin: 0; color: var(--signal-deep); font: 500 .875rem/1.6 var(--meta); }
.portfolio-card-meta .eyebrow { letter-spacing: .04em; }
.tour-links .portfolio-card h2 { max-width: none; font-size: clamp(1.4rem, 2.1vw, 2rem); line-height: 1.15; overflow-wrap: anywhere; }
.portfolio-card-note { margin: 1rem 0 1.5rem; font-size: 1rem; line-height: 1.65; }
.portfolio-card-copy > .button { margin-top: auto; align-self: flex-start; max-width: 100%; white-space: normal; font-size: .875rem; }
.portfolio-hero-picture,
.portfolio-hero-picture img { display: block; width: 100%; height: 100%; }
.portfolio-hero-picture img { object-fit: cover; }
.portfolio-hero-picture img { object-position: 50% 50%; }
@media (max-width: 1000px) {
  .tour-links { grid-template-columns: 1fr; }
  .tour-links .portfolio-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .portfolio-card-photo { aspect-ratio: auto; min-height: 280px; }
}
@media (max-width: 600px) {
  .tour-links .portfolio-card { display: flex; }
  .portfolio-card-photo { aspect-ratio: 16 / 10; min-height: 0; }
  .tour-links .portfolio-card h2 { font-size: 1.75rem; }
  .tour-viewport { height: 360px; }
  .tour-showcase > header { grid-template-columns: 1.75rem minmax(0, 1fr); gap: .65rem; }
  .tour-showcase > header h2 { font-size: clamp(1.8rem, 8vw, 2.5rem); }
  .tour-cover-label { left: .75rem; right: .75rem; bottom: .75rem; width: fit-content; max-width: calc(100% - 1.5rem); }
}
