:root {
  --ink: #0b1026;
  --muted: #697386;
}
body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, sans-serif;
  background: #ffffff;
  color: var(--ink);
}
#site-footer .xy-footer::before {
  display: none;
}
/* Homepage navigation overlays the banner; shared navigation stays unchanged. */
#site-nav #xy-nav:not(.scrolled) {
  background: transparent;
  border-bottom-color: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
#site-nav .xy-nav-utility {
  background: transparent;
  border-image: none;
}
#site-nav:not(:has(#xy-nav.scrolled)) .xy-nav-utility a,
#site-nav #xy-nav:not(.scrolled) .xy-nav-links > li > a,
#site-nav #xy-nav:not(.scrolled) .xy-nav-trigger,
#site-nav #xy-nav:not(.scrolled) .xy-nav-icon,
#site-nav #xy-nav:not(.scrolled) .xy-nav-client,
#site-nav #xy-nav:not(.scrolled) .xy-nav-search-toggle,
#site-nav #xy-nav:not(.scrolled) .xy-nav-search-input,
#site-nav #xy-nav:not(.scrolled) .xy-mobile-toggle {
  color: #fff;
}
#site-nav #xy-nav:not(.scrolled) .xy-nav-search-input::placeholder {
  color: #d0cedc;
}
#site-nav #xy-nav:not(.scrolled) .xy-nav-logo {
  filter: brightness(0) invert(1);
}
#site-nav #xy-nav .xy-nav-links::after {
  display: none;
}
#site-nav:has(#xy-nav.scrolled) .xy-nav-utility {
  background: #fff;
}
.banner {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  box-sizing: border-box;
  min-height: 680px;
  min-height: max(680px, calc(100svh - 108px));
  margin-top: 108px;
  padding: clamp(28px, 3.3vw, 64px);
  overflow: hidden;
  color: #fff;
  background: radial-gradient(
    ellipse at 80% 40%,
    #7873bd 0%,
    #282174 42%,
    #0d0d21 85%
  );
}
.banner__background {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  border: 0;
  pointer-events: none;
}
.banner::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    0deg,
    rgba(7, 8, 24, 0.8),
    rgba(7, 8, 24, 0.12) 65%
  );
  pointer-events: none;
}
.banner__content {
  width: min(850px, 100%);
}
.banner__title {
  margin: 0;
  max-width: 850px;
  font-size: clamp(38px, 4vw, 64px);
  font-weight: 400;
  line-height: 1.16;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.banner__intro {
  max-width: 790px;
  margin: 18px 0 30px;
  color: #d0cedc;
  font-size: clamp(16px, 1.35vw, 20px);
  line-height: 1.6;
}
.banner__button {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  padding: 4px 4px 4px 24px;
  background: #fff;
  color: #111;
  text-decoration: none;
  font-size: 16px;
  min-height: 54px;
}
.banner__button span {
  display: grid;
  place-items: center;
  width: 46px;
  align-self: stretch;
  background: #252077;
  color: #fff;
  font-size: 23px;
  transition: background 0.2s ease;
}
.banner__button:hover span {
  background: #443bbb;
}
.banner__button:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 6px;
}
button.banner__button {
  border: 0;
  font-family: inherit;
  cursor: pointer;
}
.nav-guide {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100000;
  width: 30px;
  height: 36px;
  pointer-events: none;
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.6));
}
.service-cards {
  padding: 72px 0 72px;
  background: #f0f0ef;
  scroll-margin-top: 108px;
}
.service-cards__title {
  width: min(1080px, calc(100% - 48px));
  margin: 0 auto 36px;
  color: var(--ink);
  font-size: clamp(30px, 3vw, 42px);
  font-weight: 550;
  line-height: 1.15;
  letter-spacing: -0.04em;
}
.service-cards__track {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: min(1080px, calc(100% - 48px));
  margin: 0 auto;
  gap: 18px;
}
.service-card {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-sizing: border-box;
  min-height: 320px;
  padding: 16px;
  overflow: hidden;
  background: #fff;
  color: #111;
  outline-offset: -3px;
}
/* Set --service-image: url('/assets/images/...') on each card when its image is supplied. */
.service-card__image {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: var(
    --service-image,
    linear-gradient(145deg, #a5bfd8, #656bae 55%, #242d56)
  );
  background-position: center;
  background-size: cover;
  opacity: 0;
  transform: translateY(8%) scale(1.08);
  transition:
    opacity 0.5s ease,
    transform 0.75s cubic-bezier(0.22, 0.8, 0.3, 1);
}
.service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(transparent 35%, rgba(11, 16, 38, 0.52));
  opacity: 0;
  transition: opacity 0.5s ease;
}
.service-card__icon {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 4px;
  background: #f0f0ef;
  color: #111;
  font-size: 17px;
}
.service-card__copy {
  margin-top: 90px;
  padding: 10px;
  border: 1px solid transparent;
  border-radius: 14px;
  transition:
    background 0.5s ease,
    border-color 0.5s ease,
    color 0.5s ease,
    backdrop-filter 0.5s ease;
}
.service-card h2 {
  margin: 0 0 10px;
  font-size: 22px;
  line-height: 1.15;
  font-weight: 550;
  letter-spacing: -0.045em;
}
.service-card p {
  margin: 0;
  color: #787878;
  font-size: 14px;
  line-height: 1.5;
  transition: color 0.5s ease;
}
.service-card:is(:hover, :focus-visible) .service-card__image {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.service-card:is(:hover, :focus-visible)::after {
  opacity: 1;
}
.service-card:is(:hover, :focus-visible) .service-card__copy {
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.service-card:is(:hover, :focus-visible) p {
  color: #fff;
}
.service-card:focus-visible {
  outline: 3px solid #1748c7;
}
@media (max-width: 1000px) {
  .service-cards__title {
    max-width: 640px;
  }
  .service-cards__track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 640px;
  }
}
@media (max-width: 520px) {
  .service-cards {
    padding-block: 48px;
  }
  .service-cards__title {
    width: min(320px, calc(100% - 40px));
    margin-bottom: 28px;
  }
  .service-cards__track {
    grid-template-columns: 1fr;
    width: min(320px, calc(100% - 40px));
  }
  .service-card {
    min-height: 290px;
  }
}
@media (hover: none) {
  .service-card:focus .service-card__image,
  .service-card:focus::after {
    opacity: 1;
    transform: none;
  }
  .service-card:focus .service-card__copy {
    color: #fff;
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(12px);
  }
  .service-card:focus p {
    color: #fff;
  }
}
@media (prefers-reduced-motion: reduce) {
  .service-card__image,
  .service-card::after,
  .service-card__copy,
  .service-card p {
    transition: none;
  }
}
main .banner {
  margin-top: 0;
  min-height: max(680px, 100svh);
  padding-top: 160px;
}
@media (max-width: 900px) {
  main .banner {
    min-height: max(620px, 100svh);
    padding-top: 110px;
  }
}
@media (max-width: 520px) {
  main .banner {
    padding: 110px 24px 32px;
    min-height: max(580px, 100svh);
  }
  .banner__title {
    font-size: 40px;
  }
}
.hero {
  min-height: 720px;
  padding: 170px 32px 100px;
  overflow: hidden;
}
.hero__inner {
  width: min(1320px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 650px) 1fr;
}
.hero__content {
  position: relative;
  z-index: 1;
}
.hero h1 {
  max-width: 650px;
  margin: 0;
  font-size: clamp(52px, 5.35vw, 78px);
  line-height: 0.98;
  letter-spacing: -0.065em;
  font-weight: 850;
}
.hero__visual {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  padding-left: clamp(35px, 5vw, 80px);
}
.system-map {
  position: relative;
  width: min(520px, 100%);
  aspect-ratio: 1;
  color: #0b1026;
}
.system-map__routes {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.system-map__route {
  fill: none;
  stroke: #c7ccd3;
  stroke-width: 1.5;
  transition:
    stroke 0.25s ease,
    stroke-width 0.25s ease,
    opacity 0.25s ease;
}
.system-map[data-active="web"] [data-route="web"],
.system-map[data-active="software"] [data-route="software"],
.system-map[data-active="automation"] [data-route="automation"],
.system-map[data-active="security"] [data-route="security"] {
  stroke: #0b1026;
  stroke-width: 2;
  opacity: 1;
}
.system-map__core {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 116px;
  height: 74px;
  padding: 0 18px;
  border: 1px solid #0b1026;
  border-radius: 10px;
  background: #fff;
  color: #0b1026;
  text-align: center;
  transform: translate(-50%, -50%);
}
.system-map__core span {
  font-size: 12px;
  font-weight: 850;
  line-height: 1.15;
  letter-spacing: -0.01em;
}
.system-map__node {
  position: absolute;
  display: grid;
  place-items: center;
  width: 82px;
  height: 82px;
  padding: 0;
  border: 1px solid #d4d8df;
  border-radius: 12px;
  background: #fff;
  color: #697386;
  font:
    700 10px/1.2 ui-sans-serif,
    system-ui,
    sans-serif;
  letter-spacing: 0.03em;
  transition:
    color 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease,
    transform 0.2s ease;
}
.system-map__node i {
  display: block;
  margin-bottom: 8px;
  font-size: 22px;
}
.system-map__node:hover,
.system-map__node:focus-visible,
.system-map__node.is-active {
  outline: 0;
  border-color: #0b1026;
  background: #0b1026;
  color: #fff;
  transform: scale(1.04);
}
.system-map__node--web {
  top: 34px;
  left: 50%;
  transform: translateX(-50%);
}
.system-map__node--web:hover,
.system-map__node--web:focus-visible,
.system-map__node--web.is-active {
  transform: translateX(-50%) scale(1.04);
}
.system-map__node--software {
  top: 50%;
  right: 34px;
  transform: translateY(-50%);
}
.system-map__node--software:hover,
.system-map__node--software:focus-visible,
.system-map__node--software.is-active {
  transform: translateY(-50%) scale(1.04);
}
.system-map__node--automation {
  bottom: 56px;
  left: 50%;
  transform: translateX(-50%);
}
.system-map__node--automation:hover,
.system-map__node--automation:focus-visible,
.system-map__node--automation.is-active {
  transform: translateX(-50%) scale(1.04);
}
.system-map__node--security {
  top: 50%;
  left: 34px;
  transform: translateY(-50%);
}
.system-map__node--security:hover,
.system-map__node--security:focus-visible,
.system-map__node--security.is-active {
  transform: translateY(-50%) scale(1.04);
}
.system-map__status {
  position: absolute;
  right: 24px;
  bottom: 17px;
  left: 24px;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  color: #9aa1ae;
  font:
    10px/1.3 ui-monospace,
    SFMono-Regular,
    Consolas,
    monospace;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.system-map__status strong {
  color: #0b1026;
  font-weight: 700;
}
.hero__intro {
  max-width: 640px;
  margin: 34px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 1.35vw, 20px);
  line-height: 1.65;
}
.hero__actions {
  display: flex;
  gap: 20px;
  margin-top: 38px;
}
.hero__button {
  min-width: 205px;
  padding: 17px 24px;
  border: 1px solid #d8dce4;
  border-radius: 5px;
  color: var(--ink);
  background: #fff;
  font-size: 14px;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}
.hero__button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(11, 16, 38, 0.09);
}
.hero__button--primary {
  border-color: var(--ink);
  color: #fff;
  background: var(--ink);
  box-shadow: 0 10px 24px rgba(11, 16, 38, 0.16);
}
.hero__services {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 34px 0 0;
  padding: 0;
  color: #7a8394;
  list-style: none;
  font-size: 14px;
  font-weight: 650;
}
.hero__services li:not(:last-child)::after {
  content: "•";
  margin-left: 10px;
  color: #9aa1ae;
}
@media (max-width: 800px) {
  .hero {
    min-height: auto;
    padding: 130px 24px 80px;
  }
  .hero__inner {
    display: block;
  }
  .hero h1 {
    font-size: clamp(44px, 12vw, 64px);
  }
  .hero__intro {
    margin-top: 26px;
  }
  .hero__visual {
    margin-top: 70px;
    padding-left: 0;
  }
  .system-map {
    width: min(500px, 100%);
  }
}
@media (max-width: 520px) {
  .hero__actions {
    flex-direction: column;
    gap: 12px;
  }
  .hero__button {
    min-width: 0;
  }
  .hero__services {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
  .hero__services li::after {
    display: none;
  }
  .system-map__node {
    width: 68px;
    height: 68px;
    font-size: 9px;
  }
  .system-map__node i {
    margin-bottom: 5px;
    font-size: 18px;
  }
  .system-map__node--web {
    top: 20px;
  }
  .system-map__node--software {
    right: 20px;
  }
  .system-map__node--automation {
    bottom: 48px;
  }
  .system-map__node--security {
    left: 20px;
  }
  .system-map__core {
    width: 96px;
    height: 62px;
    padding: 0 12px;
  }
}
