/* Port slide only. All other hero slides keep the current prototype styling. */
:root.zgh-sector-hero #no-hero[data-wow-ready][data-port-active="true"] {
  --wow-ink: #fff;
  --wow-line: rgb(23 55 66 / .45);
  --wow-control-bg: rgb(255 255 255 / .54);
}

:root.zgh-sector-hero #no-hero[data-wow-ready] .no-hero__slide[data-port-scene="ready"] {
  --port-word-ink: #fff;
  --port-copy-ink: #fff;
  --port-stage-x: 0px;
  --port-stage-y: 0px;
  --port-stage-w: 100%;
  --port-stage-h: 100%;
  --port-bg-y: 0px;
  --port-fg-y: 0px;
  --port-word-y: 0px;
  --port-word-scale: 1;
  --port-fg-scale: 1;
}

:root.zgh-sector-hero #no-hero[data-wow-ready] .no-hero__slide[data-port-scene="ready"] .no-hero__bg {
  opacity: 0;
}
:root.zgh-sector-hero #no-hero[data-wow-ready] .no-hero__slide[data-port-scene="ready"] .no-hero__overlay {
  background: none;
}

:root.zgh-sector-hero #no-hero[data-wow-ready] .no-hero__slide[data-port-scene="ready"] .port-scene-stage {
  position: absolute;
  z-index: 1;
  left: var(--port-stage-x);
  top: var(--port-stage-y);
  width: var(--port-stage-w);
  height: var(--port-stage-h);
  pointer-events: none;
}
:root.zgh-sector-hero #no-hero[data-wow-ready] .port-scene-stage :is(.port-scene-bg, .port-scene-fg) {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: 50% 50%;
  user-select: none;
}
:root.zgh-sector-hero #no-hero[data-wow-ready] .port-scene-bg {
  z-index: 0;
  transform: translate3d(0, var(--port-bg-y), 0);
}
:root.zgh-sector-hero #no-hero[data-wow-ready] .port-scene-word {
  position: absolute;
  z-index: 1;
  left: 50%;
  top: calc(var(--port-word-top, 39%) + 6px);
  color: var(--port-word-ink);
  font-family: var(--font-display, 'Inter Tight'), sans-serif;
  font-size: min(20vw, 36svh);
  font-weight: 800;
  line-height: .82;
  letter-spacing: -.045em;
  white-space: nowrap;
  transform: translate3d(-50%, -50%, 0) scale(var(--port-word-scale));
  transform-origin: center;
  will-change: transform;
  backface-visibility: hidden;
  text-rendering: geometricPrecision;
}
:root.zgh-sector-hero #no-hero[data-wow-ready] .port-scene-fg {
  z-index: 2;
  transform: none;
  transform-origin: 50% 50%;
  /* Match the upper hull rail at y=445 in the 941px source image. */
  clip-path: inset(47.3% 0 22% 0);
}

/* Original metadata, small heading, and usable copy remain above the ship layer. */
:root.zgh-sector-hero #no-hero[data-wow-ready] .no-hero__slide[data-port-scene="ready"] .no-hero__content {
  z-index: 3;
}
:root.zgh-sector-hero #no-hero[data-wow-ready] .no-hero__slide[data-port-scene="ready"] .no-hero__pack {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  transform: none;
  overflow: visible;
}
:root.zgh-sector-hero #no-hero[data-wow-ready] .no-hero__slide[data-port-scene="ready"] .wow-meta {
  position: absolute;
  top: var(--port-meta-top, 7%);
  left: 50%;
  width: max-content;
  max-width: calc(100% - 48px);
  margin: 0;
  transform: translateX(-50%);
  text-align: center;
  color: #fff;
}
:root.zgh-sector-hero #no-hero[data-wow-ready] .no-hero__slide[data-port-scene="ready"] .wow-meta :is(.no-hero__topLogo, .no-hero__eyebrow) {
  left: auto;
  width: max-content;
  max-width: 100%;
  margin-inline: auto;
  transform: none;
  color: #fff;
}
:root.zgh-sector-hero #no-hero[data-wow-ready] .no-hero__slide[data-port-scene="ready"] .wow-meta .no-hero__topLogoImg {
  width: clamp(145px, 17vw, 230px) !important;
  filter: brightness(0) invert(1) !important;
  opacity: .95;
}
:root.zgh-sector-hero #no-hero[data-wow-ready] .no-hero__slide[data-port-scene="ready"] .no-hero__title {
  position: absolute;
  top: var(--port-title-top, 17%);
  left: 50%;
  width: max-content;
  max-width: calc(100% - 32px);
  margin: 0;
  color: #fff;
  font-size: clamp(17px, 1.8vw, 24px);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: .03em;
  transform: translateX(-50%);
  text-align: center;
}
:root.zgh-sector-hero #no-hero[data-wow-ready] .no-hero__slide[data-port-scene="ready"] .wow-title-lead {
  left: auto;
  width: max-content;
  margin: 0;
  font: inherit;
  transform: none;
}
:root.zgh-sector-hero #no-hero[data-wow-ready] .no-hero__slide[data-port-scene="ready"] .wow-title-focus {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
:root.zgh-sector-hero #no-hero[data-wow-ready] .no-hero__slide[data-port-scene="ready"] .no-hero__subtitle {
  position: absolute;
  top: 80%;
  left: 50%;
  width: min(760px, calc(100% - 48px));
  max-width: none;
  margin: 0;
  color: var(--port-copy-ink);
  font-size: clamp(15px, 1.35vw, 18px);
  font-weight: 500;
  line-height: 1.4;
  transform: translateX(-50%);
  text-align: center;
  text-wrap: balance;
  text-shadow: 0 1px 10px rgb(0 35 55 / .35);
}
:root.zgh-sector-hero #no-hero[data-wow-ready] .no-hero__slide[data-port-scene="ready"] .wow-copy-line {
  display: inline;
  left: auto;
  width: auto;
  max-width: none;
  margin-inline: auto;
  transform: none;
}
:root.zgh-sector-hero #no-hero[data-wow-ready] .no-hero__slide[data-port-scene="ready"] .no-hero__actions {
  position: absolute;
  top: var(--port-actions-top, 58%);
  left: 50%;
  width: max-content;
  max-width: calc(100% - 48px);
  margin: 0;
  transform: translateX(-50%);
}
:root.zgh-sector-hero #no-hero[data-port-active="true"] .no-hero__controls { bottom: 18px; }


@media (max-width: 1100px) {
  :root.zgh-sector-hero #no-hero[data-wow-ready] .port-scene-word {
    font-size: 19vw;
  }
}
@media (max-width: 767px) {
  :root.zgh-sector-hero #no-hero[data-wow-ready] .port-scene-word {
    font-size: 19vw;
  }
  :root.zgh-sector-hero #no-hero[data-wow-ready] .no-hero__slide[data-port-scene="ready"] .wow-meta {
    max-width: calc(100% - 32px);
  }
  :root.zgh-sector-hero #no-hero[data-wow-ready] .no-hero__slide[data-port-scene="ready"] .wow-meta .no-hero__topLogoImg {
    width: 145px !important;
    filter: brightness(0) invert(1) !important;
  }
  :root.zgh-sector-hero #no-hero[data-wow-ready] .no-hero__slide[data-port-scene="ready"] .wow-meta :is(.no-hero__topLogo, .no-hero__eyebrow) {
    color: #fff;
  }
  :root.zgh-sector-hero #no-hero[data-wow-ready] .no-hero__slide[data-port-scene="ready"] .no-hero__title {
    font-size: 17px;
    color: #fff;
  }
  :root.zgh-sector-hero #no-hero[data-wow-ready] .no-hero__slide[data-port-scene="ready"] .no-hero__subtitle {
    top: 80%;
    width: calc(100% - 36px);
    font-size: 15px;
  }
  :root.zgh-sector-hero #no-hero[data-wow-ready] .no-hero__slide[data-port-scene="ready"] .no-hero__actions {
    max-width: calc(100% - 36px);
  }
}
@media (max-height: 600px) and (min-width: 768px) {
  :root.zgh-sector-hero #no-hero[data-wow-ready] .no-hero__slide[data-port-scene="ready"] .no-hero__subtitle { font-size: 13px; }
}
@media (max-height: 650px) and (max-width: 767px) {
  :root.zgh-sector-hero #no-hero[data-wow-ready] .no-hero__slide[data-port-scene="ready"] .no-hero__subtitle { font-size: 12.5px; line-height: 1.2; }
  :root.zgh-sector-hero #no-hero[data-port-active="true"] .no-hero__controls { bottom: 4px; padding-block: 0; }
  :root.zgh-sector-hero #no-hero[data-port-active="true"] .no-hero__nav { height: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  :root.zgh-sector-hero #no-hero[data-wow-ready] .port-scene-stage * { transition: none !important; animation: none !important; }
}

/* A single visual heading; the original H2 remains available to assistive technology. */
:root.zgh-sector-hero #no-hero[data-wow-ready] .no-hero__slide[data-port-scene="ready"] .no-hero__title {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}
:root.zgh-sector-hero #no-hero[data-wow-ready] .no-hero__slide[data-port-scene="ready"] .no-hero__subtitle {
  display: none;
}
:root.zgh-sector-hero #no-hero[data-wow-ready] .wow-brand-name {
  display: none;
}
