/* Approved alternate homepage: extracted interactive hero styles. */
.hero-layout { position: relative; isolation: isolate; }
.hero-visual { isolation: isolate; }
.hero-image-trigger {
  position: absolute; z-index: 3; inset: 0;
  display: flex; align-items: flex-end; justify-content: flex-end;
  width: 100%; height: 100%; padding: 19px 23px;
  border: 0; border-radius: 0; background: transparent;
  color: white; text-align: right; cursor: zoom-in;
}
.hero-image-trigger:focus-visible { outline: 3px solid #ec7156; outline-offset: -6px; }
.hero-image-hint {
  display: inline-flex; align-items: center; gap: 9px;
  max-width: 100%; padding: 8px 12px; border-radius: 3px;
  background: rgb(7 28 41 / 83%); color: #fff;
  font-size: 12px; font-weight: 600; letter-spacing: .015em;
  line-height: 1.3; pointer-events: none;
  box-shadow: 0 4px 15px rgb(0 0 0 / 17%);
}
.hero-image-hint svg { width: 16px; height: 16px; flex: none; }
.hero-image-trigger:hover .hero-image-hint,
.hero-image-trigger:focus-visible .hero-image-hint { background: rgb(7 28 41 / 95%); }

/* A second image layer animates from the existing image bounds over the copy.
   The fully visible image is contained, not cropped, after expansion. */
.hero-full-view[hidden] { display: none !important; }
.hero-full-view {
  position: absolute; z-index: 10;
  left: var(--hero-open-left, 52%);
  top: var(--hero-open-top, 0px);
  width: var(--hero-open-width, 48%);
  height: var(--hero-open-height, 100%);
  display: block; padding: 0; border: 0; border-radius: 0;
  overflow: hidden; background: #0c2535; color: white;
  cursor: zoom-out; text-align: center;
  clip-path: polygon(11% 0, 100% 0, 100% 100%, 0 100%);
  transition:
    left .7s cubic-bezier(.22,1,.36,1),
    top .7s cubic-bezier(.22,1,.36,1),
    width .7s cubic-bezier(.22,1,.36,1),
    height .7s cubic-bezier(.22,1,.36,1),
    clip-path .7s cubic-bezier(.22,1,.36,1);
  will-change: left, top, width, height;
}
.hero-full-view.is-expanded {
  left: 0; top: 0; width: 100%; height: 100%;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}
.hero-full-view > img {
  position: absolute; inset: 0; display: block;
  width: 100%; height: 100%; pointer-events: none;
}
.hero-full-view .hero-photo-cropped {
  object-fit: cover; object-position: center;
  opacity: 1; transition: opacity .3s ease .12s;
}
.hero-full-view.is-expanded .hero-photo-cropped { opacity: 0; transition-delay: .18s; }
.hero-full-view .hero-photo-backdrop {
  object-fit: cover; object-position: center;
  filter: blur(19px) brightness(.36); transform: scale(1.08);
  opacity: 0; transition: opacity .35s ease;
}
.hero-full-view.is-expanded .hero-photo-backdrop { opacity: 1; transition-delay: .15s; }
.hero-full-view .hero-photo-entire {
  object-fit: contain; object-position: center;
  opacity: 0; transition: opacity .4s ease;
}
.hero-full-view.is-expanded .hero-photo-entire { opacity: 1; transition-delay: .22s; }
.hero-full-view .hero-photo-return {
  position: absolute; z-index: 2; right: 19px; bottom: 17px;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 12px; border-radius: 3px;
  background: rgb(7 28 41 / 82%); color: #fff;
  font-size: 12px; font-weight: 600; line-height: 1.3;
  opacity: 0; transition: opacity .25s ease;
  pointer-events: none;
}
.hero-full-view.is-expanded .hero-photo-return { opacity: 1; transition-delay: .35s; }
.hero-full-view:focus-visible { outline: 3px solid #ec7156; outline-offset: -6px; }
.footer-credit { display: inline-block; margin-top: 3px; }
.footer-credit a { text-decoration: underline; text-underline-offset: 2px; }
.footer-credit a:hover { color: var(--rust, #be2b19); }
@media (max-width: 960px) {
  .hero-full-view { clip-path: none; }
  .hero-full-view.is-expanded { clip-path: none; }
}
@media (max-width: 680px) {
  .hero-image-trigger { padding: 13px; }
  .hero-image-hint, .hero-full-view .hero-photo-return { font-size: 11px; padding: 8px 10px; }
  .hero-full-view .hero-photo-return { right: 12px; bottom: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-full-view, .hero-full-view > img, .hero-photo-return { transition: none !important; }
}
@media print {
  .hero-image-trigger, .hero-full-view { display: none !important; }
}
