/* AZD Team — shared public visual system.
   One composition for every page: copy on paper, image beside/below, caption outside.
   Join the established layer so the same contract wins over legacy mobile overrides. */
@layer azd-mobile-refinement {
body #root#root#root .azd-public-shell {
 --azd-blue:#193b61; --azd-ink:#1c2d39; --azd-muted:#526777;
 --azd-line:#d8e0e8; --azd-paper:#f6f8fa; --azd-radius:8px;
 --azd-gap:24px; --azd-gap-small:16px; --azd-section-space:64px; --azd-gutter:40px;
 --azd-uniform-opening-space:56px;
 --azd-reading-width:72ch;
 --azd-content-max:1376px; --azd-page-gutter:var(--azd-gutter);
 --azd-uniform-content:var(--azd-content-max); --azd-uniform-gutter:var(--azd-page-gutter);
 color:var(--azd-ink);
}
body #root#root#root .azd-public-shell>.home-header {
 position:relative!important; inset:auto!important; z-index:50!important;
 width:100%!important; max-width:1680px!important; margin:0 auto!important;
 background:#fff!important; border-bottom:1px solid var(--azd-line)!important;
 box-shadow:none!important;
}
body #root#root#root .azd-public-shell .home-header__mobile-contact {
 border-color:var(--azd-blue)!important; border-radius:6px!important;
 color:var(--azd-blue)!important; background:#fff!important;
 min-height:44px!important; font-size:11px!important; font-weight:600!important;
}
body #root#root#root .azd-public-shell .home-header__mobile-contact:is(:hover,:focus-visible) {
 color:#fff!important; background:var(--azd-blue)!important;
}
body #root#root#root .azd-public-shell .home-menu-toggle {min-width:44px!important;min-height:44px!important;}
body .azd-mobile-contact a {color:#fff!important;background:#193b61!important;border-color:#193b61!important;border-radius:6px!important;font-weight:600!important;}
body .azd-mobile-contact a+a {color:#193b61!important;background:#fff!important;}
body .azd-mobile-contact a:is(:hover,:focus-visible) {color:#193b61!important;background:#fff!important;}
body .azd-mobile-contact a+a:is(:hover,:focus-visible) {color:#fff!important;background:#193b61!important;}
body #root#root#root .azd-public-shell :is(.home-hero,.page-hero) {
 box-sizing:border-box!important; position:relative!important; display:grid!important;
 grid-template-columns:minmax(0,44fr) minmax(0,56fr)!important;
 grid-template-rows:minmax(0,1fr) auto!important; gap:0!important;
 width:100%!important; max-width:1680px!important; min-width:0!important;
 height:auto!important; min-height:520px!important; max-height:none!important;
 margin:0 auto!important; padding:0!important; overflow:hidden!important;
 background:#fff!important; border:0!important; border-bottom:1px solid var(--azd-line)!important;
 isolation:isolate;
}
body #root#root#root .azd-public-shell :is(.home-hero,.page-hero)::before,
body #root#root#root .azd-public-shell :is(.home-hero,.page-hero)::after,
body #root#root#root .azd-public-shell :is(.page-hero__wireframe,.page-hero__editorial) {display:none!important;}
body #root#root#root .azd-public-shell :is(.home-hero__copy,.page-hero__copy) {
 box-sizing:border-box!important; position:relative!important; inset:auto!important;
 grid-column:1!important; grid-row:1 / 3!important; order:0!important;
 display:flex!important; flex-direction:column!important; align-items:flex-start!important;
 justify-content:center!important; gap:0!important;
 width:100%!important; max-width:none!important; min-width:0!important;
 height:auto!important; min-height:520px!important; max-height:none!important;
 margin:0!important; padding:48px clamp(28px,4vw,64px)!important;
 background:#fff!important; color:var(--azd-ink)!important; text-shadow:none!important;
 z-index:1!important; transform:none!important; overflow:visible!important;
}
body #root#root#root .azd-public-shell :is(.home-hero__copy,.page-hero__copy)::before,
body #root#root#root .azd-public-shell :is(.home-hero__copy,.page-hero__copy)::after {display:none!important;}
body #root#root#root .azd-public-shell :is(.home-hero__copy,.page-hero__copy)>* {
 order:0!important; max-width:100%!important; text-shadow:none!important;
}
body #root#root#root .azd-public-shell :is(.home-hero__copy,.page-hero__copy) h1 {
 width:100%!important; max-width:18ch!important; margin:0 0 20px!important;
 color:var(--azd-ink)!important; -webkit-text-fill-color:var(--azd-ink)!important;
 font-size:clamp(36px,3.6vw,58px)!important; font-weight:400!important;
 line-height:1.08!important; letter-spacing:-.045em!important;
 text-wrap:balance; overflow-wrap:normal!important;
}
body #root#root#root .azd-public-shell :is(.home-hero__copy,.page-hero__copy) h1 :is(span,strong) {
 color:inherit!important; -webkit-text-fill-color:currentColor!important;
}
body #root#root#root .azd-public-shell .home-hero__copy .azd-hero-primary-line {
 display:block!important; font:inherit!important; line-height:inherit!important;
}
body #root#root#root .azd-public-shell .home-hero__copy .azd-hero-specialties {
 display:block!important; margin-top:16px!important;
 font-size:clamp(20px,1.8vw,26px)!important; font-weight:400!important;
 line-height:1.3!important; letter-spacing:-.02em!important;
}
body #root#root#root .azd-public-shell :is(.home-hero__copy,.page-hero__copy)>:is(p,.page-hero__description) {
 width:100%!important; max-width:52ch!important; margin:0!important;
 color:var(--azd-muted)!important; -webkit-text-fill-color:var(--azd-muted)!important;
 font-size:15px!important; line-height:1.75!important; font-weight:400!important;
 text-wrap:pretty; text-shadow:none!important;
}
body #root#root#root .azd-public-shell :is(.home-hero__copy,.page-hero__copy)>p :is(b,strong) {
 color:inherit!important; -webkit-text-fill-color:currentColor!important; font-weight:400!important;
}
body #root#root#root .azd-public-shell :is(.home-hero__copy,.page-hero__copy)>p br {display:initial!important;}
body #root#root#root .azd-public-shell :is(.home-hero__audience,.page-hero__eyebrow) {
 display:block!important; margin:0 0 20px!important; color:var(--azd-muted)!important;
 -webkit-text-fill-color:var(--azd-muted)!important;
 font-size:10px!important; line-height:1.6!important; letter-spacing:.14em!important;
}
body #root#root#root .azd-public-shell .page-hero__meta-line {
 display:block!important; width:100%!important; margin:16px 0 0!important;
 color:var(--azd-muted)!important; -webkit-text-fill-color:var(--azd-muted)!important;
 font-size:12px!important; line-height:1.6!important; font-weight:500!important;
}
body #root#root#root .azd-public-shell :is(.home-hero__actions,.page-hero__actions) {
 position:static!important; display:flex!important; flex-wrap:wrap!important;
 flex-direction:column!important; align-items:flex-start!important; justify-content:flex-start!important;
 width:100%!important; max-width:100%!important; min-width:0!important;
 margin:24px 0 0!important; padding:0!important; gap:12px!important; transform:none!important;
}
body #root#root#root .azd-public-shell .page-hero__location {
 position:static!important; margin:24px 0 0!important; padding:0!important;
 color:var(--azd-muted)!important; -webkit-text-fill-color:var(--azd-muted)!important;
 font-size:12px!important; line-height:1.5!important;
}
body #root#root#root .azd-public-shell :is(.home-hero__image,.page-hero__visual) {
 box-sizing:border-box!important; position:relative!important; inset:auto!important;
 grid-column:2!important; grid-row:1!important; order:1!important;
 width:100%!important; max-width:none!important; min-width:0!important;
 height:100%!important; min-height:0!important; max-height:none!important;
 margin:0!important; padding:0!important; transform:none!important;
 opacity:1!important; filter:none!important; mix-blend-mode:normal!important;
 clip-path:none!important; mask:none!important; -webkit-mask:none!important;
 border:0!important; border-radius:0!important; overflow:hidden!important;
 background-color:var(--azd-paper)!important; background-position:center!important;
 background-size:cover!important; background-repeat:no-repeat!important;
}
body #root#root#root .azd-public-shell .page-hero__visual {background-image:var(--page-hero-image)!important;}
body #root#root#root .azd-public-shell .page-hero__visual:has(img) {background-image:none!important;}
body #root#root#root .azd-public-shell .home-hero__image {
 grid-row:1 / 3!important; display:grid!important; grid-template-rows:minmax(0,1fr) auto!important;
 aspect-ratio:auto!important;
}
body #root#root#root .azd-public-shell :is(.home-hero__image,.page-hero__visual)::before,
body #root#root#root .azd-public-shell :is(.home-hero__image,.page-hero__visual)::after {display:none!important;}
body #root#root#root .azd-public-shell :is(.home-hero__image,.page-hero__visual) :is(picture,img) {
 display:block!important; position:static!important; inset:auto!important;
 width:100%!important; max-width:none!important; min-width:0!important;
 height:100%!important; max-height:none!important; margin:0!important; padding:0!important;
 object-fit:cover!important; object-position:center!important; border-radius:0!important;
 opacity:1!important; transform:none!important; filter:none!important;
}
body #root#root#root .azd-public-shell :is(.home-hero,.page-hero) .hero-caption {
 box-sizing:border-box!important; position:static!important; inset:auto!important;
 grid-column:2!important; grid-row:2!important; order:2!important;
 display:block!important; width:100%!important; max-width:none!important;
 margin:0!important; padding:16px 24px!important;
 background:var(--azd-paper)!important; color:var(--azd-muted)!important;
 -webkit-text-fill-color:var(--azd-muted)!important; text-shadow:none!important;
 font-size:12px!important; font-weight:400!important; line-height:1.6!important;
 text-align:left!important; box-shadow:none!important; border:0!important;
 transform:none!important; pointer-events:auto!important;
}
body #root#root#root .azd-public-shell .home-hero__image .hero-caption {grid-column:1!important;}
body #root#root#root .azd-public-shell :is(.home-section,.section-shell,.services-main,.workflow-main,.team-main,.pricing-main,.contact-main,.guide-main,.blog-main) {
 scroll-margin-top:96px;
}
body #root#root#root .azd-public-shell :is(.home-eyebrow,.section-eyebrow,.page-eyebrow) {color:var(--azd-muted)!important;letter-spacing:.14em!important;font-size:10px!important;line-height:1.6!important;}
body #root#root#root .azd-public-shell :is(.site-closing-cta,.home-cta) {
 border-radius:var(--azd-radius)!important;
}
@media(max-width:900px) {
 body #root#root#root .azd-public-shell {--azd-gutter:24px;--azd-section-space:48px;--azd-uniform-opening-space:32px;}
 body #root#root#root .azd-public-shell :is(.home-hero,.page-hero) {
  display:flex!important; flex-direction:column!important; min-height:0!important;
  height:auto!important; max-height:none!important; padding:0!important;
 }
 body #root#root#root .azd-public-shell :is(.home-hero__copy,.page-hero__copy) {
  position:relative!important; order:0!important; min-height:0!important;
  height:auto!important; padding:40px var(--azd-gutter) 32px!important;
  justify-content:flex-start!important; background:#fff!important;
 }
 body #root#root#root .azd-public-shell :is(.home-hero__copy,.page-hero__copy) h1 {
  font-size:clamp(34px,6vw,48px)!important; max-width:22ch!important; margin-bottom:18px!important;
 }
 body #root#root#root .azd-public-shell :is(.home-hero__image,.page-hero__visual) {
  position:relative!important; order:1!important; min-height:0!important; height:auto!important;
  aspect-ratio:16 / 10!important; width:100%!important; margin:0!important;
 }
 body #root#root#root .azd-public-shell .home-hero__image {
  display:block!important; aspect-ratio:auto!important;
 }
 body #root#root#root .azd-public-shell .home-hero__image>picture {height:auto!important;aspect-ratio:16 / 10!important;}
 body #root#root#root .azd-public-shell .home-hero__image>picture>img {height:100%!important;}
 body #root#root#root .azd-public-shell :is(.home-hero,.page-hero) .hero-caption {
  position:static!important; order:2!important; padding:14px var(--azd-gutter)!important;
 }
 body #root#root#root .azd-public-shell .page-hero__location {margin-top:18px!important;}
}
@media(max-width:620px) {
 body #root#root#root .azd-public-shell {--azd-gutter:20px;--azd-gap:16px;--azd-section-space:40px;}
 body #root#root#root .azd-public-shell :is(.home-hero__copy,.page-hero__copy) {padding-top:32px!important;padding-bottom:28px!important;}
 body #root#root#root .azd-public-shell :is(.home-hero__copy,.page-hero__copy)>:is(p,.page-hero__description) {font-size:15px!important;line-height:1.7!important;}
 body #root#root#root .azd-public-shell :is(.home-hero__actions,.page-hero__actions) {gap:10px!important;margin-top:22px!important;}
 body #root#root#root .azd-public-shell .home-hero__copy .azd-hero-specialties {font-size:21px!important;margin-top:14px!important;}
}
@media(prefers-reduced-motion:reduce) {
 body #root#root#root .azd-public-shell {scroll-behavior:auto!important;}
}
}


/* AZD shared content system. Heroes, header, footer and primary CTA treatments
   are owned by the main stylesheet. Existing content and interaction hooks stay intact. */
@layer azd-mobile-refinement {
  body #root#root#root .azd-public-shell .blog-filter-group {padding-inline:0!important;}
  body #root#root#root .azd-public-shell .blog-filter-group > nav {display:flex!important;flex-wrap:wrap!important;gap:8px!important;}
  body #root#root#root .azd-public-shell .blog-filter-group > nav > button::after {display:none!important;}
  body #root#root#root .azd-public-shell .blog-view-toggle {gap:8px!important;background:transparent!important;}
  body #root#root#root .azd-public-shell .blog-nav {width:min(var(--azd-content-max),calc(100% - var(--azd-page-gutter) * 2))!important;margin-inline:auto!important;}
  body #root#root#root .azd-public-shell .blog-nav__inner {padding-inline:0!important;}
  body #root#root#root .azd-public-shell .blog-search > label {border:0!important;border-radius:0!important;box-shadow:none!important;}
  body #root#root#root .azd-public-shell .blog-search > label > input {border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;}
  body #root#root#root .azd-public-shell :is(.blog-search,.portfolio-search):focus-within {outline:2px solid var(--azd-blue)!important;outline-offset:3px!important;}
  body #root#root#root .azd-public-shell .azd-service-section[open] > summary .azd-service-section__indicator {
    transform: none !important;
    font-size: 0 !important;
  }
  body #root#root#root .azd-public-shell .azd-service-section[open] > summary .azd-service-section__indicator::before {
    content: "−";
    font-size: 21px;
    line-height: 1;
  }
  body #root#root#root .azd-public-shell :is(.azd-brief,.azd-quick-contact,.contact-form,.price-quote-form,.pricing-configurator,.portfolio-filters,.blog-search) :is(input,select,textarea):focus-visible {
    outline: 2px solid #193b61 !important;
    outline-offset: 3px !important;
  }
  body #root#root#root .azd-public-shell :is(.blog-search,.portfolio-search) input:focus-visible {outline:none!important;}
  body #root#root#root .azd-public-shell .project-carousel-controls {
    background: #193b61 !important;
    color: #fff !important;
  }
  body #root#root#root .azd-public-shell .project-carousel-controls button {
    min-width: 44px !important;
    min-height: 44px !important;
    color: #fff !important;
  }
  body #root#root#root .azd-public-shell {
    --azd-ink: #1c2d39;
    --azd-blue: #193b61;
    --azd-muted: #526777;
    --azd-line: #d8e0e8;
    --azd-paper: #f6f8fa;
    --azd-radius: 8px;
    --azd-gap: 24px;
    --azd-gap-small: 16px;
    --azd-content-max: 1376px;
    --azd-page-gutter: 40px;
    --azd-section-space: clamp(40px, 4.5vw, 64px);
    --azd-card-space: 24px;
  }

  /* The same content edges and section rhythm across the public page families. */
  body #root#root#root .azd-public-shell :is(
    .home-content, .services-main > .azd-services-editorial, .services-main > .services-workbench,
    .services-main > .azd-diaspora, .workflow-main > .workflow-collaboration,
    .workflow-main > .workflow-process, .team-main > .team-proof, .team-main > .team-coordinator,
    .team-main > .team-leads, .team-main > .team-authorizations, .team-main > .team-roster,
    .contact-main > .contact-lead, .contact-main > .contact-reviews, .contact-main > .contact-visit,
    .prices-main > .pricing-paths, .prices-main > .pricing-workspace,
    .prices-main > .pricing-conditions, .prices-main > .pricing-included,
    .prices-main > .pricing-process, .prices-main > .price-faq,
    .guide-main > .guide-workspace, .guide-main > .guide-related, .guide-main > .guide-editorial
  ) {
    box-sizing: border-box !important;
    width: min(var(--azd-content-max), calc(100% - var(--azd-page-gutter) * 2)) !important;
    max-width: var(--azd-content-max) !important;
    min-width: 0 !important;
    margin-inline: auto !important;
    padding-inline: 0 !important;
  }
  body #root#root#root .azd-public-shell :is(
    .home-content > .home-realized-proof, .home-content > .azd-unified-portfolio,
    .home-content > .azd-unified-services, .home-content > .azd-project-value,
    .home-content > .azd-diaspora, .home-content > .home-authority, .home-content > .home-reviews,
    .services-main > .azd-services-editorial, .services-main > .services-workbench,
    .services-main > .azd-diaspora, .workflow-main > .workflow-collaboration,
    .workflow-main > .workflow-process, .team-main > .team-proof, .team-main > .team-coordinator,
    .team-main > .team-leads, .team-main > .team-authorizations, .team-main > .team-roster,
    .contact-main > .contact-lead, .contact-main > .contact-reviews, .contact-main > .contact-visit,
    .prices-main > .pricing-conditions, .prices-main > .pricing-included,
    .prices-main > .pricing-process, .prices-main > .price-faq,
    .guide-main > .guide-editorial
  ) {
    margin-block: 0 !important;
    padding-block: var(--azd-section-space) !important;
    border-top: 0 !important;
    border-bottom: 1px solid var(--azd-line) !important;
  }

  /* Shared heading/paragraph scale, limited to editorial section introductions. */
  body #root#root#root .azd-public-shell :is(
    .home-realized-proof__copy, .azd-unified-portfolio__heading, .azd-unified-services__heading,
    .azd-project-value__heading, .azd-services-editorial__heading, .workflow-section-heading,
    .team-proof__heading, .team-leads, .team-authorizations__intro, .team-roster__content,
    .contact-details, .contact-visit__intro, .pricing-section-heading,
    .pricing-conditions, .pricing-included, .pricing-process, .price-faq, .guide-editorial
  ) h2 {
    margin: 0 0 16px !important;
    color: var(--azd-ink) !important;
    font-size: clamp(28px, 3vw, 40px) !important;
    font-weight: 400 !important;
    line-height: 1.18 !important;
    letter-spacing: -.035em !important;
    text-wrap: balance;
  }
  body #root#root#root .azd-public-shell :is(
    .azd-unified-portfolio__heading, .azd-unified-services__heading,
    .azd-services-editorial__heading, .workflow-section-heading, .team-proof__copy,
    .team-coordinator__copy, .team-authorizations__intro, .contact-visit__intro,
    .pricing-section-heading, .guide-editorial
  ) p {
    max-width: 70ch;
    color: var(--azd-muted) !important;
    font-size: 16px !important;
    line-height: 1.75 !important;
    text-wrap: pretty;
  }

  /* Grids share spacing; their column counts retain the meaning of each section. */
  body #root#root#root .azd-public-shell :is(
    .home-selected__grid, .azd-unified-services__grid, .azd-project-value__grid,
    .workflow-options, .workflow-process__tracks, .team-leads__grid,
    .team-authorizations__records, .team-roster__grid, .contact-location-grid,
    .azd-brief__grid, .blog-grid, .azd-server-grid
  ) {
    gap: var(--azd-gap) !important;
    min-width: 0 !important;
  }

  /* One card surface. No double border on the inner cards of homepage sectors. */
  body #root#root#root .azd-public-shell :is(
    .azd-portfolio-card, .azd-unified-service, .workflow-option, .workflow-track,
    .team-leads__grid > article, .team-authorizations__records > article,
    .contact-location-card, .pricing-estimate, .azd-discovery-card, .editorial-card,
    .project-preview > .project-editorial-card, .realized-page .project-card
  ) {
    box-sizing: border-box !important;
    min-width: 0 !important;
    border: 1px solid var(--azd-line) !important;
    border-radius: var(--azd-radius) !important;
    background: #fff !important;
    box-shadow: 0 3px 14px rgba(25, 59, 97, .035) !important;
  }
  /* The hydrated catalogue keeps display:contents on article wrappers so an
     expanded presentation can span the full row. The feed itself must remain
     a grid: the legacy mobile block override otherwise removes every gap.
     Match the application's 3/2/1-column breakpoints and row variables. */
  body #root#root#root .azd-public-shell .portfolio-page .projects-feed:not(:has(.azd-dedicated-project)) {
    box-sizing: border-box !important;
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    grid-auto-rows: auto !important;
    gap: var(--azd-gap) !important;
    align-items: start !important;
    width: min(var(--azd-content-max), calc(100% - var(--azd-page-gutter) * 2)) !important;
    min-width: 0 !important;
    margin-inline: auto !important;
    padding-inline: 0 !important;
  }
  body #root#root#root .azd-public-shell .portfolio-page .projects-feed:not(:has(.azd-dedicated-project)) > .portfolio-empty {
    grid-column: 1 / -1 !important;
  }
  @media (max-width: 980px) {
    body #root#root#root .azd-public-shell .portfolio-page .projects-feed:not(:has(.azd-dedicated-project)) {
      grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
  }
  @media (max-width: 620px) {
    body #root#root#root .azd-public-shell .portfolio-page .projects-feed:not(:has(.azd-dedicated-project)) {
      grid-template-columns: minmax(0, 1fr) !important;
    }
  }
  body #root#root#root .azd-public-shell :is(
    .azd-portfolio-card__intro, .azd-unified-service__content, .workflow-option__body,
    .workflow-track, .team-leads__grid > article, .team-authorizations__records > article,
    .editorial-card__copy, .azd-discovery-card__copy,
    .project-preview .project-editorial-card__body, .realized-page .project-card__meta
  ) {
    box-sizing: border-box !important;
    padding: var(--azd-card-space) !important;
    min-width: 0 !important;
  }
  body #root#root#root .azd-public-shell :is(
    .azd-portfolio-card__intro, .azd-unified-service__content, .workflow-option__body,
    .team-leads__grid > article, .team-authorizations__records > article,
    .editorial-card__copy, .azd-discovery-card__copy
  ) :is(p, li) {
    color: var(--azd-muted) !important;
    font-size: 14px !important;
    line-height: 1.75 !important;
  }
  body #root#root#root .azd-public-shell :is(.azd-portfolio-card__intro, .azd-unified-service__content) h3 {
    color: var(--azd-ink) !important;
    font-size: 21px !important;
    font-weight: 500 !important;
    line-height: 1.3 !important;
    letter-spacing: -.02em !important;
  }
  /* Both workflow cards now use white copy panels. Reset the former dark
     private-project variant explicitly, including inherited icon and footer
     colors, while leaving its action-button treatment intact. */
  body #root#root#root .azd-public-shell :is(.workflow-option, .workflow-option__body, .workflow-option__body > h3, .workflow-option__body > svg, .workflow-option li > svg) {
    color: var(--azd-ink) !important;
    -webkit-text-fill-color: currentColor !important;
  }
  body #root#root#root .azd-public-shell .workflow-option :is(.workflow-option__body > span, p, li, footer) {
    color: var(--azd-muted) !important;
    -webkit-text-fill-color: currentColor !important;
  }
  body #root#root#root .azd-public-shell .workflow-option li::before {
    color: var(--azd-blue) !important;
  }
  body #root#root#root .azd-public-shell .azd-portfolio-card__filter {
    min-height: 52px !important;
    padding: 14px var(--azd-card-space) !important;
    border-top: 1px solid var(--azd-line) !important;
    color: var(--azd-blue) !important;
    font-size: 13px !important;
    line-height: 1.5 !important;
    text-decoration: none !important;
  }

  /* Editorial thumbnails share a ratio in SSR and hydrated card variants.
     Technical plan/presentation galleries are intentionally not selected. */
  body #root#root#root .azd-public-shell :is(
    .home-selected__grid .project-editorial-card__media,
    .project-preview .project-editorial-card__media,
    .realized-page .project-card__visual, .editorial-card__visual,
    .article-list-item__visual, .blog-featured > a > figure
  ) {
    display: block !important;
    position: relative !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    aspect-ratio: 16 / 10 !important;
    margin: 0 !important;
    background: var(--azd-paper) !important;
    overflow: hidden !important;
  }
  body #root#root#root .azd-public-shell :is(
    .home-selected__grid .project-editorial-card__media,
    .project-preview .project-editorial-card__media,
    .realized-page .project-card__visual, .editorial-card__visual,
    .article-list-item__visual, .blog-featured > a > figure
  ) :is(picture, img) {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    transform: none !important;
  }
  body #root#root#root .azd-public-shell .azd-discovery-card > a > img {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 16 / 10 !important;
    object-fit: cover !important;
    object-position: center !important;
    transform: none !important;
  }
  body #root#root#root .azd-public-shell :is(
    .project-preview .project-editorial-card__title,
    .azd-discovery-card__copy h2, .realized-page .project-card h3,
    .editorial-card h2, .article-list-item__copy h2
  ) {
    display: block !important;
    min-height: 0 !important;
    max-height: none !important;
    max-width: none !important;
    margin: 10px 0 12px !important;
    color: var(--azd-ink) !important;
    font-size: clamp(20px, 1.7vw, 24px) !important;
    font-weight: 500 !important;
    line-height: 1.35 !important;
    letter-spacing: -.025em !important;
    overflow: visible !important;
    text-overflow: clip !important;
    -webkit-line-clamp: unset !important;
    -webkit-box-orient: initial !important;
    text-wrap: pretty;
  }
  body #root#root#root .azd-public-shell :is(
    .editorial-card__copy > p, .article-list-item__copy > p,
    .realized-page .project-card__location, .realized-page .project-card__scope
  ) {
    display: block !important;
    max-height: none !important;
    color: var(--azd-muted) !important;
    font-size: 14px !important;
    line-height: 1.7 !important;
    overflow: visible !important;
    -webkit-line-clamp: unset !important;
    -webkit-box-orient: initial !important;
  }
  body #root#root#root .azd-public-shell :is(
    .project-editorial-card__label, .azd-discovery-card__type,
    .editorial-card__meta, .article-list-item__meta, .article-list-item__reading,
    .realized-page .project-card__eyebrow
  ) {
    color: var(--azd-muted) !important;
    font-size: 12px !important;
    line-height: 1.6 !important;
    letter-spacing: .025em !important;
  }
  body #root#root#root .azd-public-shell .realized-page .project-card__more {
    min-height: 48px !important;
    padding: 12px var(--azd-card-space) !important;
    border-color: var(--azd-line) !important;
    color: var(--azd-blue) !important;
    font-size: 13px !important;
    line-height: 1.5 !important;
  }
  body #root#root#root .azd-public-shell .article-list-item article {
    border-color: var(--azd-line) !important;
    gap: var(--azd-gap) !important;
    padding-block: var(--azd-card-space) !important;
  }
  body #root#root#root .azd-public-shell .realized-page :is(.comparison figcaption, .comparison__note, .comparison__label, .story-gallery__caption) {
    font-size: 13px !important;
    line-height: 1.65 !important;
  }

  /* Service photographs and descriptions now use separate surfaces like the
     portfolio cards. Keeping the original picture preserves sources and alt. */
  body #root#root#root .azd-public-shell .azd-unified-service {
    display: flex !important;
    flex-direction: column !important;
    min-height: 0 !important;
    isolation: auto !important;
    overflow: hidden !important;
  }
  body #root#root#root .azd-public-shell .azd-unified-service > picture {
    position: relative !important;
    inset: auto !important;
    display: block !important;
    flex: 0 0 auto !important;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 16 / 10 !important;
    z-index: auto !important;
    overflow: hidden !important;
    border-bottom: 1px solid var(--azd-line) !important;
  }
  body #root#root#root .azd-public-shell .azd-unified-service > picture img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    transform: none !important;
  }
  body #root#root#root .azd-public-shell .azd-unified-service::after {
    content: none !important;
    display: none !important;
  }
  body #root#root#root .azd-public-shell .azd-unified-service__content {
    flex: 1 1 auto !important;
    background: #fff !important;
  }
  body #root#root#root .azd-public-shell .azd-unified-service__number {
    margin-bottom: 14px !important;
    color: var(--azd-muted) !important;
    font-size: 24px !important;
  }
  body #root#root#root .azd-public-shell .azd-unified-service ul {
    max-width: 100% !important;
    margin-bottom: 22px !important;
  }
  body #root#root#root .azd-public-shell .azd-unified-services__applications {
    border-color: var(--azd-line) !important;
    border-radius: var(--azd-radius) !important;
    background: var(--azd-paper) !important;
    margin-top: var(--azd-gap) !important;
  }
  body #root#root#root .azd-public-shell .azd-unified-services__applications > a {
    padding: var(--azd-card-space) !important;
    align-items: flex-start !important;
  }
  body #root#root#root .azd-public-shell .azd-unified-services__applications p {
    color: var(--azd-muted) !important;
    font-size: 14px !important;
    line-height: 1.7 !important;
  }

  /* Consistent form fields. Native radio, checkbox, range, hidden and submit
     controls are deliberately outside this field selector. */
  body #root#root#root .azd-public-shell :where(
    .azd-brief, .azd-quick-contact, .contact-form, .price-quote-form,
    .pricing-configurator, .portfolio-filters, .blog-search, .realized-page .filter-bar
  ) :where(input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="hidden"]):not([type="submit"]):not([type="button"]), select, textarea) {
    box-sizing: border-box !important;
    max-width: 100% !important;
    min-width: 0 !important;
    min-height: 48px !important;
    padding: 12px 14px !important;
    border: 1px solid var(--azd-line) !important;
    border-radius: var(--azd-radius) !important;
    background-color: #fff !important;
    color: var(--azd-ink) !important;
    font: 400 16px/1.5 "Segoe UI", Arial, sans-serif !important;
    box-shadow: none !important;
  }
  body #root#root#root .azd-public-shell :is(.portfolio-search, .blog-search, .pricing-area-input) {
    box-sizing: border-box !important;
    min-height: 48px !important;
    height: 48px !important;
    border: 1px solid var(--azd-line) !important;
    border-radius: var(--azd-radius) !important;
    background: #fff !important;
  }
  body #root#root#root .azd-public-shell :is(.portfolio-search, .blog-search, .pricing-area-input) > input {
    min-height: 46px !important;
    height: 46px !important;
    border: 0 !important;
    background: transparent !important;
  }
  body #root#root#root .azd-public-shell .pricing-area-input > span {
    border: 0 !important;
    border-left: 1px solid var(--azd-line) !important;
    border-radius: 0 7px 7px 0 !important;
    background: var(--azd-paper) !important;
  }
  body #root#root#root .azd-public-shell :is(.azd-brief, .azd-quick-contact, .contact-form, .price-quote-form) textarea {
    min-height: 144px !important;
    resize: vertical !important;
  }
  body #root#root#root .azd-public-shell :is(.azd-brief__field, .azd-quick-contact, .contact-form, .price-quote-form) label {
    color: var(--azd-ink) !important;
    font-size: 14px !important;
    line-height: 1.6 !important;
  }

  /* Tabs and filter choices are a separate, quiet control family. They do not
     borrow the large leading icon or arrow tile from primary CTA buttons. */
  body #root#root#root .azd-public-shell :is(
    .portfolio-categories > a, .portfolio-categories > button,
    .azd-discovery-phase-pills > button, .blog-filter-group > nav > button, .blog-view-toggle > button,
    .services-audience-tabs > button, .guide-tabs > button, .guide-tabs > [role="tablist"] > button,
    .guide-deliverable-tabs > button, .azd-contact-options__tabs > button,
    .realized-page .transform-tabs > button, .realized-page .gallery-sections > a,
    .pricing-paths > button, .pricing-category-grid > label,
    .pricing-mode-grid > label, .pricing-phase-grid > label
  ) {
    box-sizing: border-box !important;
    min-width: 0 !important;
    min-height: 48px !important;
    padding: 12px 16px !important;
    border: 1px solid var(--azd-line) !important;
    border-radius: var(--azd-radius) !important;
    background: #fff !important;
    color: var(--azd-blue) !important;
    font: 600 13px/1.5 "Segoe UI", Arial, sans-serif !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    text-decoration: none !important;
    white-space: normal !important;
    box-shadow: none !important;
    transform: none !important;
  }
  body #root#root#root .azd-public-shell :is(
    .portfolio-categories > a, .portfolio-categories > button,
    .azd-discovery-phase-pills > button, .blog-filter-group > nav > button, .blog-view-toggle > button,
    .services-audience-tabs > button, .guide-tabs > button, .guide-tabs > [role="tablist"] > button,
    .guide-deliverable-tabs > button, .azd-contact-options__tabs > button,
    .realized-page .transform-tabs > button, .realized-page .gallery-sections > a,
    .pricing-paths > button, .pricing-category-grid > label,
    .pricing-mode-grid > label, .pricing-phase-grid > label
  ):is(.active, .is-active, .selected, [aria-selected="true"], [aria-pressed="true"], [aria-current="page"]) {
    border-color: var(--azd-blue) !important;
    background: var(--azd-blue) !important;
    color: #fff !important;
  }
  body #root#root#root .azd-public-shell :is(.pricing-paths > button, .pricing-category-grid > label, .pricing-mode-grid > label, .pricing-phase-grid > label).selected :is(span, small, strong) {
    color: inherit !important;
  }
  body #root#root#root .azd-public-shell :is(.pricing-category-grid, .pricing-mode-grid, .pricing-phase-grid) > label:has(input:focus-visible) {
    outline: 3px solid #84a4b6 !important;
    outline-offset: 3px !important;
  }

  @media (max-width: 900px) {
    body #root#root#root .azd-public-shell .guide-workspace .guide-tabs {
      position: static !important;
      display: block !important;
      width: 100% !important;
      max-width: 100% !important;
      margin: 0 0 24px !important;
      padding: 0 !important;
      border: 0 !important;
      background: #fff !important;
      overflow: visible !important;
    }
    body #root#root#root .azd-public-shell .guide-workspace .guide-tabs > span {
      position: static !important;
      display: block !important;
      margin: 0 0 12px !important;
      padding: 0 !important;
      background: transparent !important;
      color: var(--azd-muted) !important;
    }
    body #root#root#root .azd-public-shell .guide-workspace .guide-tabs > [role="tablist"] {
      display: flex !important;
      flex-wrap: wrap !important;
      gap: 8px !important;
      overflow: visible !important;
    }
    body #root#root#root .azd-public-shell .guide-workspace .guide-tabs > [role="tablist"] > button {
      flex: 0 1 auto !important;
      width: auto !important;
      min-height: 48px !important;
    }
  }

  @media (max-width: 700px) {
    body #root#root#root .azd-public-shell {
      --azd-page-gutter: 20px;
      --azd-gap: 16px;
      --azd-section-space: 36px;
      --azd-card-space: 20px;
    }
    body #root#root#root .azd-public-shell :is(.azd-unified-services__grid, .workflow-options, .workflow-process__tracks, .team-leads__grid, .contact-location-grid) {
      grid-template-columns: minmax(0, 1fr) !important;
    }
    body #root#root#root .azd-public-shell :is(.azd-unified-services__heading, .azd-unified-portfolio__heading, .workflow-section-heading, .contact-visit__intro) {
      gap: var(--azd-gap) !important;
      margin-bottom: 24px !important;
    }
    body #root#root#root .azd-public-shell :is(.azd-unified-portfolio__heading, .azd-unified-services__heading, .azd-services-editorial__heading, .workflow-section-heading, .team-proof__copy, .team-authorizations__intro, .contact-visit__intro, .guide-editorial) p {
      font-size: 15px !important;
    }
    body #root#root#root .azd-public-shell .article-list-item article {
      display: flex !important;
      flex-direction: column !important;
      align-items: stretch !important;
      gap: 0 !important;
      padding: 0 !important;
      margin-bottom: var(--azd-gap) !important;
      border: 1px solid var(--azd-line) !important;
      border-radius: var(--azd-radius) !important;
      background: #fff !important;
      overflow: hidden !important;
    }
    body #root#root#root .azd-public-shell .article-list-item :is(.article-list-item__visual, .article-list-item__meta, .article-list-item__copy, .article-list-item__reading) {
      grid-area: auto !important;
      min-width: 0 !important;
      width: auto !important;
      max-width: 100% !important;
      margin: 0 !important;
    }
    body #root#root#root .azd-public-shell .article-list-item__visual { order: 0 !important; }
    body #root#root#root .azd-public-shell .article-list-item__meta {
      order: 1 !important;
      padding: var(--azd-card-space) var(--azd-card-space) 0 !important;
      flex-wrap: wrap !important;
    }
    body #root#root#root .azd-public-shell .article-list-item__copy {
      order: 2 !important;
      padding: 0 var(--azd-card-space) !important;
    }
    body #root#root#root .azd-public-shell .article-list-item__reading {
      order: 3 !important;
      padding: 16px var(--azd-card-space) var(--azd-card-space) !important;
      justify-content: flex-start !important;
    }
  }
  @media (max-width: 350px) {
    body #root#root#root .azd-public-shell { --azd-page-gutter: 16px; --azd-card-space: 16px; }
  }
}


/* AZD unified visual system: reading pages and project presentations.
   This component contract covers SSR and hydrated variants equally.
   Primary CTA styling, gallery hit areas and image interactions are untouched. */
@layer azd-mobile-refinement {
  body #root#root#root .azd-public-shell :is(.article-template, .legal-page, .azd-project-presentation) {
    --project-ink: var(--azd-ink, #1c2d39);
    --project-muted: var(--azd-muted, #526777);
    --project-line: var(--azd-line, #d8e0e8);
    --project-soft: var(--azd-paper, #f6f8fa);
    color: var(--azd-ink, #1c2d39) !important;
    font-family: var(--azd-uniform-font, "Segoe UI", Arial, sans-serif) !important;
  }

  /* Outer alignment is shared; reading width is a nested constraint. */
  body #root#root#root .azd-public-shell :is(.article-hero, .article-layout, .article-related, .article-adjacent, .next-article, .article-navigation__inner, .legal-page) {
    box-sizing: border-box !important;
    width: min(var(--azd-uniform-content, 1280px), calc(100% - 2 * var(--azd-uniform-gutter, clamp(20px, 4vw, 48px)))) !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin-inline: auto !important;
  }

  body #root#root#root .azd-public-shell .article-hero {
    padding: var(--azd-uniform-opening-space, 56px) 0 0 !important;
    background: #fff !important;
  }
  body #root#root#root .azd-public-shell .article-hero__copy {
    width: 100% !important;
    max-width: 960px !important;
    min-width: 0 !important;
  }
  body #root#root#root .azd-public-shell .legal-page {
    padding: var(--azd-uniform-opening-space, 56px) 0 64px !important;
  }
  body #root#root#root .azd-public-shell .legal-hero {
    padding: 0 0 32px !important;
    border-bottom: 1px solid var(--azd-line, #d8e0e8) !important;
  }

  body #root#root#root .azd-public-shell :is(.article-hero h1, .legal-hero h1),
  body #root#root#root .azd-public-shell .azd-project-presentation .azd-project-presentation__header :is(h1, h2),
  body #root#root#root .azd-public-shell .azd-project-presentation[data-long-title="true"] .azd-project-presentation__header :is(h1, h2) {
    max-width: 100% !important;
    margin: 18px 0 !important;
    color: var(--azd-ink, #1c2d39) !important;
    -webkit-text-fill-color: currentColor !important;
    font-family: var(--azd-uniform-font, "Segoe UI", Arial, sans-serif) !important;
    font-size: clamp(34px, 4.3vw, 58px) !important;
    font-weight: 350 !important;
    line-height: 1.14 !important;
    letter-spacing: -.035em !important;
    text-transform: none !important;
    text-shadow: none !important;
    text-wrap: pretty;
    overflow-wrap: break-word !important;
  }
  body #root#root#root .azd-public-shell .azd-project-presentation .azd-project-presentation__header :is(h1, h2) {
    margin-block: 0 !important;
  }
  body #root#root#root .azd-public-shell :is(.article-hero__copy > p, .legal-hero > p, .azd-project-presentation__summary, .azd-project-presentation__official-title) {
    max-width: 72ch !important;
    color: var(--azd-muted, #526777) !important;
    font-size: 15px !important;
    font-weight: 400 !important;
    line-height: 1.75 !important;
    text-shadow: none !important;
  }
  body #root#root#root .azd-public-shell :is(.article-hero dl, .azd-project-presentation__eyebrow-row) {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 16px 32px !important;
    margin: 24px 0 !important;
    padding-top: 18px !important;
    border-top: 1px solid var(--azd-line, #d8e0e8) !important;
  }
  body #root#root#root .azd-public-shell :is(.article-hero dt, .azd-project-presentation__eyebrow, .azd-project-presentation__title-label, .legal-hero > span) {
    color: var(--azd-muted, #526777) !important;
    font-size: 11px !important;
    line-height: 1.5 !important;
    font-weight: 600 !important;
    letter-spacing: .09em !important;
  }
  body #root#root#root .azd-public-shell :is(.article-hero dd, .azd-project-presentation__badge) {
    margin: 0 !important;
    color: var(--azd-ink, #1c2d39) !important;
    font-size: 13px !important;
    line-height: 1.65 !important;
  }

  /* Keep editorial responsibility readable without two widely spaced link rows. */
  body #root#root#root .azd-public-shell .azd-editorial-accountability {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 6px 12px !important;
    margin: 20px 0 !important;
    padding: 16px !important;
    border-left-color: var(--azd-blue, #193b61) !important;
    background: var(--azd-paper, #f6f8fa) !important;
    color: var(--azd-muted, #526777) !important;
  }
  body #root#root#root .azd-public-shell .azd-editorial-accountability > p {
    flex-basis: 100% !important;
    margin: 0 !important;
  }
  body #root#root#root .azd-public-shell .azd-editorial-accountability > a {
    display: inline-flex !important;
    align-items: center !important;
    min-height: 44px !important;
    margin: 0 !important;
    color: var(--azd-blue, #193b61) !important;
  }

  /* Image and caption are independent rows; no editorial copy obscures media. */
  body #root#root#root .azd-public-shell .article-hero__image {
    display: block !important;
    position: relative !important;
    height: auto !important;
    max-height: none !important;
    aspect-ratio: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    border: 1px solid var(--azd-line, #d8e0e8) !important;
    border-radius: var(--azd-radius, 8px) !important;
    background: #fff !important;
  }
  body #root#root#root .azd-public-shell .article-hero__image > picture {
    display: block !important;
    position: relative !important;
    inset: auto !important;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 16 / 9 !important;
  }
  body #root#root#root .azd-public-shell .article-hero__image img {
    display: block !important;
    position: relative !important;
    inset: auto !important;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 16 / 9 !important;
    object-fit: cover !important;
  }
  body #root#root#root .azd-public-shell .article-hero__image > figcaption.hero-caption {
    display: block !important;
    visibility: visible !important;
    position: static !important;
    inset: auto !important;
    width: 100% !important;
    max-width: none !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    padding: 14px 20px !important;
    background: #fff !important;
    color: var(--azd-muted, #526777) !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    line-height: 1.65 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    text-align: left !important;
    text-shadow: none !important;
  }

  body #root#root#root .azd-public-shell .article-layout {
    grid-template-columns: 220px minmax(0, 78ch) !important;
    justify-content: start !important;
    align-items: start !important;
    gap: 48px !important;
    padding: 48px 0 64px !important;
  }
  body #root#root#root .azd-public-shell :is(.article-body, .legal-content) {
    width: 100% !important;
    max-width: 78ch !important;
    min-width: 0 !important;
    margin: 0 !important;
  }
  body #root#root#root .azd-public-shell .legal-content {
    padding-top: 8px !important;
  }
  body #root#root#root .azd-public-shell .legal-content section {
    padding-block: 28px !important;
    border-color: var(--azd-line, #d8e0e8) !important;
  }
  body #root#root#root .azd-public-shell :is(.article-body, .legal-content, .azd-project-presentation__text, .azd-project-presentation__description, .story-narrative) :is(p, li) {
    color: var(--azd-muted, #526777) !important;
    font-size: 15px !important;
    font-weight: 400 !important;
    line-height: 1.75 !important;
    letter-spacing: 0 !important;
    overflow-wrap: break-word !important;
  }
  body #root#root#root .azd-public-shell :is(.article-body, .legal-content, .azd-project-presentation__text, .story-narrative) p {
    margin: 0 0 16px !important;
  }
  body #root#root#root .azd-public-shell :is(.article-body, .legal-content, .azd-project-presentation__text) :is(ul, ol) {
    margin-block: 16px !important;
    padding-left: 22px !important;
  }
  body #root#root#root .azd-public-shell :is(.article-body, .legal-content) li + li {
    margin-top: 8px !important;
  }
  body #root#root#root .azd-public-shell :is(.article-body, .legal-content) h2,
  body #root#root#root .azd-public-shell .azd-project-presentation .azd-project-presentation__section-heading :is(h2, h3) {
    color: var(--azd-ink, #1c2d39) !important;
    font-family: var(--azd-uniform-font, "Segoe UI", Arial, sans-serif) !important;
    font-size: clamp(28px, 2.8vw, 40px) !important;
    font-weight: 400 !important;
    line-height: 1.22 !important;
    letter-spacing: -.025em !important;
    text-transform: none !important;
    text-wrap: pretty;
  }
  body #root#root#root .azd-public-shell :is(.article-body, .legal-content) h2 {
    margin: 32px 0 16px !important;
  }
  body #root#root#root .azd-public-shell .legal-content section > h2:first-child {
    margin-top: 0 !important;
  }
  body #root#root#root .azd-public-shell :is(.article-body, .legal-content, .azd-project-presentation__text) h3 {
    color: var(--azd-ink, #1c2d39) !important;
    font-family: var(--azd-uniform-font, "Segoe UI", Arial, sans-serif) !important;
    font-size: 22px !important;
    font-weight: 500 !important;
    line-height: 1.35 !important;
    letter-spacing: -.02em !important;
    margin: 24px 0 12px !important;
  }
  body #root#root#root .azd-public-shell .article-body blockquote {
    margin: 24px 0 !important;
    padding: 20px 24px !important;
    border-left: 3px solid var(--azd-blue, #193b61) !important;
    border-radius: 0 var(--azd-radius, 8px) var(--azd-radius, 8px) 0 !important;
    background: var(--azd-paper, #f6f8fa) !important;
    color: var(--azd-ink, #1c2d39) !important;
    font-size: 15px !important;
    line-height: 1.75 !important;
  }
  body #root#root#root .azd-public-shell .article-toc {
    border-color: var(--azd-line, #d8e0e8) !important;
  }
  body #root#root#root .azd-public-shell .article-toc a {
    min-height: 44px !important;
    box-sizing: border-box !important;
    align-items: baseline !important;
    padding-block: 12px !important;
    color: var(--azd-muted, #526777) !important;
    font-size: 13px !important;
    line-height: 1.6 !important;
  }

  /* The common header now occupies normal flow; discard its former fixed offset. */
  body #root#root#root .azd-public-shell main.portfolio-page.azd-project-inline-page:has(.azd-dedicated-project),
  body #root#root#root .azd-public-shell main.page:has(> .azd-project-presentation) {
    padding-top: 24px !important;
  }
  /* A dedicated route uses one centred outer container in both render paths.
     Its article already owns the inner reading padding; the feed adds none. */
  body #root#root#root .azd-public-shell .azd-project-inline-page > .projects-feed:has(> .azd-dedicated-project),
  body #root#root#root .azd-public-shell main.page > article.azd-project-presentation {
    box-sizing: border-box !important;
    width: min(var(--azd-content-max, 1280px), calc(100% - 2 * var(--azd-page-gutter, 40px))) !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin-inline: auto !important;
  }
  body #root#root#root .azd-public-shell .azd-project-inline-page > .projects-feed:has(> .azd-dedicated-project) {
    display: block !important;
    margin-block: 0 !important;
    padding: 0 !important;
  }
  body #root#root#root .azd-public-shell .azd-project-inline-page > .projects-feed > .azd-dedicated-project {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  body #root#root#root .azd-public-shell .azd-project-inline-page > .projects-feed > .azd-dedicated-project > .azd-project-presentation {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin-inline: 0 !important;
  }
  body #root#root#root .azd-public-shell .azd-project-presentation__hero {
    padding: 28px clamp(20px, 3vw, 40px) 24px !important;
    background: #fff !important;
  }
  body #root#root#root .azd-public-shell .azd-project-presentation__body {
    padding: 0 clamp(20px, 3vw, 40px) 32px !important;
    background: #fff !important;
  }
  body #root#root#root .azd-public-shell .azd-project-presentation__header {
    padding: 20px 0 !important;
  }
  body #root#root#root .azd-public-shell .azd-project-presentation__eyebrow-row {
    margin: 0 0 18px !important;
    padding-top: 0 !important;
    border-top: 0 !important;
  }
  body #root#root#root .azd-public-shell .azd-project-presentation__section-heading {
    gap: 16px !important;
    margin-bottom: 20px !important;
  }
  body #root#root#root .azd-public-shell .azd-project-presentation__overview {
    gap: 32px !important;
    padding-block: 32px !important;
  }
  body #root#root#root .azd-public-shell .azd-project-presentation__text {
    max-width: 78ch !important;
    color: var(--azd-muted, #526777) !important;
    font-size: 15px !important;
    line-height: 1.75 !important;
    overflow-wrap: break-word !important;
  }
  body #root#root#root .azd-public-shell .azd-project-presentation__facts {
    gap: 16px !important;
  }
  body #root#root#root .azd-public-shell .azd-project-presentation__facts > div {
    padding: 16px !important;
    border: 1px solid var(--azd-line, #d8e0e8) !important;
    border-radius: var(--azd-radius, 8px) !important;
    background: var(--azd-paper, #f6f8fa) !important;
  }
  body #root#root#root .azd-public-shell .azd-project-presentation__facts dt {
    margin: 0 0 6px !important;
    color: var(--azd-muted, #526777) !important;
    font-size: 12px !important;
    line-height: 1.5 !important;
  }
  body #root#root#root .azd-public-shell .azd-project-presentation__facts dd {
    color: var(--azd-ink, #1c2d39) !important;
    font-size: 14px !important;
    line-height: 1.65 !important;
  }
  body #root#root#root .azd-public-shell :is(.azd-project-presentation__media-item figcaption, .azd-project-carousel__caption, .story-gallery__caption) {
    color: var(--azd-muted, #526777) !important;
    font-size: 13px !important;
    line-height: 1.65 !important;
  }

  @media (max-width: 900px) {
    body #root#root#root .azd-public-shell .article-hero {
      padding-top: 32px !important;
    }
    body #root#root#root .azd-public-shell .legal-page {
      padding-top: 32px !important;
      padding-bottom: 48px !important;
    }
    body #root#root#root .azd-public-shell .article-layout {
      grid-template-columns: minmax(0, 1fr) !important;
      gap: 32px !important;
      padding: 32px 0 48px !important;
    }
    body #root#root#root .azd-public-shell .article-toc {
      position: relative !important;
      top: auto !important;
    }
    body #root#root#root .azd-public-shell .article-toc ol {
      grid-template-columns: minmax(0, 1fr) !important;
    }
    body #root#root#root .azd-public-shell .azd-project-presentation__masthead {
      grid-template-columns: minmax(0, 1fr) !important;
      gap: 20px !important;
    }
    body #root#root#root .azd-public-shell .azd-project-presentation__overview {
      grid-template-columns: minmax(0, 1fr) !important;
      gap: 24px !important;
    }
  }
  @media (max-width: 600px) {
    body #root#root#root .azd-public-shell main.portfolio-page.azd-project-inline-page:has(.azd-dedicated-project),
    body #root#root#root .azd-public-shell main.page:has(> .azd-project-presentation) {
      padding-top: 16px !important;
    }
    body #root#root#root .azd-public-shell .article-hero__image > figcaption.hero-caption {
      padding: 12px 16px !important;
    }
    body #root#root#root .azd-public-shell .article-body blockquote {
      padding: 16px !important;
    }
    body #root#root#root .azd-public-shell .azd-project-presentation__hero {
      padding: 20px 16px 16px !important;
    }
    body #root#root#root .azd-public-shell .azd-project-presentation__body {
      padding: 0 16px 24px !important;
    }
    body #root#root#root .azd-public-shell .azd-project-presentation__eyebrow-row {
      align-items: flex-start !important;
      gap: 12px !important;
    }
    body #root#root#root .azd-public-shell .azd-project-presentation__facts {
      gap: 12px !important;
    }
  }
}

/* Mobile opening images share the text area. Galleries stay in normal flow. */
@layer azd-mobile-refinement {
 @media (max-width:900px) {
  body #root#root#root .azd-public-shell :is(.home-hero,.page-hero,.article-hero:has(.article-hero__image)) {
   position:relative!important; display:flex!important; flex-direction:column!important;
   isolation:isolate!important; overflow:hidden!important;
   width:100%!important; max-width:100%!important; min-width:0!important;
   height:auto!important; min-height:460px!important; max-height:none!important;
   margin:0!important; padding:0!important; gap:0!important;
   background:#193b61!important; color:#fff!important; border:0!important; border-radius:0!important;
  }
  body #root#root#root .azd-public-shell :is(.home-hero,.page-hero,.article-hero:has(.article-hero__image))::after {
   content:""!important; display:block!important; position:absolute!important; inset:0!important;
   z-index:1!important; pointer-events:none!important; opacity:1!important; transform:none!important;
   background:linear-gradient(115deg,rgba(10,28,44,.80),rgba(10,28,44,.64))!important;
   mix-blend-mode:normal!important;
  }
  body #root#root#root .azd-public-shell :is(.home-hero__copy,.page-hero__copy,.article-hero:has(.article-hero__image) .article-hero__copy) {
   position:relative!important; inset:auto!important; z-index:2!important;
   width:100%!important; max-width:760px!important; min-width:0!important;
   height:auto!important; min-height:0!important; max-height:none!important;
   box-sizing:border-box!important; margin:0!important;
   padding:36px var(--azd-gutter,20px) 28px!important;
   background:transparent!important; color:#fff!important; justify-content:center!important;
   flex:1 0 auto!important;
  }
  body #root#root#root .azd-public-shell :is(.home-hero__copy,.page-hero__copy,.article-hero:has(.article-hero__image) .article-hero__copy) h1,
  body #root#root#root .azd-public-shell :is(.home-hero__copy,.page-hero__copy,.article-hero:has(.article-hero__image) .article-hero__copy) h1 :is(span,strong) {
   color:#fff!important; -webkit-text-fill-color:#fff!important; text-shadow:none!important;
  }
  body #root#root#root .azd-public-shell :is(.home-hero__copy,.page-hero__copy,.article-hero:has(.article-hero__image) .article-hero__copy)>:is(p,.page-hero__description),
  body #root#root#root .azd-public-shell :is(.home-hero__audience,.page-hero__eyebrow,.page-hero__meta-line,.page-hero__location),
  body #root#root#root .azd-public-shell .article-hero:has(.article-hero__image) :is(dt,dd,.article-hero__eyebrow) {
   color:#fff!important; -webkit-text-fill-color:#fff!important; text-shadow:none!important;
  }
  body #root#root#root .azd-public-shell :is(.home-hero__image,.article-hero:has(.article-hero__image) .article-hero__image) {
   display:contents!important;
  }
  body #root#root#root .azd-public-shell :is(.home-hero__image>picture,.page-hero__visual,.article-hero__image>picture) {
   position:absolute!important; inset:0!important; z-index:0!important;
   display:block!important; width:100%!important; height:100%!important;
   min-height:0!important; max-height:none!important; max-width:none!important;
   aspect-ratio:auto!important; margin:0!important; padding:0!important;
   border:0!important; border-radius:0!important; overflow:hidden!important;
   background-size:cover!important; background-position:center!important;
   transform:none!important; opacity:1!important;
   mask:none!important; -webkit-mask:none!important;
  }
  body #root#root#root .azd-public-shell :is(.home-hero__image>picture,.page-hero__visual,.article-hero__image>picture) :is(picture,img) {
   display:block!important; position:absolute!important; inset:0!important;
   width:100%!important; height:100%!important; max-width:none!important; max-height:none!important;
   object-fit:cover!important; object-position:center!important; aspect-ratio:auto!important;
   border:0!important; border-radius:0!important; margin:0!important; opacity:1!important;
   filter:none!important; transform:none!important;
  }
  body #root#root#root .azd-public-shell :is(.home-hero,.page-hero,.article-hero) .hero-caption,
  body #root#root#root .azd-public-shell .article-hero__image>figcaption.hero-caption {
   position:relative!important; inset:auto!important; z-index:2!important;
   display:block!important; order:2!important; width:100%!important; max-width:none!important;
   box-sizing:border-box!important; margin:0!important; padding:16px var(--azd-gutter,20px)!important;
   background:transparent!important; border:0!important; border-top:1px solid rgba(255,255,255,.25)!important;
   color:#fff!important; -webkit-text-fill-color:#fff!important;
   font-size:12px!important; line-height:1.6!important; text-align:left!important;
  }
  body #root#root#root .azd-public-shell .home-hero__image .home-hero__caption {display:none!important;}
  body #root#root#root .azd-public-shell :is(.home-hero__actions,.page-hero__actions) a:focus-visible {
   outline:2px solid #fff!important; outline-offset:4px!important;
  }
  body #root#root#root .azd-public-shell .article-hero:has(.article-hero__image) dl {border-color:rgba(255,255,255,.3)!important;}
 }
}

/* Navigation scrolls with its section instead of covering the content below. */
@layer azd-mobile-refinement {
 body #root#root#root .azd-public-shell :is(.portfolio-filters,.blog-nav,.article-navigation,.article-toc,.guide-tabs,.guide-deliverable-tabs,.services-nav,.project-expanded__controls,.realized-page .filter-bar) {
  position:relative!important; inset:auto!important; top:auto!important; bottom:auto!important;
  z-index:auto!important; transform:none!important; box-shadow:none!important;
  backdrop-filter:none!important; -webkit-backdrop-filter:none!important;
 }
 body #root#root#root .azd-public-shell>.home-header {position:relative!important;inset:auto!important;transform:none!important;}
 body #root#root#root .azd-public-shell .portfolio-page #portofoliu {scroll-margin-top:24px!important;}
 body #root#root#root .azd-public-shell :is(.services-nav,.guide-tabs) {max-height:none!important;}
}
