/* Portfolio views: static figures without JS, selectable screenshots with JS. */
.product-project {
  margin-top: 64px;
  padding-top: 48px;
  border-top: 1px solid var(--line);
  scroll-margin-top: 110px;
}
.product-heading {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: end;
  margin-bottom: 28px;
}
.product-heading h3 {
  font-size: clamp(28px, 3.4vw, 42px);
  line-height: 1.12;
  letter-spacing: -1px;
  margin-bottom: 0;
}
.product-heading p {
  margin-bottom: 0;
  color: var(--muted);
  max-width: 500px;
}
.product-heading .project-meta {
  justify-content: flex-start;
  gap: 18px;
}
.product-views {
  background: #e7e4df;
  border: 1px solid var(--line);
  padding: 24px;
}
.gallery-project .product-views {
  background: #eee7e2;
}
.view-buttons {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.view-buttons[hidden],
.product-views figure[hidden] {
  display: none;
}
.view-buttons button {
  font: inherit;
  font-size: 13px;
  padding: 10px 18px;
  min-height: 44px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  border-radius: 3px;
}
.view-buttons button[aria-pressed="true"] {
  background: #252430;
  color: #fff;
}
.view-buttons button:hover {
  border-color: #686371;
}
.product-views figure {
  margin: 0;
}
.product-views figure + figure:not([hidden]) {
  margin-top: 24px;
}
.product-views[data-ready] figure + figure:not([hidden]) {
  margin-top: 0;
}
.product-views figure > a {
  display: flex;
  justify-content: center;
  background: #f9f8f6;
  overflow: hidden;
  cursor: zoom-in;
  border: 1px solid #d2cdc6;
}
.product-views figure img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 650px;
  object-fit: contain;
}
.product-views figcaption {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 12px;
  color: #57545a;
  margin-top: 12px;
}
.product-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin: 28px 0;
}
.product-features dt {
  margin-top: 0;
  font-size: 15px;
}
.product-features dd {
  font-size: 14px;
}
.product-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: start;
}
.product-bottom > p {
  color: var(--muted);
  font-size: 12px;
  max-width: 420px;
}
.product-bottom .text-link {
  font-size: 14px;
}
.product-bottom .project-inquiry {
  display: block;
}
.tool-detail {
  margin-top: 22px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
}
.tool-detail summary {
  cursor: pointer;
  font-size: 14px;
  padding: 4px 0;
}
.tool-detail img {
  width: 100%;
  height: auto;
  display: block;
  margin: 16px 0;
  cursor: zoom-in;
}
.tool-detail p {
  font-size: 13px;
}
.project-grid-single {
  grid-template-columns: 1fr;
}
.project-grid-single article {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 40px;
  align-content: center;
}
.project-grid-single .project-image {
  grid-row: 1 / 6;
  margin-bottom: 0;
}
.project-grid-single .project-meta {
  align-self: end;
}
.project-lightbox {
  width: min(1500px, 96vw);
  max-width: 96vw;
  max-height: 94dvh;
  padding: 56px 16px 16px;
  border: 1px solid #aaa;
  background: #f6f5f0;
  overflow: auto;
}
.project-lightbox::backdrop {
  background: #14121de6;
}
.project-lightbox > button {
  position: sticky;
  top: 0;
  display: block;
  margin: -44px 0 12px auto;
  min-height: 44px;
  padding: 8px 16px;
  font: inherit;
  background: #252430;
  color: white;
  border: 0;
  cursor: pointer;
  z-index: 1;
}
.project-lightbox > img {
  display: block;
  max-width: 100%;
  width: auto;
  max-height: calc(94dvh - 90px);
  height: auto;
  object-fit: contain;
  margin: auto;
}
@media (max-width: 700px) {
  .product-project {
    margin-top: 44px;
    padding-top: 32px;
  }
  .product-heading {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .product-heading p {
    font-size: 14px;
  }
  .product-views {
    padding: 10px;
  }
  .view-buttons {
    gap: 2px;
    margin-bottom: 12px;
  }
  .view-buttons button {
    padding: 8px 11px;
  }
  .product-views figure img {
    max-height: 520px;
  }
  .product-views figcaption {
    font-size: 11px;
  }
  .product-features {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .product-bottom {
    flex-direction: column;
    gap: 6px;
  }
  .project-grid-single article {
    display: block;
  }
  .project-grid-single .project-image {
    margin-bottom: 24px;
  }
  .project-lightbox {
    padding-left: 6px;
    padding-right: 6px;
  }
}

/* A readable workflow replaces document examples containing contact and price data. */
.orga-journey {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 30px 0;
  padding: 0;
  list-style: none;
  border: 1px solid var(--line);
  background: #eeece6;
}
.orga-journey li {
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  align-items: start;
}
.orga-journey li + li {
  border-left: 1px solid #d4d0c9;
}
.journey-number {
  font-size: 11px;
  letter-spacing: 1px;
  color: #676169;
}
.orga-journey h4 {
  margin: 28px 0 14px;
  font-size: 22px;
  line-height: 1.25;
  letter-spacing: -0.5px;
}
.orga-journey p {
  font-size: 14px;
  color: #55535b;
  margin: 0 0 24px;
}
.journey-benefit {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid #d4d0c9;
  font-size: 12px;
  line-height: 1.5;
}
.orga-journey li:last-child {
  background: #292735;
  color: #fff;
}
.orga-journey li:last-child .journey-number,
.orga-journey li:last-child p {
  color: #e4dfe8;
}
.orga-journey a.journey-benefit {
  color: #fff;
  border-color: #706a7b;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.gallery-benefits {
  grid-template-columns: 1.15fr 1fr 1fr;
}
.gallery-benefits dt {
  font-size: 19px;
  line-height: 1.35;
  margin-bottom: 12px;
}
.gallery-benefits .timeline-benefit {
  border-left: 3px solid #8d6650;
  padding-left: 20px;
}
@media (max-width: 1050px) {
  .orga-journey {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .orga-journey li:nth-child(3) {
    border-left: 0;
  }
  .orga-journey li:nth-child(n + 3) {
    border-top: 1px solid #d4d0c9;
  }
}
@media (max-width: 700px) {
  .orga-journey {
    grid-template-columns: 1fr;
  }
  .orga-journey li {
    padding: 24px;
  }
  .orga-journey li + li {
    border-left: 0;
    border-top: 1px solid #d4d0c9;
  }
  .orga-journey h4 {
    margin-top: 16px;
  }
  .gallery-benefits {
    grid-template-columns: 1fr;
    gap: 26px;
  }
}
