/* Website previews retain the proportions of the actual captured pages. */
.project-selector {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 0 0 32px;
  border-bottom: 1px solid #bfc3c6;
}
.project-selector button {
  display: block;
  min-height: 70px;
  padding: 18px 26px;
  border-bottom: 3px solid transparent;
  text-align: center;
  font-size: 19px;
  line-height: 1.25;
  color: var(--ink);
}
.project-selector button + button {
  border-left: 1px solid #d9dcde;
}
.project-selector button[aria-pressed="true"] {
  color: #a62b1e;
  border-bottom-color: var(--accent);
}
.project-selector button:hover {
  background: #f4f4f3;
  color: #a62b1e;
}
.project-select-mobile {
  display: none;
}
.project-preview-layout {
  grid-template-columns: minmax(0, 2.15fr) minmax(270px, 1fr);
  gap: clamp(28px, 4vw, 60px);
}
.project-preview-figure {
  min-width: 0;
}
.project-preview-figure figcaption {
  margin-top: 12px;
  color: #5a626b;
  font-size: 14px;
}
.project-preview-image {
  border: 1px solid #d3d5d6;
  background: #f0efed;
}
.project-preview-image img,
.project-grid .project-tile img,
.case-study-showcase .concept-screen img {
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
  aspect-ratio: 1425 / 1150;
  object-fit: contain;
  border-radius: 0;
}
.project-preview-description h3 {
  max-width: none;
}
.project-grid .project-tile {
  grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr);
  gap: 54px;
}
.project-grid .project-tile > a {
  min-width: 0;
}
.project-grid .project-tile img {
  border: 1px solid #d3d5d6;
}
.case-study-showcase {
  max-width: 1200px;
}
.case-study-showcase .concept-screen {
  border: 1px solid #d3d5d6;
  border-radius: 0;
}
.case-mobile-example {
  grid-template-columns: minmax(0, 180px) minmax(0, 1fr);
  align-items: start;
  gap: 30px;
  padding: 0;
  background: transparent;
  border-radius: 0;
}
.case-mobile-example img {
  width: 180px;
  height: auto;
  max-height: none;
  object-fit: contain;
  border-radius: 0;
}
.case-mobile-example > div {
  padding-top: 8px;
}
@media (max-width: 1100px) {
  .project-selector button {
    padding-inline: 18px;
    font-size: 18px;
  }
  .project-preview-layout {
    grid-template-columns: minmax(0, 1.75fr) minmax(230px, 1fr);
    gap: 28px;
  }
  .project-grid .project-tile {
    gap: 30px;
  }
  .case-mobile-example {
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 22px;
  }
  .case-mobile-example img {
    width: 150px;
  }
}
@media (max-width: 767px) {
  .project-selector {
    display: none;
  }
  .project-select-mobile {
    display: block;
    margin: 0 0 24px;
  }
  .project-select-mobile label {
    display: block;
    margin-bottom: 8px;
    font-size: 16px;
    font-weight: 600;
  }
  .project-select-mobile select {
    display: block;
    width: 100%;
    min-height: 50px;
    padding: 10px 34px 10px 14px;
    border: 1px solid #7b838a;
    border-radius: 0;
    color: var(--ink);
    background: #fff;
    font: inherit;
    font-size: 17px;
  }
  .project-preview-layout,
  .project-grid .project-tile {
    grid-template-columns: minmax(0, 1fr);
    gap: 26px;
  }
  .project-preview-description h3 {
    max-width: none;
  }
  .project-preview-figure figcaption {
    font-size: 13px;
  }
  .case-mobile-example {
    grid-template-columns: minmax(0, 150px) minmax(0, 1fr);
    gap: 22px;
    padding: 0;
  }
  .case-mobile-example img {
    width: 150px;
    max-height: none;
  }
  .case-mobile-example h3 {
    font-size: 24px;
  }
}
@media (max-width: 380px) {
  .case-mobile-example {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .case-mobile-example img {
    width: 220px;
    margin-inline: auto;
  }
}
