/* site/navigation.css */
/* A warm architectural mast with a color emblem and real destination names.
 * The emblem's x coordinate NEVER changes. Only the wordmark and secondary
 * controls disappear in compact mode, managed by editorial.js. Scope every
 * selector to site-mast so legacy page header and form rules cannot leak in.
 * The only SVG icon in this mast is search. Mobile uses a named Menu disclosure. */
.phosphor-theme .site-mast{position:sticky;top:10px;z-index:50;box-sizing:border-box;display:flex;align-items:center;justify-content:flex-end;flex-wrap:nowrap;gap:16px;height:80px;margin:14px 24px 0;padding:0 22px;background:#f5f4f0f5;color:#171b1c;border:0;border-radius:18px;box-shadow:0 8px 30px #171b1c05;max-width:none;backdrop-filter:blur(18px);font-family:Phosphor Sans,Arial,sans-serif}
.phosphor-theme .site-mast :is(a,summary){text-decoration:none!important;border:0;box-shadow:none;cursor:pointer}
.phosphor-theme .site-mast .home-brand{position:absolute;left:24px;top:50%;transform:translateY(-50%);display:flex;align-items:center;gap:11px;min-height:44px;text-decoration:none;color:#171b1c;white-space:nowrap;transition:none;line-height:1}
.phosphor-theme .site-mast .home-brand img{display:block;width:64px;height:29px;object-fit:contain;max-height:none;padding:0;margin:0;background:transparent;border-radius:0;filter:none;flex:none}
.phosphor-theme .site-mast .brand-name{display:block;max-width:190px;overflow:hidden;opacity:1;font-size:18px;font-weight:600;letter-spacing:-.045em;line-height:1.1}
.phosphor-theme .site-mast .brand-name span{display:inline;font:inherit;letter-spacing:inherit;margin:0}
.phosphor-theme .site-mast .mast-links{display:flex;gap:2px;flex-wrap:nowrap;margin:0 0 0 auto;padding:0;max-width:none;width:auto}
.phosphor-theme .site-mast .mast-links a,.phosphor-theme .site-mast .mast-briefs{display:inline-flex;align-items:center;justify-content:center;width:auto;height:44px;min-height:44px;padding:0 12px;border-radius:9px;background:transparent;color:#5f615c;font-size:12px;font-weight:400;white-space:nowrap}
.phosphor-theme .site-mast .mast-links a[aria-current]{background:#e8e2d8;color:#171b1c}
.phosphor-theme .site-mast :is(.mast-links a,.mast-briefs):hover{background:#e8e2d8;color:#171b1c}
.phosphor-theme .site-mast .mast-tools{display:flex;align-items:center;gap:4px;margin:0}
.phosphor-theme .site-mast .mast-cta{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 17px;background:#b4d62f;color:#171b1c;border-radius:10px;font-size:12px;font-weight:600;white-space:nowrap}
.phosphor-theme .site-mast .mast-cta:hover{background:#c4df5b}
.phosphor-theme .site-mast .global-search{position:static;display:block;flex:none;width:44px;min-width:44px;height:44px;margin:0;padding:0;border:0;background:transparent;border-radius:10px}
.phosphor-theme .site-mast .global-search summary{display:grid;place-items:center;width:44px;height:44px;margin:0;padding:10px;border-radius:10px;color:#171b1c;background:transparent;list-style:none}
.phosphor-theme .site-mast summary::-webkit-details-marker{display:none}
.phosphor-theme .site-mast .global-search summary svg{display:block;width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round}
.phosphor-theme .site-mast .global-search summary:hover,.phosphor-theme .site-mast .global-search[open] summary{background:#e8e2d8}
.phosphor-theme .site-mast .global-search[open] .search-expansion{position:absolute;top:calc(100% + 10px);left:auto;right:0;width:min(390px,100%);height:auto;box-sizing:border-box;padding:24px;background:#f5f4f0;border:0;border-radius:16px;box-shadow:0 16px 40px #171b1c14;z-index:10;opacity:1}
.phosphor-theme .site-mast .search-expansion label{display:block;font-size:15px;font-weight:600;margin:0 0 14px;color:#171b1c}
.phosphor-theme .site-mast .search-expansion input{box-sizing:border-box;width:100%;min-width:0;min-height:48px;padding:12px 14px;border:0;border-radius:9px;background:#e8e2d8;color:#171b1c;font:16px/1.5 Phosphor Sans,Arial,sans-serif;outline-offset:3px}
.phosphor-theme .site-mast .search-expansion input::placeholder{color:#5f615c}
.phosphor-theme .site-mast .search-expansion p{font-size:11px;color:#5f615c;line-height:1.6;margin:12px 0 0}
.phosphor-theme .site-mast .global-search:not([open]) .search-expansion{display:none}
.phosphor-theme .site-mast .nav-menu{display:none;margin:0;padding:0;border:0}
.phosphor-theme .site-mast :is(a,summary,input):focus-visible{outline:2px solid #171b1c;outline-offset:4px}
.phosphor-theme .site-mast[data-compact=true]{background:transparent;box-shadow:none;backdrop-filter:none;pointer-events:none}
.phosphor-theme .site-mast[data-compact=true] .home-brand{left:24px;transform:translateY(-50%);gap:11px;pointer-events:auto}
.phosphor-theme .site-mast[data-compact=true] .brand-name{max-width:0;opacity:0}
.phosphor-theme .site-mast[data-compact=true]>:not(.home-brand){visibility:hidden;opacity:0;pointer-events:none}
.phosphor-theme .site-mast .sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;clip:rect(0,0,0,0);overflow:hidden;white-space:nowrap}
@media(min-width:981px) and (max-width:1180px){.phosphor-theme .site-mast{gap:8px;padding-right:16px}.phosphor-theme .site-mast .home-brand img{width:58px}.phosphor-theme .site-mast .brand-name{font-size:16px}.phosphor-theme .site-mast .mast-links a{padding:0 9px;font-size:11px}.phosphor-theme .site-mast .mast-briefs{display:none}.phosphor-theme .site-mast .mast-cta{padding:0 14px}}
@media(max-width:980px){
 .phosphor-theme .site-mast{height:72px;margin:10px 12px 0;padding:0 14px;gap:0;border-radius:16px;top:8px}
 .phosphor-theme .site-mast .home-brand,.phosphor-theme .site-mast[data-compact=true] .home-brand{left:18px}
 .phosphor-theme .site-mast .home-brand img{width:58px;height:28px}
 .phosphor-theme .site-mast .brand-name{font-size:17px}
 .phosphor-theme .site-mast .mast-links,.phosphor-theme .site-mast .mast-briefs,.phosphor-theme .site-mast .mast-cta{display:none}
 .phosphor-theme .site-mast .mast-tools{margin-left:auto}
 .phosphor-theme .site-mast .nav-menu{display:block}
 .phosphor-theme .site-mast .nav-menu>summary{display:flex;align-items:center;justify-content:center;min-width:54px;height:44px;padding:0 10px;border-radius:10px;font-size:13px;color:#171b1c;background:transparent;list-style:none}
 .phosphor-theme .site-mast .nav-menu>summary:hover,.phosphor-theme .site-mast .nav-menu[open]>summary{background:#e8e2d8}
 .phosphor-theme .site-mast .menu-open{display:none}
 .phosphor-theme .site-mast .nav-menu[open] .menu-open{display:inline}
 .phosphor-theme .site-mast .nav-menu[open] .menu-closed{display:none}
 .phosphor-theme .site-mast .nav-drawer{position:absolute;top:calc(100% + 10px);left:0;right:0;display:grid;grid-template-columns:.85fr 1.15fr;gap:24px;padding:28px;background:#f5f4f0;border-radius:18px;box-shadow:0 16px 40px #171b1c14;max-height:calc(100dvh - 114px);overflow:auto;overscroll-behavior:contain;max-width:none;margin:0;box-sizing:border-box}
 .phosphor-theme .site-mast .nav-menu:not([open]) .nav-drawer{display:none}
 .phosphor-theme .site-mast .drawer-intro{display:flex;flex-direction:column;min-width:0;padding:8px 0 0}
 .phosphor-theme .site-mast .drawer-intro>span{font:9px/1.6 Phosphor Mono,monospace;letter-spacing:.08em;color:#5f615c}
 .phosphor-theme .site-mast .drawer-intro p{font-size:24px;line-height:1.1;letter-spacing:-.045em;color:#171b1c;margin:20px 0}
 .phosphor-theme .site-mast .drawer-intro img{display:block;width:100%;height:auto;max-height:none;aspect-ratio:auto;object-fit:contain;background:none;border-radius:0;margin-top:auto}
 .phosphor-theme .site-mast .drawer-links{display:grid;gap:2px}
 .phosphor-theme .site-mast .drawer-links>a{display:flex;align-items:center;width:auto;min-height:46px;height:auto;margin:0;padding:10px 12px;background:transparent;border-radius:9px;color:#171b1c;font-size:17px;line-height:1.4;letter-spacing:-.025em}
 .phosphor-theme .site-mast .drawer-links>a:hover{background:#e8e2d8}
 .phosphor-theme .site-mast .drawer-links>a.drawer-cta{font-size:13px;font-weight:600;background:#b4d62f;margin-top:12px;justify-content:center;letter-spacing:0}
}
@media(max-width:480px){.phosphor-theme .site-mast .brand-name{font-size:15px;display:flex;flex-direction:column;align-items:flex-start;gap:2px;max-width:110px}.phosphor-theme .site-mast .brand-name span:last-child{font-size:11px;letter-spacing:.06em}.phosphor-theme .site-mast .home-brand img{width:52px;height:26px}.phosphor-theme .site-mast .home-brand{gap:9px}.phosphor-theme .site-mast .nav-drawer{padding:22px 16px;grid-template-columns:.8fr 1.2fr;gap:10px}.phosphor-theme .site-mast .drawer-intro p{font-size:21px}.phosphor-theme .site-mast .drawer-links>a{font-size:16px}}
@media(prefers-reduced-motion:no-preference){.phosphor-theme .site-mast .brand-name{transition:max-width .24s ease,opacity .16s ease}.phosphor-theme .site-mast>nav,.phosphor-theme .site-mast>.mast-tools{transition:opacity .16s ease}.phosphor-theme .site-mast :is(.mast-links a,.mast-cta,.nav-menu>summary){transition:background .16s ease,color .16s ease}}
@media print{.phosphor-theme .site-mast{display:none!important}}

.phosphor-theme .site-mast:has(.global-search[open]){padding-bottom:0}

/* Dealer entry is a named destination, not an invented authorized-dealer badge.
 * Keep the logo stationary while navigation remains compact on narrow desktops. */
.phosphor-theme .site-mast .mast-dealer{color:#171b1c}
@media(min-width:981px) and (max-width:1180px){.phosphor-theme .site-mast .mast-links a{font-size:10px;padding:0 7px}.phosphor-theme .site-mast .mast-cta{font-size:11px;padding:0 12px}.phosphor-theme .site-mast .brand-name{font-size:15px;max-width:145px}}
.phosphor-theme .site-mast .drawer-email{font-size:11px;color:#5f615c;background:transparent;min-height:44px;display:flex;align-items:center}
.phosphor-theme .site-mast .drawer-links>a.drawer-cta{font-size:12px}

.phosphor-theme .site-mast .drawer-email{width:auto;max-width:100%;padding:0;white-space:nowrap;font-size:11px}
