/* =========================================================
   Alice Zhao Portfolio · V7.6
   Non-home hero correction only.
   Home hero, portrait, cosmic animation and page transitions are untouched.
   ========================================================= */

/* Compact banner: use the supplied 1983×420 compositions at a genuinely
   smaller height. Keep the complete image visible without enlarging it. */
.page-hero.hero-inner {
  height: clamp(190px, 14vw, 230px) !important;
  min-height: 190px !important;
  max-height: 230px !important;
  aspect-ratio: auto !important;
  background: #17366f !important;
  border: 1px solid rgba(204, 222, 255, .58) !important;
  box-shadow: 0 10px 26px rgba(41, 73, 139, .12),
              inset 0 1px 0 rgba(255,255,255,.35) !important;
}

/* No overlay, no gradient mask, no blur layer over the background artwork. */
.page-hero.hero-inner::before,
.page-hero.hero-inner::after {
  content: none !important;
  display: none !important;
  background: none !important;
  opacity: 0 !important;
  -webkit-mask-image: none !important;
  mask-image: none !important;
}

/* Softer color grading is applied to the artwork itself, not a veil above it. */
.page-hero.hero-inner > .hero-art {
  display: block !important;
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center 54% !important;
  filter: saturate(.78) brightness(.96) contrast(.95) !important;
  opacity: 1 !important;
  transform: translate3d(calc(var(--hero-x, 0px) * -.22), calc(var(--hero-y, 0px) * -.22), 0) !important;
  transition: transform .85s cubic-bezier(.22,.72,.17,1), filter .45s ease !important;
  pointer-events: none !important;
}
.page-hero.hero-inner:hover > .hero-art {
  transform: translate3d(calc(var(--hero-x, 0px) * -.32), calc(var(--hero-y, 0px) * -.32), 0) !important;
  filter: saturate(.82) brightness(.98) contrast(.96) !important;
}

/* Copy sits directly on the artwork's dark, intentionally empty left side.
   Remove the old glass slab completely. */
.page-hero.hero-inner > .hero-copy {
  width: min(58%, 680px) !important;
  padding: 25px 34px 22px !important;
  margin: 0 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  text-shadow: none !important;
}
.page-hero.hero-inner > .hero-copy::before {
  content: none !important;
  display: none !important;
  background: none !important;
}
.page-hero.hero-inner .hero-copy h1,
.page-hero.hero-inner .hero-copy h2,
.page-hero.hero-inner .hero-copy p,
.page-hero.hero-inner .hero-copy .eyebrow {
  color: #f4f7ff !important;
  text-shadow: 0 1px 3px rgba(5, 22, 60, .12) !important;
}
.page-hero.hero-inner .hero-copy h1 {
  font-size: clamp(26px, 2.35vw, 36px) !important;
  margin: 5px 0 2px !important;
}
.page-hero.hero-inner .hero-copy h2 {
  font-size: clamp(16px, 1.55vw, 22px) !important;
  margin: 0 0 7px !important;
}
.page-hero.hero-inner .hero-copy p {
  max-width: 560px !important;
  font-size: 12px !important;
  line-height: 1.55 !important;
}
.page-hero.hero-inner .hero-copy .eyebrow {
  font-size: 9px !important;
  letter-spacing: .30em !important;
}
.page-hero.hero-inner .hero-signature {
  right: 2.2% !important;
  bottom: 3.5% !important;
  width: clamp(110px, 11vw, 158px) !important;
  opacity: .92 !important;
  z-index: 3 !important;
}

@media (min-width: 761px) and (max-width: 1150px) {
  .page-hero.hero-inner {
    height: 198px !important;
    min-height: 198px !important;
    max-height: 198px !important;
  }
  .page-hero.hero-inner > .hero-copy {
    width: 66% !important;
    padding: 20px 25px 18px !important;
  }
  .page-hero.hero-inner .hero-copy p { max-width: 440px !important; }
}

@media (max-width: 760px) {
  .page-hero.hero-inner {
    height: 190px !important;
    min-height: 190px !important;
    max-height: 190px !important;
  }
  .page-hero.hero-inner > .hero-art {
    object-fit: cover !important;
    object-position: 62% center !important;
    filter: saturate(.76) brightness(.92) contrast(.94) !important;
  }
  .page-hero.hero-inner > .hero-copy {
    width: 82% !important;
    padding: 18px 17px 15px !important;
  }
  .page-hero.hero-inner .hero-copy h1 { font-size: 25px !important; }
  .page-hero.hero-inner .hero-copy h2 { font-size: 15px !important; }
  .page-hero.hero-inner .hero-copy p { font-size: 10px !important; line-height: 1.45 !important; }
  .page-hero.hero-inner .hero-copy .eyebrow { font-size: 8px !important; }
  .page-hero.hero-inner .hero-signature { width: 92px !important; right: 2% !important; bottom: 2% !important; }
}

@media (prefers-reduced-motion: reduce) {
  .page-hero.hero-inner > .hero-art { transition: none !important; transform: none !important; }
}

/* Keep the focal elements of each compact artwork inside the short crop. */
.page-hero.hero-works > .hero-art { object-position: center 18% !important; }
.page-hero.hero-lab > .hero-art { object-position: center 48% !important; }
.page-hero.hero-approach > .hero-art { object-position: center 16% !important; }
.page-hero.hero-about > .hero-art { object-position: center 82% !important; }
.page-hero.hero-contact > .hero-art { object-position: center 8% !important; }

@media (max-width: 760px) {
  .page-hero.hero-works > .hero-art { object-position: 70% 18% !important; }
  .page-hero.hero-lab > .hero-art { object-position: 76% 42% !important; }
  .page-hero.hero-approach > .hero-art { object-position: 72% 18% !important; }
  .page-hero.hero-about > .hero-art { object-position: 78% 82% !important; }
  .page-hero.hero-contact > .hero-art { object-position: 76% 8% !important; }
}
