/* Homepage direction: graphite, platinum, white; cobalt only for interaction. */
:root,html.theme-dark{
 --color-primary:#007FEF;--color-primary-hover:#0069C7;--color-on-primary:#fff;
 --color-accent:#007FEF;--color-secondary:#D2D2D4;
 --color-background:#F3F3F2;--color-on-background:#171719;
 --color-surface-lowest:#fff;--color-surface-low:#F3F3F2;--color-surface-container:#E8E8E8;
 --color-outline:#B6B6BA;--color-outline-variant:#DDDDDF;--color-on-surface-variant:#626268;
 --footer-shell-bg:#F3F3F2;--footer-shell-border:#DDDDDF;--footer-panel-bg:#fff;
 --footer-text:#626268;--footer-heading:#171719;--footer-link:#171719;--footer-link-hover:#007FEF;--footer-divider:#DDDDDF;
 --shadow-button:none;--gradient-text:linear-gradient(#171719,#171719);
}
html.theme-dark{
 --color-primary:#D2D2D4;--color-background:#0C1022;--color-on-background:#F3F3F2;
 --color-surface-lowest:#0C1022;--color-surface-low:#121A32;--color-surface-container:#252528;
 --color-outline:#717179;--color-outline-variant:#35353B;--color-on-surface-variant:#ADADB3;
 --footer-shell-bg:#0C1022;--footer-shell-border:#35353B;--footer-panel-bg:#121A32;
 --footer-text:#ADADB3;--footer-heading:#F3F3F2;--footer-link:#F3F3F2;--footer-link-hover:#fff;--footer-divider:#35353B;
}
body,html.theme-dark body{--action-bg:#171719;--action-hover:#007FEF;--action-ink:#fff;--link-accent:#007FEF}
html.theme-dark .site-header,html.theme-dark .cookie-banner{--action-bg:#F3F3F2;--action-hover:#DDDDE0;--action-ink:#171719}
.compact-brand strong{color:var(--color-on-background)}
.agency-home{
 --ah-dark:#0C1022;--ah-paper:#F3F3F2;--ah-muted:#ADADB3;--ah-line:#ffffff26;
 --action-bg:#F3F3F2;--action-hover:#D7D7DC;--action-ink:#171719;--link-accent:#F3F3F2;
 background:#0C1022;color:#F3F3F2;
}
.agency-home em{color:#007FEF}
.ah-paper{background:#F3F3F2;color:#171719;--action-bg:#171719;--action-hover:#007FEF;--action-ink:#fff;--link-accent:#007FEF}
.ah-kicker,.ah-hero-detail,.ah-system-grid p,.ah-steps p,.ah-process-note,.ah-about-grid p:not(.ah-label):not(.ah-about-name){color:#ADADB3}
.ah-lead{color:#DEDEE1}
.ah-kicker span:first-child:before{background:#007FEF}
.ah-shot,.ah-about-video,.ah-video-works article>a{background:#121A32}
.ah-note{background:#E2E2E5;color:#171719}
.ah-note-dot{background:#171719}
.ah-stamp{background:#171719;border-color:#707078;color:#E2E2E5}
.ah-route b,.ah-route i,.ah-index,.ah-deliver,.ah-steps span,.ah-about-name span{color:#007FEF}
.ah-section-head>p,.ah-work p:last-child,.ah-work>p:not(.ah-label),.ah-situations>div>p:not(.ah-label),.ah-problems p,.ah-service-list p,.ah-offers p,.ah-price span,.ah-fine,.ah-faq p{color:#626268}
.ah-work>a{background:#E2E2E5}.ah-work-arrow{color:#171719}
.ah-case{background:#151F3B}.ah-case-grid>div>p:not(.ah-label){color:#D2D2D7}
.ah-case-result strong{color:#F3F3F2}.ah-case-result p{color:#ADADB3}
.ah-problems article,.ah-service-list>a,.ah-faq,.ah-video-heading{border-color:#D0D0D5}
.ah-problems article>span,.ah-service-list>a>span{color:#626268}
.ah-service-list>a:hover{color:#007FEF}
.ah-offers article{border-color:#D0D0D5;background:#fff}
.ah-offers article:nth-child(2){background:#E7E7EA;border-color:#D0D0D5}
.ah-price{border-color:#C9C9CE}
.agency-home .lead-form-section{background:#121A32}
.agency-home .lead-form-section__subtitle{color:#D2D2D7}
.ah-video-works article>a>span{background:#0C1022bb}
.agency-home :is(a,summary,button):focus-visible{outline-color:#007FEF}
.ah-paper :is(a,summary,button):focus-visible{outline-color:#007FEF}

/* Full-cycle positioning, between the hero and portfolio. */
.ah-full-cycle{display:grid;grid-template-columns:170px 1.25fr 1fr;gap:32px;align-items:center;margin:0 0 40px;padding:32px;border:1px solid #45454d;border-left:3px solid #70C500;border-radius:12px;background:#121A32}
.ah-full-cycle__label{font-size:10px;line-height:1.8;letter-spacing:1.5px;color:#adadb3}
.agency-home .ah-full-cycle p{font-family:var(--font-heading);font-size:clamp(18px,1.8vw,24px);line-height:1.4;letter-spacing:-.5px;color:#f3f3f2}
.ah-full-cycle strong{display:block;font-size:17px;line-height:1.45;color:#f3f3f2;font-weight:600}
.ah-full-cycle div>span{display:block;margin-top:10px;font-size:13px;line-height:1.6;color:#adadb3}
@media(max-width:1000px){.ah-full-cycle{grid-template-columns:1fr 1fr;gap:20px}.ah-full-cycle__label{grid-column:1/-1}}
@media(max-width:600px){.ah-full-cycle{grid-template-columns:1fr;padding:24px;gap:18px;margin-bottom:28px}.ah-full-cycle__label{grid-column:auto}.ah-full-cycle div{border-top:1px solid #45454d;padding-top:18px}.ah-full-cycle strong{font-size:16px}}

/* Reference direction: navy base, vivid blue typography, selective lime actions. */
.agency-home{--action-bg:#70C500;--action-hover:#82D819;--action-ink:#0C1022;--link-accent:#70C500}
.ah-paper{--action-bg:#0C1022;--action-hover:#163C86;--action-ink:#fff;--link-accent:#165BC0}
.site-header.compact-header{background:#0C1022;border-bottom-color:#ffffff22;color:#fff}
.compact-header{--color-on-background:#fff;--color-surface-lowest:#121A32;--color-surface-low:#1B2540;--color-outline-variant:#ffffff26;--color-on-surface-variant:#AAB1C7;--action-bg:#70C500;--action-hover:#82D819;--action-ink:#0C1022}
.compact-brand strong{color:#fff}.compact-brand small{color:#AAB1C7}
.agency-home em{color:#007FEF}
.ah-note{background:#70C500;color:#0C1022}.ah-note-dot{background:#0C1022}
.ah-stamp{background:#121A32;border-color:#526181;color:#fff}
.ah-kicker span:first-child:before{background:#70C500}
.ah-route b,.ah-route i,.ah-index,.ah-deliver,.ah-steps span{color:#A1BFF1}
.ah-case-result strong{color:#70C500}
.agency-home :is(a,summary,button):focus-visible{outline-color:#70C500}
.ah-paper :is(a,summary,button):focus-visible{outline-color:#165BC0}
.ah-service-list>a:hover{color:#165BC0}
.ah-full-cycle{background:#121A32;border-color:#31405E;border-left-color:#70C500}
.ah-full-cycle__label{color:#70C500}
.ah-full-cycle strong{color:#fff}
.ah-full-cycle strong:after{content:'';display:block;width:56px;height:3px;background:#007FEF;margin-top:14px}
/* Deliberate interaction accents, without moving the surrounding layout. */
.agency-home .btn,.home .compact-project{transition:background-color .2s,color .2s,transform .2s,box-shadow .2s}
.agency-home .btn>span,.home .compact-project>span{transition:transform .2s}
.agency-home .ah-paper{--action-hover:#165BC0}
.agency-home .ah-text-link{transition:color .2s,border-color .2s}
.agency-home .ah-paper .ah-text-link:focus-visible{color:#165BC0}
.agency-home .btn:focus-visible{outline:3px solid #007FEF;outline-offset:5px}
.agency-home .ah-paper .btn:focus-visible{background:#165BC0!important;color:#fff!important}
@media(hover:hover) and (pointer:fine){
 .agency-home .btn:hover,.home .compact-project:hover{transform:translateY(-3px)}
 .agency-home .btn:hover>span,.home .compact-project:hover>span{transform:translate(3px,-2px)}
 .home .compact-header .compact-project:hover{background:#165BC0!important;color:#fff!important}
 .agency-home .ah-text-link:hover{color:#70C500}
 .agency-home .ah-paper .ah-text-link:hover,.agency-home .ah-case-link:hover{color:#165BC0}
 .ah-service-list>a{transition:background-color .2s,color .2s}
 .ah-service-list>a:hover{background:#e8edf7}
 .ah-service-list>a>b{transition:transform .2s}.ah-service-list>a:hover>b{transform:translate(4px,-3px)}
 .ah-offers article{transition:transform .25s,border-color .25s,box-shadow .25s}
 .ah-offers article:hover{transform:translateY(-5px);border-color:#165BC0;box-shadow:0 12px 30px #0c102212}
 .ah-video-works img{transition:transform .45s}.ah-video-works article>a:hover img{transform:scale(1.035)}
 .ah-full-cycle{transition:border-color .25s}.ah-full-cycle:hover{border-color:#70C500}
}
@media(prefers-reduced-motion:reduce){
 .agency-home *, .home .compact-project,.home .compact-project>span{animation:none!important;transition:none!important}
 .agency-home .btn:hover,.home .compact-project:hover,.agency-home .btn:hover>span,.home .compact-project:hover>span,.ah-offers article:hover,.ah-service-list>a:hover>b,.ah-video-works article>a:hover img{transform:none!important}
}
/* Approved palette on all standard pages, with context-specific actions. */
body{--action-bg:#165BC0;--action-hover:#10499E;--action-ink:#fff;--link-accent:#165BC0}
html.theme-dark body{--action-bg:#70C500;--action-hover:#82D819;--action-ink:#0C1022;--link-accent:#70C500}
.video-service .vs-hero h1 span{color:#007FEF}
html:not(.theme-dark) .seo-service h1 span,html:not(.theme-dark) .seo-service__eyebrow,html:not(.theme-dark) .seo-service__number,html:not(.theme-dark) .seo-service a:not(.btn){color:#165BC0}
html:not(.theme-dark){--color-primary:#165BC0;--color-primary-hover:#10499E}
html.theme-dark{--color-primary:#70C500;--color-primary-hover:#82D819;--color-on-primary:#0C1022}
.page-hero--navy{background:#0C1022;color:#fff;--action-bg:#70C500;--action-hover:#82D819;--action-ink:#0C1022;--link-accent:#70C500}
.single-post__content h2[id],.article-content h2[id],#lead-form{scroll-margin-top:110px}
.related-pages{padding:44px 0;background:#121A32;color:#fff;border-top:1px solid #354363}
.related-pages h2{font-family:var(--font-heading);font-size:20px;line-height:1.4;color:#fff;margin:0 0 22px}
.related-pages ul{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:14px 32px}
.related-pages a{display:inline-block;color:#B6BED1;line-height:1.6;text-underline-offset:5px;font-size:15px;padding:5px 0}
.related-pages a:hover,.related-pages a:focus-visible{color:#70C500}
.related-pages span{margin-left:8px}
