@layer components {
  .nh-hero {
    container-type: inline-size;
    container-name: nh-hero;
    position: relative;
    min-height: 55vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: var(--space-6xl) !important;
    padding-bottom: var(--space-3xl) !important;
  }

  .nh-hero__bg { position: absolute; inset: 0; z-index: 0; }

  .nh-hero__bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Subject (building + branded trucks) sits in the lower-centre of the 3:2
       aerial; default 50% centre-crop on a wide banner cuts the trucks off the
       bottom. Bias the crop downward to keep the facility + the field in front
       of it in frame (client wanted more foreground field visible). */
    object-position: center 85%;
    display: block;
  }

  /* Green-tinted overlay — nature imagery reads naturally in green */
  .nh-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
      to top,
      oklch(0.06 0.04 142 / 0.62) 0%,
      oklch(0.12 0.03 142 / 0.36) 100%
    );
  }

  .nh-hero__container {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-height: calc(55vh - var(--space-6xl) - var(--space-3xl));
  }

  .nh-hero__breadcrumb {
    font-size: var(--text-xs);
    color: var(--always-light);
    opacity: 0.6;
    margin-bottom: var(--space-2xl);
    letter-spacing: 0.03em;
  }

  .nh-hero__breadcrumb-sep {
    margin: 0 var(--space-3xs);
    opacity: 0.5;
  }

  .nh-hero__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-l);
    margin-bottom: var(--space-4xl);
  }

  .nh-hero__title {
    font-size: var(--text-4xl);
    font-weight: var(--weight-semibold);
    color: var(--always-light);
    line-height: 1.1;
    letter-spacing: -0.02em;
    max-width: 80rem;
  }

  .nh-hero__subtitle {
    font-size: var(--text-ml);
    color: var(--always-light);
    opacity: 0.85;
    line-height: 1.6;
    max-width: 64rem;
  }

  .nh-hero__certs {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-l);
    margin-top: auto;
  }

  .nh-hero__cert-item {
    display: flex;
    align-items: center;
    gap: var(--space-2xs);
    font-size: var(--text-xs);
    color: var(--always-light);
    opacity: 0.85;
    letter-spacing: 0.02em;
  }

  .nh-hero__cert-item .icon {
    width: 1.6rem;
    height: 1.6rem;
    color: var(--success);
  }

  .nh-hero__cert-divider {
    width: 1px;
    height: 1.6rem;
    background: var(--always-light);
    opacity: 0.2;
  }

  @container nh-hero (max-width: 768px) {
    .nh-hero {
      min-height: 48vh;
      padding-top: var(--space-5xl) !important;
    }
    .nh-hero__title { font-size: var(--text-3xl); }
    .nh-hero__subtitle { font-size: var(--text-m); }
    .nh-hero__content { margin-bottom: var(--space-3xl); }
  }

  @container nh-hero (max-width: 480px) {
    .nh-hero {
      min-height: 44vh;
      padding-top: var(--space-4xl) !important;
    }
    .nh-hero__title { font-size: var(--text-2xl); }
    .nh-hero__title br { display: none; }
    .nh-hero__certs { flex-wrap: wrap; gap: var(--space-s); }
    .nh-hero__cert-divider { display: none; }
  }
}
