/* PSC Home hero v1 (Claude, 19 Nov 2026; Ahmed 14:14: "adjust photo on home and about pages similar to video site both on mobile
   and desktop view"): the hero's photo fills the whole hero behind the words, under a dark green veil that is deepest behind the
   words, as on PSC Videos, instead of a picture in a box beside them. Dark and light look alike; only looks change. */
main { overflow-x: clip; }
section.hero:has(.psc-hero-photo) {
  position: relative;
  isolation: isolate;
}
section.hero .psc-hero-photo {
  position: absolute !important;
  top: 0 !important;
  bottom: 0 !important;
  left: calc(50% - 50vw) !important;
  right: calc(50% - 50vw) !important;
  width: auto !important;
  height: auto !important;
  max-width: none !important;
  min-height: 0 !important;
  aspect-ratio: auto !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  z-index: -1;
  background-size: cover !important;
  background-position: 72% 38% !important;
}
section.about-hero .psc-hero-photo { left: 0 !important; right: 0 !important; }
/* About and Founder: the photo spans the whole band, not the column it sat in. */
section.about-hero .hero-inner, section.about-hero .container { position: static !important; }
section.hero .psc-hero-photo::before,
section.hero .psc-hero-photo::after { content: none !important; }
section.hero .psc-hero-photo::after {
  content: "" !important;
  position: absolute;
  inset: 0;
  border-radius: 0;
  background:
    linear-gradient(90deg, rgb(7 30 34 / .95) 0%, rgb(7 30 34 / .86) 34%, rgb(7 30 34 / .52) 62%, rgb(7 30 34 / .2) 100%),
    linear-gradient(0deg, rgb(7 30 34 / .55) 0%, rgb(7 30 34 / 0) 40%);
}
/* The words take the hero; the column the photo had goes. */
section.hero:has(.psc-hero-photo),
section.hero .hero-inner:has(.psc-hero-photo) {
  grid-template-columns: minmax(0, 1fr) !important;
}
section.hero:has(.psc-hero-photo) {
  padding-top: clamp(56px, 9vw, 112px) !important;
  padding-bottom: clamp(56px, 9vw, 112px) !important;
  min-height: min(78vh, 720px);
  align-content: center;
}
section.about-hero .hero-inner:has(.psc-hero-photo) {
  padding-top: clamp(56px, 9vw, 112px) !important;
  padding-bottom: clamp(56px, 9vw, 112px) !important;
}
section.about-hero:has(.psc-hero-photo) { padding-top: 0 !important; padding-bottom: 0 !important; min-height: 0; }
section.hero:has(.psc-hero-photo) > div:not(.psc-hero-photo),
section.hero .hero-copy { max-width: 40rem; position: relative; }
/* Words that read on the veil in both looks. */
section.hero:has(.psc-hero-photo) h1,
section.hero:has(.psc-hero-photo) h1 span { color: #f3f8f2 !important; }
section.hero:has(.psc-hero-photo) p,
section.hero:has(.psc-hero-photo) .hero-description,
section.hero:has(.psc-hero-photo) .hero-topics span,
section.hero:has(.psc-hero-photo) .psc-apps-status { color: rgb(226 238 232 / .9) !important; }
section.hero:has(.psc-hero-photo) .hero-topics a,
section.hero:has(.psc-hero-photo) .psc-apps a { color: #c5e9d1 !important; }
section.hero:has(.psc-hero-photo) .button-light,
section.hero:has(.psc-hero-photo) .button-ghost {
  background: rgb(7 30 34 / .35) !important;
  color: #f3f8f2 !important;
  border-color: rgb(226 238 232 / .55) !important;
  backdrop-filter: blur(2px);
}
/* A phone: the photo shows above and behind the words, the veil deepening toward the foot. */
@media (max-width: 760px) {
  section.hero .psc-hero-photo { background-position: 64% 30% !important; }
  section.hero .psc-hero-photo::after {
    background: linear-gradient(180deg, rgb(7 30 34 / .28) 0%, rgb(7 30 34 / .62) 30%, rgb(7 30 34 / .88) 60%, rgb(7 30 34 / .96) 100%);
  }
  section.hero:has(.psc-hero-photo) { min-height: 0; padding-top: 72px !important; padding-bottom: 48px !important; }
  section.about-hero .hero-inner:has(.psc-hero-photo) { padding-top: 72px !important; padding-bottom: 48px !important; }
}
