/* Agency presentation only. App landing pages and policies do not load this file. */
.agency-refresh {
  --agency-ink: #14213b;
  --agency-muted: #52627a;
  --agency-line: #dfe6f0;
  --agency-blue: #3454d1;
  --agency-gradient: linear-gradient(120deg, #101e3c 0%, #193978 62%, #2455bc 100%);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--agency-ink);
  font-size: 16px;
  line-height: 1.65;
}
.agency-refresh h1, .agency-refresh h2, .agency-refresh h3,
.agency-refresh h4, .agency-refresh h5, .agency-refresh h6,
.agency-refresh input, .agency-refresh select, .agency-refresh textarea,
.agency-refresh button { font-family: inherit; }
.agency-refresh .auto-container { max-width: 1200px; }
.agency-refresh .modern-hero .row { row-gap: 36px; }
.agency-refresh .modern-hero .row > div { min-width: 0; }
.agency-refresh .modern-hero {
  padding: 138px 0 44px;
  background: var(--agency-gradient);
  border-bottom: 1px solid var(--agency-line);
}
.agency-refresh .modern-hero h1 {
  font-size: clamp(34px, 3.8vw, 52px);
  font-weight: 600;
  letter-spacing: -1.7px;
  line-height: 1.13;
  max-width: 690px;
  margin-bottom: 24px;
}
.agency-refresh .modern-hero h1 { color: #fff; }
.agency-refresh .modern-hero h1 span { color: #b4d1ff; }
.agency-refresh .hero-badge { font-size: 12px; font-weight: 500; letter-spacing: .15px; padding: 7px 12px; max-width: 100%; line-height: 1.5; }
.agency-refresh .hero-badge .pulse-dot { flex: 0 0 7px; height: 7px; }
.agency-refresh .hero-lead { font-size: 16px; line-height: 1.8; color: #d6e1f3; max-width: 580px; margin-bottom: 26px; }
.agency-refresh .hero-cta-group { gap: 12px; margin-bottom: 28px; }
.agency-refresh .hero-trust-bar { gap: 10px 18px; font-size: 12px; padding-top: 18px; }
.agency-refresh .hero-preview-card { margin-left: 12px; padding: 28px; border-radius: 20px; background: rgba(255,255,255,.06); box-shadow: 0 16px 48px #08183122; }
.agency-refresh .hero-preview-header { gap: 16px; }
.agency-refresh .hero-dots { display: none; }
.agency-refresh .hero-tag { color: #3455b4; font-family: inherit; font-size: 11px; font-weight: 600; letter-spacing: 1.6px; }
.agency-refresh .hero-stack-pill { font-family: inherit; font-size: 11px; padding: 5px 10px; }
.agency-refresh .modern-section { padding: 44px 0; }
.agency-refresh .modern-hero + .modern-section { padding-top: 36px; }
.agency-refresh .section-tag { font-size: 11px; letter-spacing: 1.5px; font-weight: 600; margin-bottom: 12px; }
.agency-refresh .section-heading-custom { font-size: clamp(28px, 3vw, 38px); line-height: 1.22; font-weight: 600; letter-spacing: -1px; margin-bottom: 16px; }
.agency-refresh .section-subheading-custom { font-size: 15px; line-height: 1.8; max-width: 590px; margin-bottom: 16px; }
.agency-refresh .need-card { padding: 28px; border-radius: 18px; box-shadow: 0 4px 18px #14213b04; }
.agency-refresh .need-card::before { opacity: 1; height: 3px; background: linear-gradient(90deg,#345fe1,#bad0ff); }
.agency-refresh .need-icon-box { width: 44px; height: 44px; font-size: 19px; margin-bottom: 22px; }
.agency-refresh .need-card h3 { font-weight: 600; font-size: 21px; letter-spacing: -.5px; line-height: 1.3; }
.agency-refresh .need-card p { font-size: 14px; line-height: 1.8; }
.agency-refresh .need-deliverables li { font-size: 12px; line-height: 1.7; }
.agency-refresh .service-card-modern { padding: 26px; border-radius: 16px; background: #f9fbff; box-shadow: none; position: relative; }
.agency-refresh .service-card-modern:hover { background: #fff; border-color: #89a9ef; transform: translateY(-3px); }
.agency-refresh .service-card-modern .badge-stack { align-self: flex-start; font-size: 10px; background: #e9effb; font-weight: 600; }
.agency-refresh .service-card-modern h4 { font-size: 19px; font-weight: 600; letter-spacing: -.4px; }
.agency-refresh .service-card-modern p { font-size: 13px; line-height: 1.8; }
.agency-refresh .service-link { margin-top: auto; }
.agency-refresh .delivery-section { background: #f8fafc; color: var(--agency-ink); border-block: 1px solid var(--agency-line); }
.agency-refresh .delivery-intro { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: end; margin-bottom: 32px; }
.agency-refresh .delivery-intro .section-heading-custom { color: var(--agency-ink); margin-bottom: 0; }
.agency-refresh .delivery-intro .section-tag { color: var(--agency-blue); }
.agency-refresh .delivery-intro > p { font-size: 15px; color: var(--agency-muted); max-width: 380px; margin: 0 0 4px; }
.agency-refresh .delivery-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.agency-refresh .delivery-grid > li { padding: 24px; border: 1px solid var(--agency-line); border-radius: 16px; background: #fff; display: flex; flex-direction: column; }
.agency-refresh .delivery-number { color: var(--agency-blue); font-size: 13px; letter-spacing: 1px; display: block; margin-bottom: 24px; }
.agency-refresh .delivery-grid h3 { font-size: 18px; line-height: 1.4; font-weight: 600; color: var(--agency-ink); margin-bottom: 12px; }
.agency-refresh .delivery-grid p { font-size: 13px; color: var(--agency-muted); line-height: 1.8; margin-bottom: 24px; }
.agency-refresh .delivery-output { margin-top: auto; border-top: 1px solid var(--agency-line); padding-top: 16px; color: var(--agency-muted); font-size: 10px; text-transform: uppercase; letter-spacing: .6px; }
.agency-refresh .delivery-output span { display: block; font-size: 12px; text-transform: none; letter-spacing: 0; color: var(--agency-ink); margin-top: 4px; }
.agency-refresh .home-contact-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 28px; align-items: start; }
.agency-refresh .home-project-card { padding: 32px; border: 1px solid var(--agency-line); border-radius: 18px; }
.agency-refresh .home-project-card > p { font-size: 15px; color: var(--agency-muted); line-height: 1.8; }
.agency-refresh .home-contact-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.agency-refresh .home-project-card .contact-note { font-size: 12px; margin: 20px 0 0; }
.agency-refresh .btn-primary-custom, .agency-refresh .btn-secondary-custom,
.agency-refresh .btn-outline-light-surface { font-family: inherit; font-size: 14px; font-weight: 600; padding: 13px 20px; border-radius: 8px; line-height: 1.5; min-height: 48px; text-align: center; justify-content: center; }
.agency-refresh .btn-primary-custom { box-shadow: 0 6px 18px #245be022; }
.agency-refresh .btn-outline-light-surface { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid #adbedb; color: #24416d; text-decoration: none; transition: background .2s; }
.agency-refresh .btn-outline-light-surface:hover { color: #14213b; background: #edf3ff; }
.agency-refresh .contact-channels-box { height: auto; padding: 28px; }
.agency-refresh .contact-channels-box > h3 { font-size: 20px; font-weight: 600; line-height: 1.4; margin-bottom: 24px; }
.agency-refresh .channel-item { gap: 14px; margin-bottom: 24px; }
.agency-refresh .channel-item:last-child { margin-bottom: 0; }
.agency-refresh .channel-content { min-width: 0; }
.agency-refresh .channel-content h4 { font-size: 11px; font-weight: 600; color: #52627a; text-transform: uppercase; letter-spacing: .8px; margin-bottom: 6px; }
.agency-refresh .channel-content p, .agency-refresh .channel-content a { font-size: 14px; line-height: 1.8; overflow-wrap: anywhere; }
.agency-refresh .channel-content p { margin-bottom: 0; }
.agency-refresh .channel-content h6 { font-size: 11px; line-height: 1.6; }
.agency-refresh .channel-icon { width: 36px; height: 36px; font-size: 17px; }
.agency-refresh .modern-form-control { font-size: 14px; line-height: 1.6; }
.agency-refresh .page-title { padding: 138px 0 36px; text-align: left; background: var(--agency-gradient); }
.agency-refresh .page-title h1 { font-size: clamp(30px,4vw,46px); font-weight: 600; letter-spacing: -1.2px; line-height: 1.2; margin-bottom: 18px; }
.agency-refresh .page-title .pattern-layer { display: none; }
.agency-refresh .page-title .bread-crumb li, .agency-refresh .page-title .bread-crumb a { color: var(--agency-muted); font-size: 13px; font-weight: 400; }
.agency-refresh .page-title .bread-crumb a:hover { color: var(--agency-blue); text-decoration: underline; }
/* One header treatment on every agency page, before and after scrolling. */
.agency-refresh .main-header .header-upper { background: #fff; border-bottom: 1px solid var(--agency-line); }
.agency-refresh .main-header .header-upper .logo-box .logo { display: none; }
.agency-refresh .main-header .header-upper .logo-box .logo-sticky { display: block; }
.agency-refresh .main-header .main-menu .navigation > li > a { color: var(--agency-ink); }
.agency-refresh .main-header .main-menu .navigation > li > a:hover { color: var(--agency-blue); }
.agency-refresh .main-header .header-upper .outer-box .theme-btn { background: var(--agency-blue); color: #fff; border: 1px solid var(--agency-blue); border-radius: 8px; }
.agency-refresh .main-header .header-upper .outer-box .theme-btn:before { background: #194bbd; border-radius: 8px; }
.agency-refresh .main-header .header-upper .outer-box .theme-btn .txt { color: #fff; }
.agency-refresh .need-card:hover, .agency-refresh .service-card-modern:hover { transform: none; }
.agency-refresh .delivery-grid > li { box-shadow: 0 4px 18px #14213b04; }
.agency-refresh .case-study-header h4 { font-weight: 600; }
.agency-refresh .case-study-tag { font-family: inherit; }
.agency-refresh a:focus-visible, .agency-refresh button:focus-visible, .agency-refresh summary:focus-visible { outline: 3px solid #69a5ff !important; outline-offset: 4px; }
@media(max-width: 991px) {
 .agency-refresh .modern-hero { padding: 124px 0 48px; }
 .agency-refresh .hero-preview-card { margin: 0; }
 .agency-refresh .hero-lead { max-width: 680px; }
 .agency-refresh .delivery-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
 .agency-refresh .home-contact-grid { grid-template-columns: 1fr; }
 .agency-refresh .page-title { padding: 124px 0 48px; }
}
@media(max-width: 575px) {
 .agency-refresh .modern-hero { padding-top: 112px; }
 .agency-refresh .modern-hero h1 { font-size: 35px; letter-spacing: -1px; }
 .agency-refresh .hero-line-break { display: none; }
 .agency-refresh .hero-badge { font-size: 10px; }
 .agency-refresh .modern-section { padding: 32px 0; }
 .agency-refresh .hero-trust-bar { flex-direction: column; gap: 10px; }
 .agency-refresh .hero-preview-card { padding: 22px; }
 .agency-refresh .delivery-intro { grid-template-columns: 1fr; gap: 16px; }
 .agency-refresh .delivery-grid { grid-template-columns: 1fr; }
 .agency-refresh .delivery-grid > li { padding: 22px; }
 .agency-refresh .delivery-number { margin-bottom: 12px; }
 .agency-refresh .home-project-card, .agency-refresh .contact-channels-box { padding: 24px 20px; }
 .agency-refresh .home-contact-actions { flex-direction: column; }
 .agency-refresh .home-contact-actions a { width: 100%; }
 .agency-refresh .page-title { padding: 112px 0 38px; }
}
@media(prefers-reduced-motion: reduce) {
 .agency-refresh *, .agency-refresh *::before, .agency-refresh *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
/* On smaller screens the legacy header is in document flow. */
@media(max-width: 991px) {
 .agency-refresh .modern-hero { padding-top: 44px; }
 .agency-refresh .page-title { padding-top: 44px; }
}

/* Shared navy banners with light, compact content sections. */
.agency-refresh .modern-hero::before { opacity: .12; }
.agency-refresh .hero-badge { color: #dbeafe; background: #ffffff12; border-color: #ffffff35; }
.agency-refresh .hero-trust-bar { color: #cbd5e1; border-top-color: #ffffff25; }
.agency-refresh .hero-preview-card { border-color: #ffffff25; }
.agency-refresh .hero-preview-header { border-bottom-color: #ffffff25; }
.agency-refresh .hero-stack-pill { color: #e2e8f0; border-color: #ffffff25; background: #ffffff10; }
.agency-refresh .btn-secondary-custom { color: #fff !important; background: #ffffff10; border-color: #ffffff40; }
.agency-refresh .btn-secondary-custom:hover { color: #fff !important; background: #ffffff20; }
.agency-refresh .page-title h1 { color: #fff; }
.agency-refresh .page-title .bread-crumb li:first-child:after { color: var(--agency-blue); }
.agency-refresh .delivery-intro { margin-bottom: 24px; }
.agency-refresh .delivery-grid > li { padding: 20px; }
.agency-refresh .delivery-number { margin-bottom: 14px; }
.agency-refresh .delivery-grid p { margin-bottom: 16px; }
/* Backdrop and drawer appear together; no inherited half-second delay. */
.agency-refresh .mobile-menu { padding-right: 0; width: min(340px, calc(100vw - 24px)); }
.agency-refresh .mobile-menu .menu-backdrop,
.agency-refresh.mobile-menu-visible .mobile-menu .menu-backdrop,
.agency-refresh .mobile-menu .menu-box,
.agency-refresh.mobile-menu-visible .mobile-menu .menu-box,
.agency-refresh .mobile-menu .close-btn { transition: none; }
.agency-refresh .mobile-menu .menu-backdrop { background: rgba(20,33,59,.28); }
.agency-refresh .mobile-menu .close-btn { right: 10px; top: 10px; width: 44px; height: 44px; line-height: 44px; }
.agency-refresh .mobile-menu .nav-logo { padding: 22px 20px; }
.agency-refresh .mobile-menu .nav-logo img { max-width: 170px; }
.agency-refresh .mobile-menu .navigation li > a,
.agency-refresh .mobile-dropdown-btn { font: inherit; font-size: 14px; color: var(--agency-ink); padding: 12px 20px; line-height: 24px; }
.agency-refresh .mobile-dropdown-btn { display: flex; align-items: center; justify-content: space-between; width: 100%; text-align: left; background: transparent; cursor: pointer; border: 0; min-height: 48px; }
.agency-refresh .mobile-menu .navigation li.current > a,
.agency-refresh .mobile-menu .navigation li:hover > a,
.agency-refresh .mobile-dropdown-btn[aria-expanded="true"] { color: var(--agency-blue); background: #f1f5ff; }
.agency-refresh .mobile-menu .navigation li > ul { background: #f8faff; }
.agency-refresh .mobile-menu .navigation li > ul a { font-size: 13px; padding-left: 30px; }
@media(max-width: 991px) {
 .agency-refresh .modern-hero, .agency-refresh .page-title { padding-top: 32px; padding-bottom: 32px; }
}

.agency-refresh .agency-cta-panel { background: var(--agency-gradient); border: 1px solid var(--agency-line); border-radius: 16px; padding: 28px 24px; text-align: center; margin-top: 16px; }
.agency-refresh .hero-tag { color: #b3c8ed; }
.agency-refresh .page-title .bread-crumb li, .agency-refresh .page-title .bread-crumb a { color: #d4e2fb; }
.agency-refresh .page-title .bread-crumb a:hover, .agency-refresh .page-title .bread-crumb li:first-child:after { color: #fff; }
.agency-refresh .agency-cta-panel h3 { color: #fff; }
.agency-refresh .agency-cta-panel p { color: #d6e1f3; }
/* Dedicated footer component avoids inherited vendor footer colors and spacing. */
.agency-refresh .agency-footer { background: #101e36; color: #cbd5e1; padding: 36px 0 18px; }
.agency-refresh .agency-footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.agency-refresh .agency-footer-brand img { width: 180px; height: auto; display: block; margin-bottom: 16px; }
.agency-refresh .agency-footer-brand p { color: #cbd5e1; font-size: 14px; line-height: 1.75; max-width: 350px; margin: 0 0 14px; }
.agency-refresh .agency-footer h2 { color: #fff; font-size: 15px; font-weight: 600; line-height: 1.5; margin-bottom: 12px; }
.agency-refresh .agency-footer a { color: #cbd5e1; font-size: 13px; line-height: 1.6; }
.agency-refresh .agency-footer a:hover { color: #fff; text-decoration: underline; }
.agency-refresh .agency-footer ul { list-style: none; padding: 0; margin: 0; }
.agency-refresh .agency-footer li { margin: 0 0 8px; }
.agency-refresh .agency-footer-bottom { text-align: center; border-top: 1px solid #ffffff25; margin-top: 24px; padding-top: 16px; font-size: 12px; }
@media(min-width: 992px) {
 .agency-refresh:not(.agency-light-header) .main-header:not(.fixed-header) .header-upper { background: transparent; border-bottom-color: transparent; }
 .agency-refresh:not(.agency-light-header) .main-header:not(.fixed-header) .header-upper .logo-box .logo { display: block; }
 .agency-refresh:not(.agency-light-header) .main-header:not(.fixed-header) .header-upper .logo-box .logo-sticky { display: none; }
 .agency-refresh:not(.agency-light-header) .main-header:not(.fixed-header) .main-menu .navigation > li > a { color: #fff; }
 .agency-refresh:not(.agency-light-header) .main-header:not(.fixed-header) .header-upper .outer-box .theme-btn { background: #fff; border-color: #fff; }
 .agency-refresh:not(.agency-light-header) .main-header:not(.fixed-header) .header-upper .outer-box .theme-btn .txt { color: #14213b; }
}
@media(max-width: 767px) {
 .agency-refresh .agency-footer { padding-top: 28px; }
 .agency-refresh .agency-footer-grid { grid-template-columns: 1fr 1fr; gap: 24px 16px; }
 .agency-refresh .agency-footer-brand { grid-column: 1 / -1; }
 .agency-refresh .agency-footer li { margin-bottom: 6px; }
}


/* Outlined full-wordmark SVGs retain their proportions at every breakpoint. */
.agency-refresh .main-header .logo-box img { width: 180px; height: auto; }
.agency-refresh .mobile-menu .nav-logo img { width: 170px; height: auto; }
.agency-refresh .agency-footer-brand img { width: 180px; height: auto; }

/* Keep the full navigation on one row on tablets and smaller desktops. */
@media (min-width: 992px) and (max-width: 1199px) {
  .agency-refresh .main-header .logo-box img { width: 150px; }
  .agency-refresh .main-header .main-menu .navigation > li { margin-right: 14px; }
  .agency-refresh .main-header .main-menu .navigation > li:last-child { margin-right: 0; }
  .agency-refresh .main-header .main-menu .navigation > li > a { font-size: 15px; white-space: nowrap; }
  .agency-refresh .main-header .header-upper .outer-box { padding-left: 14px; }
  .agency-refresh .main-header .header-upper .outer-box .theme-btn {
    padding-inline: 18px;
    font-size: 12px;
    letter-spacing: .4px;
    white-space: nowrap;
  }
}

/* The legacy header enters normal flow below 1024px. Keep the
   transparent desktop header over the dark banner in the overlap. */
@media (min-width: 992px) and (max-width: 1023px) {
  .agency-refresh .main-header:not(.fixed-header) {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
  }
}
