/* Stable native Group palettes: each scene is independent of its siblings and order. */
.agency-preview .is-style-agp-white{--agp-scene-bg:#fff;--agp-scene-ink:#393939;--agp-cta-bg:#ad0d0d;--agp-cta-ink:#fff;--agp-scene-line:#d9d9d5}
.agency-preview .is-style-agp-graphite{--agp-scene-bg:#393939;--agp-scene-ink:#fff;--agp-cta-bg:#fff;--agp-cta-ink:#393939;--agp-scene-line:#ffffff55}
.agency-preview .is-style-agp-red{--agp-scene-bg:#ad0d0d;--agp-scene-ink:#fff;--agp-cta-bg:#fff;--agp-cta-ink:#393939;--agp-scene-line:#ffffff66}
.agency-preview .is-style-agp-blue{--agp-scene-bg:#6e7e94;--agp-scene-ink:#111;--agp-cta-bg:#393939;--agp-cta-ink:#fff;--agp-scene-line:#11111155}
.agency-preview .is-style-agp-gold{--agp-scene-bg:#e69716;--agp-scene-ink:#292929;--agp-cta-bg:#393939;--agp-cta-ink:#fff;--agp-scene-line:#29292955}
.agency-preview :is(.is-style-agp-white,.is-style-agp-graphite,.is-style-agp-red,.is-style-agp-blue,.is-style-agp-gold){background:var(--agp-scene-bg)!important;color:var(--agp-scene-ink)!important}
.agency-preview :is(.is-style-agp-white,.is-style-agp-graphite,.is-style-agp-red,.is-style-agp-blue,.is-style-agp-gold) :is(h1,h2,h3,h4,h5,h6,p,li,time,a,button){color:var(--agp-scene-ink)!important;opacity:1}
.agency-preview :is(.is-style-agp-white,.is-style-agp-graphite,.is-style-agp-red,.is-style-agp-blue,.is-style-agp-gold) :is(.agp-card,.agp-news-card,.agp-native-enterprise-card):not(:is(.is-style-agp-white,.is-style-agp-graphite,.is-style-agp-red,.is-style-agp-blue,.is-style-agp-gold)){--agp-scene-bg:#fff;--agp-scene-ink:#393939;--agp-cta-bg:#ad0d0d;--agp-cta-ink:#fff;background:#fff!important;color:#393939!important}
.agency-preview :is(.is-style-agp-white,.is-style-agp-graphite,.is-style-agp-red,.is-style-agp-blue,.is-style-agp-gold) :is(.agp-card,.agp-news-card,.agp-native-enterprise-card) :where(h2,h3,h4,p,a,time){color:var(--agp-scene-ink)!important}
.agency-preview :is(.is-style-agp-white,.is-style-agp-graphite,.is-style-agp-red,.is-style-agp-blue,.is-style-agp-gold) :is(.agp-tabs,.agp-committee-list li){border-color:var(--agp-scene-line)}
.agency-preview :is(.is-style-agp-white,.is-style-agp-graphite,.is-style-agp-red,.is-style-agp-blue,.is-style-agp-gold) .agp-tabs button[aria-selected=true]{border-color:currentColor;color:var(--agp-scene-ink)}
.agency-preview .agency-core-page #press .agp-news-card{padding:24px;min-width:0}
.agency-preview .agency-core-page #press .agp-news-card h3{font-size:25px;line-height:1.2}
.agency-preview .agency-core-page #press .agp-news-card time{margin-top:0}
.agency-preview .agency-core-page #press .agp-news-card img+time{margin-top:20px}
.agency-preview .agency-core-page .agp-native-demo{margin:0;padding:0}
.agency-preview .agency-core-page .agp-native-demo>.agp-demo-event{padding-top:64px;padding-bottom:64px}
.agency-preview .agency-core-page .agp-native-form>.agp-section{background:transparent}
.agency-preview :is(.is-style-agp-white,.is-style-agp-graphite,.is-style-agp-red,.is-style-agp-blue,.is-style-agp-gold) :is(.agp-button,.wp-block-button__link){background:var(--agp-cta-bg)!important;color:var(--agp-cta-ink)!important;border-color:var(--agp-cta-bg)!important}
.agency-preview :is(.is-style-agp-white,.is-style-agp-graphite,.is-style-agp-red,.is-style-agp-blue,.is-style-agp-gold) :is(.agp-button-secondary,.agp-native-button-secondary .wp-block-button__link){background:transparent!important;color:var(--agp-scene-ink)!important;border-color:var(--agp-scene-line)!important}
/* Named native scenes have generous section space; subsection paragraphs are not boxed. */
.agency-preview .agp-section-block:is(.is-style-agp-white,.is-style-agp-graphite,.is-style-agp-red,.is-style-agp-blue,.is-style-agp-gold){padding:40px;margin:48px 0}
.agency-preview .agp-section-block.is-style-agp-white{padding-left:0;padding-right:0}
.agency-preview .agp-subsection{margin:32px 0}
.agency-preview .agp-subsection>.wp-block-group__inner-container{display:contents}
.agency-preview .agp-subsection h3{font-size:27px;line-height:1.2}
.agency-preview .agp-subsection .agp-card h4{font-size:23px;line-height:1.25;min-height:2.5em;margin:0 0 20px;hyphens:none;overflow-wrap:anywhere}
.agency-preview .agp-link-card{position:relative;min-width:0;transition:box-shadow 180ms ease,transform 180ms ease}
.agency-preview .agp-link-card :is(h2,h3,h4) a{position:static}
.agency-preview .agp-link-card :is(h2,h3,h4) a:after{content:"";position:absolute;inset:0;z-index:1}
.agency-preview .agp-link-card:hover{transform:translateY(-2px);box-shadow:0 8px 24px #0002}
.agency-preview .agp-link-card:focus-within{outline:3px solid #e69716;outline-offset:4px}
/* Compact sticky shared header; top-level labels and chevrons stay on one row. */
.agency-preview{--agp-sticky-offset:82px}
.agency-preview [id]{scroll-margin-top:calc(var(--agp-sticky-offset) + 12px)}
.agency-preview .agp-header{position:sticky;top:0;z-index:100;background:#fff;border-bottom:1px solid #ececea}
body.admin-bar .agency-preview .agp-header{top:32px}
.agency-preview .agp-header-inner{min-height:80px;gap:20px;flex-wrap:nowrap;padding:12px 4.5%}
.agency-preview .agp-header .agp-brand img{width:42px;height:42px}
.agency-preview .agp-header .agp-brand>span>span,.agency-preview .agp-header .agp-brand>span>span:first-child{font-size:9.5px;font-weight:550;line-height:1.25;margin:0}
.agency-preview .agp-header nav{order:initial;flex-basis:auto;margin-left:auto}
.agency-preview .agp-menu{gap:15px;justify-content:flex-start}
.agency-preview .agp-menu>li{display:flex;align-items:center;flex-wrap:nowrap;gap:2px;padding:10px 0;min-width:0}
.agency-preview .agp-menu>li>a{display:inline-block;font-size:12px;white-space:nowrap}
.agency-preview .agp-submenu-toggle{display:inline-flex;align-items:center;justify-content:center;flex:0 0 18px;width:18px;height:24px;margin:0;padding:0;vertical-align:middle;background:transparent;border:0}
.agency-preview .agp-menu .sub-menu>li{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;position:relative}
.agency-preview .agp-menu .sub-menu a{white-space:normal;overflow-wrap:anywhere}
.agency-preview .agp-header .agp-button{min-height:42px;padding:11px 15px;gap:12px;white-space:nowrap;font-size:12px;margin-left:0}
.agency-preview .agp-menu-toggle{display:none}
.agency-preview .agp-floating-top{position:fixed;right:24px;bottom:24px;width:48px;height:48px;display:flex;align-items:center;justify-content:center;background:#393939;color:#fff;border:1px solid #ffffff66;box-shadow:0 4px 16px #0003;z-index:90;transition:background 180ms ease}
.agency-preview .agp-floating-top:hover{background:#ad0d0d}
.agency-preview .agp-footer .agp-back-top{display:none}
/* About: one introductory band and independent hierarchy cards, never connecting arrows. */
.agency-preview .abp-page .abp-intro{background:#f5f5f2;border-bottom:0;border-left:4px solid #e69716;padding-top:52px;padding-bottom:40px;margin-bottom:48px}
.agency-preview .abp-page .abp-intro-copy{max-width:1000px}
.agency-preview .abp-page .abp-structure-layout{gap:32px}
.agency-preview .abp-page .abp-structure-tier{gap:24px;background:transparent;padding:0;width:100%;max-width:none;align-self:stretch}
.agency-preview .abp-page .abp-structure-tier article{display:block;border:0;padding:32px;min-width:0}
.agency-preview .abp-page .abp-tier-leadership h3{font-size:28px;margin-bottom:22px}
/* A leader is emitted only with a real image; no empty reserved slot. */
.agency-preview .agp-leader{display:grid;grid-template-columns:220px minmax(0,1fr);gap:40px;align-items:center;margin:64px 0;padding-top:36px;border-top:3px solid #e69716}
.agency-preview .agp-leader>img{width:220px;max-height:280px;object-fit:cover;display:block}
.agency-preview .agp-leader h2{font-size:32px;margin-bottom:16px}
.agency-preview .agp-leader p{font-size:18px;line-height:1.55;margin:0}
.agency-preview .agp-breadcrumbs{font-size:13px;line-height:1.5;margin:0 0 24px;overflow-wrap:anywhere}
.agency-preview .agp-breadcrumbs a{text-decoration:underline;text-underline-offset:3px}
@media(max-width:1100px){
.agency-preview .agp-header-inner{min-height:74px;padding-block:10px}
.agency-preview .agp-menu-toggle{display:inline-flex;align-items:center;justify-content:center;margin-left:auto;padding:10px;border:0;background:transparent;color:#393939;font-size:13px}
.agency-preview .agp-header .agp-button{display:none}
.agency-preview .agp-header nav{display:none;position:absolute;left:0;right:0;top:100%;padding:16px 6%;margin:0;max-height:calc(100dvh - 110px);overflow-y:auto;background:#fff;box-shadow:0 12px 20px #0002}
.agency-preview .agp-header nav.is-open{display:block}
.agency-preview .agp-menu{display:block}
.agency-preview .agp-menu>li{display:grid;grid-template-columns:minmax(0,1fr) auto;padding:12px 0;border-top:1px solid #eee}
.agency-preview .agp-menu>li>a{font-size:16px;white-space:normal}
.agency-preview .agp-submenu-toggle{width:44px;height:44px;min-width:44px;min-height:44px;flex-basis:44px}
.agency-preview .agp-menu .sub-menu,.agency-preview .agp-menu .sub-menu .sub-menu{position:static;grid-column:1/-1;min-width:0;max-width:100%;padding:8px 0 0 16px;box-shadow:none}
.agency-preview nav.agp-nav-enhanced .sub-menu{display:none}
.agency-preview nav.agp-nav-enhanced .agp-submenu-open>.sub-menu{display:block}
}
@media(max-width:800px){.agency-preview .agp-section-block:is(.is-style-agp-white,.is-style-agp-graphite,.is-style-agp-red,.is-style-agp-blue,.is-style-agp-gold){padding:28px 22px;margin:36px 0}.agency-preview .agp-section-block.is-style-agp-white{padding-left:0;padding-right:0}.agency-preview .agp-subsection .agp-card h4{min-height:0}.agency-preview .agp-leader{grid-template-columns:160px minmax(0,1fr);gap:24px}.agency-preview .agp-leader>img{width:160px}.agency-preview .agp-leader h2{font-size:26px}}
@media(max-width:782px){body.admin-bar .agency-preview .agp-header{top:46px}}
@media(max-width:700px){.agency-preview .abp-page .abp-intro{padding-top:36px;margin-bottom:32px}.agency-preview .abp-page .abp-tier-advisory{width:100%;align-self:stretch}.agency-preview .abp-page .abp-structure-tier article{padding:26px}.agency-preview .abp-page .abp-tier-leadership h3{font-size:24px}.agency-preview .abp-page .abp-tier-expertise,.agency-preview .abp-page .abp-tier-operations{grid-template-columns:minmax(0,1fr)}}
@media(max-width:600px){body.admin-bar .agency-preview .agp-header{top:0}.agency-preview .agp-floating-top{right:16px;bottom:16px;width:44px;height:44px}}
@media(max-width:480px){.agency-preview .agp-header .agp-brand>span>span,.agency-preview .agp-header .agp-brand>span>span:first-child{font-size:8px}.agency-preview .agp-header .agp-brand img{width:36px;height:36px}.agency-preview .agp-header-inner{gap:10px;min-height:68px}.agency-preview .agp-leader{grid-template-columns:minmax(0,1fr);gap:20px;margin:40px 0}.agency-preview .agp-leader>img{width:180px;max-height:240px}.agency-preview .abp-page .abp-structure-tier article{padding:24px 20px}.agency-preview .abp-page .abp-structure-tier h3,.agency-preview .abp-page .abp-tier-leadership h3{font-size:clamp(18px,5vw,22px);min-height:2.4em}}
@media(prefers-reduced-motion:reduce){.agency-preview .agp-link-card,.agency-preview .agp-floating-top{transition:none}.agency-preview .agp-link-card:hover{transform:none}}
@media(min-width:1101px) and (max-width:1350px){.agency-preview .agp-header-inner{padding-inline:3%;gap:16px}.agency-preview .agp-header .agp-button{display:none}.agency-preview .agp-menu{gap:14px}}
/* The form panel keeps its own readable neutral surface within any section palette. */
.agency-preview :is(.is-style-agp-white,.is-style-agp-graphite,.is-style-agp-red,.is-style-agp-blue,.is-style-agp-gold) .gg-public-form{--agp-scene-ink:#171717;--agp-cta-bg:#ad0d0d;--agp-cta-ink:#fff}
@media(min-width:1101px){.agency-preview .agp-menu>li>.sub-menu{max-height:calc(100dvh - 110px);overflow-y:auto;overscroll-behavior:contain}.agency-preview .agp-menu .sub-menu .sub-menu{position:static;grid-column:1/-1;min-width:0;padding-left:16px;box-shadow:none}}

/* Enhanced menu state is authoritative, including hover/focus and Escape. */
.agency-preview nav.agp-nav-enhanced .agp-menu li>.sub-menu{display:none}
.agency-preview nav.agp-nav-enhanced .agp-menu li.agp-submenu-open>.sub-menu{display:block}
/* Stable native anchor retains the approved five-direction typography. */
.agency-preview .agp-composed-page.agp-composition-directions .agp-block-content #directions .agp-card{padding:30px 24px}
.agency-preview .agp-composed-page.agp-composition-directions .agp-block-content #directions .agp-card :is(h2,h3){font-size:clamp(20px,1.7vw,24px)}
@media(max-width:480px){.agency-preview .agp-composed-page.agp-composition-directions .agp-block-content #directions .agp-card{padding:26px 18px}.agency-preview .agp-composed-page.agp-composition-directions .agp-block-content #directions .agp-card :is(h2,h3){font-size:clamp(17px,4.8vw,22px)}}

/* Named colored information scenes override the older open-section reset. */
.agency-preview .agp-composed-page .agp-block-content .agp-section-block:is(.is-style-agp-graphite,.is-style-agp-red,.is-style-agp-blue,.is-style-agp-gold){padding:40px}
@media(max-width:800px){.agency-preview .agp-composed-page .agp-block-content .agp-section-block:is(.is-style-agp-graphite,.is-style-agp-red,.is-style-agp-blue,.is-style-agp-gold){padding:28px 22px}}

/* Long native profile titles remain readable as whole words on narrow screens. */
@media(max-width:480px){.agency-preview .agp-profile-page .agp-editorial h1{font-size:clamp(22px,7.5vw,28px);hyphens:none;overflow-wrap:anywhere}}

@media(max-width:480px){.agency-preview .agp-composed-page .agp-block-content .agp-section-block:is(.is-style-agp-graphite,.is-style-agp-red,.is-style-agp-blue,.is-style-agp-gold)>h2,.agency-preview .agp-composed-page .agp-block-content .agp-section-block:is(.is-style-agp-graphite,.is-style-agp-red,.is-style-agp-blue,.is-style-agp-gold)>.wp-block-group__inner-container>h2{font-size:clamp(24px,7.5vw,30px);hyphens:none;overflow-wrap:anywhere}}

@media(max-width:480px){
.agency-preview .agp-composed-page .agp-block-content .agp-section-block:is(.is-style-agp-graphite,.is-style-agp-red,.is-style-agp-blue,.is-style-agp-gold) .agp-card h4{font-size:clamp(18px,5.6vw,23px);hyphens:none;overflow-wrap:anywhere}
}

/* Keyboard bypass is visible only while focused; it does not shift layout. */
.agency-preview .agp-skip-link{position:fixed;left:16px;top:16px;z-index:100000;padding:14px 20px;background:#fff;color:#393939;border:2px solid #ad0d0d;transform:translateY(-180%);font-size:16px}
.agency-preview .agp-skip-link:focus{transform:none;outline:3px solid #e69716;outline-offset:3px}
.agency-preview #agp-main-content{scroll-margin-top:calc(var(--agp-sticky-offset,82px) + 16px)}
