/* Pixel Outline navigation. Scoped to avoid changing homepage sections. */
:root { --po-header-height: 120px; --po-gutter: var(--container-gutter); }
html { scroll-padding-top: calc(var(--po-header-height) + 24px); }
.po-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid #e5e5e5; isolation: isolate; }
.po-header-inner, .po-mega-inner { width: 100%; max-width: var(--container-max); margin-inline: auto; padding-inline: var(--po-gutter); }
.po-header-inner { min-height: var(--po-header-height); display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.po-brand { display: block; flex: 0 0 auto; width: clamp(220px, 18.1vw, 280px); }
.po-brand img { display: block; width: 100%; height: auto; }
.po-header button, .po-mobile-menu button { font-family: inherit; cursor: pointer; }
.po-header [hidden], .po-mobile-menu [hidden] { display: none !important; }
.po-header a, .po-mobile-menu a { text-decoration: none; }
.po-header a:focus-visible, .po-header button:focus-visible, .po-mobile-menu a:focus-visible, .po-mobile-menu button:focus-visible, .po-mobile-menu summary:focus-visible { outline: 2px solid #c62828; outline-offset: 5px; }
.po-desktop { display: flex; flex-direction: row; align-items: center; gap: clamp(30px, 4vw, 60px); width: auto; padding: 0; }
.po-nav-list { display: flex; align-items: center; gap: clamp(24px, 2.5vw, 36px); padding: 0; margin: 0; list-style: none; }
.po-nav-link { display: inline-flex; align-items: center; gap: 12px; position: relative; min-height: 48px; padding: 8px 0; border: 0; background: none; font-size: 16px; font-weight: 500; line-height: 1.4; color: #141414; white-space: nowrap; }
.po-nav-link::after { content: ''; position: absolute; bottom: -7px; left: calc(50% - 3px); width: 6px; height: 6px; background: #e53935; transform: translateY(4px) scale(.6); opacity: 0; transition: opacity 160ms ease-out, transform 160ms ease-out; }
.po-nav-link:hover, .po-nav-link:focus-visible { color: #141414; }
.po-nav-link:is(:hover, :focus-visible, [aria-expanded="true"])::after { opacity: 1; transform: translateY(0) scale(1); }
.po-plus { position: relative; display: inline-block; flex: 0 0 14px; width: 14px; height: 14px; color: inherit; }
.po-plus::before, .po-plus::after { content: ''; position: absolute; top: 6px; left: 1px; width: 12px; height: 1.5px; background: currentColor; transition: transform 180ms ease-out; }
.po-plus::after { transform: rotate(90deg); }
[aria-expanded="true"] > .po-plus::after, details[open] > summary > .po-plus::after { transform: rotate(0); }
.po-project { display: inline-flex; min-height: 56px; align-items: center; justify-content: space-between; gap: 24px; padding: 16px 22px; border-radius: 2px; background: #c62828; color: #fff; font-size: 15px; font-weight: 600; line-height: 1.4; white-space: nowrap; transition: background-color 160ms ease-out; }
.po-project:hover, .po-project:focus-visible { background: #a61b1b; color: #fff; }
.po-arrow { display: inline-block; font-size: 21px; line-height: 1; transition: transform 160ms ease-out, opacity 160ms ease-out; }
.po-header a:is(:hover, :focus-visible) > .po-arrow, .po-mobile-menu a:is(:hover, :focus-visible) > .po-arrow { transform: translate(3px, -3px); }
.po-mobile-toggle { display: none; }
.po-backdrop { position: fixed; inset: var(--po-header-height) 0 0; z-index: -1; background: rgb(20 20 20 / 24%); opacity: 0; visibility: hidden; transition: opacity 180ms ease-out, visibility 180ms; }
.po-header.is-services-open .po-backdrop { opacity: 1; visibility: visible; }
.po-mega { position: absolute; top: 100%; left: 0; width: 100%; max-height: calc(100dvh - var(--po-header-height)); overflow-y: auto; overscroll-behavior: contain; color: #fff; background: #141414; visibility: hidden; clip-path: inset(0 0 100% 0); pointer-events: none; transition: clip-path 180ms ease-in, visibility 180ms; }
.po-header.is-services-open .po-mega { visibility: visible; clip-path: inset(0 0 0 0); pointer-events: auto; transition: clip-path 280ms cubic-bezier(.22, 1, .36, 1), visibility 0ms; }
.po-mega-inner { padding-top: 28px; padding-bottom: 24px; }
.po-menu-caption { display: flex; align-items: center; gap: 12px; margin: 0 0 32px; color: #bdbdbd; text-transform: uppercase; font-size: 11px; font-weight: 600; letter-spacing: .08em; line-height: 1.6; }
.po-menu-caption > span { width: 7px; height: 7px; background: #e53935; }
.po-service-grid { display: grid; grid-template-columns: 1.35fr 1fr 1fr 1.05fr; gap: clamp(24px, 2.8vw, 42px); }
.po-service-group { min-width: 0; opacity: 0; transform: translateY(8px); transition: opacity 120ms, transform 180ms ease-out; }
.po-header.is-services-open .po-service-group { opacity: 1; transform: none; transition-duration: 180ms; transition-delay: 50ms; }
.po-header.is-services-open .po-service-group:nth-child(2) { transition-delay: 75ms; }
.po-header.is-services-open .po-service-group:nth-child(3) { transition-delay: 100ms; }
.po-header.is-services-open .po-service-group:nth-child(4) { transition-delay: 125ms; }
.po-service-group:first-child { border-right: 1px solid #383838; padding-right: 24px; }
.po-group-label { display: block; margin-bottom: 20px; color: #bdbdbd; font-size: 11px; font-weight: 500; letter-spacing: .07em; }
.po-service-group h2 { margin: 0 0 24px; color: #fff; font-size: clamp(27px, 2.25vw, 34px); font-weight: 600; line-height: 1.13; letter-spacing: -.025em; }
.po-service-group h2 a { color: #fff; }
.po-service-group h2 a:hover { text-decoration: underline; text-underline-offset: 7px; text-decoration-thickness: 1px; }
.po-service-links { display: grid; gap: 2px; list-style: none; margin: 0; padding: 0; }
.po-service-links a { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 36px; padding: 6px 0; color: #bdbdbd; font-size: 14px; font-weight: 400; line-height: 1.5; }
.po-service-links .po-arrow { flex: 0 0 auto; font-size: 16px; opacity: 0; }
.po-service-links a:is(:hover, :focus-visible) { color: #fff; }
.po-service-links a:is(:hover, :focus-visible) .po-arrow { opacity: 1; }
.po-support { display: flex; flex-direction: column; align-self: stretch; background: #202020; padding: 26px; }
.po-support h2 { font-size: clamp(24px, 2vw, 30px); }
.po-support p { color: #bdbdbd; font-size: 15px; line-height: 1.6; margin: 0 0 24px; }
.po-support-link { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: auto; border-top: 1px solid #383838; padding-top: 24px; color: #fff; font-size: 14px; font-weight: 600; }
.po-support-link:hover { color: #fff; }
.po-support-pixel { display: block; width: 12px; height: 12px; background: #e53935; align-self: end; margin-top: 28px; }
.po-mega-bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; border-top: 1px solid #383838; padding-top: 20px; margin-top: 32px; }
.po-mega-bottom p { color: #bdbdbd; font-size: 13px; }
.po-mega-bottom a { display: inline-flex; align-items: center; gap: 32px; color: #fff; font-size: 14px; font-weight: 500; }
.po-mega a:focus-visible { outline-color: #fff; }
.po-mobile-menu { border: 0; padding: 0; margin: 0; width: 100%; max-width: none; height: 100dvh; max-height: none; inset: 0; background: #141414; color: #fff; overflow: hidden; }
.po-mobile-menu[open] { display: flex; flex-direction: column; }
.po-mobile-menu::backdrop { background: rgb(20 20 20 / 30%); }
.po-mobile-masthead { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-shrink: 0; min-height: var(--po-header-height); padding: 0 24px; background: #fff; color: #141414; border-bottom: 1px solid #e5e5e5; }
.po-mobile-close, .po-mobile-toggle { align-items: center; justify-content: center; gap: 14px; min-width: 78px; min-height: 44px; padding: 8px 0 8px 8px; border: 0; background: none; color: #141414; font-size: 14px; font-weight: 500; line-height: 1.4; }
.po-mobile-close { display: inline-flex; }
.po-menu-icon, .po-close-icon { display: inline-block; position: relative; width: 19px; height: 19px; }
.po-menu-icon::before, .po-menu-icon::after, .po-close-icon::before, .po-close-icon::after { content: ''; position: absolute; left: 1px; width: 17px; height: 1.5px; background: currentColor; }
.po-menu-icon::before { top: 6px; }
.po-menu-icon::after { top: 12px; }
.po-close-icon::before { top: 9px; transform: rotate(45deg); }
.po-close-icon::after { top: 9px; transform: rotate(-45deg); }
.po-mobile-scroll { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 30px 24px 28px; }
.po-mobile-nav { display: block; width: 100%; padding: 0; }
.po-mobile-menu details { border: 0; padding: 0; margin: 0; }
.po-mobile-menu summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 80px; padding: 12px 0; font-size: clamp(28px, 7vw, 36px); font-weight: 500; line-height: 1.3; list-style: none; color: #fff; }
.po-mobile-menu summary::-webkit-details-marker { display: none; }
.po-mobile-menu details summary > span { font: inherit; color: inherit; transform: none; }
.po-mobile-menu .po-plus { font-size: 14px; }
.po-mobile-services > summary, .po-mobile-link { border-bottom: 1px solid #383838; }
.po-mobile-link { display: flex; justify-content: space-between; align-items: center; min-height: 80px; padding: 12px 0; color: #fff; font-size: clamp(28px, 7vw, 36px); font-weight: 500; line-height: 1.3; }
.po-mobile-link .po-arrow { font-size: 26px; color: #bdbdbd; }
.po-mobile-link:hover { color: #fff; }
.po-mobile-groups { padding: 8px 0 16px; }
.po-mobile-group + .po-mobile-group { border-top: 1px solid #383838; }
.po-mobile-group > summary { display: grid; grid-template-columns: 22px 1fr 14px; gap: 12px; min-height: 68px; font-size: clamp(18px, 4.8vw, 23px); }
.po-mobile-group > summary .po-mobile-number { font-size: 11px; font-weight: 400; color: #bdbdbd; }
.po-mobile-group .po-service-links { padding: 0 0 16px 34px; }
.po-mobile-group .po-service-links a { min-height: 44px; font-size: 15px; padding: 10px 0; }
.po-mobile-menu .po-mobile-message { padding: 0; margin-top: 56px; font-size: 24px; font-weight: 400; line-height: 1.4; color: #bdbdbd; }
.po-mobile-message > span { display: block; width: 8px; height: 8px; background: #e53935; margin-bottom: 20px; }
.po-mobile-bottom { flex-shrink: 0; background: #141414; padding: 16px 24px max(20px, env(safe-area-inset-bottom)); border-top: 1px solid #383838; }
.po-mobile-bottom .po-project { display: flex; width: 100%; min-height: 56px; }
.po-mobile-scroll a:focus-visible, .po-mobile-scroll summary:focus-visible, .po-mobile-bottom a:focus-visible { outline-color: #fff; outline-offset: 3px; }
html.po-scroll-locked, html.po-scroll-locked body { overflow: hidden; }
.po-mobile-menu.is-entering .po-mobile-scroll { animation: po-menu-enter 240ms cubic-bezier(.22, 1, .36, 1) both; }
@keyframes po-menu-enter { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (max-width: 1099px) {
    :root { --po-header-height: 84px; --po-gutter: 24px; }
    .po-header-inner { gap: 12px; }
    .po-brand { width: 200px; }
    .po-header.is-enhanced .po-desktop { display: none; }
    .po-header.is-enhanced .po-mobile-toggle { display: inline-flex; }
    .po-header:not(.is-enhanced) .po-header-inner { flex-wrap: wrap; padding-block: 16px; }
    .po-header:not(.is-enhanced) .po-desktop { display: flex; flex-wrap: wrap; gap: 16px; width: 100%; }
    .po-header:not(.is-enhanced) .po-nav-list { flex-wrap: wrap; gap: 20px; }
    .po-backdrop, .po-mega { display: none; }
}
@media (max-width: 359px) {
    :root { --po-gutter: 18px; }
    .po-brand { width: 180px; }
    .po-mobile-masthead, .po-mobile-scroll { padding-inline: 18px; }
    .po-mobile-bottom { padding-inline: 18px; }
    .po-mobile-toggle, .po-mobile-close { gap: 10px; min-width: 70px; }
}
@media (prefers-reduced-motion: reduce) {
    .po-header *, .po-header *::before, .po-header *::after, .po-mobile-menu * { animation: none !important; transition: none !important; }
}
