/* Proof-first mega navigation: real projects visible, full sector links on request. */
.fivek-mega-trigger{display:inline-flex;align-items:center;justify-content:center;gap:9px;padding:11px 16px;background:#e5fac9;color:#10231d;border:1px solid #9fc995;border-radius:999px;font:800 12px/1.2 'DM Sans',sans-serif;white-space:nowrap;cursor:pointer;min-height:44px}
.fivek-mega-trigger:hover,.fivek-mega-trigger[aria-expanded=true]{background:#d9ff68;border-color:#678d54}
.fivek-mega-trigger:focus-visible,.fivek-mega a:focus-visible,.fivek-mega button:focus-visible,.fivek-mega summary:focus-visible{outline:3px solid #e7a571;outline-offset:3px}
.fivek-mega-trigger span{font-size:15px;transition:transform .18s}.fivek-mega-trigger[aria-expanded=true] span{transform:rotate(180deg)}
.fivek-mega[hidden]{display:none!important}
.fivek-mega{position:fixed;z-index:999;top:88px;left:50%;transform:translateX(-50%);width:min(1180px,calc(100vw - 24px));max-height:calc(100dvh - 100px);overflow-y:auto;overscroll-behavior:contain;background:#10221c;color:#effbe6;border:1px solid #4d725c;border-radius:20px;box-shadow:0 35px 90px #05100bc9;font-family:'DM Sans',sans-serif;text-align:left}
.fivek-mega a{text-decoration:none;color:inherit}
.fivek-mega__top{display:flex;justify-content:space-between;align-items:flex-start;gap:25px;padding:25px 30px 22px;border-bottom:1px solid #44634d;background:linear-gradient(120deg,#173729,#142720)}
.fivek-mega__kicker{font-size:10px;letter-spacing:.16em;font-weight:900;color:#c5f49c}
.fivek-mega__top h2{font:750 clamp(23px,2.8vw,34px)/1.12 'Space Grotesk',sans-serif;letter-spacing:-.05em;color:#fff;margin:9px 0 7px}
.fivek-mega__top p{margin:0;color:#cee2ce;font-size:12px;line-height:1.5}
.fivek-mega__close{flex:none;align-self:start;border:1px solid #7ca18a;background:#244534;color:#fff;padding:9px 12px;border-radius:30px;font:750 12px 'DM Sans',sans-serif;cursor:pointer}
.fivek-mega__close span{font-size:22px;vertical-align:middle;margin-left:8px}
.fivek-mega__content{display:grid;grid-template-columns:1.12fr .88fr;min-width:0}
.fivek-mega__work{min-width:0;padding:29px 30px 22px;border-right:1px solid #44634d}
.fivek-mega__sectors{min-width:0;padding:29px 29px 25px}
.fivek-mega__number{font-size:10px;letter-spacing:.13em;font-weight:900;color:#d9ff68}
.fivek-mega__section-head{display:flex;align-items:end;justify-content:space-between;gap:16px;margin-bottom:19px}
.fivek-mega__section-head h3,.fivek-mega__sectors h3{font:750 clamp(20px,2.2vw,29px)/1.12 'Space Grotesk',sans-serif;letter-spacing:-.05em;color:#fff;margin:7px 0 0}
.fivek-mega__live-dot{font-size:10px;color:#d9ff68;vertical-align:middle}
.fivek-mega__view-all{white-space:nowrap;font-size:11px;font-weight:900;color:#d9ff68!important;text-decoration:underline!important;text-underline-offset:4px}
.fivek-mega__examples{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.fivek-mega__example{display:flex;flex-direction:column;justify-content:center;min-width:0;min-height:111px;padding:14px 17px;background:#214637;border:1px solid #4c7659;border-radius:10px;transition:background .2s,transform .2s}
.fivek-mega__example:first-child{grid-column:1/-1;min-height:96px}
.fivek-mega__example:hover{background:#315b45;transform:translateY(-2px)}
.fivek-mega__example-type{display:flex;gap:10px;justify-content:space-between;color:#e5f3df;font:850 9px/1.5 'DM Sans',sans-serif;letter-spacing:.08em;text-transform:uppercase}
.fivek-mega__example-type b{color:#d9ff68;white-space:nowrap}
.fivek-mega__example strong{font:800 clamp(17px,1.7vw,23px)/1.12 'Space Grotesk',sans-serif;letter-spacing:-.035em;margin:7px 0 4px;color:#fff}
.fivek-mega__example small{color:#cbd8ce;font-size:10px;line-height:1.4;overflow-wrap:anywhere}
.fivek-mega__example--kent{background:#564934}.fivek-mega__example--kent:hover{background:#6e5d43}
.fivek-mega__example--hmo{background:#213c53}.fivek-mega__example--hmo:hover{background:#315572}
.fivek-mega__example--industrial{background:#314a36}.fivek-mega__example--industrial:hover{background:#446849}
.fivek-mega__work-note{font-size:11px;line-height:1.5;color:#cbdccd;margin:15px 0 0}
.fivek-mega__sector-note{font-size:12px;line-height:1.55;color:#cbddce;margin:10px 0 18px}
.fivek-mega__categories{display:grid;grid-template-columns:1fr 1fr;gap:9px}
.fivek-mega__categories a{min-height:75px;border:1px solid #42644c;background:#20372b;padding:13px;display:flex;gap:8px;justify-content:space-between;align-items:flex-start}
.fivek-mega__categories a:hover{border-color:#d9ff68;background:#2a4934}
.fivek-mega__categories a strong{font:750 12px/1.4 'Space Grotesk',sans-serif;color:#eefaeb;letter-spacing:-.02em}
.fivek-mega__categories a span{color:#d9ff68;font-size:17px;flex:none}
.fivek-mega__expand{margin-top:15px;border-top:1px solid #53755d}
.fivek-mega__expand summary{cursor:pointer;display:flex;justify-content:space-between;gap:12px;list-style:none;padding:14px 3px;color:#d9ff68;font-size:12px;font-weight:900}
.fivek-mega__expand summary::-webkit-details-marker{display:none}
.fivek-mega__expand summary span{font-size:17px;transition:transform .15s}
.fivek-mega__expand[open] summary span{transform:rotate(180deg)}
.fivek-mega__directory{padding:10px 5px 12px;max-height:255px;overflow-y:auto;scrollbar-color:#819f76 #1d3627}
.fivek-mega__directory section{padding-bottom:16px;border-bottom:1px solid #43634e;margin-bottom:16px}
.fivek-mega__directory section:last-child{border-bottom:0;margin-bottom:0}
.fivek-mega__directory h4{font:750 12px/1.4 'Space Grotesk',sans-serif;margin:0 0 9px;color:#fff}
.fivek-mega__directory ul{padding:0;margin:0;list-style:none;display:grid;grid-template-columns:1fr 1fr;gap:7px 12px}
.fivek-mega__directory li a{font-size:11px;line-height:1.5;display:flex;gap:6px;justify-content:space-between;padding:5px 0;color:#d8e9d8}
.fivek-mega__directory li a span{color:#d9ff68}
.fivek-mega__directory li a:hover{color:#d9ff68}
.fivek-mega__bottom{display:flex;align-items:center;flex-wrap:wrap;gap:11px;background:#1c3829;padding:16px 29px;border-top:1px solid #44634d}
.fivek-mega__bottom p{margin:0;flex:1;font-size:11px;color:#d1e6d1;line-height:1.5;min-width:220px}
.fivek-mega__bottom a{padding:10px 14px;border:1px solid #769b81;border-radius:999px;font-size:11px;font-weight:900;color:#eaffdd;white-space:nowrap}
.fivek-mega__bottom a:last-child{background:#d9ff68;color:#12271a;border-color:#d9ff68}
body.fivek-mega-open{overflow:hidden}
@media(max-width:900px){.fivek-mega__content{grid-template-columns:1fr}.fivek-mega__work{border-right:0;border-bottom:1px solid #44634d}.fivek-mega__examples{grid-template-columns:repeat(3,minmax(0,1fr))}.fivek-mega__example:first-child{grid-column:auto;min-height:111px}.fivek-mega__categories{grid-template-columns:repeat(4,minmax(0,1fr))}.fivek-mega__directory{max-height:195px}.fivek-mega{top:75px;max-height:calc(100dvh - 85px)}}
@media(max-width:650px){.fivek-mega{top:62px;width:calc(100vw - 14px);max-height:calc(100dvh - 71px);border-radius:13px}.fivek-mega__top{padding:17px 16px 16px}.fivek-mega__kicker{font-size:8px}.fivek-mega__top h2{font-size:23px}.fivek-mega__top p{font-size:11px}.fivek-mega__close{padding:8px 9px;font-size:11px}.fivek-mega__close span{margin-left:3px}.fivek-mega__work,.fivek-mega__sectors{padding:19px 15px}.fivek-mega__examples{grid-template-columns:1fr 1fr}.fivek-mega__example:first-child{grid-column:1/-1;min-height:85px}.fivek-mega__example{min-height:103px;padding:11px}.fivek-mega__example strong{font-size:17px}.fivek-mega__section-head h3,.fivek-mega__sectors h3{font-size:23px}.fivek-mega__categories{grid-template-columns:1fr 1fr}.fivek-mega__categories a{min-height:67px}.fivek-mega__directory ul{grid-template-columns:1fr}.fivek-mega__bottom{padding:14px 15px}.fivek-mega__bottom p{flex-basis:100%}.fivek-mega-trigger{min-height:42px;font-size:11px;padding:10px 12px}}
@media(prefers-reduced-motion:reduce){.fivek-mega-trigger span,.fivek-mega__example,.fivek-mega__expand summary span{transition:none}}


/* Mobile-first navigation repair — 30 October 2026.
   Avoid three competing header items and prevent Android text autosizing
   from breaking the card grid. Browser zoom and system text settings remain usable. */
html{-webkit-text-size-adjust:100%;text-size-adjust:100%}
.fivek-mega *{min-width:0}
.fivek-mega__example strong,.fivek-mega__categories strong,.fivek-mega__directory a{overflow-wrap:anywhere}
@media(max-width:650px){
  .nav{gap:10px;justify-content:space-between;min-width:0}
  .nav .brand{flex:0 1 auto;min-width:0;gap:8px}
  .nav .brand-icon{flex:none}
  .nav .brand-name{font-size:11px;line-height:1.12}
  .nav .nav-cta{display:none}
  .nav .fivek-mega-trigger{flex:none;min-height:44px;max-width:54vw;padding:9px 12px;font-size:12px;white-space:normal;text-align:center}
  .fivek-mega{position:fixed;top:8px;right:8px;bottom:8px;left:8px;transform:none;width:auto;max-height:none;border-radius:15px;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain}
  .fivek-mega__top{position:sticky;top:0;z-index:3;align-items:center;gap:12px;padding:14px 16px;background:#142e22}
  .fivek-mega__top h2{font-size:20px;line-height:1.15;letter-spacing:-.045em;margin:4px 0 0}
  .fivek-mega__kicker{display:block;font-size:9px;line-height:1.4;letter-spacing:.075em}
  .fivek-mega__top p{display:none}
  .fivek-mega__close{min-width:61px;min-height:44px;padding:8px 10px}
  .fivek-mega__content{display:block;width:100%;min-width:0}
  .fivek-mega__work,.fivek-mega__sectors{padding:16px}
  .fivek-mega__work{border-bottom:1px solid #47664f}
  .fivek-mega__section-head{align-items:center;gap:10px;margin-bottom:13px}
  .fivek-mega__section-head h3,.fivek-mega__sectors h3{font-size:19px;line-height:1.2;margin-top:4px}
  .fivek-mega__number{font-size:10px;letter-spacing:.09em}
  .fivek-mega__view-all{font-size:12px;line-height:1.2;flex:none;max-width:100px;white-space:normal;text-align:right}
  .fivek-mega__examples{display:grid;grid-template-columns:minmax(0,1fr);gap:8px;width:100%}
  .fivek-mega__example,.fivek-mega__example:first-child{grid-column:auto;min-height:0;display:flex;flex-direction:column;align-items:stretch;gap:2px;padding:10px 13px;border-radius:9px}
  .fivek-mega__example-type{font-size:10px;line-height:1.35;letter-spacing:.04em;gap:8px}
  .fivek-mega__example strong{display:block;font-size:16px;line-height:1.25;letter-spacing:-.02em;margin:1px 0 0}
  .fivek-mega__example small{display:block;font-size:11px;line-height:1.35;overflow-wrap:anywhere}
  .fivek-mega__work-note{display:none}
  .fivek-mega__sectors h3{margin:5px 0 0}
  .fivek-mega__sector-note,.fivek-mega__categories{display:none}
  .fivek-mega__expand{margin-top:12px;border-top:0}
  .fivek-mega__expand summary{min-height:48px;align-items:center;padding:12px 13px;border:1px solid #627962;border-radius:10px;background:#223c2b;font-size:13px;color:#e9f8da}
  .fivek-mega__expand[open] summary{border-bottom-left-radius:0;border-bottom-right-radius:0}
  .fivek-mega__directory{max-height:none;overflow:visible;padding:14px 12px 4px;background:#193427;border:1px solid #627962;border-top:0;border-radius:0 0 10px 10px}
  .fivek-mega__directory h4{font-size:13px}
  .fivek-mega__directory ul{grid-template-columns:minmax(0,1fr);gap:5px}
  .fivek-mega__directory li a{font-size:13px;min-height:38px;align-items:center;padding:8px 0}
  .fivek-mega__bottom{position:sticky;bottom:0;z-index:2;padding:12px 16px;background:#183b2b;display:block}
  .fivek-mega__bottom p,.fivek-mega__bottom a:first-of-type{display:none}
  .fivek-mega__bottom a:last-child{display:flex;align-items:center;justify-content:space-between;min-height:48px;padding:12px 16px;font-size:14px;white-space:normal}
}
@media(max-width:360px){
  .nav .brand-name{font-size:10px}
  .nav .fivek-mega-trigger{font-size:11px;padding:8px 9px}
  .fivek-mega__top h2{font-size:18px}
  .fivek-mega__section-head h3{font-size:17px}
}

/* Keep decorative orbits, tabs and marquees from causing document-wide sideways scrolling. */
html,body{overflow-x:clip}
