.inner-page { background: var(--paper); }

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  align-items: center;
  margin: 0 0 2.4rem;
  color: #9fb0b8;
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb span[aria-current="page"] { color: var(--lime); }

.services-hero,
.detail-hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: var(--navy);
}
.services-hero::before,
.detail-hero::before {
  content: "";
  position: absolute;
  inset: 0 0 auto auto;
  width: 34%;
  height: .28rem;
  background: linear-gradient(90deg, var(--lime) 0 34%, var(--blue) 34% 67%, var(--amber) 67%);
}
.inner-grid {
  position: absolute;
  inset: 0;
  opacity: .12;
  background-image: linear-gradient(rgb(255 255 255 / .2) 1px, transparent 1px), linear-gradient(90deg, rgb(255 255 255 / .2) 1px, transparent 1px);
  background-size: 5rem 5rem;
  mask-image: linear-gradient(110deg, black, transparent 78%);
}

.services-hero__inner {
  position: relative;
  z-index: 2;
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(25rem, .75fr);
  gap: clamp(4rem, 9vw, 10rem);
  align-items: center;
  padding-block: 9rem 5rem;
}
.services-hero__copy h1,
.detail-hero h1 {
  margin: 0;
  font-weight: 620;
  letter-spacing: -.06em;
  line-height: .95;
}
.services-hero__copy h1 { max-width: 11ch; font-size: clamp(4rem, 7.2vw, 8.7rem); }
.services-hero__copy h1 em,
.detail-hero h1 em { color: var(--lime); font-style: normal; font-weight: 430; }
.services-hero__copy > p {
  max-width: 42rem;
  margin: 2rem 0 0;
  color: #b8c6cc;
  font-size: clamp(1.05rem, 1.35vw, 1.3rem);
}
.services-hero__list { align-self: end; padding-bottom: 2rem; border-top: 1px solid rgb(255 255 255 / .18); }
.services-hero__media { position: relative; height: 11rem; margin: 1.5rem 0 0; border: 1px solid rgb(255 255 255 / .18); background: #0b273a; box-shadow: 0 0 0 .35rem rgb(255 255 255 / .03), 0 1.2rem 3rem rgb(0 0 0 / .2); overflow: hidden; }
.services-hero__media::before { content: ""; position: absolute; z-index: 2; inset: .55rem; background: linear-gradient(var(--lime), var(--lime)) left top / 2rem 2px no-repeat, linear-gradient(var(--lime), var(--lime)) left top / 2px 2rem no-repeat, linear-gradient(var(--blue), var(--blue)) right bottom / 2rem 2px no-repeat, linear-gradient(var(--blue), var(--blue)) right bottom / 2px 2rem no-repeat; pointer-events: none; }
.services-hero__media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.78) contrast(1.08); }
.services-hero__list > p { margin: 1.5rem 0 2.2rem; color: #92a5af; font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; }
.hero-service-link {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  min-height: 5rem;
  border-bottom: 1px solid rgb(255 255 255 / .18);
  color: var(--white);
  text-decoration: none;
  transition: padding-left .3s var(--ease), color .25s ease;
}
.hero-service-link strong { font-size: 1.05rem; font-weight: 550; }
.hero-service-link i { color: var(--lime); font-style: normal; }
.hero-service-link:hover { padding-left: 1rem; color: var(--lime); }

.services-statement__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(18rem, .5fr);
  gap: clamp(3rem, 8vw, 9rem);
  align-items: end;
}
.services-statement__grid p { margin: 0; color: var(--ink-soft); font-size: 1.06rem; }

.service-catalog { padding-bottom: var(--section); }
.catalog-item {
  --pointer-x: 50%;
  --pointer-y: 50%;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 13rem minmax(17rem, .48fr) 2.5rem;
  gap: clamp(1.5rem, 4vw, 4.5rem);
  align-items: start;
  padding-block: clamp(2.5rem, 5vw, 4.5rem);
  border-top: 1px solid var(--line);
  color: inherit;
  background: transparent;
  text-decoration: none;
  transition: color .4s ease, background-color .4s ease, box-shadow .45s var(--ease);
}
.catalog-item::before { content: ""; position: absolute; z-index: 0; inset: 0; background: radial-gradient(circle 19rem at var(--pointer-x) var(--pointer-y), rgb(47 177 225 / .2), transparent 68%), linear-gradient(115deg, rgb(255 255 255 / .055), transparent 42%), linear-gradient(90deg, transparent, rgb(189 240 0 / .035)); opacity: 0; transition: opacity .4s ease; pointer-events: none; }
.catalog-item::after { content: ""; position: absolute; z-index: 3; right: 0; bottom: 0; left: 0; height: 3px; background: linear-gradient(90deg, var(--lime), var(--blue) 58%, transparent); transform: scaleX(0); transform-origin: left; transition: transform .65s var(--ease); pointer-events: none; }
.catalog-item > * { position: relative; z-index: 2; }
.catalog-item:last-child { border-bottom: 1px solid var(--line); }
.catalog-item:hover, .catalog-item:focus-visible { color: var(--white); background: #081f30; box-shadow: 0 1.6rem 4.5rem rgb(8 30 46 / .16); }
.catalog-item:hover::before, .catalog-item:focus-visible::before { opacity: 1; }
.catalog-item:hover::after, .catalog-item:focus-visible::after { transform: scaleX(1); }
.catalog-item:focus-visible { outline: 3px solid var(--lime); outline-offset: -3px; }
.catalog-item h2 { margin: -.3rem 0 0; font-size: clamp(2rem, 3.8vw, 4.3rem); font-weight: 570; letter-spacing: -.045em; line-height: 1; transition: transform .55s var(--ease), letter-spacing .5s var(--ease); }
.catalog-item__media { height: 8rem; margin: 0; overflow: hidden; background: var(--navy-2); transition: transform .6s var(--ease), box-shadow .45s ease; }
.catalog-item__media img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.22) saturate(.66) contrast(1.08); transform-origin: center; transition: transform .8s var(--ease), filter .45s ease; }
.catalog-item p { margin: 0; color: var(--ink-soft); transition: color .35s ease, transform .5s var(--ease); }
.catalog-item__arrow { display: grid; width: 2.5rem; height: 2.5rem; place-items: center; color: #41768f; border: 1px solid rgb(65 118 143 / .35); font-size: 1.25rem; transition: color .35s ease, background-color .35s ease, border-color .35s ease, transform .55s var(--ease); }
.catalog-item:hover h2, .catalog-item:focus-visible h2 { letter-spacing: -.03em; transform: translateX(clamp(.7rem, 1.3vw, 1.25rem)); }
.catalog-item:hover .catalog-item__media, .catalog-item:focus-visible .catalog-item__media { transform: translateX(-.35rem); box-shadow: 0 1rem 2.8rem rgb(0 0 0 / .28); }
.catalog-item:hover .catalog-item__media img, .catalog-item:focus-visible .catalog-item__media img { transform: scale(1.1); filter: grayscale(0) saturate(1) contrast(1.06); }
.catalog-item:hover p, .catalog-item:focus-visible p { color: #b9c7cc; transform: translateX(.2rem); }
.catalog-item:hover .catalog-item__arrow, .catalog-item:focus-visible .catalog-item__arrow { color: var(--navy); border-color: var(--lime); background: var(--lime); transform: translate(-.2rem, .2rem); }

.chain-section { position: relative; overflow: hidden; color: var(--white); background: #10181d; }
.chain-section__head { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(3rem, 8vw, 8rem); align-items: end; }
.chain-section__head h2 { margin: 0; font-size: clamp(3rem, 5vw, 5.8rem); font-weight: 560; letter-spacing: -.055em; line-height: .98; }
.chain-section__head p { margin: 0; color: #aebdc4; font-size: 1.05rem; }
.chain-flow { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 5rem; border-top: 1px solid rgb(255 255 255 / .18); }
.chain-flow article { position: relative; min-height: 14rem; padding: 2rem 1.5rem 2rem 0; border-right: 1px solid rgb(255 255 255 / .18); }
.chain-flow article:not(:first-child) { padding-left: 1.5rem; }
.chain-flow article:last-child { border-right: 0; }
.chain-flow h3 { margin: .6rem 0; font-size: 1.15rem; font-weight: 600; }
.chain-flow p { margin: 0; color: #98aab3; font-size: .92rem; }

.service-image-band { position: relative; overflow: hidden; min-height: 34rem; background: var(--navy); }
.service-image-band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 65% 52%; filter: saturate(.8) contrast(1.05); }
.service-image-band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgb(7 27 45 / .88), rgb(7 27 45 / .12) 68%); }
.service-image-band__copy { position: relative; z-index: 2; display: flex; align-items: end; min-height: 34rem; padding-block: 4rem; }
.service-image-band__copy h2 { max-width: 10ch; margin: 0; color: var(--white); font-size: clamp(3rem, 5.2vw, 6rem); font-weight: 560; letter-spacing: -.055em; line-height: .98; }
.service-image-band__copy em { color: var(--lime); font-style: normal; }

.page-cta { position: relative; overflow: hidden; color: var(--white); background: var(--navy-2); }
.page-cta__inner { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) clamp(24rem, 34vw, 38rem); gap: clamp(3rem, 6vw, 7rem); align-items: stretch; }
.page-cta h2 { max-width: 14ch; margin: 0; font-size: clamp(2.8rem, 4.7vw, 5.4rem); font-weight: 560; letter-spacing: -.055em; line-height: 1; }
.page-cta__actions { position: relative; display: flex; min-width: 0; flex-direction: column; align-items: center; justify-content: center; gap: .75rem; isolation: isolate; }
.page-cta__actions::before { content: ""; position: absolute; z-index: -1; top: 50%; left: 50%; width: 100%; aspect-ratio: 284 / 280; background: url("../images/ums-emblem.png") center / contain no-repeat; filter: brightness(0) invert(1); opacity: .07; transform: translate(-50%, -50%); pointer-events: none; }
.page-cta__actions .button { width: 16rem; }
.page-cta .button--ghost { text-align: center; }

.detail-hero__inner {
  position: relative;
  z-index: 2;
  min-height: 48rem;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(22rem, .5fr);
  gap: clamp(4rem, 9vw, 10rem);
  align-items: stretch;
  padding-block: 10rem 6rem;
}
.detail-hero__copy { align-self: end; }
.detail-hero__copy .eyebrow { margin-bottom: 2.4rem; }
.detail-hero h1 { max-width: 12ch; font-size: clamp(4rem, 7vw, 8rem); }
.detail-hero__copy > p { max-width: 45rem; margin: 2rem 0 0; color: #b8c6cc; font-size: clamp(1.05rem, 1.35vw, 1.3rem); }
.detail-hero__copy .hero-actions { margin-top: 2.4rem; }
.detail-hero__rail { display: grid; min-width: 0; grid-template-rows: minmax(15rem, 1fr) auto; gap: clamp(2rem, 4vw, 3.5rem); }
.service-diagram { position: relative; min-width: 0; min-height: 15rem; margin: 0; overflow: hidden; color: #80cce8; border: 1px solid rgb(255 255 255 / .1); background: linear-gradient(135deg, rgb(255 255 255 / .035), transparent 60%); }
.service-diagram::before { content: ""; position: absolute; inset: 0; opacity: .22; background-image: linear-gradient(rgb(255 255 255 / .09) 1px, transparent 1px), linear-gradient(90deg, rgb(255 255 255 / .09) 1px, transparent 1px); background-size: 2rem 2rem; mask-image: linear-gradient(135deg, black, transparent 90%); }
.service-diagram::after { content: ""; position: absolute; top: -.2rem; right: -.2rem; width: .7rem; height: .7rem; background: var(--lime); }
.service-diagram svg { position: absolute; inset: 1rem 1rem 2.8rem; width: calc(100% - 2rem); height: calc(100% - 3.8rem); overflow: visible; }
.service-diagram path, .service-diagram circle, .service-diagram ellipse, .service-diagram rect { vector-effect: non-scaling-stroke; }
.diagram-line { fill: none; stroke: currentColor; stroke-width: 1.25; stroke-linecap: square; stroke-linejoin: miter; }
.diagram-muted { fill: none; stroke: rgb(255 255 255 / .2); stroke-width: 1; }
.diagram-accent { fill: #081e2e; stroke: var(--lime); stroke-width: 1.4; }
.diagram-dash { fill: none; stroke: rgb(189 240 0 / .42); stroke-width: 1; stroke-dasharray: 5 6; }
.service-diagram figcaption { position: absolute; right: 1rem; bottom: .85rem; left: 1rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: .65rem; border-top: 1px solid rgb(255 255 255 / .14); text-transform: uppercase; }
.service-diagram figcaption span { color: #7794a3; font-size: .75rem; font-weight: 750; letter-spacing: .09em; }
.service-diagram figcaption strong { color: var(--lime); font-size: .75rem; letter-spacing: .07em; }
.detail-hero__aside { padding: 1.7rem 0; border-top: 1px solid rgb(255 255 255 / .2); border-bottom: 1px solid rgb(255 255 255 / .2); }
.detail-hero__aside > p { margin: 0 0 1.5rem; color: var(--lime); font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.detail-hero__aside ul { display: grid; gap: .9rem; margin: 0; padding: 0; list-style: none; }
.detail-hero__aside li { position: relative; padding-left: 1.2rem; color: #bdc9ce; font-size: .92rem; }
.detail-hero__aside li::before { content: "+"; position: absolute; left: 0; color: var(--blue); }

.detail-intro__grid { display: grid; grid-template-columns: minmax(0, .65fr) minmax(0, 1.35fr); gap: clamp(4rem, 10vw, 11rem); }
.detail-intro__label { color: var(--blue); font-size: .76rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.detail-intro__content h2 { margin: 0; font-size: clamp(2.7rem, 4.6vw, 5.3rem); font-weight: 570; letter-spacing: -.055em; line-height: 1.02; }
.detail-intro__content > p { max-width: 52rem; margin: 2rem 0 0; color: var(--ink-soft); font-size: 1.08rem; }

.scope-grid { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 5rem; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.scope-card { min-height: 18rem; padding: 1.7rem 2rem 2rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); color: inherit; text-decoration: none; transition: color .3s ease, background-color .3s ease; }
.scope-card > span { color: var(--blue); font-size: .72rem; font-weight: 800; letter-spacing: .1em; }
.scope-card h3 { margin: 4rem 0 .8rem; font-size: clamp(1.35rem, 2vw, 1.9rem); font-weight: 590; line-height: 1.18; }
.scope-card p { margin: 0; color: var(--ink-soft); }
.scope-card[href]:hover { color: var(--white); background: var(--navy); }
.scope-card[href]:hover p { color: #aebdc4; }

.detail-process { color: var(--white); background: var(--navy); }
.detail-process__head { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: end; }
.detail-process__head h2 { margin: 0; font-size: clamp(3rem, 5vw, 5.7rem); font-weight: 560; letter-spacing: -.055em; line-height: 1; }
.detail-process__head p { margin: 0; color: #aebdc4; font-size: 1.05rem; }
.detail-steps { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 5rem; border-top: 1px solid rgb(255 255 255 / .18); }
.detail-step { min-height: 16rem; padding: 1.8rem 1.6rem 2rem 0; border-right: 1px solid rgb(255 255 255 / .18); }
.detail-step:not(:first-child) { padding-left: 1.6rem; }
.detail-step:last-child { border-right: 0; }
.detail-step h3 { margin: .6rem 0 .7rem; font-size: 1.2rem; }
.detail-step p { margin: 0; color: #95a8b1; font-size: .92rem; }

.detail-visual { display: grid; grid-template-columns: 1.15fr .85fr; min-height: 36rem; color: var(--white); background: #10181d; }
.detail-visual figure { min-height: 36rem; margin: 0; overflow: hidden; }
.detail-visual picture { display: block; width: 100%; height: 100%; }
.detail-visual img { width: 100%; height: 100%; object-fit: cover; object-position: 65% 50%; filter: saturate(.8) contrast(1.05); }
.detail-visual__copy { align-self: center; padding: clamp(3rem, 7vw, 7rem); }
.detail-visual__copy span { color: var(--lime); font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.detail-visual__copy h2 { margin: 1.5rem 0 1.2rem; font-size: clamp(2.4rem, 4vw, 4.6rem); font-weight: 560; letter-spacing: -.05em; line-height: 1; }
.detail-visual__copy p { margin: 0; color: #aebdc4; }

.related-services { background: var(--paper); }
.related-services__head { display: flex; justify-content: space-between; gap: 2rem; align-items: end; margin-bottom: 3rem; }
.related-services__head h2 { margin: 0; font-size: clamp(2.3rem, 4vw, 4.5rem); font-weight: 570; letter-spacing: -.05em; line-height: 1; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.related-card { min-height: 13rem; display: flex; flex-direction: column; justify-content: flex-end; padding: 1.5rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); text-decoration: none; transition: color .3s ease, background-color .3s ease; }
.related-card strong { max-width: 13ch; font-size: 1.25rem; line-height: 1.2; }
.related-card:hover { color: var(--white); background: var(--navy); }

@media (max-width: 1100px) {
  .services-hero__inner { grid-template-columns: 1fr minmax(21rem, .65fr); gap: 3rem; }
  .services-hero__copy h1 { font-size: clamp(4rem, 8vw, 6.6rem); }
  .catalog-item { grid-template-columns: minmax(0, 1fr) 10rem minmax(14rem, .45fr) 2.5rem; }
}

@media (max-width: 900px) {
  .services-hero__inner,
  .detail-hero__inner { grid-template-columns: 1fr; align-content: center; }
  .detail-hero__rail { grid-template-columns: minmax(0, 1fr) minmax(18rem, .8fr); grid-template-rows: 1fr; align-items: stretch; }
  .service-diagram { min-height: 18rem; }
  .services-hero__list { align-self: auto; }
  .services-statement__grid,
  .chain-section__head,
  .detail-intro__grid,
  .detail-process__head { grid-template-columns: 1fr; }
  .catalog-item { grid-template-columns: 1fr 11rem 2.5rem; }
  .catalog-item p { grid-column: 1 / -1; }
  .chain-flow,
  .detail-steps { grid-template-columns: 1fr 1fr; }
  .chain-flow article:nth-child(2),
  .detail-step:nth-child(2) { border-right: 0; }
  .chain-flow article:nth-child(n+3),
  .detail-step:nth-child(n+3) { border-top: 1px solid rgb(255 255 255 / .18); }
  .detail-visual { grid-template-columns: 1fr; }
  .detail-visual figure { min-height: 28rem; }
  .scope-grid { grid-template-columns: 1fr 1fr; }
  .related-grid { grid-template-columns: 1fr; }
  .related-card { min-height: 9rem; }
  .page-cta__inner { grid-template-columns: 1fr; align-items: start; }
  .page-cta__actions { justify-self: center; width: min(100%, 32rem); min-height: 20rem; margin-top: 1.5rem; }
  .page-cta__actions::before { width: min(100%, 29rem); }
}

@media (max-width: 767px) {
  .services-hero__inner { min-height: auto; padding-block: 8rem 4.5rem; }
  .services-hero__copy h1 { font-size: clamp(3.7rem, 16vw, 5.6rem); }
  .detail-hero__inner { min-height: auto; padding-block: 8rem 5rem; }
  .detail-hero__rail { grid-template-columns: 1fr; grid-template-rows: 17rem auto; gap: 2rem; }
  .detail-hero h1 { font-size: clamp(3.65rem, 15vw, 5.4rem); }
  .catalog-item { grid-template-columns: 1fr 2.5rem; gap: 1rem; }
  .catalog-item__media { grid-column: 1 / -1; width: 100%; height: auto; aspect-ratio: 16 / 9; }
  .catalog-item p { grid-column: 1 / -1; }
  .chain-flow,
  .detail-steps { grid-template-columns: 1fr; }
  .chain-flow article,
  .chain-flow article:not(:first-child),
  .detail-step,
  .detail-step:not(:first-child) { min-height: auto; padding: 1.7rem 0 2rem; border-right: 0; border-top: 1px solid rgb(255 255 255 / .18); }
  .chain-flow article:first-child,
  .detail-step:first-child { border-top: 0; }
  .chain-flow h3,
  .detail-step h3 { margin-top: .6rem; }
  .service-image-band,
  .service-image-band__copy { min-height: 28rem; }
  .scope-grid { grid-template-columns: 1fr; }
  .scope-card { min-height: 14rem; }
  .scope-card h3 { margin-top: 2.8rem; }
  .detail-visual figure { min-height: 22rem; }
  .related-services__head { align-items: start; flex-direction: column; }
  .page-cta__actions { width: 100%; min-height: 18rem; margin-top: .5rem; }
  .page-cta__actions::before { width: min(27rem, 112vw); opacity: .055; }
  .page-cta__actions .button { width: min(100%, 18rem); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-service-link,
  .related-card { transition: none; }
  .catalog-item, .catalog-item::before, .catalog-item::after, .catalog-item h2, .catalog-item__media, .catalog-item__media img, .catalog-item p, .catalog-item__arrow { transition: none; }
  .catalog-item:hover h2, .catalog-item:focus-visible h2, .catalog-item:hover .catalog-item__media, .catalog-item:focus-visible .catalog-item__media, .catalog-item:hover .catalog-item__media img, .catalog-item:focus-visible .catalog-item__media img, .catalog-item:hover p, .catalog-item:focus-visible p, .catalog-item:hover .catalog-item__arrow, .catalog-item:focus-visible .catalog-item__arrow { transform: none; }
}
