@font-face {
  font-family: Jost;
  src: url("../fonts/Jost/Jost-Regular.ttf");
}
@font-face {
  font-family: Jost;
  src: url("../fonts/Jost/Jost-Medium.ttf");
  font-weight: 500;
}
@font-face {
  font-family: Jost;
  src: url("../fonts/Jost/Jost-SemiBold.ttf");
  font-weight: 600;
}
@font-face {
  font-family: Jost;
  src: url("../fonts/Jost/Jost-Bold.ttf");
  font-weight: 700;
}
@font-face {
  font-family: Jost;
  src: url("../fonts/Jost/Jost-MediumItalic.ttf");
  font-style: italic;
  font-weight: 500;
}
:root {
  --blue: #0014c8;
  --footer: #0a1496;
  --cyan: #00ffcf;
  --gradient: linear-gradient(45deg, #0028eb 0%, #3be1ff 100%);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  color: #111;
  background: #fff;
  font-family: Jost, Arial, sans-serif;
  font-size: 21px;
  font-weight: 400;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  display: block;
  max-width: 100%;
}
.page {
  width: 100%;
  min-width: 1180px;
  overflow: hidden;
}
.container {
  width: 1400px;
  margin: 0 auto;
}
.blue {
  color: var(--blue);
}
.site-header {
  height: 100px;
  background: #fff;
  position: relative;
  z-index: 20;
}
.header-inner {
  width: 1620px;
  height: 100px;
  margin: auto;
  position: relative;
}
.logo {
  position: absolute;
  left: 0;
  top: 32px;
  width: 190px;
  height: 36px;
}
.nav {
  position: absolute;
  left: 612px;
  top: 0;
  height: 100px;
  display: flex;
  align-items: center;
  gap: 59px;
  font-size: 18px;
  white-space: nowrap;
}
.nav a.active,
.nav a:hover {
  color: var(--blue);
}
.search {
  position: absolute;
  left: 1262px;
  top: 31px;
  width: 242px;
  height: 38px;
  border: 1px solid #b7b7b7;
  border-radius: 19px;
  color: #aaa;
  padding: 0 18px 0 40px;
  font: 14px Jost;
  background: #fff;
}
.search-icon {
  position: absolute;
  left: 1275px;
  top: 42px;
  width: 15px;
  height: 15px;
  border: 1px solid #aaa;
  border-radius: 50%;
  z-index: 2;
}
.search-icon:after {
  content: "";
  position: absolute;
  width: 6px;
  height: 1px;
  background: #aaa;
  right: -5px;
  bottom: -2px;
  transform: rotate(45deg);
}
.language {
  position: absolute;
  right: 0;
  top: 42px;
  font-size: 14px;
}
.language:after {
  content: " ▾";
}
.hero {
  height: 600px;
  position: relative;
  background-size: cover;
  background-position: center;
}
.hero-title {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  margin: 0;
  font-size: 96px;
  font-weight: 700;
  letter-spacing: 0.2px;
}
.hero-home {
  height: 860px;
  background-image: url("../images/banner_1.jpg");
  background-size: cover;
}
.hero-home .hero-title {
  display: block;
  top: 224px;
  bottom: auto;
  left: max(calc((100% - 1620px) / 2), 30px);
  width: max-content;
  min-width: 970px;
  height: 340px;
  font-size: 72px;
  line-height: 1.2;
  letter-spacing: -1.8px;
  /* Line breaks come from CMS-generated <br> elements. nowrap prevents the
     source newline after each <br> from becoming a second blank line. */
  white-space: nowrap !important;
  overflow-wrap: normal;
  word-break: normal;
}
.hero-about {
  background-image: url("../images/banner_2.jpg");
}
.hero-about .hero-title {
  font-size: 72px;
  font-weight: 600;
  background: linear-gradient(90deg, #ff005d, #53cfff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-news {
  background-image: url("../images/news-hero.png");
}
.hero-projects {
  background-image: url("../images/projects-hero.png");
}
.hero-full {
  background-image: url("../images/banner_3.jpg");
}
.section-title {
  margin: 0;
  color: var(--blue);
  font-size: 36px;
  font-weight: 400;
  line-height: 1;
}
.body-copy {
  font-size: 21px;
  line-height: 1.6;
  margin: 0;
}
.metrics {
  height: 336px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 0;
}
.metric {
  width: 320px;
  height: 212px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.11);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.metric:not(.featured) {
  margin-top: 62px;
}
.metric.featured {
  height: 274px;
  color: #fff;
  background: var(--gradient);
}
.metric strong {
  font-size: 72px;
  line-height: 1;
  font-weight: 600;
}
.metric small {
  margin-top: 24px;
  font-size: 21px;
  line-height: 1.05;
}
.metric sup {
  color: var(--blue);
  font-size: 0.55em;
  vertical-align: super;
}
.metric.featured sup {
  color: #fff;
}
.timeline {
  position: relative;
  height: 810px;
  padding-top: 225px;
}
.timeline:before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 58px;
  height: 56px;
  background: repeating-linear-gradient(
    90deg,
    transparent 0 29px,
    rgba(0, 20, 200, 0.22) 30px 31px,
    transparent 32px 59px
  );
}
.timeline-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}
.era {
  position: relative;
  padding-right: 54px;
}
.era h3 {
  color: var(--blue);
  font-size: 48px;
  font-style: italic;
  font-weight: 500;
  margin: 0 0 72px;
}
.events {
  position: relative;
  /*margin-left: 63px;*/
  border-left: 2px solid rgba(0, 20, 200, 0.28);
  padding-left: 27px;
  padding-right: 60px;
}
.events::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: -6px;
  width: 8px;
  height: 8px;
  border: 1px solid var(--blue);
  border-radius: 50%;
  background: #fff;
}
.event {
  position: relative;
  margin: 0 0 27px;
  font-size: 18px;
  line-height: 1.35;
}
.event b {
  display: block;
  color: var(--blue);
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 8px;
}
.event-lines {
  display: grid;
  gap: 6px;
  min-width: 0;
}
.event-lines > .event-line {
  display: grid;
  grid-template-columns: 6px minmax(0, 1fr);
  column-gap: 6px;
  align-items: start;
  min-width: 0;
}
.event-line > i {
  display: block;
  width: 3px;
  height: 3px;
  margin-top: 0.55em;
  border-radius: 50%;
  background: var(--blue);
}
.event-line > .event-line-text {
  display: block;
  min-width: 0;
  white-space: normal;
  overflow-wrap: anywhere;
}
.news-grid {
  display: grid;
  grid-template-columns: 650px 650px;
  column-gap: 100px;
  row-gap: 70px;
}
.news-card img {
  width: 650px;
  height: 431px;
  object-fit: cover;
  border-radius: 18px;
}
.news-card h3 {
  font-size: 36px;
  line-height: 1;
  margin: 38px 0 24px;
  font-weight: 500;
}
.news-card p {
  font-size: 21px;
  line-height: 1.55;
  margin: 0 0 21px;
}
.news-card time {
  font-size: 18px;
  color: #555;
}
.more-link {
  font-size: 24px;
  color: #666;
}
.video-strip {
  height: 1060px;
  background: url("../images/home-video-background.png") center/cover no-repeat;
  position: relative;
}
.video-strip img {
  position: absolute;
  z-index: 1;
  left: calc(50% - 80px);
  top: 464px;
  width: 160px;
  height: 112px;
}
.earth-cta {
  height: 1080px;
  color: #fff;
  text-align: center;
  background: url("../images/Earth map.jpg") center/cover no-repeat;
  padding-top: 326px;
}
.earth-cta .eyebrow {
  font-size: 36px;
  margin: 0 0 24px;
}
.earth-cta h2 {
  font-size: 72px;
  line-height: 1;
  margin: 0 0 52px;
  font-weight: 600;
}
.cta-row {
  display: flex;
  justify-content: center;
  gap: 60px;
}
.btn {
  height: 62px;
  padding: 0 30px;
  border-radius: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #666;
  background: #fff;
  font-size: 18px;
}
.btn.primary {
  border: 0;
  color: #fff;
  background: var(--gradient);
}
.site-footer {
  height: 180px;
  border-top: 1px solid #fff;
  background: var(--footer);
  color: #fff;
  position: relative;
}
.footer-inner {
  width: 1620px;
  height: 100%;
  margin: auto;
  display: flex;
  align-items: center;
}
.footer-logo {
  width: 190px;
  height: 36px;
  filter: brightness(0) invert(1);
}
.footer-contact {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 165px;
}
.footer-contact span {
  font-size: 20px;
}
.footer-contact .phone {
  font-size: 24px;
  font-weight: 500;
}
.footer-contact img {
  display: inline-block;
  width: 23px;
  height: 23px;
  margin-right: 18px;
  vertical-align: -6px;
}
.to-top {
  position: absolute;
  right: 23px;
  bottom: 23px;
  width: 52px;
  height: 52px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.to-top img {
  width: 100%;
  height: 100%;
}
/* Home */
.home-about {
  height: 940px;
  padding-top: 136px;
  position: relative;
}
.home-about .body-copy {
  margin-top: 51px;
}
.home-about .metrics {
  position: absolute;
  left: 0;
  top: 462px;
  width: 100%;
  margin: 0;
}
.home-history {
  height: 1372px;
  padding-top: 125px;
  border-top: 1px solid #eee;
}
.home-history .timeline {
  margin-top: 36px;
}
.home-news {
  height: 1908px;
  padding-top: 56px;
}
.home-news .news-grid {
  margin-top: 53px;
  grid-auto-rows: 692px;
  row-gap: 102px;
}
.home-news .more-link {
  display: block;
  margin-top: 112px;
}
/* About */
.about-intro {
  height: 1695px;
  padding-top: 158px;
  position: relative;
}
.about-intro .body-copy {
  margin-top: 56px;
}
.about-intro .metrics {
  position: absolute;
  left: 50%;
  top: 478px;
  width: 1400px;
  transform: translateX(-50%);
  margin: 0;
}
.about-carousel {
  position: absolute;
  left: 0;
  right: 0;
  top: 872px;
  height: 721px;
  margin: 0;
  display: grid;
  grid-template-columns: 400px 80px 960px 80px 400px;
}
.about-carousel img {
  width: 100%;
  height: 721px;
  object-fit: cover;
}
.about-carousel .main {
  border-radius: 18px;
}
.carousel-arrow {
  position: absolute;
  z-index: 2;
  top: 330px;
  width: 60px;
  height: 60px;
  padding: 0;
  border: 0;
  background: transparent;
}
.carousel-arrow.previous {
  left: 60px;
}
.carousel-arrow.next {
  right: 60px;
}
.carousel-arrow img {
  width: 60px;
  height: 60px;
}
.culture {
  height: 650px;
  padding-top: 42px;
}
.culture-cards {
  display: grid;
  grid-template-columns: 650px 650px;
  gap: 100px;
  margin-top: 58px;
}
.culture-card {
  height: 430px;
  border-radius: 18px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.11);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
.culture-card.gradient {
  background: var(--gradient);
  color: #fff;
}
.culture-card img {
  width: 118px;
  height: 146px;
  object-fit: contain;
  margin-bottom: 36px;
}
.culture-card h3 {
  font-size: 36px;
  font-weight: 400;
  margin: 0 0 27px;
}
.culture-card p {
  font-size: 18px;
  margin: 0;
}
.rd {
  height: 591px;
  padding-top: 54px;
  display: grid;
  grid-template-columns: 650px 650px;
  gap: 100px;
}
.rd-copy h3 {
  font-size: 27px;
  margin: 57px 0 14px;
}
.rd-copy p {
  font-size: 18px;
  line-height: 1.4;
  margin: 0 0 23px;
}
.rd img {
  width: 650px;
  height: 431px;
  border-radius: 18px;
  object-fit: cover;
  margin-top: -44px;
}
.about-history {
  height: 1109px;
  padding-top: 9px;
}
.global-layout {
  height: 1065px;
  background: url("../images/Earth map_2.jpg") center/cover no-repeat;
  color: #fff;
  position: relative;
  padding-top: 124px;
}
.global-layout h2 {
  font-size: 36px;
  font-weight: 400;
  margin: 0;
}
/* contact */
.contact-map {
  height: 600px;
  background: #e9eef2;
  position: relative;
}
.contact-body {
  height: 870px;
  padding-top: 160px;
  display: grid;
  grid-template-columns: 640px 660px;
  gap: 100px;
}
.contact-col .section-title {
  margin-bottom: 61px;
}
.location {
  margin-bottom: 48px;
}
.location h3 {
  font-size: 23px;
  margin: 0 0 19px;
  font-weight: 500;
}
.location p {
  font-size: 19px;
  line-height: 1.75;
  margin: 0;
  padding-left: 34px;
  position: relative;
}
.location p img {
  position: absolute;
  left: 0;
  top: 4px;
  width: 24px;
  height: 24px;
}
.contact-intro {
  font-size: 19px;
  line-height: 1.5;
  margin: 0 0 24px;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  display: block;
  border: 0;
  border-bottom: 1px solid #ccc;
  padding: 0 0 12px;
  margin-bottom: 20px;
  font: 18px Jost;
  outline: none;
}
.contact-form textarea {
  height: 170px;
  resize: none;
  padding-top: 0;
}
.contact-form .btn {
  margin-top: 13px;
}
/* project list */
.projects-body {
  height: 1720px;
  padding-top: 158px;
}
.projects-body .section-title {
  margin-bottom: 65px;
}
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 450px);
  grid-auto-rows: 634px;
  gap: 86px 25px;
}
.project-card img {
  width: 450px;
  height: 451px;
  object-fit: cover;
  border-radius: 18px;
}
.project-card h3 {
  font-size: 29px;
  line-height: 1;
  margin: 34px 0 22px;
  font-weight: 500;
}
.project-card p {
  font-size: 23px;
  line-height: 1.55;
  margin: 0;
}
.project-card:nth-child(2) h3,
.project-card:nth-child(2) p {
  color: var(--blue);
}
/* TPU detail */
.tpu-page {
  overflow: clip;
}
.tpu-hero {
  position: relative;
  height: auto;
  background: #fff;
}
.tpu-hero .car {
  position: sticky;
  z-index: 1;
  top: 0;
  display: block;
  width: 100%;
  height: 100vh;
  object-fit: cover;
  object-position: center;
}
.tpu-hero-card {
  position: relative;
  z-index: 2;
  box-sizing: border-box;
  /* Keep a short introduction from making the section shorter than its
     100vh image. Longer copy still expands the section naturally. */
  min-height: calc(100vh - 312px);
  margin-top: calc(-100vh + 312px);
  margin-left: 50%;
  padding: 48px;
  background: #fff;
  padding-bottom: 120px;
}
.tpu-hero-card .section-title {
  margin-bottom: 58px;
}
.tpu-hero-card h1 {
  margin: 0 0 60px;
  font-size: 72px;
  font-weight: 600;
  line-height: 1.3;
}
.tpu-hero-card > p:last-child {
  margin: 0;
  font-size: 36px;
  line-height: 1.4;
}
.category {
  height: 1660px;
  padding-top: 137px;
}
.category .kicker {
  font-size: 29px;
  color: var(--blue);
  margin: 0 0 24px;
}
.category h2 {
  font-size: 72px;
  line-height: 1;
  margin: 0 0 72px;
}
.category-item {
  height: 528px;
  display: grid;
  grid-template-columns: 700px 1fr;
  gap: 55px;
  align-items: center;
  border-bottom: 2px solid #eee;
}
.category-item:last-child {
  border-bottom: 0;
}
.category-image-frame {
  width: 700px;
  height: 526px;
  overflow: hidden;
  border-radius: 18px;
  background: #eef1f8;
}
.category-image-frame img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 0;
  object-fit: cover;
  backface-visibility: hidden;
  transform: scale(1);
  transition: transform 0.9s var(--motion-ease);
  will-change: transform;
}
.category-item:hover .category-image-frame img {
  transform: scale(1.1);
}
.category-copy h3 {
  font-size: 39px;
  margin: 0 0 41px;
  font-weight: 500;
}
.category-copy p {
  font-size: 21px;
  line-height: 1.55;
  margin: 0 0 70px;
}
.category-item.accent h3,
.category-item.accent p {
  color: var(--blue);
}
/* Product grid */
.product-body {
  height: 2950px;
  padding-top: 127px;
}
.breadcrumb-line {
  display: flex;
  justify-content: space-between;
  padding: 0 100px;
  font-size: 21px;
  color: var(--blue);
  margin-bottom: 56px;
}
.breadcrumb-line .return {
  color: #777;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 450px);
  grid-auto-rows: 533px;
  gap: 97px 25px;
}
.product-card img {
  width: 450px;
  height: 451px;
  border-radius: 18px;
  object-fit: cover;
}
.product-card h3 {
  font-size: 29px;
  margin: 30px 0 12px;
  font-weight: 500;
}
.product-card p {
  font-size: 21px;
  margin: 0;
}
.product-body .more-link {
  display: block;
  text-align: center;
  margin-top: 160px;
}
/* news listing */
.news-list {
  height: 5090px;
  padding-top: 144px;
}
.news-list .news-grid {
  grid-auto-rows: 692px;
  row-gap: 98px;
}
.news-list .more-link {
  display: block;
  text-align: center;
  margin-top: 140px;
}
/* news detail */
.news-detail {
  height: 2590px;
  padding-top: 113px;
  width: 1200px;
  margin: auto;
}
.detail-head {
  position: relative;
}
.detail-head h1 {
  font-size: 36px;
  color: var(--blue);
  margin: 0 0 34px;
  font-weight: 500;
}
.detail-head time {
  font-size: 21px;
  color: #888;
}
.detail-head .return {
  position: absolute;
  right: 0;
  top: 13px;
  font-size: 18px;
  color: #777;
}
.detail-copy {
  font-size: 21px;
  line-height: 1.55;
  margin: 70px 0 93px;
}
.detail-images {
  width: 1200px;
  height: 1617px;
  object-fit: cover;
}
.detail-nav {
  font-size: 20px;
  line-height: 2.3;
  margin-top: 55px;
}
.detail-nav b {
  font-weight: 500;
}
@media (max-width: 1180px) {
  .page {
    min-width: 0;
  }
  .header-inner,
  .footer-inner,
  .container {
    width: calc(100% - 40px);
  }
  .site-header {
    height: 76px;
  }
  .header-inner {
    height: 76px;
  }
  .logo {
    left: 0;
    top: 23px;
    width: 158px;
    height: 30px;
  }
  .nav {
    display: none;
  }
  .search,
  .search-icon,
  .language {
    display: none;
  }
  .hero,
  .hero-home {
    height: 50vw;
    min-height: 300px;
  }
  .hero-home .hero-title {
    left: 30px;
    width: 80%;
    font-size: clamp(34px, 6vw, 60px);
  }
  .hero-title {
    font-size: clamp(38px, 7vw, 64px);
  }
  .metrics {
    height: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    padding: 40px 0;
  }
  .metric,
  .metric.featured {
    width: 100%;
    height: 190px;
  }
  .timeline {
    height: auto;
  }
  .timeline-grid {
    grid-template-columns: 1fr;
  }
  .news-grid,
  .culture-cards,
  .projects-grid,
  .product-grid {
    grid-template-columns: 1fr;
  }
  .news-card,
  .news-card img,
  .culture-card,
  .project-card,
  .project-card img,
  .product-card,
  .product-card img {
    width: 100%;
    height: auto;
  }
  .home-about,
  .home-history,
  .home-news,
  .about-intro,
  .culture,
  .rd,
  .about-history,
  .projects-body,
  .product-body,
  .news-list,
  .news-detail,
  .category,
  .contact-body {
    height: auto;
    padding: 80px 0;
  }
  .home-about .metrics,
  .about-intro .metrics {
    position: static;
    width: 100%;
    transform: none;
    margin-top: 40px;
  }
  .about-carousel {
    display: none;
  }
  .video-strip {
    height: 55vw;
  }
  .earth-cta {
    height: 600px;
  }
  .footer-contact {
    gap: 20px;
  }
  .footer-contact .mail {
    display: none;
  }
  .site-footer {
    height: 140px;
  }
  .footer-logo {
    width: 160px;
  }
  .to-top {
    width: 42px;
    height: 42px;
  }
  .rd,
  .contact-body {
    display: block;
  }
  .rd img {
    width: 100%;
    height: auto;
    margin-top: 30px;
  }
  .global-layout {
    height: 600px;
  }
  .category-item {
    height: auto;
    grid-template-columns: 1fr;
    padding: 40px 0;
  }
  .category-image-frame {
    width: 100%;
    height: auto;
    aspect-ratio: 700 / 526;
  }
  .product-grid {
    gap: 50px;
  }
  .news-detail {
    width: calc(100% - 40px);
  }
  .detail-images {
    width: 100%;
    height: auto;
  }
  .contact-map {
    height: 50vw;
    min-height: 280px;
  }
  .page > .site-footer {
    /*margin-top: 60px;*/
  }
}

/* --------------------------------------------------------------------------
   Motion and interaction layer
   -------------------------------------------------------------------------- */
:root {
  --motion-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --tick-year: #dfe2f8;
  --tick-five: #b0b6ee;
  --tick-decade: #505ed9;
}

.menu-toggle {
  display: none;
}

/* Scroll entrance animation, following the interaction rhythm of the reference site. */
.reveal {
  opacity: 1;
}
.js-enabled .reveal {
  opacity: 0;
  translate: 0 34px;
  transition:
    opacity 0.7s var(--motion-ease),
    translate 0.7s var(--motion-ease);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, translate;
}
.js-enabled .reveal.is-visible {
  opacity: 1;
  translate: 0 0;
  will-change: auto;
}
@keyframes hero-title-enter {
  from {
    opacity: 0;
    clip-path: inset(0 100% 0 0);
  }
  to {
    opacity: 1;
    clip-path: inset(0 0 0 0);
  }
}
.js-enabled .hero-title {
  opacity: 0;
  clip-path: inset(0 100% 0 0);
}
.js-enabled .hero.is-image-ready .hero-title {
  animation: hero-title-enter 0.9s 0.12s var(--motion-ease) both;
}

/* Buttons have the same moving highlight treatment as the reference site. */
.btn {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition:
    transform 0.25s var(--motion-ease),
    box-shadow 0.25s var(--motion-ease),
    color 0.25s ease,
    background 0.25s ease,
    border-color 0.25s ease;
}
.btn::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -80%;
  bottom: -80%;
  left: -45%;
  width: 28%;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.48),
    transparent
  );
  transform: rotate(18deg) translateX(-240%);
  transition: transform 0.65s ease;
}
.btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 20, 200, 0.18);
}
.btn:hover::before {
  transform: rotate(18deg) translateX(620%);
}
.cta-row .btn:hover {
  border-color: #e62c00;
  color: #fff;
  background: #e62c00;
}
.nav a {
  position: relative;
  transition: color 0.22s ease;
}
.nav > a::after {
  content: "";
  position: absolute;
  left: 50%;
  right: 50%;
  bottom: -8px;
  height: 2px;
  background: var(--blue);
  transition:
    left 0.25s var(--motion-ease),
    right 0.25s var(--motion-ease);
}
.nav > a:hover::after {
  left: 0;
  right: 0;
}

/* HOME metrics: all cards are neutral until the visitor points to one. */
.home-about .metric {
  height: 212px;
  margin-top: 62px;
  color: #111;
  background: #fff;
  transform: translateY(0);
  transition:
    transform 0.38s var(--motion-ease),
    color 0.3s ease,
    background 0.38s var(--motion-ease),
    box-shadow 0.38s var(--motion-ease);
  cursor: pointer;
}
.home-about .metric.feature {
  height: 212px;
  margin-top: 62px;
  color: #fff;
  background: var(--gradient);
  box-shadow: 0 20px 46px rgba(0, 40, 220, 0.22);
  transform: translateY(-62px);
}
.home-about .metric.feature sup {
  color: #fff;
}
.home-about .metric:focus-visible {
  outline: 3px solid rgba(0, 40, 235, 0.28);
  outline-offset: 6px;
}

/* Timeline: each ruler and its era are one horizontally scrollable module. */
.home-history,
.about-history {
  height: auto;
}
@media (min-width: 1181px) {
  .home-history {
    min-height: 1372px;
    padding-bottom: 125px;
  }
  .about-history {
    min-height: 1109px;
    padding-bottom: 80px;
  }
}
.timeline {
  height: auto;
  padding-top: 0;
  overflow: visible;
}
.timeline::before {
  content: none;
}
.timeline-viewport {
  width: 100%;
  height: auto;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  overscroll-behavior-inline: contain;
  scroll-padding-inline-start: 60px;
  cursor: grab;
}
.timeline-viewport:active,
.timeline-viewport.is-dragging {
  cursor: grabbing;
}
.timeline-viewport.is-dragging {
  scroll-behavior: auto;
  scroll-snap-type: none;
  user-select: none;
}
.timeline-viewport::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}
.timeline-grid {
  display: flex;
  width: 100%;
  min-width: 100%;
  gap: 0;
  padding-left: 60px;
}
.timeline .era {
  flex: 0 0 33.333333%;
  width: 33.333333%;
  min-width: 0;
  /*padding-right: 54px;*/
  padding-right: 0px;
  scroll-snap-align: start;
}
.home-history .timeline .era {
  flex-basis: 30%;
  width: 30%;
}
.timeline .era h3 {
  width: max-content;
  transform: translateX(-50%);
}
.era-ruler {
  position: relative;
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  height: 225px;
  padding-top: 58px;
}
.timeline-tick {
  display: block;
  justify-self: start;
  width: 2px;
  height: 38px;
  background: var(--tick-year);
}
.timeline-tick.is-leading-year {
  position: absolute;
  top: 58px;
  left: -10%;
}
.timeline-tick.is-five-year {
  height: 64px;
  background: var(--tick-five);
}
.timeline-tick.is-decade {
  height: 92px;
  background: var(--tick-decade);
}
.timeline-scroll-hint {
  position: absolute;
  z-index: 5;
  top: 14px;
  right: 4px;
  margin: 0;
  color: var(--blue);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.timeline.has-moved .timeline-scroll-hint,
.timeline:not(.is-scrollable) .timeline-scroll-hint {
  opacity: 0;
}

/* News card: the entire card is one link and the image zoom is clipped. */
.news-card {
  display: block;
  color: #111;
  transition: color 0.25s ease;
}
.news-image-frame {
  width: 650px;
  height: 431px;
  overflow: hidden;
  border-radius: 18px;
}
.news-card img {
  transition: transform 0.55s var(--motion-ease);
  will-change: transform;
}
.news-card h3,
.news-card p,
.news-card time {
  transition: color 0.25s ease;
}
.news-card:hover {
  color: var(--blue);
}
.news-card:hover img {
  transform: scale(1.1);
}
.news-card:hover h3,
.news-card:hover p,
.news-card:hover time {
  color: var(--blue);
}
.news-card:focus-visible {
  outline: 3px solid rgba(0, 20, 200, 0.3);
  outline-offset: 8px;
}

/* Other cards receive restrained motion so every page feels alive. */
.culture-card,
.project-card,
.product-card,
.category-item {
  transition:
    transform 0.32s var(--motion-ease),
    box-shadow 0.32s var(--motion-ease);
}
.culture-card:hover,
.project-card:hover,
.product-card:hover {
  transform: translateY(-14px);
  box-shadow: 0 20px 44px rgba(0, 20, 150, 0.14);
}
.project-card img,
.product-card img,
.category-item img,
.rd img {
  transition: transform 0.55s var(--motion-ease);
}
.project-card:hover img,
.product-card:hover img,
.category-item:hover img,
.rd:hover img {
  transform: scale(1.035);
}

/* YouTube-inspired video player with play/pause, seek, mute and fullscreen. */
.video-strip {
  overflow: hidden;
  background: #07145f;
}
.video-strip video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: url("../images/home-video-background.png") center/cover no-repeat;
}
.video-play {
  position: absolute;
  z-index: 3;
  left: 50%;
  top: 50%;
  width: 160px;
  height: 112px;
  padding: 0;
  border: 0;
  background: transparent;
  transform: translate(-50%, -50%);
  cursor: pointer;
  transition:
    transform 0.25s var(--motion-ease),
    opacity 0.2s ease;
}
.video-play:hover {
  transform: translate(-50%, -50%) scale(1.08);
}
.video-play img {
  position: static;
  width: 100%;
  height: 100%;
}
.video-strip.is-playing .video-play {
  opacity: 0;
  pointer-events: none;
}
.video-controls {
  position: absolute;
  z-index: 4;
  left: 0;
  right: 0;
  bottom: 0;
  display: grid;
  grid-template-columns: 54px 1fr auto 54px 54px;
  gap: 14px;
  align-items: center;
  min-height: 92px;
  padding: 30px 36px 16px;
  color: #fff;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.82));
  opacity: 0;
  translate: 0 15px;
  transition:
    opacity 0.25s ease,
    translate 0.25s ease;
}
.video-strip:hover .video-controls,
.video-strip:focus-within .video-controls,
.video-strip.is-playing .video-controls {
  opacity: 1;
  translate: 0 0;
}
.video-controls button {
  height: 42px;
  padding: 0;
  border: 0;
  color: #fff;
  background: transparent;
  font:
    24px/1 Jost,
    sans-serif;
  cursor: pointer;
}
.video-progress {
  width: 100%;
  accent-color: #f00;
  cursor: pointer;
}
.video-time {
  min-width: 128px;
  font-size: 16px;
  white-space: nowrap;
}

/* The earth slowly breathes and glows without changing the CTA layout. */
.earth-cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #0617a9;
}
.earth-cta::before {
  content: "";
  position: absolute;
  z-index: -2;
  inset: -2%;
  background: url("../images/Earth map.jpg") center/cover no-repeat;
  animation: earth-drift 8s ease-in-out infinite alternate;
  will-change: transform, background-position;
}
.earth-cta::after {
  content: "";
  position: absolute;
  z-index: -1;
  left: 20%;
  right: 20%;
  bottom: 2%;
  height: 44%;
  border-radius: 50%;
  background: radial-gradient(
    ellipse,
    rgba(44, 216, 255, 0.2),
    transparent 68%
  );
  filter: blur(28px);
  animation: earth-glow 4.8s ease-in-out infinite alternate;
  pointer-events: none;
}
@keyframes earth-drift {
  from {
    transform: scale(1.01) translate3d(-0.35%, 0.25%, 0);
  }
  to {
    transform: scale(1.045) translate3d(0.35%, -0.3%, 0);
  }
}
@keyframes earth-glow {
  from {
    opacity: 0.45;
    transform: scale(0.96);
  }
  to {
    opacity: 1;
    transform: scale(1.05);
  }
}

/* --------------------------------------------------------------------------
   Responsive layout
   -------------------------------------------------------------------------- */
@media (max-width: 1180px) {
  body {
    font-size: 16px;
  }
  .page {
    min-width: 0;
  }
  .container,
  .header-inner,
  .footer-inner {
    width: min(calc(100% - 32px), 1000px);
  }
  .site-header,
  .header-inner {
    height: 72px;
  }
  .site-header {
    position: relative;
  }
  .logo {
    left: 0;
    top: 22px;
    width: 148px;
    height: 28px;
  }
  .menu-toggle {
    position: absolute;
    z-index: 32;
    right: 0;
    top: 15px;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
  }
  .menu-toggle span,
  .menu-toggle::before,
  .menu-toggle::after {
    content: "";
    display: block;
    width: 24px;
    height: 2px;
    background: var(--blue);
    transition:
      transform 0.25s ease,
      opacity 0.25s ease;
  }
  .menu-toggle::before {
    transform: translateY(-6px);
  }
  .menu-toggle::after {
    transform: translateY(6px);
  }
  .menu-toggle.is-open span {
    opacity: 0;
  }
  .menu-toggle.is-open::before {
    transform: translateY(2px) rotate(45deg);
  }
  .menu-toggle.is-open::after {
    transform: translateY(-2px) rotate(-45deg);
  }
  .nav {
    position: fixed;
    z-index: 30;
    left: 0;
    right: 0;
    top: 72px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
    height: auto;
    padding: 16px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 20px 35px rgba(0, 0, 0, 0.12);
    opacity: 0;
    visibility: hidden;
    translate: 0 -14px;
    transition:
      opacity 0.25s ease,
      translate 0.25s ease,
      visibility 0.25s;
  }
  .nav.is-open {
    opacity: 1;
    visibility: visible;
    translate: 0 0;
  }
  .nav a {
    padding: 14px 12px;
    text-align: center;
  }
  .nav > a::after {
    bottom: 8px;
  }
  .search,
  .search-icon,
  .language {
    display: none;
  }
  body.menu-open {
    overflow: hidden;
  }

  .hero,
  .hero-home {
    height: clamp(360px, 72vw, 520px);
    min-height: 0;
  }
  .hero-home {
    background-position: 62% center;
  }
  .hero-home .hero-title {
    top: 50%;
    left: 20px;
    width: max-content;
    min-width: 0;
    height: auto;
    font-size: clamp(22px, 6.4vw, 34px);
    line-height: 1.2;
    letter-spacing: -0.6px;
    transform: translateY(-50%);
  }
  .hero-title {
    padding: 0 18px;
    font-size: clamp(38px, 10vw, 64px);
    /*text-align: center;*/
  }
  .section-title {
    font-size: 28px;
  }
  .body-copy {
    font-size: 16px;
    line-height: 1.65;
  }

  .home-about,
  .home-history,
  .home-news,
  .about-intro,
  .culture,
  .rd,
  .about-history,
  .projects-body,
  .product-body,
  .news-list,
  .news-detail,
  .category,
  .contact-body {
    height: auto;
    padding: 64px 0;
  }
  .home-about .body-copy,
  .about-intro .body-copy {
    margin-top: 28px;
  }
  .home-about .metrics,
  .about-intro .metrics {
    position: static;
    width: 100%;
    height: auto;
    margin: 36px 0 0;
    padding: 0;
    transform: none;
  }
  .metrics {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }
  .metric,
  .metric.featured,
  .home-about .metric,
  .home-about .metric.feature {
    width: 100%;
    height: 180px;
    margin-top: 0;
    transform: none;
  }
  .metric strong {
    font-size: 46px;
  }
  .metric small {
    margin-top: 16px;
    font-size: 16px;
  }

  .home-history .timeline,
  .about-history .timeline {
    height: auto;
    margin-top: 20px;
  }
  .timeline-viewport {
    height: auto;
    padding-bottom: 16px;
    scroll-padding-inline-start: 55px;
  }
  .timeline-grid {
    height: auto;
    padding-left: 55px;
  }
  .timeline .era,
  .home-history .timeline .era {
    flex-basis: 86%;
    width: 86%;
    padding-right: 28px;
  }
  .era-ruler {
    height: 148px;
    padding-top: 34px;
  }
  .era h3 {
    margin-bottom: 36px;
    font-size: 38px;
  }
  .events {
    margin-left: 20px;
    padding-left: 20px;
  }
  .event {
    font-size: 15px;
  }
  .event b {
    font-size: 20px;
  }
  .news-grid,
  .projects-grid,
  .product-grid,
  .culture-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .home-news .news-grid,
  .news-list .news-grid,
  .projects-grid,
  .product-grid {
    grid-auto-rows: auto;
    margin-top: 34px;
  }
  .news-card,
  .news-image-frame,
  .news-card img,
  .project-card,
  .project-card img,
  .product-card,
  .product-card img,
  .culture-card {
    width: 100%;
  }
  .news-image-frame,
  .news-card img {
    height: auto;
    aspect-ratio: 650 / 431;
  }
  .news-card h3 {
    margin: 22px 0 14px;
    font-size: 26px;
  }
  .news-card p {
    font-size: 16px;
  }
  .news-card time {
    font-size: 14px;
  }
  .news-card:hover {
    transform: none;
  }
  .home-news .more-link,
  .news-list .more-link,
  .product-body .more-link {
    margin-top: 48px;
    text-align: center;
  }

  .video-strip {
    height: max(240px, 56.25vw);
  }
  .video-play {
    width: 90px;
    height: 63px;
  }
  .video-controls {
    grid-template-columns: 38px 1fr 38px 38px;
    gap: 7px;
    min-height: 68px;
    padding: 20px 12px 8px;
  }
  .video-time {
    display: none;
  }

  .earth-cta {
    height: 560px;
    padding: 160px 20px 0;
  }
  .earth-cta .eyebrow {
    font-size: 20px;
  }
  .earth-cta h2 {
    font-size: clamp(34px, 9vw, 52px);
    line-height: 1.12;
  }
  .cta-row {
    gap: 14px;
    flex-wrap: wrap;
  }

  .about-carousel {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    display: flex;
    gap: 16px;
    width: 100%;
    height: auto;
    margin-top: 48px;
    padding: 0 16px 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }
  .about-carousel > span,
  .about-carousel .carousel-arrow {
    display: none;
  }
  .about-carousel > img {
    flex: 0 0 84vw;
    width: 84vw;
    height: 63vw;
    max-height: 460px;
    border-radius: 14px;
    scroll-snap-align: center;
  }
  .culture-cards {
    margin-top: 34px;
  }
  .culture-card {
    height: 300px;
    padding: 24px;
    text-align: center;
  }
  .culture-card img {
    width: 86px;
    height: 105px;
    margin-bottom: 20px;
  }
  .culture-card h3 {
    font-size: 28px;
  }
  .rd {
    display: flex;
    flex-direction: column;
    gap: 34px;
  }
  .rd-copy h3 {
    margin-top: 34px;
    font-size: 21px;
  }
  .rd-copy p {
    font-size: 15px;
  }
  .rd img {
    width: 100%;
    height: auto;
    margin: 0;
  }
  .global-layout {
    height: 520px;
    padding: 60px 16px 0;
    background-position: center;
  }
  .global-layout h2 {
    font-size: 28px;
  }
  .contact-map {
    height: 52vw;
    min-height: 270px;
  }
  .contact-body {
    display: grid;
    grid-template-columns: 1fr;
    gap: 54px;
  }
  .contact-col .section-title {
    margin-bottom: 34px;
  }
  .location h3 {
    font-size: 20px;
  }
  .location p,
  .contact-intro {
    font-size: 15px;
  }
  .contact-intro br {
    display: none;
  }

  .projects-body .section-title {
    margin-bottom: 36px;
  }
  .project-card img,
  .product-card img {
    height: auto;
    aspect-ratio: 1;
  }
  .project-card h3,
  .product-card h3 {
    font-size: 24px;
  }
  .project-card p,
  .product-card p {
    font-size: 16px;
  }

  .category .kicker {
    font-size: 22px;
  }
  .category h2 {
    margin-bottom: 38px;
    font-size: 42px;
  }
  .category-item {
    height: auto;
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 36px 0;
  }
  .category-image-frame {
    width: 100%;
    height: auto;
    aspect-ratio: 700 / 526;
  }
  .category-copy h3 {
    margin-bottom: 20px;
    font-size: 30px;
  }
  .category-copy p {
    margin-bottom: 30px;
    font-size: 16px;
  }

  .product-body .breadcrumb-line {
    gap: 18px;
    padding: 0;
    font-size: 14px;
  }
  .product-grid {
    gap: 48px;
  }

  .news-detail {
    width: min(calc(100% - 32px), 700px);
  }
  .detail-head h1 {
    padding-right: 70px;
    font-size: 28px;
  }
  .detail-copy {
    margin: 45px 0 55px;
    font-size: 16px;
  }
  .detail-images {
    width: 100%;
    height: auto;
  }
  .detail-nav {
    font-size: 16px;
  }

  .site-footer {
    height: auto;
    min-height: 200px;
    padding: 42px 0;
  }
  .footer-inner {
    flex-direction: column;
    justify-content: center;
    gap: 30px;
    text-align: center;
  }
  .footer-logo {
    width: 160px;
    height: auto;
  }
  .footer-contact {
    margin: 0;
    flex-direction: column;
    gap: 18px;
  }
  .footer-contact .mail {
    display: inline;
  }
  .footer-contact span,
  .footer-contact .phone {
    font-size: 17px;
  }
  .to-top {
    right: 14px;
    bottom: 14px;
  }
}

@media (max-width: 560px) {
  .container,
  .header-inner,
  .footer-inner {
    width: calc(100% - 28px);
  }
  .metrics {
    grid-template-columns: 1fr;
  }
  .metric,
  .metric.featured,
  .home-about .metric,
  .home-about .metric.feature {
    height: 164px;
  }
  .hero-home .hero-title {
    font-size: clamp(20px, 6.25vw, 28px);
  }
  .timeline .era {
    flex-basis: 92%;
    width: 92%;
  }
  .hero-about .hero-title {
    font-size: 42px;
  }
  .breadcrumb-line {
    flex-direction: column;
  }
  .earth-cta {
    height: 500px;
    padding-top: 130px;
  }
}

@media (hover: none), (pointer: coarse) {
  .news-card:hover,
  .culture-card:hover,
  .project-card:hover,
  .product-card:hover,
  .btn:hover {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
  .js-enabled .reveal {
    opacity: 1;
    translate: none;
  }
}

@media (max-width: 900px) {
  .page > .site-footer {
    margin-top: 0;
  }
}

/* --------------------------------------------------------------------------
   About page interaction refinements
   -------------------------------------------------------------------------- */
.hero-about .hero-title {
  inset: auto;
  left: 50%;
  top: 50%;
  display: block;
  width: max-content;
  transform: translate(-50%, -50%);
  background-image: linear-gradient(
    90deg,
    #ff005d 0%,
    #f80072 28%,
    #bc5fb2 58%,
    #788de8 100%
  );
}

/* ABOUT metrics share the exact HOME interaction without changing card height. */
.about-intro .metric {
  height: 212px;
  margin-top: 62px;
  color: #111;
  background: #fff;
  transform: translateY(0);
  transition:
    transform 0.6s var(--motion-ease),
    color 0.4s ease,
    background 0.5s var(--motion-ease),
    box-shadow 0.5s var(--motion-ease);
  cursor: pointer;
}
.about-intro .metric.feature {
  height: 212px;
  margin-top: 62px;
  color: #fff;
  background: var(--gradient);
  box-shadow: 0 20px 46px rgba(0, 40, 220, 0.22);
  transform: translateY(-62px);
}
.about-intro .metric.feature sup {
  color: #fff;
}
.about-intro .metric:focus-visible {
  outline: 3px solid rgba(0, 40, 235, 0.28);
  outline-offset: 6px;
}

/* True infinite carousel: cloned edge slides are reset only after the transition. */
.about-carousel {
  display: block;
  overflow: hidden;
  touch-action: pan-y;
}
.about-carousel-viewport {
  width: 100%;
  height: 100%;
  overflow: hidden;
  cursor: grab;
}
.about-carousel-viewport.is-dragging {
  cursor: grabbing;
}
.about-carousel-track {
  display: flex;
  align-items: stretch;
  gap: 80px;
  height: 100%;
  backface-visibility: hidden;
  transform: translateZ(0);
  will-change: transform;
  transition: transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
}
.about-carousel-track.is-resetting,
.about-carousel-track.is-dragging {
  transition: none;
}
.about-carousel-slide {
  flex: 0 0 min(50vw, 960px);
  height: 100%;
  margin: 0;
  overflow: hidden;
  border-radius: 18px;
  background-color: #eef1ff;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  backface-visibility: hidden;
  transform: translateZ(0);
}
.about-carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  user-select: none;
  backface-visibility: hidden;
  transform: translateZ(0);
  -webkit-user-drag: none;
  transition: transform 1s var(--motion-ease);
}
.about-carousel-slide:hover img {
  transform: scale(1.035);
}
.carousel-arrow {
  transition:
    transform 0.5s var(--motion-ease),
    filter 0.4s ease;
}
.carousel-arrow:hover {
  transform: scale(1.08);
  filter: drop-shadow(0 10px 14px rgba(0, 20, 200, 0.24));
}

/* A softer, shared lift rhythm for cards throughout the site. */
.culture-card,
.project-card,
.product-card {
  transition:
    transform 0.65s var(--motion-ease),
    box-shadow 0.65s var(--motion-ease),
    color 0.5s ease;
}
.culture-card:hover,
.project-card:hover,
.product-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 22px 48px rgba(0, 20, 150, 0.15);
}
.culture-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #111;
  background: #fff;
}
.culture-card::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: var(--gradient);
  opacity: 0;
  transition: opacity 0.55s var(--motion-ease);
}
.culture-card.gradient {
  color: #fff;
  background: #fff;
}
.culture-card.gradient::before {
  opacity: 1;
}
.culture-card h3,
.culture-card p {
  transition: color 0.45s ease;
}
.culture-card.gradient h3,
.culture-card.gradient p {
  color: #fff;
}
.culture-card img {
  transition:
    opacity 0.3s ease,
    transform 0.65s var(--motion-ease);
}
.culture-card:hover img {
  transform: translateY(-4px) scale(1.025);
}

/* The R&D image zooms inside its own box and never affects neighbouring content. */
.rd-image-frame {
  width: 650px;
  height: 431px;
  margin-top: -44px;
  overflow: hidden;
  border-radius: 18px;
}
.rd .rd-image-frame img {
  width: 100%;
  height: 100%;
  margin: 0;
  object-fit: cover;
  transition: transform 0.9s var(--motion-ease);
}
.rd-image-frame:hover img {
  transform: scale(1.055);
}
.project-card img,
.product-card img,
.category-item img,
.news-card img {
  transition-duration: 0.9s;
}

/* ABOUT history follows the same module width and peek behaviour as HOME. */
.about-history .timeline .era {
  /*flex-basis: 30%;*/
  /*width: 30%;*/
  flex-basis: 32%;
  width: 32%;
}

/* Map labels are attached to their actual locations instead of a text list. */
.global-points {
  position: absolute;
  inset: 0;
  font-size: 18px;
  line-height: 1.2;
  pointer-events: none;
}
.global-point {
  position: absolute;
  width: 0;
  height: 0;
  white-space: nowrap;
}
.global-point i {
  position: absolute;
  left: -5px;
  top: -5px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #00ffd2;
  box-shadow: 0 0 0 0 rgba(0, 255, 210, 0.7);
  animation: global-point-breathe 2.2s ease-out infinite;
}
.global-point span {
  position: absolute;
}
.global-point.chuzhou {
  left: 39.4%;
  top: 34.2%;
}
.global-point.chuzhou span {
  right: 16px;
  top: -8px;
}
.global-point.shanghai {
  left: 40.7%;
  top: 31.7%;
}
.global-point.shanghai span {
  left: 14px;
  top: -9px;
}
.global-point.dongguan {
  left: 39.8%;
  top: 37.2%;
}
.global-point.dongguan span {
  left: -4px;
  top: 15px;
}
.global-point:nth-child(2) i {
  animation-delay: 0.55s;
}
.global-point:nth-child(3) i {
  animation-delay: 1.1s;
}
@keyframes global-point-breathe {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 255, 210, 0.72);
    transform: scale(0.9);
  }
  65% {
    box-shadow: 0 0 0 13px rgba(0, 255, 210, 0);
    transform: scale(1.18);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(0, 255, 210, 0);
    transform: scale(0.9);
  }
}

@media (max-width: 1180px) {
  .about-intro .metric,
  .about-intro .metric.feature {
    width: 100%;
    height: 180px;
    margin-top: 0;
    transform: none;
  }
  .about-carousel {
    position: relative;
    inset: auto;
    width: 100%;
    height: clamp(390px, 56vw, 620px);
    margin-top: 58px;
  }
  .about-carousel-track {
    gap: 28px;
  }
  .about-carousel-slide {
    flex-basis: min(76vw, 820px);
  }
  .carousel-arrow {
    top: calc(50% - 30px);
  }
  .culture-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px;
  }
  .culture-card {
    height: 360px;
    padding: 26px;
  }
  .rd {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 40px;
  }
  .rd-image-frame {
    width: 100%;
    height: auto;
    margin-top: 0;
    aspect-ratio: 650 / 431;
  }
  .global-points {
    font-size: 15px;
  }
}

@media (max-width: 900px) {
  .about-carousel {
    height: min(63vw, 460px);
    min-height: 260px;
    margin-top: 48px;
  }
  .about-carousel-track {
    gap: 16px;
  }
  .about-carousel-slide {
    flex-basis: 84vw;
  }
  .about-carousel .carousel-arrow {
    display: none;
  }
  .culture-cards {
    grid-template-columns: 1fr;
  }
  .culture-card {
    height: 300px;
  }
  .rd {
    display: flex;
  }
  .rd-image-frame {
    width: 100%;
    height: auto;
    margin: 0;
    aspect-ratio: 650 / 431;
  }
  .about-history .timeline .era {
    flex-basis: 86%;
    width: 86%;
  }
  .global-points {
    font-size: 12px;
  }
  .global-point i {
    width: 8px;
    height: 8px;
  }
}

@media (max-width: 560px) {
  .about-intro .metric,
  .about-intro .metric.feature {
    height: 164px;
  }
  .about-carousel {
    min-height: 230px;
  }
  .global-point.chuzhou {
    left: 37%;
  }
  .global-point.shanghai {
    left: 41%;
  }
  .global-point.dongguan {
    left: 39%;
  }
}

/* Fluid desktop range between the 1920px artwork and tablet layout. */
@media (min-width: 1181px) and (max-width: 1700px) {
  .page {
    min-width: 0;
  }
  .container,
  .header-inner,
  .footer-inner {
    width: calc(100% - 80px);
  }
  .nav {
    left: 37.7778%;
    gap: clamp(20px, 2.2vw, 42px);
    transform: none;
  }
  .search {
    left: auto;
    right: 100px;
    width: 180px;
  }
  .search-icon {
    left: auto;
    right: 255px;
  }
  .metric {
    width: calc((100% - 60px) / 4);
  }
  .news-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 60px;
  }
  .news-image-frame,
  .news-card img {
    width: 100%;
    height: auto;
    aspect-ratio: 650 / 431;
  }
  .culture-cards,
  .rd {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 60px;
  }
  .culture-card,
  .rd-image-frame {
    width: 100%;
  }
  .projects-grid,
  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .project-card,
  .project-card img,
  .product-card,
  .product-card img {
    width: 100%;
  }
  .project-card img,
  .product-card img {
    height: auto;
    aspect-ratio: 1;
  }
  .category-item {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 60px;
  }
  .category-image-frame {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
  }
  .hero-home .hero-title {
    left: 40px;
  }
}

@media (min-width: 1181px) and (max-width: 1450px) {
  .search,
  .search-icon {
    display: none;
  }
  .nav {
    left: 37.7778%;
  }
}

@media (hover: none), (pointer: coarse) {
  .culture-card:hover,
  .project-card:hover,
  .product-card:hover {
    transform: none;
  }
}

@media (min-width: 769px) and (max-width: 1180px) {
  .news-grid,
  .projects-grid,
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 56px 28px;
  }
  .news-card,
  .news-image-frame,
  .news-card img,
  .project-card,
  .project-card img,
  .product-card,
  .product-card img {
    width: 100%;
  }
  .news-image-frame,
  .news-card img {
    height: auto;
    aspect-ratio: 650 / 431;
  }
  .project-card img,
  .product-card img {
    height: auto;
    aspect-ratio: 1;
  }
}

@media (max-width: 900px) {
  .container,
  .header-inner,
  .footer-inner {
    width: min(calc(100% - 32px), 700px);
  }
}

/* Shared language dropdown. */
.language-switcher {
  position: absolute;
  z-index: 42;
  right: 0;
  top: 0;
  height: 100px;
}
.language-switcher .language {
  position: relative;
  inset: auto;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 100%;
  padding: 0 4px;
  border: 0;
  color: #111;
  background: transparent;
  font:
    14px Jost,
    sans-serif;
  cursor: pointer;
}
.language-switcher .language::after {
  content: "▾";
  display: inline-block;
  transition: transform 0.3s var(--motion-ease);
}
.language-switcher.is-open .language::after {
  transform: rotate(180deg);
}
.language-menu {
  position: absolute;
  z-index: 2;
  right: 0;
  top: 72px;
  width: 144px;
  padding: 7px;
  overflow: hidden;
  border: 1px solid rgba(0, 20, 200, 0.1);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 16px 34px rgba(0, 20, 120, 0.16);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-8px);
  transition:
    opacity 0.25s ease,
    visibility 0.25s,
    transform 0.3s var(--motion-ease);
}
.language-switcher.is-open .language-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}
.language-menu a,
.language-menu button {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 40px;
  padding: 9px 30px 9px 12px;
  border: 0;
  border-radius: 7px;
  color: #222;
  background: transparent;
  font:
    14px Jost,
    sans-serif;
  line-height: 1.4;
  text-align: left;
  white-space: nowrap;
  cursor: pointer;
  transition:
    color 0.2s ease,
    background-color 0.2s ease;
}
.language-menu a:hover,
.language-menu a:focus-visible,
.language-menu a.is-selected,
.language-menu button:hover,
.language-menu button:focus-visible,
.language-menu button.is-selected {
  color: var(--blue);
  background: #eef0ff;
  outline: none;
}
.language-menu .is-selected::after {
  content: "✓";
  position: absolute;
  right: 12px;
  top: 50%;
  color: var(--blue);
  font-weight: 700;
  transform: translateY(-50%);
}

@media (min-width: 1701px) {
  .nav {
    left: auto;
    right: 422px;
  }
}

@media (min-width: 1451px) and (max-width: 1700px) {
  .nav {
    left: auto;
    right: 320px;
  }
}

@media (min-width: 1181px) and (max-width: 1450px) {
  .nav {
    left: auto;
    right: 100px;
  }
}

@media (max-width: 1180px) {
  .language-switcher {
    right: 54px;
    top: 15px;
    height: 42px;
  }
  .language-switcher .language {
    display: inline-flex !important;
    height: 42px;
    padding: 0 6px;
    font-size: 13px;
  }
  .language-menu {
    top: 47px;
  }
}

/* PROJECTS cards use the same contained image zoom and colour transition as News. */
.project-card {
  display: block;
  color: #111;
  text-decoration: none;
  transform: none;
  transition: color 0.3s ease;
}
.project-card:hover {
  color: var(--blue);
  transform: none;
  box-shadow: none;
}
.project-card:nth-child(2) h3,
.project-card:nth-child(2) p {
  color: inherit;
}
.project-image-frame {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 450 / 451;
  overflow: hidden;
  border-radius: 18px;
  background: #eef1f8;
}
.project-image-frame img,
.project-card .project-image-frame img {
  width: 100%;
  height: 100%;
  border-radius: 0;
  object-fit: cover;
  backface-visibility: hidden;
  transform: scale(1);
  transition: transform 0.9s var(--motion-ease);
  will-change: transform;
}
.project-card h3,
.project-card p {
  transition: color 0.3s ease;
}
.project-card h3 {
  max-width: 100%;
  padding-bottom: 2px;
  overflow: hidden;
  font-family: Jost, Arial, sans-serif;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.project-card:hover .project-image-frame img {
  transform: scale(1.1);
}
.project-card:hover h3,
.project-card:hover p {
  color: var(--blue);
}
.project-card:focus-within {
  color: var(--blue);
}
.project-card:focus-within .project-image-frame {
  outline: 3px solid rgba(0, 20, 200, 0.25);
  outline-offset: 5px;
}

/* Full Color cards share the same fixed-frame 1.1x image zoom as TPU. */
.product-card,
.product-card:hover {
  transform: none;
  box-shadow: none;
}
.product-image-frame {
  width: 100%;
  overflow: hidden;
  border-radius: 18px;
  aspect-ratio: 450 / 451;
  background: #eef1f8;
}
.product-card .product-image-frame img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 0;
  aspect-ratio: auto;
  object-fit: cover;
  backface-visibility: hidden;
  transform: scale(1);
  transition: transform 0.9s var(--motion-ease);
  will-change: transform;
}
.product-card:hover .product-image-frame img {
  transform: scale(1.1);
}

@media (hover: none), (pointer: coarse) {
  .project-card:hover {
    transform: none;
  }
}

/* Consistent News card text rhythm for HOME and NEWS listing pages. */
.news-card h3 {
  max-width: 100%;
  padding-bottom: 2px;
  overflow: hidden;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.news-card p {
  display: -webkit-box;
  height: 4.65em;
  min-height: 4.65em;
  max-height: 4.65em;
  overflow: hidden;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
}

/* Refined tablet/mobile navigation. */
@media (max-width: 1180px) {
  body::before {
    content: "";
    position: fixed;
    z-index: 15;
    inset: 72px 0 0;
    background: rgba(4, 11, 65, 0.34);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
      opacity 0.32s ease,
      visibility 0.32s;
  }
  body.menu-open::before {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  .menu-toggle {
    display: block;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(0, 20, 200, 0.12);
    border-radius: 11px;
    background: #fff;
    transition:
      border-color 0.3s ease,
      background-color 0.3s ease,
      box-shadow 0.3s ease;
  }
  .menu-toggle:hover,
  .menu-toggle.is-open {
    border-color: rgba(0, 20, 200, 0.25);
    background: #f2f4ff;
    box-shadow: 0 7px 18px rgba(0, 20, 140, 0.12);
  }
  .menu-toggle span,
  .menu-toggle::before,
  .menu-toggle::after {
    position: absolute;
    left: 9px;
    top: 19px;
    width: 22px;
    height: 2px;
    border-radius: 99px;
    background: var(--blue);
    transform-origin: center;
    transition:
      transform 0.32s var(--motion-ease),
      opacity 0.2s ease;
  }
  .menu-toggle::before {
    transform: translateY(-7px);
  }
  .menu-toggle::after {
    transform: translateY(7px);
  }
  .menu-toggle.is-open span {
    opacity: 0;
    transform: scaleX(0);
  }
  .menu-toggle.is-open::before {
    transform: rotate(45deg);
  }
  .menu-toggle.is-open::after {
    transform: rotate(-45deg);
  }
  .nav {
    left: auto;
    right: 16px;
    top: 64px;
    width: min(360px, calc(100% - 32px));
    padding: 10px;
    border: 1px solid rgba(0, 20, 200, 0.1);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.985);
    box-shadow: 0 24px 55px rgba(0, 13, 92, 0.2);
    transform: translateY(-10px) scale(0.98);
    transform-origin: top right;
    translate: none;
    transition:
      opacity 0.28s ease,
      transform 0.35s var(--motion-ease),
      visibility 0.28s;
  }
  .nav.is-open {
    transform: translateY(0) scale(1);
    translate: none;
  }
  .nav a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 10px 16px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.025em;
    transition:
      color 0.25s ease,
      background-color 0.25s ease;
  }
  .nav a:hover,
  .nav a.active {
    color: var(--blue);
    background: #f0f2ff;
  }
  .nav > a::after {
    display: none;
  }
}

@media (max-width: 480px) {
  .nav {
    right: 12px;
    width: calc(100% - 24px);
  }
  .nav a {
    min-height: 48px;
  }
}

/* Remove the native tap highlight/shadow from links on touch devices. */
@media (hover: none), (pointer: coarse) {
  a,
  a:hover,
  a:focus,
  a:active {
    box-shadow: none;
    -webkit-tap-highlight-color: transparent;
  }
  .btn:hover,
  .btn:focus,
  .btn:active {
    box-shadow: none;
  }
}

/* TPU detail category geometry and non-sticky responsive fallback. */
@media (min-width: 1181px) {
  .category-item:first-of-type {
    height: 578px;
    align-items: start;
  }
  .category-item:first-of-type .category-copy {
    margin-top: 66.625px;
  }
  .category-item + .category-item {
    margin-top: 60px;
  }
}
@media (max-width: 1180px) {
  .tpu-hero .car {
    position: relative;
    width: 100%;
    height: 58vw;
    object-position: center;
  }
  .tpu-hero-card {
    width: auto;
    min-height: 0;
    margin: 0;
    padding: 48px 20px 58px;
  }
  .tpu-hero-card .section-title {
    margin-bottom: 28px;
  }
  .tpu-hero-card h1 {
    margin-bottom: 24px;
    font-size: clamp(44px, 7vw, 64px);
    line-height: 1.1;
  }
  .tpu-hero-card > p:last-child {
    font-size: 20px;
    line-height: 1.5;
  }
}

/* CONTACT: live map replaces the former static map artwork. */
.contact-map {
  overflow: hidden;
  background: #e9eef2;
  font-family: "Harmony", Arial, sans-serif;
}
.contact-map-loading {
  position: absolute;
  z-index: 1001;
  top: 50%;
  left: 50%;
  margin: 0;
  color: #273456;
  font-size: 15px;
  transform: translate(-50%, -50%);
}
.contact-map .maplibregl-canvas {
  outline: 0;
}
.contact-map .maplibregl-ctrl-group {
  border-radius: 2px;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.22);
}
.contact-map .maplibregl-ctrl-group button {
  width: 34px;
  height: 34px;
}
.contact-map .maplibregl-ctrl-group button span {
  filter: invert(14%) sepia(98%) saturate(5350%) hue-rotate(235deg)
    brightness(76%);
}
.contact-map .maplibregl-ctrl-attrib {
  background: rgba(255, 255, 255, 0.82);
  color: #26304e;
}
.contact-map .maplibregl-ctrl-attrib a {
  color: #0014c8;
}
.contact-map-marker {
  position: relative;
  width: 64px;
  height: 78px;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  cursor: pointer;
  appearance: none;
}
.contact-map-marker:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}
.contact-map-marker::after {
  content: "";
  position: absolute;
  left: 19px;
  bottom: 3px;
  width: 26px;
  height: 8px;
  border-radius: 50%;
  background: rgba(0, 20, 200, 0.2);
  filter: blur(4px);
  animation: contact-map-shadow 2.4s ease-in-out infinite;
}
.contact-map-marker-pin {
  position: absolute;
  z-index: 1;
  top: 4px;
  left: 10px;
  display: block;
  width: 42px;
  height: 42px;
  border: 3px solid #fff;
  border-radius: 50% 50% 50% 0;
  background: var(--blue);
  box-shadow: 0 8px 18px rgba(0, 20, 200, 0.3);
  transform: rotate(-45deg);
  animation: contact-map-pin 2.4s ease-in-out infinite;
}
.contact-map-marker-pin i {
  position: absolute;
  top: 9px;
  left: 9px;
  width: 18px;
  height: 18px;
  border: 4px solid #fff;
  border-radius: 50%;
}
.contact-map .maplibregl-popup-content {
  padding: 17px 20px;
  border-radius: 5px;
  font-family: "Harmony", Arial, sans-serif;
  font-size: 13px;
  line-height: 1.45;
}
@keyframes contact-map-pin {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: -5px 5px;
  }
}
@keyframes contact-map-shadow {
  0%,
  100% {
    opacity: 0.45;
    transform: scale(0.85);
  }
  50% {
    opacity: 0.2;
    transform: scale(1.12);
  }
}
.form-trap {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
}
.contact-form-status {
  min-height: 1.5em;
  margin: 10px 0 0;
  color: #173f91;
}
.contact-form-status.is-error { color: #b42318; }

@media (max-width: 760px) {
  .contact-map .maplibregl-ctrl-scale {
    display: none;
  }
  .contact-map .maplibregl-ctrl-attrib {
    max-width: calc(100vw - 58px);
    font-size: 8px;
  }
  .contact-map-marker {
    scale: 0.84;
  }
}
