/**
 * Our Technology — function map + product showcase
 */

/* Function map cards */
.page-technology .tech-fmap {
  padding-bottom: clamp(1.75rem, 3.5vw, 2.5rem);
}

.page-technology .tech-fmap__header {
  margin-bottom: clamp(1.75rem, 3.5vw, 2.5rem);
}

.page-technology .tech-fmap__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(0.875rem, 1.5vw, 1.125rem);
  align-items: stretch;
}

.page-technology .tech-fmap__card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.125rem;
  min-height: 17rem;
  padding: clamp(1.25rem, 2vw, 1.5rem) clamp(1.125rem, 1.8vw, 1.375rem) clamp(1.375rem, 2vw, 1.625rem);
  text-decoration: none;
  color: inherit;
  background: var(--color-white);
  border: 1px solid rgba(217, 219, 227, 0.65);
  border-radius: var(--radius-md);
  box-shadow: 0 6px 24px rgba(7, 29, 73, 0.06);
  overflow: hidden;
  transition:
    border-color 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.page-technology .tech-fmap__nav {
  cursor: pointer;
}

.page-technology .tech-fmap__nav::before {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: linear-gradient(
    180deg,
    var(--color-electric-blue) 0%,
    rgba(33, 69, 255, 0.2) 100%
  );
  opacity: 0;
  transition: opacity 0.35s ease;
}

.page-technology .tech-fmap__nav::after {
  content: '';
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  width: 1.125rem;
  height: 1.125rem;
  border: none;
  border-radius: 0;
  background:
    linear-gradient(135deg, transparent 46%, rgba(33, 69, 255, 0.55) 46%, rgba(33, 69, 255, 0.55) 54%, transparent 54%) center / 42% 42% no-repeat;
  opacity: 0.65;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.page-technology .tech-fmap__nav:hover {
  border-color: rgba(33, 69, 255, 0.32);
  box-shadow: 0 12px 32px rgba(7, 29, 73, 0.08);
  transform: none;
}

.page-technology .tech-fmap__nav:hover::before {
  opacity: 1;
}

.page-technology .tech-fmap__nav:hover::after {
  opacity: 1;
  transform: translate3d(1px, 0, 0);
}

.page-technology .tech-fmap__nav:focus-visible {
  outline: 2px solid var(--color-electric-blue);
  outline-offset: 3px;
}

.page-technology .tech-fmap__nav:hover .tech-fmap__card-title {
  color: var(--color-electric-blue);
}

.page-technology .tech-fmap__card-title {
  margin: 0;
  padding-right: 1.5rem;
  font-size: clamp(1.0625rem, 1.6vw, 1.25rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--color-navy);
  transition: color 0.35s ease;
}

.page-technology .tech-fmap__card-title::after {
  content: '';
  display: block;
  width: 1.5rem;
  height: 2px;
  margin-top: 0.5rem;
  background: var(--color-yellow);
}

.page-technology .tech-fmap__card-summary {
  flex: 1;
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.5;
  color: var(--color-navy);
}

.page-technology .tech-fmap__card-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
  margin: 0;
  padding: 0;
  list-style: none;
  margin-top: auto;
}

.page-technology .tech-fmap__card-tech li {
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--color-navy);
  padding: 0.35rem 0.7rem;
  background: var(--color-light-grey-22);
  border: 1px solid rgba(217, 219, 227, 0.7);
  border-radius: 999px;
  box-shadow: none;
}

/* Product showcase */
.page-technology .tech-showcase {
  padding-block: clamp(2rem, 4vw, 3rem);
  background: var(--color-light-grey-22);
}

.page-technology .tech-domain {
  scroll-margin-top: calc(var(--header-height) + 1.25rem);
}

.page-technology .tech-domain + .tech-domain {
  margin-top: clamp(3.5rem, 7vw, 5rem);
  padding-top: clamp(2.5rem, 5vw, 3.5rem);
  border-top: 1px solid rgba(217, 219, 227, 0.45);
}

.page-technology .tech-domain__header {
  max-width: 42rem;
  margin-bottom: clamp(1.75rem, 3.5vw, 2.5rem);
}

.page-technology .tech-domain__title {
  margin: 0 0 clamp(1rem, 2vw, 1.25rem);
  font-size: clamp(1.375rem, 2.5vw, 1.75rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--color-navy);
}

.page-technology .tech-domain__title::after {
  content: '';
  display: block;
  width: 2rem;
  height: 2px;
  margin-top: 0.625rem;
  background: var(--color-yellow);
}

.page-technology .tech-domain__summary {
  margin: 0;
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.6;
  color: var(--color-navy);
}

.page-technology .tech-domain__products {
  display: flex;
  flex-direction: column;
  gap: clamp(1.5rem, 2.5vw, 2rem);
}

.page-technology .tech-product {
  display: grid;
  grid-template-columns: minmax(0, 48%) minmax(0, 52%);
  gap: 0;
  align-items: stretch;
  min-height: clamp(16rem, 22vw, 20rem);
  padding: 0;
  background: var(--color-white);
  border: 1px solid rgba(217, 219, 227, 0.7);
  border-radius: var(--radius-md);
  box-shadow:
    0 10px 36px rgba(7, 29, 73, 0.07),
    0 1px 0 rgba(255, 255, 255, 0.65) inset;
  overflow: hidden;
}

.page-technology .tech-product--reverse .tech-product__visual {
  order: 2;
}

.page-technology .tech-product--reverse .tech-product__content {
  order: 1;
}

.page-technology .tech-product__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100%;
  padding: 0;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 70% at 50% 100%, rgba(33, 69, 255, 0.18) 0%, transparent 62%),
    linear-gradient(155deg, #051633 0%, var(--color-navy) 42%, #0c2a66 100%);
}

.page-technology .tech-product__visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 29, 73, 0.08) 0%, rgba(7, 29, 73, 0.22) 100%);
  pointer-events: none;
}

.page-technology .tech-product__visual img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  min-height: clamp(14rem, 22vw, 18rem);
  object-fit: cover;
  object-position: center;
}

.page-technology .tech-product__visual--contain img {
  object-fit: contain;
  padding: clamp(0.75rem, 1.5vw, 1.25rem);
}

.page-technology .tech-product__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1.5rem, 2.5vw, 2rem) clamp(1.75rem, 3vw, 2.5rem);
}

.page-technology .tech-product__name {
  margin: 0 0 clamp(0.75rem, 1.25vw, 1rem);
  font-size: clamp(1.1875rem, 2vw, 1.375rem);
  font-weight: 700;
  line-height: 1.25;
  color: var(--color-electric-blue);
}

.page-technology .tech-product__name::after {
  content: '';
  display: block;
  width: 1.5rem;
  height: 2px;
  margin-top: 0.5rem;
  background: var(--color-yellow);
}

.page-technology .tech-product__text {
  margin: 0;
  max-width: 34rem;
  font-size: 1.0625rem;
  line-height: 1.72;
  color: var(--color-navy);
}

/* Responsive */
@media (max-width: 992px) {
  .page-technology .tech-fmap__grid {
    grid-template-columns: 1fr;
  }

  .page-technology .tech-fmap__card {
    min-height: 0;
  }

  .page-technology .tech-product,
  .page-technology .tech-product--reverse {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .page-technology .tech-product--reverse .tech-product__visual,
  .page-technology .tech-product--reverse .tech-product__content {
    order: unset;
  }

  .page-technology .tech-product__visual {
    aspect-ratio: 16 / 9;
    min-height: 0;
  }

  .page-technology .tech-product__visual img {
    min-height: 0;
    aspect-ratio: 16 / 9;
  }
}

@media (min-width: 993px) {
  .page-technology .tech-product__visual {
    aspect-ratio: auto;
    min-height: clamp(16rem, 22vw, 20rem);
  }

  .page-technology .tech-product__visual img {
    position: absolute;
    inset: 0;
    min-height: 0;
    width: 100%;
    height: 100%;
  }
}

@media (min-width: 768px) and (max-width: 992px) {
  .page-technology .tech-fmap__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-technology .tech-fmap__card,
  .page-technology .tech-fmap__nav::after {
    transition: none;
  }
}



 .external_link_icon img {
  display: block;
  width: 14px;
  height: 14px;
}

 .external_link_icon:hover,
 .external_link_icon:focus-visible {
  color:#0a66c2;
  background: rgba(33, 69, 255, 0.18);
}

 .external_link_icon:focus-visible {
  outline: 2px solid #0a66c2;
  outline-offset: 2px;
}

 .external_link_icon--unlinked {
  opacity: 0.45;
  pointer-events: none;
}


.external_link_icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  color: #0a66c2;
  background: rgba(33, 69, 255, 0.1);
  border: 0;
  border-radius: 4px;
  transition:
    color 0.2s ease,
    background-color 0.2s ease;
    margin-top:10px;
}



.external_link_icon:focus-visible {
  outline: 2px solid var(--color-yellow);
  outline-offset: 3px;
}

.external_link_icon--unlinked {
  opacity: 0.5;
  pointer-events: none;
}
