/* Waymarks global header — styles for every page. Markup comes from header.js */
.wmh{
  --wm-ver:"3";
  --wmh-bg:#00051d;--wmh-panel:#0b1030;--wmh-text:#e2e8f0;--wmh-muted:#a0aec0;--wmh-white:#fff;--wmh-lime:#bdd631;--wmh-green:#22c448;--wmh-ink:#00160d;
  --wmh-line:rgba(255,255,255,.12);--wmh-line-soft:rgba(255,255,255,.08);
  --wmh-grad:linear-gradient(90deg,var(--wmh-lime) 0%,var(--wmh-green) 100%);
  --wmh-ease:cubic-bezier(.22,1,.36,1);--wmh-h:80px;--wmh-top:env(safe-area-inset-top,0px);
  position:sticky;top:0;z-index:1000;
  padding-top:var(--wmh-top);
  min-height:calc(var(--wmh-h) + 1px + var(--wmh-top)); /* reserves space before JS fills it: no layout shift */
  background:rgba(0,5,29,.85);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);
  border-bottom:1px solid transparent;transition:border-color .3s;
  font-family:'Inter',system-ui,-apple-system,'Segoe UI',Roboto,sans-serif;
  -webkit-font-smoothing:antialiased;box-sizing:border-box
}
/* Pages whose layout already leaves room for a fixed bar (Home, About, Services) */
.wmh[data-fixed]{position:fixed;left:0;right:0}
.wmh.is-scrolled{border-bottom-color:var(--wmh-line-soft)}
.wmh *,.wmh *::before,.wmh *::after{box-sizing:border-box}
.wmh ul{list-style:none;margin:0;padding:0}
.wmh a{text-decoration:none;color:inherit}
.wmh button{font:inherit;color:inherit}
.wmh :focus-visible{outline:2px solid var(--wmh-lime);outline-offset:3px;border-radius:6px}

.wmh-skip{position:absolute;left:16px;top:-100px;z-index:2;padding:8px 16px;border-radius:999px;background:var(--wmh-lime);color:var(--wmh-bg)!important;font-weight:600}
.wmh-skip:focus{top:12px}

.wmh-inner{position:relative;width:100%;max-width:1248px;margin-inline:auto;
  padding-left:max(16px,env(safe-area-inset-left,0px));padding-right:max(16px,env(safe-area-inset-right,0px));
  height:var(--wmh-h);display:flex;align-items:center;justify-content:space-between;gap:24px}
.wmh-logo{display:inline-flex;flex-shrink:0}
.wmh-logo img{display:block;width:208px;height:32px;max-width:none}

/* Desktop links with the gradient underline */
.wmh-top{display:flex;gap:33px}
.wmh-top>li{position:relative;display:flex;align-items:center}
.wmh-top>li>a{position:relative;display:inline-block;padding:6px 0;font-size:16px;font-weight:500;line-height:1.5;color:var(--wmh-text);transition:color .2s}
.wmh-top>li>a::after{content:'';position:absolute;left:0;right:0;bottom:-2px;height:2px;border-radius:2px;background:var(--wmh-grad);transform:scaleX(0);transform-origin:left;transition:transform .25s var(--wmh-ease)}
.wmh-top>li>a:hover,.wmh-top>li.is-sub-open>a{color:var(--wmh-white)}
.wmh-top>li>a[aria-current=page]{color:var(--wmh-lime)}
.wmh-top>li>a:hover::after,.wmh-top>li>a[aria-current=page]::after,.wmh-top>li.is-sub-open>a::after{transform:scaleX(1)}

/* Services dropdown */
.wmh-caret{display:grid;place-items:center;width:24px;height:24px;margin-left:4px;padding:0;border:0;border-radius:6px;background:none;color:var(--wmh-muted);cursor:pointer;transition:color .2s,background-color .2s}
.wmh-caret svg{transition:transform .3s var(--wmh-ease)}
.wmh-caret:hover,.is-sub-open>.wmh-caret{color:var(--wmh-lime)}
.is-sub-open>.wmh-caret svg{transform:rotate(180deg)}
.wmh-panel{position:absolute;top:calc(100% + 20px);left:50%;z-index:5;width:min(820px,calc(100vw - 32px));padding:16px;border-radius:18px;
  border:1px solid var(--wmh-line);background:var(--wmh-panel);box-shadow:0 30px 70px rgba(0,0,0,.55),0 0 0 1px rgba(189,214,49,.04);
  transform:translate(calc(-50% + var(--wmh-shift,0px)),10px);opacity:0;visibility:hidden;
  transition:opacity .22s,transform .3s var(--wmh-ease),visibility 0s .3s}
.wmh-panel::before{content:"";position:absolute;left:0;right:0;top:-22px;height:22px} /* hover bridge between link and panel */
.is-sub-open>.wmh-panel{opacity:1;visibility:visible;transform:translate(calc(-50% + var(--wmh-shift,0px)),0);transition:opacity .22s,transform .3s var(--wmh-ease)}
.wmh-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px}
.wmh-item{display:grid;grid-template-columns:40px minmax(0,1fr);gap:14px;align-items:start;padding:14px;border-radius:14px;transition:background-color .2s}
.wmh-ic{display:grid;place-items:center;width:40px;height:40px;border-radius:10px;background:rgba(255,255,255,.06);color:var(--wmh-lime);transition:background-color .25s,color .25s,transform .35s var(--wmh-ease)}
.wmh-item b{display:block;font-size:15px;font-weight:600;line-height:22px;color:var(--wmh-white);transition:color .2s}
.wmh-item small{display:block;margin-top:4px;font-size:13px;line-height:20px;color:var(--wmh-muted)}
.wmh-item:hover,.wmh-item:focus-visible,.wmh-item[aria-current=page]{background:rgba(255,255,255,.05)}
.wmh-item:hover b,.wmh-item:focus-visible b,.wmh-item[aria-current=page] b{color:var(--wmh-lime)}
.wmh-item:hover .wmh-ic,.wmh-item:focus-visible .wmh-ic{background:var(--wmh-lime);color:var(--wmh-bg);transform:rotate(-6deg)}
.wmh-all{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:8px;padding:14px 16px 4px;border-top:1px solid var(--wmh-line-soft);font-size:14px;color:var(--wmh-muted)}
.wmh-all a{display:inline-flex;align-items:center;gap:8px;font-weight:600;color:var(--wmh-lime)}
.wmh-all a svg{transition:transform .2s var(--wmh-ease)}
.wmh-all a:hover svg{transform:translateX(3px)}

.wmh-btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;height:56px;padding:0 28px;border-radius:999px;
  background:var(--wmh-grad);color:var(--wmh-ink)!important;font-weight:600;font-size:16px;line-height:1;white-space:nowrap;
  box-shadow:0 0 20px rgba(189,214,49,.25);transition:transform .2s var(--wmh-ease),box-shadow .25s var(--wmh-ease)}
.wmh-btn:hover{transform:translateY(-1px);box-shadow:0 0 28px rgba(189,214,49,.4)}
.wmh-btn svg{transition:transform .2s var(--wmh-ease)}
.wmh-btn:hover svg{transform:translateX(3px)}
.wmh-btn--menu,.wmh-burger{display:none}

/* Burger: three lines that fold into an X */
.wmh-burger{position:relative;width:44px;height:44px;flex-shrink:0;border-radius:12px;cursor:pointer;padding:0;
  background:rgba(255,255,255,.04);border:1px solid var(--wmh-line);color:var(--wmh-white)}
.wmh-burger span{position:absolute;left:12px;right:12px;height:2px;border-radius:2px;background:currentColor;transition:transform .25s var(--wmh-ease),opacity .2s}
.wmh-burger span:nth-child(1){top:14px}.wmh-burger span:nth-child(2){top:20px}.wmh-burger span:nth-child(3){top:26px}
.wmh.is-open .wmh-burger span:nth-child(1){transform:translateY(6px) rotate(45deg)}
.wmh.is-open .wmh-burger span:nth-child(2){opacity:0}
.wmh.is-open .wmh-burger span:nth-child(3){transform:translateY(-6px) rotate(-45deg)}

@media (max-width:1100px) and (min-width:1025px){.wmh-top{gap:24px}}
@media (max-width:1024px){
  .wmh-btn--header{display:none}
  .wmh-burger{display:block}
  /* backdrop-filter would trap the fixed panel inside the bar, so drop it while open */
  .wmh.is-open{-webkit-backdrop-filter:none;backdrop-filter:none;background:var(--wmh-bg)}
  .wmh-nav{position:fixed;left:0;right:0;bottom:0;top:calc(var(--wmh-h) + 1px + var(--wmh-top));z-index:1;
    display:flex;flex-direction:column;gap:32px;overflow-y:auto;overscroll-behavior:contain;
    padding:24px max(16px,env(safe-area-inset-right,0px)) calc(40px + env(safe-area-inset-bottom,0px)) max(16px,env(safe-area-inset-left,0px));
    background:var(--wmh-bg);opacity:0;visibility:hidden;transform:translateY(-8px);
    transition:opacity .25s,transform .25s var(--wmh-ease),visibility 0s .25s}
  .wmh.is-open .wmh-nav{opacity:1;visibility:visible;transform:none;transition:opacity .25s,transform .25s var(--wmh-ease)}
  .wmh-top{flex-direction:column;gap:0}
  .wmh-top>li{flex-wrap:wrap;border-bottom:1px solid var(--wmh-line-soft)}
  .wmh-top>li>a{flex:1;display:block;padding:16px 0;font-size:22px;font-weight:600}
  .wmh-top>li>a::after{display:none}
  .wmh-top>li>a[aria-current=page]{color:var(--wmh-lime)}
  .wmh-caret{width:44px;height:44px;margin:0;border-radius:12px;border:1px solid var(--wmh-line);background:rgba(255,255,255,.04)}
  /* the dropdown becomes an accordion inside the full-screen menu */
  .wmh-panel{position:static;flex-basis:100%;width:auto;padding:0;border:0;border-radius:0;background:none;box-shadow:none;transform:none!important;opacity:1;visibility:visible;
    display:grid;grid-template-rows:0fr;transition:grid-template-rows .35s var(--wmh-ease)}
  .wmh-panel::before{display:none}
  .is-sub-open>.wmh-panel{grid-template-rows:1fr}
  .wmh-panel>div{overflow:hidden;min-height:0}
  .wmh-panel>div{visibility:hidden;transition:visibility 0s .35s}
  .is-sub-open>.wmh-panel>div{visibility:visible;transition:none}
  .wmh-grid{grid-template-columns:1fr;gap:2px;padding:0 0 14px}
  .wmh-item{grid-template-columns:36px minmax(0,1fr);gap:12px;padding:10px 8px}
  .wmh-ic{width:36px;height:36px}
  .wmh-item small{font-size:13px;line-height:19px}
  .wmh-all{margin:0 0 16px;padding:12px 8px 0}
  .wmh-btn--menu{display:inline-flex;align-self:flex-start}
}
@media (max-width:640px){.wmh-logo img{width:170px;height:26px}.wmh-all span{display:none}}
@media (prefers-reduced-motion:reduce){.wmh *,.wmh{transition:none!important}}

html.wmh-lock,html.wmh-lock body{overflow:hidden}

/* Retire the old per-page headers (kept in the HTML so the React apps still hydrate) */
#root .site-header,#root .mobile-menu{display:none!important}
