/* Preserve the fixed image frame, caption anchor and V46 slideshow timing. */
.page-index .slide-caption .meta {
  color: #66645c;
}
@media (max-width: 899px) {
  .page-index .slide-footer {
    height: auto;
    min-height: 100px;
  }
  .page-index .slide-caption .project {
    font-size: 16px;
    line-height: 1.35;
    overflow-wrap: anywhere;
  }
  .page-index .slide-caption .meta {
    font-size: 12px;
    line-height: 1.45;
    overflow-wrap: anywhere;
  }
}

/* The existing detail link remains primary; the existing gallery button is secondary. */
@media (min-width: 900px) {
  .page-works #projects .project > a .arrow {
    color: #7b4b37;
  }
  .page-works #projects .project > a:focus-visible .caption h3 {
    text-decoration: underline;
    text-underline-offset: .24em;
  }
  .page-works #projects .project > button.quick-view {
    color: #66645c;
    font-size: 12px;
    text-decoration: underline;
    text-decoration-color: #a19787;
    text-underline-offset: .24em;
  }
  .page-works #projects .project > button.quick-view:focus-visible {
    outline: 1px solid #7b4b37;
    outline-offset: 2px;
  }
}
@media (min-width: 900px) and (hover: hover) and (pointer: fine) {
  .page-works #projects .project > a:hover .caption h3 {
    text-decoration: underline;
    text-underline-offset: .24em;
  }
}

/* Skip the map on small screens without changing form behavior. */
.page-contact .cw-inquiry-jump {
  display: none;
}
.page-contact #inquiry {
  scroll-margin-top: 88px;
}
@media (max-width: 899px) {
  .page-contact .cw-inquiry-jump {
    display: inline-flex;
    width: fit-content;
    min-height: 44px;
    align-items: center;
    margin-top: 10px;
    padding: 0 14px;
    border: 1px solid currentColor;
    color: #282a27;
    font-size: 14px;
    line-height: 1.35;
    text-decoration: none;
  }
  .page-contact .cw-inquiry-jump:focus-visible {
    outline: 2px solid #7b4b37;
    outline-offset: 3px;
  }
}