/* ── Page heroes: one system for every page (Draft A: full-bleed) ──
   Every hero runs edge to edge with square corners and no corner marks:
   a motion clip under an off-black scrim, copy anchored bottom-left.
   Loaded last on each page so it settles the four legacy hero classes. */

.page-hero, .svc-hero, .sub-hero {
  position: relative !important; isolation: isolate; overflow: hidden !important;
  max-width: none !important; margin: 0 !important; border-radius: 0 !important;
  min-height: min(78svh, 760px) !important;
  display: flex !important; flex-direction: column; justify-content: flex-end;
  padding: calc(var(--nav, 70px) + 4rem) var(--pad) clamp(3rem, 6vw, 5rem) !important;
  border: 0 !important; border-bottom: 1px solid rgba(243,236,223,.1) !important;
  background: #0d1014 !important;
}
.page-hero > .wrap, .svc-hero > .wrap { width: 100%; padding: 0; }

/* The clip fills the hero; the scrim keeps the copy readable. */
.hero-motion, .page-hero > .panel-motion, .svc-hero > video, .sub-hero > video {
  position: absolute !important; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2 !important;
}
.page-hero::before, .svc-hero::before, .sub-hero::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(13,16,20,.85) 0%, rgba(13,16,20,.5) 55%, rgba(13,16,20,.2) 100%),
    linear-gradient(0deg, rgba(13,16,20,.75), transparent 55%);
}

/* Home: the framed panel becomes full-bleed too. */
.hero-frame { inset: 0 !important; top: 0 !important; border-radius: 0 !important; }

/* No corner marks on any hero. */
.hero .frame-mark, .page-hero .frame-mark, .svc-hero .frame-mark, .sub-hero .frame-mark { display: none !important; }
