/* R1: consolidated typography, control radii and primary action base. No theme colour overrides live here. */
body.agency-shell{background:var(--surface);color:var(--ink);font-family:'Barlow',Arial,sans-serif}
.agency-shell :is(h1,h2,h3,h4,h5,h6){font-family:'Barlow Condensed','Arial Narrow',sans-serif;font-weight:700;text-transform:uppercase;letter-spacing:-.015em;line-height:1.08}
.agency-shell :is(button,input,textarea,select,.button,.pg-button){font-family:'Barlow',Arial,sans-serif}
.agency-shell :is(button,input,textarea,select,dialog,.service-card,.article-card,.price-card,.offer,.form-panel,.service-price-card,.trial-preview,.concept-image-frame,.service-hero-visual,.article-next-step,.analytics-choice,.pg-chat,.pg-chat *){border-radius:var(--radius)}
.agency-shell :is(.button,.pg-button,.form-panel button[type=submit],.nav-enquire,.navcta,.pg-chat-launch,.roi-cta,.analytics-actions>button:not(:first-child),.pg-chat-modes button[aria-pressed=true],:where(#pg-ai-send),.pg-chat-footer a:first-child){background:var(--accent);color:var(--on-accent);border:1px solid var(--accent);box-shadow:none;font-weight:600;text-decoration:none}
.agency-shell :is(.button,.pg-button,.form-panel button[type=submit],.nav-enquire,.navcta,.pg-chat-launch,.roi-cta){display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:12px 22px;cursor:pointer}
/* R3/R7: only the named properties transition. The retained guide-container fade is not a control transition. */
.agency-shell :is(a,button,[role=button],.service-card,.article-card,.trial-preview){transition:transform var(--motion-duration) var(--motion-ease),filter var(--motion-duration) var(--motion-ease),border-color var(--motion-duration) var(--motion-ease)}
.agency-shell :is(a,button,[role=button]):active,.agency-shell .article-card:has(a:active){transform:scale(.97)!important}
.agency-shell :is(a,button,input,select,textarea,summary):focus-visible{outline:3px solid var(--accent);outline-offset:4px}
@media (hover: hover) and (pointer: fine){
 .agency-shell :is(button:not(:disabled),.button,.pg-button,.form-panel button[type=submit],.nav-enquire,.navcta,.pg-chat-launch,.roi-cta):hover{transform:translateY(-2px);filter:brightness(1.06)}
 .agency-shell :is(.service-card,.article-card,.trial-preview):hover{border-color:var(--accent)}
}
/* R2: hero-only gradient exception; all primary controls above remain a single accent. */
.agency-shell .hero-block{background:var(--card-bg);color:var(--card-ink);border:1px solid var(--card-line);border-radius:var(--radius);box-shadow:var(--card-shadow);aspect-ratio:1/1.22;min-width:0;padding:32px;display:flex;flex-direction:column;justify-content:space-between;gap:24px;position:relative;overflow:hidden}
.agency-shell .hero-pg-symbol{display:block;width:100%;max-width:260px;height:auto;color:var(--card-ink)}
.agency-shell .hero-block p{font:700 clamp(32px,3.6vw,52px)/1.05 'Barlow Condensed','Arial Narrow',sans-serif;text-transform:uppercase;letter-spacing:-.015em;color:var(--card-ink);margin:16px 0 0;white-space:nowrap}
.agency-shell .hero-block .eyebrow{font-size:12px;color:var(--card-muted)}
.agency-shell .hero-block::after{content:'';position:absolute;bottom:0;right:0;width:48px;height:48px;background:linear-gradient(135deg,var(--accent),var(--accent-2));clip-path:polygon(100% 0,100% 100%,0 100%);pointer-events:none}
.agency-shell .service-eyebrow-redundant{display:none}
/* R5: disable all CSS transitions during a theme swap, then release after two animation frames. */
html.theme-switching *,html.theme-switching *::before,html.theme-switching *::after{transition:none!important}
/* R8: image visibility follows the site's saved theme, never OS preference alone. */
.agency-shell .concept-image-frame{aspect-ratio:4/3;border:1px solid var(--line);background:var(--surface-raised);overflow:hidden}
.agency-shell .concept-image-frame img{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:contain}
.agency-shell .concept-image-frame .mark-light{display:none}
html[data-theme=light] .agency-shell .concept-image-frame .mark-dark{display:none}
html[data-theme=light] .agency-shell .concept-image-frame .mark-light{display:block}
/* R9: the heading's old max-width caused the extra 135px inset. All three edges share one content width. */
.agency-shell .about-story>.eyebrow,.agency-shell .about-story>h1{box-sizing:border-box;width:min(100% - 48px,1100px);max-width:none;padding-inline:0;margin-inline:auto}
/* R10: the 4:3 slots keep their geometry, while the four existing categories have distinct visual labels. */
.agency-shell .service-category-mark{display:flex;align-items:center;gap:.12em;max-width:100%;font:700 clamp(44px,7vw,90px)/1 'Barlow Condensed','Arial Narrow',sans-serif;letter-spacing:-.025em;color:var(--ink);white-space:nowrap}
.agency-shell .service-category-mark .brand-slash{color:var(--accent-2)}
/* R11: guide-filters.js moves the original first three nodes back into the ordinary grid for category views. */
.agency-shell .guides-featured[hidden]{display:none!important}
@media(max-width:1000px){.agency-shell .hero-block{padding:24px}}
@media(max-width:640px){.agency-shell .hero-block{margin-top:40px;aspect-ratio:auto;min-height:280px;display:grid;grid-template-columns:1fr 1fr;gap:24px;align-items:center}.agency-shell .hero-block p{font-size:32px}.agency-shell .hero-block .eyebrow{font-size:11px}}
@media(max-width:599px){.agency-shell .hero-block{display:flex;flex-direction:column;align-items:flex-start;min-height:0;gap:24px}.agency-shell .hero-pg-symbol{width:180px;max-width:100%}.agency-shell .hero-block p{font-size:36px}}
@media(prefers-reduced-motion:reduce){.agency-shell *,.agency-shell *::before,.agency-shell *::after{transition:none!important;animation:none!important}}
.user-reduced-motion .agency-shell *,.user-reduced-motion .agency-shell *::before,.user-reduced-motion .agency-shell *::after{transition:none!important;animation:none!important}
@media(forced-colors:active){.agency-shell :is(.button,.pg-button,.pg-chat-launch){background:ButtonFace;color:ButtonText;border-color:ButtonText}}
