#work #work-title {
  font-size: clamp(2.65rem, 6vw, 6rem);
  letter-spacing: -.07em;
  font-family: var(--sans);
  font-weight: 800;
}
.concept-heading .eyebrow { margin: 0 0 8px; }
.gallery-card:has(.phone-scroll:focus-visible) .gallery-preview {
  outline: 2px solid var(--green);
  outline-offset: 3px;
}
.client-example {
  display: grid;
  grid-template-columns: minmax(0, 200px) minmax(0, 1fr);
  align-items: center;
  gap: clamp(14px, 4vw, 36px);
  margin: clamp(20px, 4vw, 38px) 0 0;
  padding-top: clamp(16px, 3vw, 28px);
  border-top: 1px solid var(--line);
}
.client-example img { display: block; width: 100%; height: auto; border-radius: 6px; border: 1px solid var(--line); }
.client-example figcaption h3 { font-size: clamp(1.55rem, 3vw, 2.35rem); }
.client-example figcaption p:last-child { color: var(--muted); max-width: 54ch; margin: 8px 0 0; }
.client-example .eyebrow { margin-bottom: 5px; }

.process-route { display: none; }
.route-details { list-style: none; padding: 0; margin: 14px 0 0; }
.route-detail { padding: 14px; background: #ffffff0a; border: 1px solid #a5b5a250; border-radius: 8px; }
.route-detail + .route-detail { margin-top: 8px; }
.route-detail h4 { margin: 0 0 9px; }
.route-lanes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.route-lanes p { margin: 4px 0 0; line-height: 1.4; }
@supports selector(:has(input:checked)) {
  .process-route {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: clamp(3px, 1.3vw, 12px);
    padding: 0;
    border: 0;
    margin: 18px 0 0;
    min-width: 0;
  }
  .route-stop {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 9px;
    position: relative;
    padding: 9px;
    min-height: 48px;
    border: 1px solid #a5b5a265;
    border-radius: 6px;
    cursor: pointer;
    background: #ffffff0a;
  }
  .route-stop input { position: absolute; opacity: 0; width: 1px; height: 1px; }
  .route-stop:has(input:checked) { border-color: var(--gold); background: var(--gold); color: var(--ink); }
  .route-stop:has(input:focus-visible) { outline: 2px solid var(--paper); outline-offset: 3px; }
  .stop-number { font: 700 .73rem/1 system-ui, sans-serif; opacity: .8; }
  .stop-name { font-size: clamp(.66rem, 1.4vw, .92rem); font-weight: 700; }
  .route-detail { display: none; }
  .route-detail + .route-detail { margin-top: 0; }
  .process:has(input[value="0"]:checked) .route-detail:nth-child(1),
  .process:has(input[value="1"]:checked) .route-detail:nth-child(2),
  .process:has(input[value="2"]:checked) .route-detail:nth-child(3),
  .process:has(input[value="3"]:checked) .route-detail:nth-child(4),
  .process:has(input[value="4"]:checked) .route-detail:nth-child(5) { display: block; }
}
@media (max-width: 560px) {
  .route-lanes { grid-template-columns: 1fr; }
  .client-example { grid-template-columns: 1fr; }
  .client-example img { width: min(52%, 170px); }
  .route-stop { grid-template-columns: 1fr; justify-items: center; gap: 3px; padding: 7px 1px; }
}

.gallery-caption .project-note {
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.45;
  max-width: 48ch;
  margin: 8px 0 2px;
}
@media (min-width: 900px) {
  #work .concept-heading .gallery-controls { display: none; }
  #portfolio-track {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: clamp(16px, 3vw, 34px);
    row-gap: 24px;
    overflow: visible;
    scroll-snap-type: none;
  }
}
