/* Shared landing-page header treatment for the homepage and sector hubs. */
:root { --site-gutter: clamp(1.25rem, 4vw, 5rem); }

.landing-shell > .hub-header {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto auto auto;
  align-items: center;
  justify-content: normal;
  gap: clamp(0.7rem, 2vw, 2rem);
  width: 100%;
  height: 116px;
  min-height: 116px;
  padding: 0 var(--site-gutter);
  border-bottom: 1px solid rgb(159 181 194 / 18%);
  background: transparent;
}

.landing-shell > .hub-header::after {
  position: absolute;
  bottom: -1px;
  left: var(--site-gutter);
  width: 76px;
  height: 3px;
  background: var(--accent);
  content: "";
}

.landing-shell > .hub-header .hub-brand {
  display: flex;
  align-items: center;
  width: min(100%, 380px);
  height: 72px;
  padding: 0.7rem 1rem;
  background: none;
}

.landing-shell > .hub-header .brand-logo {
  display: block;
  width: 100%;
  height: auto;
}

.landing-shell > .hub-header .header-meta {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 0.9rem;
  color: #9fb5c2;
  font-size: 0.69rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.landing-shell > .hub-header .header-meta i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
}

.landing-shell > .hub-header .corporate-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: #f5f8fa;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 180ms ease, transform 180ms ease;
}

.landing-shell > .hub-header .corporate-link svg {
  width: 17px;
  height: 17px;
  stroke-width: 1.6;
  transition: transform 180ms ease;
}

.landing-shell > .hub-header .corporate-link:hover,
.landing-shell > .hub-header .corporate-link:focus-visible { color: var(--accent); }
.landing-shell > .hub-header .corporate-link:hover svg { transform: translate(3px, -2px); }
.landing-shell > .hub-header .corporate-link:focus-visible { outline-color: var(--accent); }

.landing-shell > .sector-nav { padding-inline: var(--site-gutter); }

@media (max-width: 1180px) {
  .landing-shell > .hub-header .header-meta { display: none; }
}

@media (max-width: 820px) {
  .landing-shell > .hub-header,
  .landing-shell > .sector-nav { padding-inline: 1rem; }

  .landing-shell > .hub-header {
    grid-template-columns: 1fr auto auto;
    height: 92px;
    min-height: 92px;
  }

  .landing-shell > .hub-header .hub-brand {
    width: min(220px, 54vw);
    height: 58px;
    padding: 0.55rem 0.7rem;
  }

  .landing-shell > .hub-header .corporate-link {
    width: 42px;
    height: 42px;
    justify-content: center;
    border: 1px solid rgb(159 181 194 / 32%);
    font-size: 0;
  }

  .landing-shell > .hub-header .corporate-link svg {
    width: 19px;
    height: 19px;
  }
}

@media (max-width: 480px) {
  .landing-shell > .hub-header .hub-brand { width: min(170px, 48vw); }
  .landing-shell > .hub-header .corporate-link { width: 38px; height: 38px; }
}
