.xj-hero {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  min-height: calc(100vh - var(--xj-header-height));
  min-height: calc(100svh - var(--xj-header-height));
  overflow: clip;
  color: #fff;
  background: #123335;
}
.xj-hero__photo {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 68% center;
}
.xj-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, #082628f0, #082628c7 37%, #08262848 72%, #08262825),
    linear-gradient(0deg, #082628a0, transparent 38%);
}
.xj-hero__content { padding-block: clamp(52px, 10vh, 120px); }
.xj-location { margin: 0 0 1.2rem; color: #e8efdf; font-size: .94rem; font-weight: 650; }
.xj-hero h1 {
  margin: 0;
  font-size: clamp(3rem, 5.6vw, 5.5rem);
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -.045em;
}
.xj-hero__intro {
  max-width: 34rem;
  margin: 1.4rem 0 1.85rem;
  color: #f0f4ef;
  font-size: clamp(1rem, 1.45vw, 1.16rem);
  line-height: 1.8;
}
.xj-actions { display: flex; flex-wrap: wrap; gap: .65rem; }
.xj-action {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: .9rem;
  min-height: 48px;
  padding: .58rem .94rem;
  border: 1px solid transparent;
  background: #dce8c7;
  color: #113a3b;
  font-size: .91rem;
  font-weight: 700;
}
.xj-action:hover { background: #edf4df; }
.xj-action--outline { background: #0b2a2a59; border-color: #eff5e2b3; color: #fff; }
.xj-action--outline:hover { background: #204846; }
.xj-hero a:focus-visible { outline-color: #eef5d9; }
.xj-section { padding-block: clamp(52px, 7vw, 104px); }
.xj-section h2 {
  margin: 0;
  color: #142f35;
  font-size: clamp(1.85rem, 3.1vw, 3.05rem);
  letter-spacing: -.04em;
  line-height: 1.21;
}
.xj-section p { color: #455e60; line-height: 1.75; }
.xj-section__heading {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .5rem 2rem;
  align-items: end;
  margin-bottom: clamp(22px, 3vw, 38px);
}
.xj-section__heading p { margin-block: .55rem 0; }
.xj-section.xj-services { padding-block-start: clamp(46px, 4.75vw, 68px); }
#app #services { scroll-margin-block-start: calc(var(--xj-header-height) + 4px); }
.xj-services:focus { outline: none; }
.xj-services:focus-visible .xj-section__heading h2 {
  outline: 2px solid #816b34;
  outline-offset: 5px;
}
.xj-featured-services {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2.4vw, 32px);
}
.xj-featured-services a { display: block; }
.xj-featured-services figure { margin: 0; overflow: clip; position: relative; aspect-ratio: 16 / 10; background: #d2dcd2; }
.xj-featured-services img, .xj-facility__image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.xj-featured-services img { transition: scale .45s ease; }
.xj-featured-services a:hover img { scale: 1.04; }
.xj-featured-services figcaption {
  position: absolute;
  bottom: 0;
  right: 0;
  padding: .24rem .45rem;
  color: #fff;
  background: #0a2828d9;
  font-size: .7rem;
}
.xj-featured-services h3 {
  margin: .75rem 0 .25rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: clamp(1.17rem, 2vw, 1.5rem);
}
.xj-featured-services p { margin: 0; font-size: .94rem; }
.xj-featured-services a:hover h3, .xj-section a:hover strong, .xj-text-link:hover { color: #0b6656; }
.xj-related-services {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(1rem, 2.4vw, 2rem);
  margin-top: clamp(1.4rem, 3vw, 2.4rem);
}
.xj-related-services a {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .3rem .75rem;
  padding: 1rem 0;
  border-block: 1px solid #d1dbd4;
}
.xj-related-services a span, .xj-case-links a span { color: #455e60; font-size: .9rem; }
.xj-related-services b { margin-left: .4rem; color: #215b56; }
.xj-facility { background: #e8ede3; }
.xj-facility__layout, .xj-work {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  align-items: center;
  gap: clamp(26px, 6vw, 86px);
}
.xj-facility__image { position: relative; margin: 0; overflow: clip; height: clamp(310px, 37vw, 490px); background: #c8d5cf; }
.xj-facility__image img {
  object-position: 53% center;
  transform: translate3d(0, var(--xj-pan, 0px), 0) scale(1.12);
}
.xj-facility__image figcaption {
  position: absolute;
  inset: auto .6rem .6rem auto;
  padding: .25rem .45rem;
  background: #0a2828d9;
  color: #fff;
  font-size: .76rem;
}
.xj-facility__copy > p, .xj-work > div > p { margin-block: 1rem 1.25rem; }
.xj-facility__copy dl { margin: 0 0 1rem; }
.xj-facility__copy dl > div { padding: .7rem 0; border-top: 1px solid #cbd8cc; }
.xj-facility__copy dt { font-weight: 700; margin-bottom: .2rem; }
.xj-facility__copy dd { margin: 0; color: #455e60; font-size: .94rem; line-height: 1.65; }
.xj-text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-right: .9rem;
  gap: .45em;
  font-size: .91rem;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: .28em;
}
.xj-work { align-items: start; grid-template-columns: minmax(0, .76fr) minmax(0, 1.24fr); }
.xj-work ol { margin: 0; padding: 0 0 0 1.5rem; font-variant-numeric: tabular-nums; }
.xj-work li { border-block-start: 1px solid #d1dbd4; padding: .8rem 0 .85rem .36rem; }
.xj-work li::marker { color: #356662; font-weight: 700; }
.xj-work li p { margin: .3rem 0 0; }
.xj-scenarios { border-block: 1px solid #d9e0d5; background: #eef1e8; }
.xj-case-links a {
  display: grid;
  grid-template-columns: minmax(0, 1.42fr) minmax(0, 1fr) auto;
  align-items: center;
  gap: .3rem 1.2rem;
  min-height: 64px;
  padding: .68rem 0;
  border-block-start: 1px solid #d1dbd4;
}
.xj-case-links a b, .xj-reference__links a span { color: #215b56; }
.xj-reference__links a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 52px;
  padding: .62rem 0;
  border-block-start: 1px solid #d1dbd4;
  font-weight: 680;
}
.xj-reference__links a:hover { color: #0b6656; }

@media (max-width: 700px) {
  .xj-hero::after {
    background: linear-gradient(90deg, #082628cd, #08262884),
      linear-gradient(0deg, #082628df, transparent 68%);
  }
  .xj-hero__photo { object-position: 57% center; }
  .xj-hero__content { padding-block: 45px 62px; align-self: end; }
  .xj-hero h1 { font-size: clamp(2.1rem, 9vw, 3.75rem); }
  .xj-hero__intro { margin-block: .9rem 1.35rem; }
  .xj-location { margin-bottom: .55rem; font-size: .84rem; }
  .xj-featured-services, .xj-work, .xj-facility__layout, .xj-related-services { grid-template-columns: 1fr; }
  .xj-featured-services { gap: 1.6rem; }
  .xj-featured-services figure { aspect-ratio: 16 / 8; }
  .xj-facility__image { height: clamp(205px, 56vw, 330px); }
  .xj-related-services a + a { border-block-start: 0; }
  .xj-case-links a { grid-template-columns: 1fr auto; }
  .xj-case-links a span { grid-area: 2 / 1; }
  .xj-case-links a b { grid-area: 1 / 2 / 3; }
  .xj-section__heading { align-items: start; }
}
@media (prefers-reduced-motion: reduce) {
  .xj-hero__photo, .xj-facility__image img, .xj-featured-services a:hover img { transform: none; scale: 1; transition: none; }
}
