/* ArchiveOS and LORDECS Travel case studies: the wide desktop screenshots
   sit beside their text inside a browser-window frame, instead of in a
   tinted box. Each project sets its own address bar text below. */
.case-feature:is(:has(img[src^="/work/archiveos/"]), :has(img[src^="/work/travel/"])) .case-stage {
  position: relative;
  display: block;
  padding: 38px 0 0;
  overflow: hidden;
  background: var(--surface-overlay);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 24px 60px oklch(0% 0 0 / .14), 0 4px 14px oklch(0% 0 0 / .06);
}

/* Window toolbar with the three traffic-light dots. */
.case-feature:is(:has(img[src^="/work/archiveos/"]), :has(img[src^="/work/travel/"])) .case-stage::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 38px;
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(circle at 18px 19px, #ff5f57 5px, transparent 5.5px),
    radial-gradient(circle at 36px 19px, #febc2e 5px, transparent 5.5px),
    radial-gradient(circle at 54px 19px, #28c840 5px, transparent 5.5px),
    var(--surface-elevated);
}

/* Address bar. */
.case-feature:is(:has(img[src^="/work/archiveos/"]), :has(img[src^="/work/travel/"])) .case-stage::after {
  content: "";
  position: absolute;
  top: 9px;
  left: 50%;
  transform: translateX(-50%);
  width: min(46%, 320px);
  height: 20px;
  border-radius: 6px;
  background: var(--surface-overlay);
  border: 1px solid var(--border);
  font: 12px/20px var(--font-body, sans-serif);
  color: var(--text-muted);
  text-align: center;
}

.case-feature:is(:has(img[src^="/work/archiveos/"]), :has(img[src^="/work/travel/"])) .case-stage img {
  display: block;
  width: 100%;
  max-width: 100%;
  max-height: none;
  border-radius: 0;
}

.case-feature:has(img[src^="/work/archiveos/"]) .case-stage::after {
  content: "archiveos.local";
}

.case-feature:has(img[src^="/work/travel/"]) .case-stage::after {
  content: "lordecs-travel.local";
}
