/* ---------- JH Norton hero (all rules scoped to .nsb-hero) ---------- */
.nsb-hero{
  --nsb-font: 'Roboto', 'Helvetica Neue', Arial, sans-serif;
  --nsb-navy: #14264d;          /* brand navy, pre-video paint + hovers */

  position: relative;
  width: 100%;
  height: clamp(480px, 31.5vw, 660px);   /* matches the current desktop crop */
  overflow: hidden;
  background: var(--nsb-navy);            /* shown until first video frame */
  font-family: var(--nsb-font);
}
.nsb-hero *, .nsb-hero *::before, .nsb-hero *::after{ box-sizing: border-box; }

.nsb-hero__video{
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
}

.nsb-hero__overlay{
  position: absolute; inset: 0;
  background: linear-gradient(180deg,
              rgba(10,22,48,.38) 0%,
              rgba(10,22,48,.14) 38%,
              rgba(8,18,40,.42) 100%);
  pointer-events: none;
}

.nsb-hero__content{
  position: relative; z-index: 2;
  height: 100%;
  max-width: 1200px; margin: 0 auto; padding: 0 20px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
}

.nsb-hero__title{
  margin: 0 0 14px;
  color: #fff;
  font-weight: 700;
  font-size: clamp(28px, 2.85vw, 54px);
  line-height: 1.16;
  letter-spacing: .005em;
  text-shadow: 0 2px 18px rgba(0,0,0,.5), 0 1px 3px rgba(0,0,0,.35);
}
.nsb-line{ display: inline-block; }   /* one line on desktop, animatable */

.nsb-hero__sub{
  margin: 0 0 30px;
  color: #fff;
  font-weight: 500;
  font-size: clamp(15px, 1.05vw, 20px);
  text-shadow: 0 1px 10px rgba(0,0,0,.55);
}

.nsb-hero__actions{
  display: flex; align-items: center; justify-content: center;
  gap: clamp(18px, 4.5vw, 88px);
}

.nsb-btn{
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 230px; min-height: 48px;
  padding: 13px 34px;
  border: 1px solid rgba(255,255,255,.92);
  border-radius: 3px;
  background: rgba(8,18,40,.28);
  color: #fff; font-size: 17px; font-weight: 500;
  letter-spacing: .01em; text-decoration: none;
  transition: background .25s ease, color .25s ease;
}
.nsb-btn:hover{ background: #fff; color: var(--nsb-navy); }
.nsb-btn:focus-visible{ outline: 2px solid #fff; outline-offset: 3px; }
.nsb-label-short{ display: none; }

/* ---------- Entrance: one staggered rise-and-focus reveal ---------- */
@keyframes nsbReveal{
  from{ opacity: 0; transform: translateY(26px); filter: blur(8px); }
  to  { opacity: 1; transform: translateY(0);    filter: blur(0);   }
}
.nsb-line, .nsb-hero__sub, .nsb-hero__actions{
  opacity: 0;
  animation: nsbReveal .9s cubic-bezier(.2,.65,.25,1) forwards;
}
.nsb-line--1{ animation-delay: .10s; }
.nsb-line--2{ animation-delay: .28s; }
.nsb-line--3{ animation-delay: .46s; }
.nsb-hero__sub{ animation-delay: .78s; }
.nsb-hero__actions{ animation-delay: .95s; }

@media (prefers-reduced-motion: reduce){
  .nsb-line, .nsb-hero__sub, .nsb-hero__actions{
    animation: none; opacity: 1; transform: none; filter: none;
  }
}

/* ---------- Mobile (<=768px) ---------- */
@media (max-width: 768px){
  .nsb-hero{ height: clamp(340px, 92vw, 440px); }

  .nsb-line{ display: block; }                    /* 3 stacked lines */
  .nsb-hero__title{
    font-size: clamp(26px, 7.6vw, 32px);
    line-height: 1.25;
    margin-bottom: 24px;
  }

  .nsb-hero__sub{ display: none; }                /* subheader removed */

  .nsb-hero__actions{ gap: 14px; width: 100%; }
  .nsb-btn{
    min-width: 0; min-height: 44px;               /* tap-target safe */
    width: calc(50% - 7px); max-width: 190px;
    padding: 11px 10px; font-size: 15px;
  }
  .nsb-btn--rep{ order: -1; }                     /* Find a Rep first */
  .nsb-label-full{ display: none; }
  .nsb-label-short{ display: inline; }            /* short labels, one row */
}
