/* Full-width workshop photograph, using the existing homepage founder grid. */
.premium-home-hero.cth-photo-home {
  background: #08090a;
}
.cth-photo-home .premium-hero-media img {
  object-position: center;
  filter: none;
}
.cth-photo-home .premium-hero-shade {
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(5,5,6,.97) 0%, rgba(5,5,6,.87) 25%, rgba(5,5,6,.68) 46%, rgba(5,5,6,.19) 67%, rgba(5,5,6,.18) 100%),
    linear-gradient(0deg, rgba(5,5,6,.95), rgba(5,5,6,.04) 49%, rgba(5,5,6,.17));
}
.cth-photo-home .cth-hero-visit {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: .3rem .9rem;
  max-width: 100%; margin: 1rem 0 0; color: #f1e8dc;
  font-size: .83rem; line-height: 1.55;
}
.cth-hero-visit a {
  color: #f9e5da; text-decoration: underline; text-underline-offset: .18em;
}
.cth-hero-visit a:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.cth-photo-home .premium-hero-copy > p:not(.cth-hero-visit) { color: #ece6e1; }
.cth-founder-workshop img { height: auto; width: 100%; object-fit: contain; }

/* Give the actual entrance its full frame above the copy on smaller screens. */
@media (max-width: 900px) {
  .cth-photo-home .premium-hero-media {
    inset: 0 0 auto; width: 100%; height: auto; aspect-ratio: 47 / 20;
  }
  .cth-photo-home .premium-hero-media img { object-fit: contain; object-position: center top; }
  .cth-photo-home .premium-hero-shade {
    inset: 0 0 auto; height: auto; aspect-ratio: 47 / 20;
    background: linear-gradient(180deg, transparent 40%, rgba(8,9,10,.20) 60%, #08090a 100%);
  }
  .cth-photo-home .premium-hero-layout { padding-top: 37vw; }
}

@media (min-width: 901px) {
  /* Scale by width so both ends of the real frontage stay in view. */
  .cth-photo-home .premium-hero-media img {
    height: auto; min-height: 0; top: 50%; bottom: auto;
    transform: translateY(-50%);
    mask-image: linear-gradient(to bottom, transparent 0, black 9%, black 85%, transparent 100%);
  }
}
