/* Shared, quiet navigation; content and destination URLs stay unchanged. */
.area-subnav.area-subnav{position:sticky;top:92px;z-index:19;display:flex;flex-wrap:nowrap;align-items:center;gap:32px;min-height:56px;margin-block:0;padding:6px 0;background:var(--paper);border-bottom:1px solid var(--line);overflow-x:auto;scrollbar-width:thin}
.area-subnav.area-subnav a{flex:0 0 auto;display:flex;align-items:center;min-height:44px;padding:8px 0;border:0;color:var(--muted);font-family:var(--sans);font-size:14px;line-height:1.6;white-space:nowrap;text-decoration:none!important;font-weight:400;font-synthesis:weight}
.area-subnav.area-subnav a[aria-current],.mobile-parent[aria-current]{color:var(--ink);font-weight:700}
.area-subnav a:focus-visible,.mobile-disclosure:focus-visible,.mobile-parent:focus-visible{outline:2px solid var(--ink);outline-offset:-2px;border-radius:2px}
.restored-greeting{scroll-margin-top:164px}
.mobile-group-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}
.mobile-nav .mobile-parent{flex:1;font-weight:500}
.mobile-nav .mobile-parent[aria-current]{font-weight:700}
.mobile-disclosure{flex:0 0 44px;width:44px;height:44px;border:0;background:transparent;color:var(--ink);font-size:24px}
.mobile-disclosure[aria-expanded=true] span{display:inline-block;transform:rotate(180deg)}
.gallery-section-index{display:flex;gap:28px;overflow-x:auto;padding-block:18px;font-size:14px;color:var(--muted)}
.gallery-section-index a{white-space:nowrap;text-decoration:none;min-height:44px;display:flex;align-items:center}
.gallery-section-index a.active{font-weight:700;color:var(--ink)}
.gallery-page .primary-nav{margin-left:auto}
.gallery-page .mega-inner{width:min(1280px,calc(100% - 112px))}
.gallery-page .mega-trigger{font-weight:500}
.gallery-page .mega-trigger.is-current{font-weight:700}
@media(max-width:760px){
.area-subnav.area-subnav{position:relative;top:auto;z-index:1;gap:24px;min-height:50px;padding:3px 2px;overscroll-behavior-x:contain}
.area-subnav.area-subnav a{font-size:14px}
.restored-greeting{scroll-margin-top:90px}
.mobile-nav .mega-group{padding:8px 0}
.mobile-nav .mobile-group-heading .mobile-parent{width:auto;font-size:16px;padding:10px 0}
.mobile-nav .mega-group>div[id] a{padding-left:16px;font-size:15px}
.gallery-page .menu-toggle{width:auto;align-items:center;font-size:14px}
.gallery-section-index{gap:24px;padding-block:10px}
}

/* Gallery uses one local contents bar instead of two navigation rows. */
.gallery-page .gallery-section-index{position:sticky;top:92px;z-index:19;align-items:center;gap:32px;min-height:56px;margin-block:0;padding:6px 0;background:var(--paper);border-bottom:1px solid var(--line);overflow-x:auto;scrollbar-width:thin;overscroll-behavior-x:contain}
.gallery-page .gallery-section-index a{display:grid;flex:0 0 auto;align-items:center;min-height:44px;padding:8px 0;font-size:14px;line-height:1.6;font-weight:400;font-synthesis:weight;text-decoration:none}
.gallery-page .gallery-section-index a::after{content:attr(data-label);font-weight:700;visibility:hidden;grid-area:1/1;height:0;overflow:hidden}
.gallery-page .gallery-section-index a.active{font-weight:700;color:var(--ink)}
.gallery-page{scroll-padding-top:164px}
html:has(.gallery-page){scroll-padding-top:164px}
@media(max-width:760px){.gallery-page .gallery-section-index{position:relative;top:auto;z-index:1;gap:24px;min-height:50px;padding:3px 2px}html:has(.gallery-page){scroll-padding-top:90px}}

/* Full-width opaque backing; inner links align with the gallery content. */
.gallery-page .gallery-subnav-bar{position:sticky;top:92px;z-index:19;width:100%;background:var(--paper);border-bottom:1px solid var(--line)}
.gallery-page .gallery-subnav-bar .gallery-section-index{position:static;top:auto;z-index:auto;border-bottom:0;background:transparent}
@media(max-width:760px){.gallery-page .gallery-subnav-bar{position:relative;top:auto;z-index:1}.gallery-page .gallery-subnav-bar .gallery-section-index{padding-inline:0}}

@media(min-width:761px){html:has(.gallery-page){scroll-padding-top:149px}}

/* Brand-area backing spans the viewport; text retains the original content grid. */
.brand-subnav-bar{position:sticky;top:92px;z-index:19;width:100%;background:var(--brand-nav-bg,var(--paper));border-bottom:1px solid var(--line)}
.brand-subnav-bar .area-subnav.area-subnav{position:static;top:auto;z-index:auto;background:transparent;border:0}
.brand-subnav-bar .area-subnav a,.brand-subnav-bar .area-subnav a:hover{border:0;text-decoration:none!important}
.brand-subnav-bar .area-subnav a[aria-current]{font-weight:700}
@media(max-width:760px){.brand-subnav-bar{position:relative;top:auto;z-index:1}.brand-subnav-bar .area-subnav.area-subnav{padding-inline:0}}

@media(min-width:761px){main:has(.brand-subnav-bar) .restored-greeting{scroll-margin-top:39px}}
@media(max-width:760px){main:has(.brand-subnav-bar) .restored-greeting{scroll-margin-top:0}}
