/* Homepage composition: product directory, company, technical evidence and projects. */
.home-page .section {
  padding-block: clamp(48px, 5vw, 80px);
}

.hero-carousel {
  touch-action: pan-y pinch-zoom;
  position: relative;
  isolation: isolate;
  background: var(--surface-paper);
  overflow: hidden;
}

.hero-carousel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--surface-linework) center / cover no-repeat;
  pointer-events: none;
}

.hero-slides {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}

.hero-slide {
  grid-area: 1 / 1;
  position: relative;
  isolation: isolate;
}

.hero-carousel.is-enhanced .hero-slide {
  visibility: hidden;
  pointer-events: none;
}

.hero-carousel.is-enhanced .hero-slide.is-active,
.hero-carousel.is-enhanced .hero-slide.is-leaving {
  visibility: visible;
}

.hero-carousel.is-enhanced .hero-slide.is-active {
  z-index: 2;
  pointer-events: auto;
}

.hero-carousel.is-enhanced .hero-slide.is-leaving {
  z-index: 1;
}

.hero-grid {
  position: relative;
  display: flex;
  align-items: center;
  min-height: clamp(487px, 40vw, 650px);
  padding-block: 56px 98px;
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: 48%;
  max-width: 620px;
}

.hero-heading {
  margin: 0 0 22px;
  font-size: clamp(40px, 5vw, 66px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.035em;
  color: #081b36;
}

.hero-heading span {
  display: block;
}

.hero-copy p {
  max-width: 34em;
  margin: 0 0 22px;
  color: #425772;
  font-size: 17px;
  line-height: 1.85;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 36px;
}

.hero-actions .button:not(.button-outline) {
  min-width: 164px;
  min-height: 47px;
}

.hero-actions .button-outline {
  border-color: transparent;
  background: transparent;
  color: #0757b8;
}

.hero-actions .button-outline:hover {
  color: #063f86;
  background: #e1eefb;
}

.hero-art {
  position: absolute;
  z-index: 0;
  inset: 0 0 0 46%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 3% 80px 0;
}

.hero-art img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  -webkit-mask-image: linear-gradient(#0000, #000 4%, #000 96%, #0000),
    linear-gradient(90deg, #0000, #000 3%, #000 97%, #0000);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(#0000, #000 4%, #000 96%, #0000),
    linear-gradient(90deg, #0000, #000 3%, #000 97%, #0000);
  mask-composite: intersect;
}

.carousel-rail {
  position: absolute;
  z-index: 4;
  inset: auto 0 24px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.carousel-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  order: -1;
}

.carousel-controls button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid #9ab1ca;
  border-radius: 50%;
  background: #fff;
  color: #193b65;
  cursor: pointer;
  transition: background-color 180ms;
}

.carousel-controls button:hover {
  background: #d5e5f6;
}

.carousel-controls svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
}

.carousel-controls [data-carousel-prev] {
  order: -2;
}

.carousel-count {
  order: -1;
  min-width: 74px;
  text-align: center;
  font-size: 14px;
  color: #425772;
  font-variant-numeric: tabular-nums;
}

.carousel-count strong {
  color: var(--blue);
}

.carousel-controls [data-carousel-next] {
  order: 0;
}

.carousel-controls [data-carousel-pause] {
  order: 1;
  margin-left: 12px;
}

.carousel-selectors {
  display: flex;
  align-items: center;
  gap: 2px;
}

.carousel-selectors button {
  position: relative;
  width: 36px;
  height: 44px;
  border: 0;
  padding: 0;
  cursor: pointer;
  background: transparent;
}

.carousel-number {
  display: none;
}

.carousel-meter {
  position: absolute;
  top: 21px;
  left: 6px;
  right: 6px;
  height: 2px;
  background: #9db4cd;
  overflow: hidden;
}

.carousel-meter-fill {
  display: block;
  height: 100%;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
}

.hero-simple {
  padding-block: 100px;
  background: var(--soft);
}

.hero-simple h1 span {
  display: block;
}

.business-directory {
  padding-block: 40px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #f7f9fc;
}

.business-directory-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 32px;
}

.business-entry {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 0;
  background: transparent;
  transition: background-color 200ms;
}

.business-entry h2 {
  position: relative;
  margin: 0 0 8px;
  padding-bottom: 18px;
  font-size: clamp(26px, 2.5vw, 31px);
  font-weight: 700;
  line-height: 1.4;
  color: var(--ink);
}

.business-entry h2::after {
  position: absolute;
  bottom: 0;
  left: 0;
  content: "";
  display: block;
  width: 28px;
  height: 2px;
  background: var(--blue);
}

.business-entry-image {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #eef5fc;
  border-radius: 3px;
}

.business-entry-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 400ms cubic-bezier(0.16, 1, 0.3, 1);
}

.business-entry p {
  margin: 18px 0 14px;
  font-size: 15px;
  color: var(--muted);
  line-height: 1.8;
}

.business-entry > .text-link {
  margin-top: auto;
}

.business-entry:focus-visible,
.business-entry:active {
  background: #f4f8fc;
}

.business-entry:focus-visible h2 {
  color: var(--blue);
}

.business-entry:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: -3px;
}

@media (hover: hover) and (pointer: fine) {
  .business-entry:hover h2 {
    color: var(--blue);
  }

  .business-entry:hover img {
    transform: scale(1.035);
  }
}

.home-about .about-split {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(32px, 4vw, 64px);
  align-items: center;
}

.home-about .about-visual {
  position: relative;
  grid-column: 2;
  grid-row: 1;
  display: block;
  min-width: 0;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: var(--soft);
}

.company-video-frame {
  position: relative;
  overflow: hidden;
  background: var(--ink);
}

.home-about .company-video-frame > img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: 72% center;
  mix-blend-mode: normal;
}

.company-introduction {
  grid-column: 1;
  grid-row: 1;
}

.company-introduction h2 {
  margin-bottom: 20px;
  font-size: clamp(30px, 3vw, 42px);
}

.company-introduction h2::after {
  content: "";
  display: block;
  width: 26px;
  height: 2px;
  margin-top: 12px;
  background: var(--blue);
}

.company-introduction p {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.9;
}

.company-introduction .text-link + .text-link {
  margin-left: 24px;
  padding-left: 24px;
  border-left: 1px solid var(--line);
}

.company-location {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  max-width: 100%;
  padding: 14px 18px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.company-location .ui-icon {
  flex: 0 0 18px;
  width: 18px;
  height: 20px;
  color: var(--blue);
}

.home-research {
  background: #0b2342;
  color: #fff;
  padding-block: clamp(56px, 7vw, 96px);
}

.research-layout {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  align-items: center;
  gap: 80px;
}

.research-copy h2 {
  max-width: 10em;
  font-size: clamp(32px, 3.5vw, 48px);
  line-height: 1.45;
  margin-bottom: 24px;
  color: #fff;
}

.research-copy > p {
  color: #c4d5e7;
  line-height: 1.9;
  margin-bottom: 32px;
}

.research-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 64px;
  border-top: 1px solid #35506c;
  color: #e0efff;
  transition: color 180ms;
}

.research-links a:last-child {
  border-bottom: 1px solid #35506c;
}

.research-links a:is(:hover, :focus-visible) {
  color: #8cc6ff;
}

.research-links .ui-icon {
  transition: transform 180ms;
}

.research-links a:focus-visible {
  outline: 2px solid #8cc6ff;
  outline-offset: 3px;
}

@media (hover: hover) and (pointer: fine) {
  .research-links a:hover .ui-icon {
    transform: translateX(3px);
  }
}

.research-visual {
  margin: 0;
}

.research-document {
  display: block;
  border-radius: 4px;
}

.research-document:focus-visible {
  outline: 2px solid #8cc6ff;
  outline-offset: 5px;
}

.research-visual img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  padding: 16px;
  background: #f7f9fc;
  border-radius: 4px;
}

.research-visual figcaption {
  margin-top: 10px;
  color: #bdcfe2;
  font-size: 14px;
  text-align: right;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
}

.project-image {
  overflow: hidden;
  aspect-ratio: 3 / 2;
  background: var(--soft);
  border-radius: 4px;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms cubic-bezier(0.16, 1, 0.3, 1);
}

.project-entry:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 5px;
}

@media (hover: hover) and (pointer: fine) {
  .project-entry:hover img {
    transform: scale(1.035);
  }
}

.project-copy {
  padding-top: 24px;
}

.project-copy h3 {
  margin-bottom: 14px;
  font-size: 23px;
  line-height: 1.5;
  transition: color 180ms;
}

.project-entry:is(:hover, :focus-visible) h3 {
  color: var(--blue);
}

.project-copy p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.home-page .home-partners {
  padding-top: 0;
}

.home-news {
  border-top: 1px solid var(--line);
}

.home-news-layout {
  display: grid;
  grid-template-columns: 1fr 2.25fr;
  gap: 80px;
}

.home-news-heading h2 {
  font-size: clamp(30px, 3vw, 42px);
}

.home-news-entry {
  display: grid;
  grid-template-columns: 112px 1fr 24px;
  gap: 24px;
  align-items: center;
  padding-block: 26px;
  border-bottom: 1px solid var(--line);
}

.home-news-entry:first-child {
  border-top: 1px solid var(--line);
}

.home-news-entry time {
  color: var(--muted);
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}

.home-news-entry h3 {
  font-size: 19px;
  line-height: 1.6;
  font-weight: 600;
  margin: 0;
  transition: color 180ms;
}

.home-news-entry:is(:hover, :focus-visible) h3 {
  color: var(--blue);
}

.home-news-entry > .ui-icon {
  transition: transform 180ms;
}

.home-news-entry:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 4px;
}

@media (hover: hover) and (pointer: fine) {
  .home-news-entry:hover > .ui-icon {
    transform: translateX(3px);
  }
}

.home-support {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: 64px;
  background: var(--surface-paper);
}

.home-support::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--surface-linework) center / cover no-repeat;
  opacity: 0.8;
  pointer-events: none;
}

.support-layout {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 80px;
  align-items: center;
}

.support-layout h2 {
  font-size: clamp(30px, 3vw, 42px);
}

.support-layout p {
  max-width: 44em;
  color: #4f6680;
}

.support-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  margin-top: 28px;
}

.home-support-contact {
  padding: 36px 40px;
  border: 1px solid #d8e5f0;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 10px;
}

.home-support-contact > span {
  font-size: 14px;
  color: #4f6680;
}

.home-support-contact > a[href^="tel:"] {
  color: var(--blue);
  font-size: clamp(24px, 2.7vw, 38px);
  line-height: 1.4;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.home-support-contact .text-link {
  color: var(--blue);
}

@media (min-width: 1600px) {
  .hero-copy {
    width: 46%;
  }
}

@supports (grid-template-rows: subgrid) {
  @media (min-width: 701px) {
    .business-entry {
      display: grid;
      grid-template-rows: subgrid;
      grid-row: span 4;
    }

    .business-entry h2 {
      min-height: 0;
    }
  }
}

@media (min-width: 701px) and (max-width: 1100px) {
  html[lang="en"] .hero-heading {
    font-size: 40px;
  }
}

@media (max-width: 1000px) {
  .hero-copy {
    width: 50%;
  }

  .hero-heading {
    font-size: 42px;
  }

  .business-entry h2 {
    font-size: 23px;
    min-height: calc(2.8em + 18px);
  }

  .home-about .about-split,
  .research-layout,
  .home-news-layout,
  .support-layout {
    gap: 32px;
  }

  .project-grid {
    gap: 24px;
  }

  .project-copy h3 {
    font-size: 20px;
  }
}

@media (max-width: 700px) {
  .hero-carousel::before {
    background-position: 62% center;
    opacity: 0.7;
  }

  .hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: 1fr auto;
    align-items: stretch;
    min-height: 0;
    height: 100%;
    padding: 0;
    width: 100%;
  }

  .hero-copy {
    width: 100%;
    max-width: none;
    padding: 32px 20px 20px;
    background: transparent;
  }

  .hero-heading {
    font-size: clamp(31px, 8vw, 42px);
    margin-bottom: 16px;
    line-height: 1.35;
  }

  .hero-copy p {
    max-width: 32em;
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 20px;
  }

  .hero-actions {
    gap: 8px;
  }

  .hero-actions .button:not(.button-outline) {
    min-width: 0;
    min-height: 46px;
  }

  .hero-actions .button {
    padding-inline: 18px;
    min-height: 46px;
    font-size: 14px;
  }

  .hero-art {
    position: relative;
    z-index: 0;
    inset: auto;
    width: 100%;
    min-width: 0;
    min-height: 0;
    aspect-ratio: 3 / 2;
    margin-bottom: 66px;
    padding: 0;
  }

  .hero-art img {
    width: 100%;
    height: 100%;
    object-position: center;
  }

  .carousel-rail {
    bottom: 12px;
    justify-content: center;
    gap: 16px;
  }

  .carousel-controls [data-carousel-pause] {
    margin-left: 6px;
  }

  .carousel-selectors button {
    width: 44px;
  }

  .business-directory-grid {
    grid-template-columns: 1fr;
    width: 100%;
    gap: 0;
  }

  .business-directory {
    padding-block: 16px 28px;
  }

  .business-entry {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 116px;
    gap: 8px 16px;
    padding: 26px 0;
    border: 0;
    border-bottom: 1px solid var(--line);
    background: transparent;
  }

  .business-entry h2 {
    grid-column: 1 / -1;
    margin: 0 0 6px;
    padding-bottom: 0;
    font-size: 22px;
    min-height: 0;
  }

  .business-entry h2::after {
    display: none;
  }

  .business-entry-image {
    grid-column: 2;
    grid-row: 2 / 4;
    align-self: center;
    width: 116px;
    aspect-ratio: 1;
  }

  .business-entry p {
    margin: 0;
    font-size: 14px;
    line-height: 1.75;
  }

  .business-entry > .text-link {
    font-size: 13px;
    min-height: 32px;
  }

  .home-page .home-about {
    padding-block: 44px;
  }

  .home-about .about-split,
  .research-layout,
  .home-news-layout,
  .support-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .company-introduction {
    grid-column: auto;
    grid-row: auto;
  }

  .home-about .about-visual {
    grid-column: auto;
    grid-row: auto;
  }

  .company-introduction h2,
  .research-copy h2,
  .home-news-heading h2,
  .support-layout h2 {
    font-size: 30px;
  }

  .research-copy h2 {
    max-width: 12em;
  }

  .project-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .project-copy {
    padding-top: 18px;
  }

  .home-news-heading {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 20px;
  }

  .home-news-heading h2 {
    margin: 0;
  }

  .home-news-entry {
    grid-template-columns: 1fr 24px;
    gap: 10px 20px;
    padding-block: 22px;
  }

  .home-news-entry time {
    grid-column: 1;
    font-size: 12px;
  }

  .home-news-entry h3 {
    grid-row: 2;
    font-size: 17px;
  }

  .home-news-entry .ui-icon {
    grid-column: 2;
    grid-row: 1 / 3;
  }

  .home-support-contact {
    padding: 28px;
  }
}

@media (max-width: 420px) {
  .hero-art {
    margin-bottom: 110px;
  }

  .carousel-rail {
    display: grid;
    justify-content: center;
    gap: 0;
  }

  .carousel-selectors {
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .business-entry,
  .business-entry-image img,
  .project-image img,
  .carousel-controls button,
  .research-links a,
  .research-links .ui-icon,
  .home-news-entry > .ui-icon {
    transition: none;
  }

  .business-entry:hover img,
  .project-entry:hover img,
  .research-links a:hover .ui-icon,
  .home-news-entry:hover > .ui-icon {
    transform: none;
  }
}
