/* Services experiment: the approved mobile and tablet layouts remain intact. */
.services-initial-view { display: contents; }
.services-work-preview, .services-work-heading, .services-closing-link { display: none; }
@media (min-width: 1001px) {
  .services-work-experiment #service-categories .services-category-caption { display: none; }
  .services-work-experiment #service-categories .services-summary-copy { gap: 0; }
  .services-work-experiment #service-categories .services-category-summary {
    height: 90px;
    min-height: 90px;
    padding: 16px 22px;
    align-content: center;
    align-items: center;
  }
  .services-initial-view {
    display: grid;
    grid-template-rows: auto auto minmax(min-content, 1fr);
    min-height: calc(100vh - 129px);
    min-height: calc(100svh - 129px);
    padding-bottom: 32px;
    box-sizing: border-box;
  }
  .services-work-experiment .services-work-preview { display: block; margin-top: 0; padding: 0; }
  .services-work-heading { display: block; align-self: end; margin-top: 36px; text-align: center; }
  .services-work-heading h2 {
    margin: 0;
    color: var(--preview-accent);
    font: inherit;
    font-size: 1.4rem;
    font-weight: 350;
    line-height: 1.4;
    letter-spacing: .1em;
    text-transform: uppercase;
  }
  .services-work-all { display: block; width: fit-content; margin: 28px auto 0; color: var(--ink); font-size: 1.05rem; font-weight: 350; text-underline-offset: 5px; text-decoration-thickness: 1px; }
  .services-work-all:hover { color: var(--preview-accent); }
  .services-work-photos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 32px; }
  .services-work-photos a { display: block; position: relative; min-width: 0; overflow: hidden; border-radius: 8px; }
  .services-work-photos img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; }
  .services-work-overlay {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    background: rgb(0 0 0 / .55);
    color: #fff;
    font-size: 1.25rem;
    opacity: 0;
    pointer-events: none;
  }
  .services-work-photos a:is(:hover, :focus-visible) .services-work-overlay { opacity: 1; }

  .services-closing { margin: 52px 0 16px; }
  .services-closing > p {
    margin: 0 0 29px;
    color: #993017;
    font: 400 clamp(2.25rem, 3.3vw, 3rem)/1.15 Georgia, "Times New Roman", serif;
  }
  .services-closing > button { display: none; }
  .services-closing-link {
    display: inline-grid;
    place-items: center;
    width: min(100%, 32rem);
    min-height: 59px;
    padding: 12px 20px;
    border-radius: 6px;
    background: #993017;
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 1.3rem;
    font-weight: 500;
    letter-spacing: .12em;
  }
  .services-closing-link:focus-visible { outline: 2px solid #993017; outline-offset: 4px; }

  @media (hover: hover) and (prefers-reduced-motion: no-preference) {
    .services-closing-link { transition: transform 180ms ease-out; }
    .services-closing-link:hover { transform: translateY(-2px); }
  }
}
/* Anchor destinations on the new, dedicated gallery clear the existing fixed header. */
.our-work-page .memory-card { scroll-margin-top: 105px; }
