@font-face {
  font-family: "Bricolage Grotesque";
  src: url("/assets/fonts/bricolage-grotesque-latin.woff2") format("woff2");
  font-display: swap;
}

.service-site {
  --ink: #0b1530;
  --navy: #172a47;
  --blue: #1463ff;
  --sky: #9bc1ff;
  --paper: #f2f5f9;
  --mist: #e2e9f2;
  --copy: #33445c;
  --line: #c4cfdd;
  min-height: 100vh;
  background: var(--paper);
  color: var(--ink);
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  line-height: 1.5;
}

.service-site *, .service-site *::before, .service-site *::after { box-sizing: border-box; }
.service-site a { color: inherit; }
.service-site [id] { scroll-margin-top: 88px; }
.service-wrap { width: min(1160px, calc(100% - 64px)); margin-inline: auto; }

.service-header {
  position: sticky;
  top: 0;
  z-index: 10;
  min-height: 72px;
  background: rgba(242, 245, 249, .95);
  border-bottom: 1px solid rgba(11, 21, 48, .12);
  backdrop-filter: blur(14px);
}
.service-nav { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.service-menu-toggle { display: none; }
.service-brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-size: 19px; font-weight: 800; text-decoration: none; letter-spacing: -.04em; }
.service-brand img { width: 34px; height: 34px; }
.service-navlinks { display: flex; align-items: center; gap: clamp(14px, 2.4vw, 32px); font-size: 14px; font-weight: 650; }
.service-navlinks a { text-decoration: none; }
.service-navlinks a:not(.service-nav-cta):hover, .service-footer a:hover { color: var(--blue); }
.service-nav-cta, .service-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 11px 18px;
  border: 1px solid var(--blue);
  border-radius: 8px;
  background: var(--blue);
  color: white !important;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 7px 18px rgba(20, 99, 255, .16);
  transition: transform .18s ease, box-shadow .18s ease;
}
.service-nav-cta:hover, .service-button:hover { transform: translateY(-2px); box-shadow: 0 11px 24px rgba(20, 99, 255, .24); }

.service-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(74px, 9vw, 132px) 0 clamp(76px, 9vw, 124px);
  background: var(--navy);
  color: white;
}
.service-hero::before {
  position: absolute;
  z-index: -1;
  inset: 0 0 0 48%;
  content: "";
  opacity: .56;
  background-image: linear-gradient(rgba(180, 204, 239, .075) 1px, transparent 1px), linear-gradient(90deg, rgba(180, 204, 239, .075) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(90deg, transparent, black 32%);
}
.service-hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(340px, .95fr); align-items: center; gap: clamp(36px, 7vw, 90px); }
.service-hero-copy { max-width: 660px; }
.service-breadcrumb { margin: 0 0 28px; color: #c2d1e6; font-size: 14px; }
.service-breadcrumb a { color: #c2d1e6; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.service-eyebrow { margin: 0 0 16px; color: var(--sky); font-size: 14px; font-weight: 700; letter-spacing: .04em; }
.service-hero h1 { max-width: 13ch; margin: 0; font-size: clamp(44px, 6.3vw, 78px); font-weight: 750; letter-spacing: -.055em; line-height: .99; text-wrap: balance; }
.service-hero-copy > p:not(.service-breadcrumb):not(.service-eyebrow) { max-width: 56ch; margin: 25px 0 0; color: #d3deed; font-size: clamp(17px, 1.7vw, 20px); line-height: 1.55; }
.service-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-top: 32px; }
.service-text-link { color: #dbe7f7 !important; font-size: 14px; font-weight: 700; text-underline-offset: 4px; }

.service-art { position: relative; min-height: 370px; display: grid; place-items: center; }
.service-art::before { position: absolute; width: min(86%, 390px); aspect-ratio: 1; border: 1px solid rgba(191, 216, 250, .2); border-radius: 50%; content: ""; }
.service-art::after { position: absolute; width: min(68%, 310px); aspect-ratio: 1; border: 1px solid rgba(191, 216, 250, .15); border-radius: 50%; content: ""; }
.art-board { position: relative; z-index: 1; width: min(100%, 440px); min-height: 272px; padding: 26px; border: 1px solid rgba(219, 232, 250, .45); border-radius: 18px; background: linear-gradient(140deg, rgba(49, 78, 119, .97), rgba(25, 43, 71, .97)); box-shadow: 0 30px 70px rgba(3, 11, 27, .34); transform: rotate(-3deg); }
.art-caption { margin: 0 0 24px; color: #dbe7f7; font-size: 13px; font-weight: 700; letter-spacing: .035em; }
.art-modules { display: grid; grid-template-columns: 1fr 34px 1fr; align-items: center; gap: 11px; }
.art-module { min-height: 102px; display: flex; flex-direction: column; justify-content: space-between; padding: 14px; border: 1px solid rgba(221, 234, 250, .28); border-radius: 10px; background: rgba(11, 21, 48, .45); }
.art-module strong { font-size: 14px; line-height: 1.2; }
.art-module span { color: #c3d3e9; font-size: 11px; }
.art-connector { height: 2px; background: var(--sky); box-shadow: 0 0 12px rgba(155, 193, 255, .65); }
.art-stamp { position: absolute; z-index: 2; right: -4px; bottom: -22px; padding: 16px 18px; border-radius: 10px; background: #d8e7fb; color: var(--ink); box-shadow: 0 15px 35px rgba(3, 11, 27, .22); font-size: 12px; font-weight: 700; transform: rotate(4deg); }
.service--modernization .service-art { order: -1; }
.service--modernization .art-board { background: linear-gradient(140deg, #254d83, #182b49); transform: rotate(2deg); }
.service--modernization .art-module:last-child { background: rgba(20, 99, 255, .22); }
.service--observability .art-board { background: linear-gradient(140deg, #173552, #10243e); transform: rotate(1.5deg); }
.signal-line { width: 100%; height: 76px; margin: 4px 0 10px; overflow: visible; }
.signal-line path { fill: none; stroke: #86b5ff; stroke-linecap: round; stroke-linejoin: round; stroke-width: 3; }
.signal-points { display: flex; gap: 7px; }
.signal-points span { width: 8px; height: 8px; border-radius: 50%; background: #82b2ff; }
.signal-points span:nth-child(3n) { background: #c7dbf5; }

.service-intro { padding: clamp(70px, 9vw, 112px) 0; background: var(--paper); }
.service-intro-grid { display: grid; grid-template-columns: minmax(220px, .7fr) minmax(0, 1.3fr); gap: clamp(36px, 8vw, 110px); align-items: start; }
.service-index { color: var(--blue); font-size: 13px; font-weight: 750; letter-spacing: .05em; }
.service-intro .service-index, .service-section--blue .service-index, .service-section--white .service-index, .service-process .service-step { color: #244a83; }
.service-intro h2, .service-section h2, .service-contact h2 { margin: 12px 0 0; font-size: clamp(32px, 4.4vw, 54px); font-weight: 720; letter-spacing: -.045em; line-height: 1.04; text-wrap: balance; }
.service-intro-copy { max-width: 68ch; color: var(--copy); font-size: 18px; line-height: 1.72; }
.service-intro-copy p { margin: 0 0 18px; }

.service-section { padding: clamp(66px, 8vw, 100px) 0; }
.service-section--blue { background: #dce8f7; }
.service-section--white { background: #fff; }
.service-section--navy { background: var(--navy); color: white; }
.service-section-head { max-width: 780px; margin-bottom: 40px; }
.service-section-head p { max-width: 60ch; margin: 16px 0 0; color: var(--copy); font-size: 17px; line-height: 1.65; }
.service-section--navy .service-section-head p { color: #c6d5e9; }
.service-section--navy .service-index, .service-contact .service-index { color: #a9caff; }
.service-detail-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.service-detail { min-height: 238px; padding: 25px; border-top: 4px solid var(--blue); background: white; }
.service-detail:nth-child(2) { background: #d1e0f3; }
.service-detail:nth-child(3) { border-color: #8db4ef; background: #203a5f; color: white; }
.service-detail h3 { max-width: 18ch; margin: 26px 0 12px; font-size: 23px; letter-spacing: -.035em; line-height: 1.12; }
.service-detail p { margin: 0; color: var(--copy); font-size: 15px; line-height: 1.65; }
.service-detail:nth-child(3) p { color: #cfdaea; }
.service-detail-mark { display: inline-block; width: 28px; height: 4px; background: var(--blue); }
.service-detail:nth-child(3) .service-detail-mark { background: #9bc1ff; }

.service-process { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid #9bacc3; }
.service-process article { padding: 24px 24px 12px 0; }
.service-process article + article { padding-left: 24px; border-left: 1px solid #9bacc3; }
.service-process h3 { margin: 12px 0 8px; font-size: 22px; letter-spacing: -.025em; }
.service-process p { margin: 0; color: var(--copy); font-size: 15px; line-height: 1.65; }
.service-step { color: var(--blue); font-size: 13px; font-weight: 750; }

.service-related { padding: clamp(60px, 8vw, 92px) 0; background: var(--mist); }
.service-related h2 { margin: 0 0 28px; font-size: clamp(30px, 4vw, 46px); letter-spacing: -.04em; }
.related-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.related-card { min-height: 170px; padding: 22px; display: flex; flex-direction: column; justify-content: space-between; gap: 20px; background: white; text-decoration: none; }
.related-card:nth-child(2) { background: #c8daf2; }
.related-card:nth-child(2) span { color: #244a83; }
.related-card:nth-child(3) { background: var(--navy); color: white; }
.related-card span { color: var(--blue); font-size: 13px; font-weight: 700; }
.related-card:nth-child(3) span { color: #a9caff; }
.related-card strong { max-width: 20ch; font-size: 21px; line-height: 1.15; letter-spacing: -.025em; }
.related-card:hover strong { text-decoration: underline; text-decoration-color: var(--blue); text-underline-offset: 5px; }

.service-contact { padding: clamp(64px, 9vw, 108px) 0; background: var(--navy); color: white; }
.service-contact-inner { display: flex; align-items: end; justify-content: space-between; gap: 42px; }
.service-contact h2 { max-width: 16ch; }
.service-contact p { max-width: 58ch; margin: 17px 0 0; color: #cbd8e9; font-size: 17px; line-height: 1.6; }
.service-footer { padding: 24px 0; background: #101f38; color: #d9e4f2; }
.service-footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 22px; font-size: 13px; }
.service-footer-links { display: flex; flex-wrap: wrap; gap: 20px; }
.service-footer a { color: inherit; text-underline-offset: 3px; }
.service-site a:focus-visible { outline: 3px solid #3b7bff; outline-offset: 4px; }
.service-hero a:focus-visible, .service-contact a:focus-visible { outline-color: white; }

@media (max-width: 850px) {
  .service-hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .service-art { min-height: 330px; }
  .service--modernization .service-art { order: 0; }
  .service-intro-grid { grid-template-columns: 1fr; gap: 22px; }
  .service-detail-grid, .related-grid { grid-template-columns: 1fr 1fr; }
  .service-detail:last-child, .related-card:last-child { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  .service-wrap { width: min(100% - 40px, 520px); }
  .service-header, .service-nav { min-height: 64px; }
  .service-nav { position: relative; }
  .service-menu-toggle { display: inline-flex; align-items: center; justify-content: center; flex-direction: column; gap: 5px; width: 42px; height: 42px; border: 1px solid #c4cfdd; border-radius: 13px; background: white; color: var(--ink); cursor: pointer; }
  .service-menu-toggle span { width: 18px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .2s ease; }
  .service-menu-toggle[aria-expanded='true'] span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .service-menu-toggle[aria-expanded='true'] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .service-navlinks { display: none; position: absolute; z-index: 4; top: calc(100% + 9px); right: 0; width: min(320px, calc(100vw - 40px)); padding: 12px; flex-direction: column; align-items: stretch; gap: 4px; border: 1px solid #ffffff; border-radius: 18px; background: #f8faffed; color: var(--ink); box-shadow: 0 18px 42px #07132c28; backdrop-filter: blur(18px); }
  .service-navlinks.is-open { display: flex; }
  .service-navlinks a, .service-navlinks a:not(.service-nav-cta) { display: flex; align-items: center; min-height: 44px; padding: 11px 14px; border-radius: 12px; color: var(--ink); text-decoration: none; }
  .service-navlinks a:hover { background: #e8f0ff; }
  .service-navlinks .service-nav-cta { min-height: 42px; margin-top: 5px; padding: 8px 12px; justify-content: center; background: var(--blue); color: white !important; font-size: 13px; }
  .service-hero { padding-block: 52px 64px; }
  .service-hero h1 { max-width: 12ch; font-size: clamp(42px, 12.4vw, 58px); }
  .service-hero-actions { gap: 16px; }
  .service-art { min-height: 280px; margin-inline: -5px; }
  .art-board { min-height: 222px; padding: 18px; }
  .art-modules { grid-template-columns: 1fr 20px 1fr; gap: 7px; }
  .art-module { min-height: 94px; padding: 10px; }
  .art-module strong { font-size: 12px; }
  .art-stamp { right: 0; bottom: -12px; padding: 12px; font-size: 11px; }
  .service-intro, .service-section, .service-related, .service-contact { padding-block: 58px; }
  .service-intro-copy { font-size: 16px; }
  .service-section-head { margin-bottom: 28px; }
  .service-section-head p { font-size: 16px; }
  .service-detail-grid, .related-grid, .service-process { grid-template-columns: 1fr; }
  .service-detail, .service-detail:last-child, .related-card:last-child { min-height: 0; grid-column: auto; }
  .service-detail h3 { margin-top: 20px; }
  .service-process article, .service-process article + article { padding: 20px 0; border-left: 0; border-bottom: 1px solid #9bacc3; }
  .service-contact-inner, .service-footer-inner { align-items: flex-start; flex-direction: column; }
  .service-footer-links { gap: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .service-site *, .service-site *::before, .service-site *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
