/* landing_banner.css — SSOT for the deep-blue public top banner.

   Used by the landing, who-is-chippie-for, features and pricing pages via
   templates/components/landing_banner.html. Every rule is scoped under
   `header.wrap` so it cannot collide with the global sandstone nav
   (`.nav-brand` in chippie-marketing.css) or any page-level styles. The parent
   page loads this file in its extra_css block, after chippie-marketing.css, so
   it wins where selectors meet. Blue #0752B6 matches the in-app --nav-bg. */

/* Full-width deep-blue band. The <header> carries class="wrap"; override its
   max-width so the band spans the viewport, then re-centre the inner <nav> on
   the 1140px column. */
header.wrap {
  max-width: none;
  padding: 0;
  background: #0752B6;
}
header.wrap > nav {
  max-width: 1140px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Brand lockup: cropped Louie + pre-coloured white wordmark. */
header.wrap .brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}
/* louie-crop clips Louie.png's wide transparent margins so the dog fills the
   box without the empty padding inflating layout. */
header.wrap .louie-crop {
  position: relative;
  width: 70px;
  height: 96px;
  overflow: hidden;
  flex-shrink: 0;
  display: block;
}
header.wrap .louie {
  position: absolute;
  top: 50%;
  left: 50%;
  /* 146px deliberately overflows the 70px crop to zoom past Louie.png's
     transparent margins. Opt out of the global img{max-width:100%} (from
     chippie-marketing.css) so the crop isn't clamped back to 70px. */
  width: 146px;
  height: 146px;
  max-width: none;
  transform: translate(-50%, -50%);
  object-fit: contain;
}
/* Wordmark asset is pre-coloured (white text + orange underline) for the blue
   band, so no filter is needed. */
header.wrap .brand .wordmark {
  height: 82px;
  width: auto;
  display: block;
}

/* Right-hand links and CTAs, white on the blue band; orange on hover/active. */
header.wrap .nav-right {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 15px;
}
header.wrap .nav-right a,
header.wrap .nav-right .nav-link-btn {
  color: #fff;
  text-decoration: none;
}
header.wrap .nav-right a:hover,
header.wrap .nav-right .nav-link-btn:hover,
header.wrap .nav-right a.active {
  color: #E85D1F;
}

@media (max-width: 880px) {
  header.wrap .brand .wordmark { height: 44px; }
  header.wrap .louie-crop { width: 48px; height: 64px; }
  header.wrap .louie { width: 100px; height: 100px; }
  header.wrap .nav-right .hide-m { display: none; }
}
@media (max-width: 480px) {
  header.wrap > nav { padding: 14px 18px; }
  header.wrap .brand .wordmark { height: 36px; }
  header.wrap .brand { gap: 8px; }
}
