/* v13: native language labels, restored hero animation and compact research steps. */

/* Full language names remain readable at every header size. */
.header-controls {
  min-inline-size: 0;
  gap: 8px;
}

.language-picker summary {
  min-block-size: 44px;
  justify-content: center;
  gap: 8px;
  padding: 10px 12px;
  font-size: 13px;
  line-height: 1.4;
}

.language-picker summary bdi {
  display: inline-block;
  font: inherit;
  white-space: nowrap;
  unicode-bidi: isolate;
}

.language-picker summary > span {
  flex: 0 0 auto;
  font-size: 10px;
  line-height: 1;
}

.language-picker nav {
  max-inline-size: calc(100vw - 28px);
}

.menu-toggle {
  flex: 0 0 44px;
  min-inline-size: 44px;
  min-block-size: 44px;
}

.brand img {
  flex-shrink: 0;
}

.brand-text {
  min-inline-size: 0;
}

.brand-text strong,
.brand-text small {
  white-space: normal;
  overflow-wrap: normal;
}

/* The original moving routes and orbits, with the current research labels. */
.hero-visual.hero-animation {
  isolation: isolate;
  inline-size: 100%;
  max-inline-size: 620px;
  min-inline-size: 0;
  min-block-size: 460px;
  margin-inline: auto;
  padding-block: 28px;
}

.hero-animation .orbital {
  z-index: 0;
  top: 50%;
  left: 50%;
  right: auto;
  bottom: auto;
  translate: -50% -50%;
  pointer-events: none;
}

.hero-animation .orbital-one {
  inline-size: min(94%, 440px);
  block-size: auto;
  aspect-ratio: 1;
}

.hero-animation .orbital-two {
  inline-size: min(98%, 520px);
  block-size: auto;
  aspect-ratio: 1.8;
}

.hero-animation .animated-insight-card {
  inline-size: min(100%, 520px);
  min-inline-size: 0;
  transform: none;
}

.hero-animation .hero-card-top {
  padding: 18px 22px;
  line-height: 1.5;
}

.hero-animation .hero-card-top .status-dot {
  flex: 0 0 8px;
}

.hero-animation .route-map {
  padding: 22px 18px 14px;
}

.hero-animation .route-map svg {
  display: block;
  inline-size: 100%;
  block-size: auto;
  aspect-ratio: 480 / 270;
  overflow: visible;
}

.hero-animation .hero-card-bottom {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hero-animation .hero-card-bottom > div {
  display: flex;
  align-items: center;
  min-inline-size: 0;
  padding: 16px 14px;
  border: 0;
  border-inline-end: 1px solid rgba(255, 255, 255, .1);
}

.hero-animation .hero-card-bottom > div:last-child {
  border-inline-end: 0;
}

.hero-animation .hero-card-bottom strong {
  font-size: 12px;
  line-height: 1.5;
  overflow-wrap: break-word;
}

/* Each stage reads as one compact unit rather than a dot, number and text. */
.process-section .process-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
  gap: 18px;
  margin: 34px 0 0;
  padding: 0;
  border: 0;
  list-style: none;
}

.process-section .process-list > li,
html[dir="rtl"] .process-section .process-list > li {
  min-inline-size: 0;
  margin: 0;
  padding: 24px 22px;
  border: 1px solid rgba(160, 196, 222, .17);
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(139, 211, 255, .075), rgba(255, 255, 255, .025));
}

.process-section .process-list > li::before,
.process-section .process-list > li::after {
  display: none;
  content: none;
}

.process-card-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  min-inline-size: 0;
  margin-block-end: 16px;
}

.process-symbol {
  display: grid;
  place-items: center;
  flex: 0 0 42px;
  inline-size: 42px;
  block-size: 42px;
  border: 1px solid rgba(113, 214, 176, .2);
  border-radius: 13px;
  background: rgba(113, 214, 176, .1);
}

.process-icon {
  display: block;
  inline-size: 22px;
  block-size: 22px;
  object-fit: contain;
}

.process-section .process-card-heading h3 {
  min-inline-size: 0;
  margin: 0;
  font-size: 19px;
  line-height: 1.35;
  letter-spacing: -.015em;
  overflow-wrap: break-word;
}

.process-section .process-list p {
  margin: 0;
  color: #c3cedd;
  font-size: 15px;
  line-height: 1.7;
}

@media (max-width: 1100px) {
  .header-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: 16px;
  }

  .header-inner > .brand {
    justify-self: start;
    max-inline-size: 100%;
  }

  .header-controls {
    justify-self: end;
  }

  .process-section .process-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .header-inner {
    column-gap: 8px;
  }

  .header-controls {
    gap: 6px;
  }

  .language-picker summary {
    min-block-size: 44px;
    gap: 6px;
    padding: 10px 9px;
    font-size: 12px;
  }

  .brand {
    gap: 8px;
  }

  .brand img {
    width: 38px;
    height: 46px;
  }

  .brand-text strong {
    font-size: 12px;
    line-height: 1.25;
    letter-spacing: 0;
  }

  .brand-text small {
    font-size: 9px;
    line-height: 1.3;
  }

  .hero-visual.hero-animation {
    min-block-size: 320px;
    padding-block: 20px;
  }

  .hero-animation .animated-insight-card {
    border-radius: 24px;
  }

  .hero-animation .hero-card-top {
    padding: 16px 18px;
    font-size: 12px;
  }

  .hero-animation .route-map {
    padding: 16px 14px 12px;
  }

  .hero-animation .hero-card-bottom > div {
    padding: 13px 9px;
  }

  .hero-animation .hero-card-bottom strong {
    font-size: 11px;
    line-height: 1.45;
  }

  .process-section .process-list {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    margin-block-start: 28px;
  }

  .process-section .process-list > li,
  html[dir="rtl"] .process-section .process-list > li {
    padding: 20px;
    border-radius: 18px;
  }

  .process-card-heading {
    gap: 12px;
    margin-block-end: 12px;
  }

  .process-section .process-card-heading h3 {
    font-size: 19px;
    line-height: 1.35;
  }

  .process-section .process-list p {
    font-size: 15px;
    line-height: 1.65;
  }
}

@media (max-width: 380px) {
  .brand {
    gap: 6px;
  }

  .brand img {
    width: 32px;
    height: 42px;
  }

  .brand-text strong {
    font-size: 11.5px;
    line-height: 1.3;
  }

  .brand-text small {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-animation .orbital,
  .hero-animation .trade-route {
    animation: none !important;
  }

  .hero-animation.reveal {
    opacity: 1;
    transform: none;
  }
}
