/* Selected work: four quiet, uninterrupted portrait columns. */
body .experience-home .work-gallery {
  padding: 48px 4% 62px;
  background: #fafaf9;
  border: 0;
  border-bottom: 1px solid #e5e5e1;
  text-align: center;
  scroll-margin-top: 35px;
}

body .experience-home .work-gallery-label {
  display: block;
  margin: 0 0 35px;
  font: 400 14px/2 var(--sans, Arial, sans-serif);
  letter-spacing: .08em;
  color: var(--ink, #171713);
}

.work-gallery .work-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: start;
  gap: 10px;
  width: 100%;
  margin: 0;
}

.work-gallery-grid .work-tile {
  display: block;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--ink, #171713);
  text-decoration: none;
  text-align: center;
  -webkit-tap-highlight-color: transparent;
}

.work-tile .work-tile-media {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: .674;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  overflow: hidden;
  isolation: isolate;
  background: transparent;
  box-shadow: none;
}

.work-tile-media .work-tile-image,
.work-tile-media .work-tile-alternate {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  object-fit: cover;
  object-position: center top;
  transform: scale(1);
  transition: transform 1.1s cubic-bezier(.2, .65, .3, 1), opacity .7s ease;
  will-change: auto;
}

.work-tile-media .work-tile-image { z-index: 0; }
.work-tile-media .work-tile-alternate { z-index: 1; opacity: 0; }

.work-tile:is(:hover, :focus-visible) .work-tile-image,
.work-tile:is(:hover, :focus-visible) .work-tile-alternate {
  transform: scale(1.022);
}

.work-tile.has-alternate:is(:hover, :focus-visible) .work-tile-alternate {
  opacity: 1;
}

.work-tile .work-tile-caption {
  display: block;
  margin: 21px 5px 6px;
  font: 400 12px/1.65 var(--sans, Arial, sans-serif);
  letter-spacing: .075em;
  text-transform: uppercase;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.work-tile .work-tile-scope {
  display: block;
  max-width: 240px;
  margin: 0 auto;
  padding: 0 7px;
  font: 400 8px/1.8 var(--sans, Arial, sans-serif);
  letter-spacing: .035em;
  color: #6b6b65;
}

.work-gallery .work-gallery-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  min-height: 50px;
  margin: 43px 0 0;
  padding: 13px 26px;
  border: 1px solid currentColor;
  border-radius: 0;
  background: transparent;
  color: var(--ink, #171713);
  font: 400 10px/1.8 var(--sans, Arial, sans-serif);
  letter-spacing: .17em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background-color .3s ease, color .3s ease;
}

.work-gallery-button:hover {
  background: #171713;
  color: #fff;
}

.work-gallery .work-tile:focus-visible,
.work-gallery .work-gallery-button:focus-visible {
  outline: 2px solid #68685b;
  outline-offset: 6px;
}

.work-gallery.work-gallery-enhanced .work-tile {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .85s ease, transform 1.05s cubic-bezier(.2, .65, .3, 1);
  transition-delay: var(--work-delay, 0ms);
}

.work-gallery.work-gallery-enhanced .work-tile.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

.work-gallery.work-gallery-enhanced .work-tile .work-tile-media {
  transform: scale(.985);
  transform-origin: center bottom;
  transition: transform 1.15s cubic-bezier(.2, .65, .3, 1);
  transition-delay: var(--work-delay, 0ms);
}

.work-gallery.work-gallery-enhanced .work-tile.is-revealed .work-tile-media {
  transform: scale(1);
}

/* Our Work: the actual captures, with no device or coloured presentation stage. */
body .portfolio-grid .project-card .project-stage {
  display: block;
  position: relative;
  width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: auto;
  margin: 0;
  padding: 0;
  overflow: visible;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0;
  box-shadow: none;
  isolation: auto;
}

body .portfolio-grid .project-card .project-stage::before,
body .portfolio-grid .project-card .project-stage::after {
  content: none !important;
  display: none !important;
}

body .portfolio-grid .project-card .project-stage .work-case-image {
  position: static;
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  object-fit: contain;
  object-position: center top;
  transform: none !important;
  filter: none;
  box-shadow: none;
}

body .portfolio-grid .project-card .project-stage .project-number,
body .portfolio-grid .project-card .project-stage .project-peek {
  display: none;
}

/* Verified company marks sit in a single, open horizontal banner. */
body .client-section .client-logos {
  display: flex;
  flex-flow: row nowrap;
  justify-content: space-between;
  align-items: center;
  gap: clamp(16px, 2.3vw, 36px);
  width: 100%;
  margin: 0;
  padding: 25px 0;
  border: 0;
  background: transparent;
}

body .client-section .client-logos a {
  display: flex;
  flex: 1 1 0;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 75px;
  margin: 0;
  padding: 10px 4px;
  border: 0 !important;
  border-radius: 0;
  background: transparent !important;
  box-shadow: none;
}

body .client-section .client-logos a img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 42px;
  object-fit: contain;
  transform: none;
}

body .client-section .client-logos a img.ex-logo-vhouse {
  width: 40px;
  height: 40px;
  max-height: 40px;
}

body.ex-motion-paused .work-gallery.work-gallery-enhanced .work-tile,
body.ex-motion-paused .work-gallery.work-gallery-enhanced .work-tile .work-tile-media {
  opacity: 1;
  transform: none;
  transition: none;
}

body.ex-motion-paused .work-tile-media .work-tile-image,
body.ex-motion-paused .work-tile-media .work-tile-alternate {
  transform: none;
  transition: none;
}

@media (max-width: 900px) {
  .work-gallery .work-gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px 10px; }
  body .experience-home .work-gallery { padding: 46px 5% 58px; }
  .work-tile .work-tile-caption { font-size: 11px; }
  body .client-section .client-logos { gap: 18px; }
}

@media (max-width: 600px) {
  body .experience-home .work-gallery-label { font-size: 15px; margin-bottom: 28px; }
  .work-tile .work-tile-caption { font-size: 9px; letter-spacing: .045em; margin: 17px 2px 5px; }
  .work-tile .work-tile-scope { font-size: 7px; padding: 0 2px; }
  .work-gallery .work-gallery-button { margin-top: 35px; }
  body .client-section .client-logos {
    justify-content: flex-start;
    overflow-x: auto;
    padding: 12px 0 20px;
    gap: 24px;
    scrollbar-width: thin;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
  }
  body .client-section .client-logos a { flex: 0 0 125px; min-height: 70px; scroll-snap-align: start; }
}

@media (max-width: 420px) {
  body .experience-home .work-gallery { padding: 43px 7% 54px; }
  .work-gallery .work-gallery-grid { grid-template-columns: minmax(0, 1fr); gap: 35px; }
  .work-tile .work-tile-caption { font-size: 11px; margin-top: 20px; }
  .work-tile .work-tile-scope { font-size: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  .work-gallery.work-gallery-enhanced .work-tile,
  .work-gallery.work-gallery-enhanced .work-tile .work-tile-media {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .work-tile-media .work-tile-image,
  .work-tile-media .work-tile-alternate,
  .work-gallery .work-gallery-button {
    transform: none !important;
    transition: none;
  }
}

/* Text links and case controls have no browser-default gray fill. */
body .project-caption h2 button{background:transparent;color:inherit;padding:0;border:0}
body .portfolio-filters button:not([aria-pressed=true]),body .preview-devices button:not([aria-pressed=true]),body .project-dialog-bar button,body .preview-pagination button{background:transparent;color:inherit}
