#header.env-home-header {
  --nav-ink: var(--snowcap);
  position: fixed !important;
  inset: 0 0 auto !important;
  width: 100%;
  height: 84px !important;
  min-height: 84px !important;
  padding: 0 !important;
  z-index: 2000 !important;
  display: flex;
  align-items: center;
  background-color: transparent !important;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0) !important;
  transition: background-color .34s ease, box-shadow .34s ease !important;
}

#header.env-home-header> :is(.container, .container-fluid) {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* The image and descriptor share one exact width, eliminating horizontal drift. */
#header.env-home-header .logo {
  display: grid !important;
  grid-template-columns: 220px;
  grid-template-rows: 52px auto;
  justify-items: center;
  align-content: center;
  gap: 2px;
  width: 220px;
  flex: 0 0 220px;
  text-decoration: none;
}

#header.env-home-header .logo .env-logo-white {
  grid-area: 1/1;
  display: block !important;
  width: 220px !important;
  max-width: 220px !important;
  height: 52px !important;
  max-height: 52px !important;
  margin: 0 !important;
  object-fit: contain;
  filter: none !important;
}

/* Crossfade the white logo with the SVG window overlay. */
#header.env-home-header .env-logo-white {
  opacity: 1 !important;
  transition: opacity .34s ease !important;
}

#header.env-home-header.is-scrolled.is-window-ready .env-logo-white {
  opacity: 0 !important;
}

#header.env-home-header .logo .sitename {
  grid-area: 2/1;
  display: block !important;
  width: 100%;
  margin: 0 !important;
  padding: 0 !important;
  text-align: center;
  white-space: nowrap;
  color: var(--nav-ink) !important;

  font-weight: 400;  
  font-size: 9px !important;
  letter-spacing: .108em;
  line-height: 1.2;  
  transition: color .34s ease !important;
}

#header.env-home-header .sitename span {
  color: inherit !important;
  transition: color .34s ease !important;
}

#header.env-home-header.is-scrolled .sitename .forest {
  color: var(--emerald-green) !important;
}

#header.env-home-header.is-scrolled .sitename .ocean {
  color: var(--cyan-700) !important;
}

#header.env-home-header .mobile-nav-toggle {
  color: var(--nav-ink) !important;
  transition: color .34s ease !important;
}

@media(min-width:1200px) {
  /* Match the visible logo inset: Bootstrap gutter + centered logo artwork. */
  #header.env-home-header > :is(.container, .container-fluid) {
    padding-right: calc(var(--bs-gutter-x, 1.5rem) * .5 + 23.333px);
  }

  #header.env-home-header .navmenu > ul > li > a {
    position: relative;
    color: var(--nav-ink) !important;
    transition: color .34s ease !important;
    font-family: var(--nav-font);
    font-size: 16px;
    font-weight: 300;
    font-style: normal;
    letter-spacing: .025em;
    text-transform: uppercase;
  }

  #header.env-home-header .navmenu>ul>li>a::after {
    content: "";
    position: absolute;
    left: 15px;
    right: 15px;
    bottom: 9px;
    height: 2px;
    background: var(--ocean-teal);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform .3s ease;
  }

  #header.env-home-header .navmenu>ul>li:last-child>a::after { right: 0; }

  #header.env-home-header .navmenu>ul>li>a:is(.active, [aria-current="page"], :hover, :focus-visible)::after {
    transform: scaleX(1);
  }

  #header.env-home-header .navmenu>ul>li>a:is(.active, [aria-current="page"]) {
    color: var(--nav-ink) !important;
  }

  #header.env-home-header .navmenu>ul>li>a:is(:hover, :focus-visible):not(.active) {
    color: var(--ocean-teal) !important;
  }
}

@media(max-width:1199.98px) {
  #header.env-home-header .navmenu ul {
    background: #fff;
  }

  #header.env-home-header .navmenu > ul > li > a {
    color: var(--carbon) !important;
    font-family: var(--nav-font);
    font-size: 17px;
    font-weight: 300;
    font-style: normal;
    letter-spacing: .025em;
    text-transform: uppercase;
  }

  #header.env-home-header .navmenu > ul > li > a:is(.active, [aria-current="page"]) {
    color: var(--carbon) !important;
    text-decoration: underline;
    text-decoration-color: var(--ocean-teal);
    text-decoration-thickness: 2px;
    text-underline-offset: 7px;
  }
}

@media(prefers-reduced-motion:reduce) {

  #header.env-home-header,
  #header.env-home-header :is(img, a, .sitename, .mobile-nav-toggle) {
    transition: none !important;
  }
}

body.environment-index-page>main {
  padding-top: 0 !important;
  margin-top: 0 !important;
}
/* ENV-I true-through-page letter windows. The fixed header is never painted opaque;
   its white surface is an SVG mask with transparent letter-shaped openings. */
#header.env-home-header.is-scrolled {
  --nav-ink: var(--carbon);
  background-color: transparent !important;
  box-shadow: 0 4px 18px rgba(0, 0, 0, .09) !important;
}
#header.env-home-header .env-header-window-overlay {
  position: absolute; inset: 0; width: 100%; height: 100%;
  z-index: 0; pointer-events: none; opacity: 0;
  transition: opacity .34s ease;
}
#header.env-home-header.is-scrolled.is-window-ready .env-header-window-overlay { opacity: 1; }
#header.env-home-header > .container-fluid { position: relative; z-index: 1; }
@media (prefers-reduced-motion: reduce) {
  #header.env-home-header .env-header-window-overlay { transition: none; }
}


/* Luminance mask: white surface stays opaque; black vector letterforms are holes. */
#header.env-home-header .env-header-window-overlay mask { mask-type: luminance; }

/* Environment Index: full-bleed hero beneath the fixed navigation. */
body.index-page > main.environment-index-main { padding-top: 0 !important; margin-top: 0 !important; }
body.mobile-nav-active #header.env-home-header .mobile-nav-toggle { color: #fff !important; }
@media (max-width: 575.98px) {
  #header.env-home-header .logo { grid-template-columns: 190px; grid-template-rows: 45px auto; width: 190px; flex-basis: 190px; }
  #header.env-home-header .logo .env-logo-white { width: 190px !important; max-width: 190px !important; height: 45px !important; max-height: 45px !important; }
  #header.env-home-header .logo .sitename { font-size: 7.77px !important; }
}
#header.env-home-header.is-scrolled:not(.is-window-ready) { background-color: transparent !important; --nav-ink: var(--snowcap); }
#header.env-home-header.is-scrolled:not(.is-window-ready) .sitename span { color: var(--snowcap) !important; }

/* Keep the fixed header anchored to the layout viewport. */
@media (max-width: 1199.98px) {
  #header.env-home-header { top: 0 !important; margin: 0 !important; }
}

@media(max-width:1199.98px){
 #header.env-home-header {top:var(--env-viewport-top,0px)!important;}
 #header.env-home-header button.mobile-nav-toggle {border:0;background:none;padding:8px;line-height:1;}
}


/* Universal adaptive navigation: enabled only on opted-in pages. */
body[data-env-adaptive] #header.env-home-header {
  position:absolute !important; inset:0 0 auto !important; top:0 !important;
  --nav-ink:var(--snowcap,#fff); background:transparent !important;
  box-shadow:none !important; transition:none !important; transform:none !important;
}
body[data-env-adaptive] #header.env-home-header .env-header-window-overlay {display:none !important;}
body[data-env-adaptive] #header.env-home-header .env-logo-white {opacity:1 !important;}
body[data-env-adaptive] #header.env-home-header .sitename span {color:var(--snowcap,#fff) !important;}
body[data-env-adaptive].mobile-nav-active #header.env-home-header {position:fixed !important;}

body.env-adaptive .scroll-top {display:none!important;}
.env-journey {position:fixed;z-index:2100;left:50%;bottom:max(12px,env(safe-area-inset-bottom));opacity:0;visibility:hidden;pointer-events:none;font-family:var(--nav-font, sans-serif);color:#fff;}
body.env-nav-content .env-journey {opacity:1;visibility:visible;pointer-events:auto;}
.env-journey__bar,.env-journey__panel {background:rgba(0,0,0,.84);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);border:1px solid rgba(255,255,255,.32);}
.env-journey__bar {align-items:stretch;min-height:50px;}
.env-journey button,.env-journey a {font:inherit;font-size:14px;color:#fff;text-decoration:none;background:none;border:0;display:flex;align-items:center;gap:10px;padding:10px 14px;min-height:44px;}
.env-journey button {cursor:pointer;border-right:1px solid #ffffff40;}
.env-journey__next {flex:1;justify-content:space-between;color:var(--mist-teal,#ccf1ea)!important;}
.env-journey__panel {margin-bottom:6px;max-height:calc(100vh - 90px);max-height:calc(100dvh - 90px - env(safe-area-inset-bottom));overflow:auto;overscroll-behavior:contain;}
.env-journey__panel[hidden] {display:none;}
.env-journey__panel a {justify-content:space-between;border-bottom:1px solid #ffffff20;}
@media (hover:hover) and (pointer:fine) {
 .env-journey a:hover,.env-journey button:hover {background:#ffffff18;}
}
.env-journey :focus-visible {outline:2px solid var(--glacier-teal,#7dead5);outline-offset:-3px;}
body.env-nav-content #hero .env-hero__play-toggle {bottom:calc(max(12px,env(safe-area-inset-bottom)) + 60px);}
@media(prefers-reduced-motion:reduce){body.env-adaptive #header.env-home-header,.env-journey{transition:none!important;}}

/* Explore navigation: same text and underline treatment as homepage Explore. */
.env-journey button,.env-journey a {text-transform:uppercase;letter-spacing:.025em;}
.env-journey__panel a {border-bottom:0;justify-content:flex-start;font-size:16px;font-weight:300;padding:9px 0;}
.env-journey__panel a[aria-current=page] {color:#fff;}
.env-journey__panel a:is(:hover,:focus-visible) {color:var(--mist-teal,#CCF1EA);background:none;}
.env-journey__links a span {position:relative;display:inline-block;padding-bottom:5px;}
.env-journey__links a span::after {content:"";position:absolute;left:0;bottom:0;width:100%;height:2px;background:var(--ocean-teal,#08c4b2);transform:scaleX(0);transform-origin:left center;transition:transform 1.1s cubic-bezier(.33,1,.68,1);}
.env-journey__links a:is([aria-current=page],:hover,:focus-visible) span::after {transform:scaleX(1);}
.env-journey__panel .env-journey__brand {display:flex;flex-direction:column;align-items:center;gap:2px;padding:8px 0 18px;margin-bottom:6px;}
.env-journey__brand img {width:190px;max-width:100%;height:45px;object-fit:contain;}
.env-journey__brand span {font-size:7.77px;letter-spacing:.108em;color:#fff;white-space:nowrap;}
.env-journey__links a:last-child {margin-top:8px;border-top:1px solid #ffffff25;color:var(--mist-teal,#CCF1EA);}
@media(prefers-reduced-motion:reduce){.env-journey__links a span::after{transition:none;}}

/* Compact, content-driven navigator; panel shares the bar width. */
.env-journey {max-width:calc(100% - 24px - env(safe-area-inset-left) - env(safe-area-inset-right));}
.env-journey__bar {min-width:0;}
.env-journey__bar button,.env-journey__bar a {font-size:14px;gap:9px;padding:10px 14px;white-space:nowrap;}
.env-journey__next {flex:0 1 auto;justify-content:flex-start;}
.env-journey__panel {box-sizing:border-box;width:100%;padding:14px 18px 16px;}
.env-journey__panel a {font-size:17px;}
.env-journey__brand img {width:220px;height:52px;}
.env-journey__brand span {font-size:9px;}
@media(max-width:360px){.env-journey__bar button,.env-journey__bar a{padding-inline:9px;gap:6px;font-size:12px;}}
@media(max-height:480px){.env-journey__panel .env-journey__brand{padding:2px 0 8px;margin-bottom:0;}.env-journey__panel a{min-height:44px;padding-block:5px;}}

/* One navigator, reserved footer docking position. Panel opens above either state. */
.env-journey-dock {display:flex;justify-content:flex-start;position:relative;min-height:50px;overflow:visible;}
.env-journey__panel {position:absolute;bottom:100%;left:0;right:0;}
.env-journey.is-docked {position:relative;left:auto;bottom:auto;transform:none;opacity:1;visibility:visible;pointer-events:auto;transition:none;max-width:100%;}
.env-journey.is-suppressed {visibility:hidden;pointer-events:none;opacity:0;}
@media(max-width:991.98px){.env-journey-dock{justify-content:center;}}

/* Explicit closing destination; preserve the existing strategy grid. */
body[data-env-adaptive] .env-journey__bar {min-height:50px;}
body[data-env-adaptive] .env-journey__bar button {min-width:108px;}
body[data-env-adaptive] .env-journey__panel {max-height:var(--env-panel-space,calc(100dvh - 90px));}
body[data-env-adaptive] .env-journey__panel a[aria-current=page] span::after {transition:none;}
body[data-env-adaptive] .env-journey__panel a:is(:hover,:focus-visible) {color:var(--mist-teal,#CCF1EA);}
body.we-can-help-page .env-journey.is-docked {z-index:5;}
body.we-can-help-page.env-nav-content #we-can-help-hero .env-serve__scroll {bottom:80px;}
body.we-can-help-page.env-nav-content #we-can-help-support .env-carousel {scroll-margin-bottom:80px;}
@media(max-width:991.98px){body.we-can-help-page .env-strategy__index .env-journey-dock{justify-content:flex-start;}}

.env-journey {--env-safe-bottom:env(safe-area-inset-bottom,0px);bottom:max(12px,env(safe-area-inset-bottom));}
.env-journey.is-docked {bottom:auto;}

.env-journey__bar button {justify-content:flex-start;}

/* Stable shared geometry, independent of destination and open state. */
.env-journey {width:320px;transition:opacity .25s,visibility .25s;transform:translateX(-50%);}
body.env-nav-content .env-journey {transform:translateX(-50%);}
.env-journey.is-docked,body.env-nav-content .env-journey.is-docked {transform:none;}
.env-journey__bar {display:grid;grid-template-columns:42% minmax(0,1fr);}
body[data-env-adaptive] .env-journey__bar button {min-width:0;}
.env-journey__bar .env-journey__next {min-width:0;justify-content:space-between;white-space:normal;line-height:1.2;}
.env-journey__bar i {flex-shrink:0;}
body.we-can-help-page[data-env-adaptive] #we-can-help-support {padding-bottom:100px;}
@media(max-width:360px){.env-journey__bar button,.env-journey__bar a{padding-inline:8px;gap:5px;font-size:12px;}}
@media(prefers-reduced-motion:reduce){.env-journey{transition:none!important;}}

/* Match the original header navigation typography at its existing breakpoint. */
.env-journey { --env-journey-font-size: 16px; }
@media(max-width:1199.98px) { .env-journey { --env-journey-font-size: 17px; } }
.env-journey .env-journey__bar button,
.env-journey .env-journey__bar a,
.env-journey .env-journey__links a {
  font-family:var(--nav-font, 'Inclusive Sans', sans-serif);
  font-size:var(--env-journey-font-size);
  font-weight:300;
  font-style:normal;
  letter-spacing:.025em;
}
.env-journey .env-journey__links a:last-child { justify-content:space-between; }
.env-journey .env-journey__links a:last-child i { flex:none; font-size:1em; }
/* Preserve the fixed divider and allow long destinations to wrap on narrow screens. */
.env-journey .env-journey__bar button { padding-inline:8px; gap:6px; }
.env-journey .env-journey__bar a { padding-inline:10px; gap:6px; }
.env-journey .env-journey__bar button span { min-width:0; }
@media(max-width:360px) {
 .env-journey .env-journey__bar button { white-space:normal; overflow-wrap:anywhere; }
 .env-journey .env-journey__bar a { overflow-wrap:anywhere; }
}

/* Shared landscape overlay: docking is a resting position only. */
@media (orientation:landscape) and (max-height:600px) {
 .env-journey {width:460px;}
 .env-journey.is-viewport-open, body.env-nav-content .env-journey.is-viewport-open {
  position:fixed; z-index:2200; left:50%; top:var(--env-overlay-top,12px); bottom:auto;
  height:var(--env-overlay-height,calc(100dvh - 24px)); width:460px;
  transform:translateX(-50%); display:flex; flex-direction:column; opacity:1; visibility:visible; pointer-events:auto; transition:none;
 }
 body[data-env-adaptive] .env-journey.is-viewport-open .env-journey__panel {
  position:static; flex:1 1 auto; min-height:0; max-height:none; display:flex; flex-direction:column;
  justify-content:space-evenly; padding:clamp(8px,2vh,20px) 20px; background:#080808; overflow:auto;
 }
 .env-journey.is-viewport-open .env-journey__brand {padding:0; margin:0; min-height:0; flex:none;}
 .env-journey.is-viewport-open .env-journey__brand img {width:190px;height:45px;}
 .env-journey.is-viewport-open .env-journey__brand span {font-size:7.77px;}
 .env-journey.is-viewport-open .env-journey__links {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(3,auto);grid-auto-flow:column;gap:0 20px;}
 .env-journey.is-viewport-open .env-journey__links a {min-height:44px;padding:4px 0;gap:4px;}
 .env-journey.is-viewport-open .env-journey__links a:last-child {margin:0;border-top:0;}
 .env-journey.is-viewport-open .env-journey__bar {flex:none;background:#080808;}
}

/* Landscape overlay: centered content, standard-width control bar. */
@media (orientation:landscape) and (max-height:600px) {
 .env-journey.is-viewport-open .env-journey__brand img {width:224px;height:53px;}
 .env-journey.is-viewport-open .env-journey__brand span {font-size:9px;}
 .env-journey.is-viewport-open .env-journey__links {width:max-content;max-width:100%;align-self:center;grid-template-columns:repeat(2,max-content);column-gap:60px;}
 .env-journey.is-viewport-open .env-journey__links a:last-child {justify-content:flex-start;gap:10px;}
 .env-journey.is-viewport-open .env-journey__bar {width:100%;max-width:100%;align-self:center;}
}
@media (orientation:landscape) and (max-height:600px) and (max-width:420px) {
 .env-journey.is-viewport-open .env-journey__links {width:100%;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:12px;}
 .env-journey.is-viewport-open .env-journey__links a {overflow-wrap:anywhere;}
}

/* Equal panel and bar geometry in every landscape state. */
@media (orientation:landscape) and (max-height:600px) {
 .env-journey.is-viewport-open .env-journey__panel {width:100%;flex:1 1 auto;}
 .env-journey.is-viewport-open .env-journey__links {grid-template-rows:repeat(3,auto);}
}

/* Landscape: equal 60px side and middle spacing where the panel permits. */
@media (orientation:landscape) and (max-height:600px) {
 body[data-env-adaptive] .env-journey.is-viewport-open .env-journey__panel {padding-inline:60px;}
 .env-journey.is-viewport-open .env-journey__links {width:100%;grid-template-columns:minmax(0,max-content) minmax(0,max-content);justify-content:space-between;column-gap:60px;}
}
@media (orientation:landscape) and (max-height:600px) and (max-width:500px) {
 body[data-env-adaptive] .env-journey.is-viewport-open .env-journey__panel {padding-inline:clamp(12px,calc((100vw - 360px) / 2),60px);}
 .env-journey.is-viewport-open .env-journey__links {grid-template-columns:minmax(0,1fr) minmax(0,1fr);column-gap:clamp(12px,calc((100vw - 360px) / 2),60px);}
 .env-journey.is-viewport-open .env-journey__links a {overflow-wrap:anywhere;}
}

/* Touch: prevent sticky hover shading on the shared control bar. */
@media (hover:none), (pointer:coarse) {
 .env-journey .env-journey__bar button:hover,
 .env-journey .env-journey__bar a:hover {background:transparent;}
}

/* Universal opaque navigation surface. */
.env-journey .env-journey__panel,.env-journey .env-journey__bar {background:#080808;backdrop-filter:none;-webkit-backdrop-filter:none;}
/* Non-landscape fallback: only activated when the natural panel cannot fit. */
@media not all and (orientation:landscape) and (max-height:600px) {
 .env-journey.is-viewport-open,body.env-nav-content .env-journey.is-viewport-open {position:fixed;z-index:2200;left:50%;top:auto;bottom:calc(100vh - var(--env-overlay-top,12px) - var(--env-overlay-height,calc(100vh - 24px)));height:auto;max-height:var(--env-overlay-height,calc(100dvh - 24px));width:320px;transform:translateX(-50%);display:flex;flex-direction:column;opacity:1;visibility:visible;pointer-events:auto;transition:none;}
 body[data-env-adaptive] .env-journey.is-viewport-open .env-journey__panel {position:static;flex:0 1 auto;min-height:0;max-height:none;overflow:auto;width:100%;}
 .env-journey.is-viewport-open .env-journey__bar {flex:none;width:100%;}
}
