/* NIS development-only hero/header refinements, Nov 2026. */
@media (min-width: 1421px) {
  .nis26-header .nis26-wrap { width: min(1480px, calc(100% - 84px)); }
  .nis26-navrow { gap: 20px; min-height: 100px; }
  .nis26-brand-logo { width: 262px; max-height: 75px; }
  .nis26-nav { gap: clamp(11px,1.23vw,19px); }
  .nis26-nav a { font-size: clamp(13px,0.93vw,15px); font-weight: 760; letter-spacing: -0.012em; }
  .nis26-btn.nis26-nav-cta { font-size: 15px; min-height: 54px; padding: 14px 26px; border-radius: 6px; margin-left: 11px; background: #0087ac; }
}
@media (min-width: 701px) {
  .nis26-hero {
    position: relative;
    isolation: isolate;
    background: linear-gradient(90deg, #05263a 0%, #0a3856 34%, #2c658c 68%, #588eb4 100%);
  }
  .nis26-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(1,23,39,.50) 0%, rgba(2,32,51,.40) 32%, transparent 78%);
    pointer-events: none;
    z-index: 1;
  }
  .nis26-hero-grid { position: static; display: block; min-height: 596px; }
  .nis26-hero-content { min-height: 596px; width: min(62%, 800px); padding: 64px 0 71px; z-index: 4; }
  .nis26-hero-image {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    width: 68%;
    min-height: 0;
    z-index: 0;
    isolation: auto;
    background: linear-gradient(180deg, #235376 0%, #4e8dbd 68%, #a5cbdf 100%);
  }
  .nis26-hero-image::before,
  .nis26-hero-image::after { display: none; }
  .nis26-hero-image img {
    position: absolute;
    top: auto;
    bottom: -8%;
    right: 0;
    left: auto;
    height: 116%;
    width: auto;
    max-width: none;
    object-fit: fill;
    object-position: right center;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.28) 10%, #000 34%);
    mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.28) 10%, #000 34%);
  }
  .nis26-hero h1 { max-width: 750px; }
  .nis26-hero-intro { max-width: 650px; }
}
/* At laptop widths, prefer the accessible dropdown over cramped navigation. */
@media (min-width: 931px) and (max-width: 1420px) {
  .nis26-nav-cta { display: none; }
  .nis26-menu { display: flex; border: 1px solid #d6e5ec; align-items: center; gap: 8px; background: white; color: #183c53; padding: 10px 15px; border-radius: 7px; margin-left: auto; font-size: 14px; font-weight: 800; }
  .nis26-menu svg { stroke: currentColor; fill: none; stroke-width: 2; width: 19px; height: 19px; }
  .nis26-nav { display: none; position: absolute; top: 100%; right: 0; left: 0; background: white; box-shadow: 0 20px 30px rgba(5,22,40,.15); padding: 17px 26px 25px; flex-direction: column; align-items: stretch; gap: 0; border-top: 1px solid #dae7ef; }
  .nis26-nav.open { display: flex; }
  .nis26-nav a { font-size: 15px; padding: 10px 12px; border-bottom: 1px solid #edf2f5; }
  .nis26-nav-mobile-cta { display: block !important; background: #eaf5f9; color: #096c8a !important; border-radius: 6px; margin-top: 10px; text-align: center; }
}
@media (min-width: 701px) and (max-width: 1420px) {
  .nis26-hero-content { width: min(69%, 720px); }
}
@media (max-width: 700px) {
  /* Keep the previously-tested stacked mobile hero; remove the former photo edge mask. */
  .nis26-hero-image img { mask-image: linear-gradient(90deg, transparent 0%,#000 9%,#000 96%,transparent 100%); -webkit-mask-image: linear-gradient(90deg, transparent 0%,#000 9%,#000 96%,transparent 100%); }
}

/* Reviewed no-cutoff gradient: image spans whole hero, blending to dark navy. */
@media (min-width: 701px) {
  .nis26-hero { background: linear-gradient(90deg,#011624 0%,#03273f 26%,#0c4769 52%,#3179a7 78%,#458ab9 100%); }
  .nis26-hero::before { background: linear-gradient(90deg,rgba(0,13,23,.50) 0%,rgba(1,20,36,.34) 31%,rgba(1,25,40,.10) 61%,transparent 84%); }
  .nis26-hero-image { left:0; right:0; width:100%; background:transparent; }
  .nis26-hero-image img {
    -webkit-mask-image:linear-gradient(90deg,transparent 0%,rgba(0,0,0,.12) 13%,rgba(0,0,0,.58) 39%,#000 67%);
    mask-image:linear-gradient(90deg,transparent 0%,rgba(0,0,0,.12) 13%,rgba(0,0,0,.58) 39%,#000 67%);
  }
}
