/* ==========================================================================
   PANAWIN corporate portal
   Design system, global chrome and homepage
   ========================================================================== */

@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-latin.woff2") format("woff2");
  font-weight: 300 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Mono";
  src: url("../fonts/ibm-plex-mono-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Mono";
  src: url("../fonts/ibm-plex-mono-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #25407a;
  --navy-dark: #162b50;
  --navy-deep: #25407a;
  --navy-ink: #0b1a30;
  --ink: #0c1727;
  --body: #4d5868;
  --muted: #78828f;
  --paper: #f3f4f2;
  --paper-cool: #edf0f4;
  --surface: #ffffff;
  --line: #dce0e6;
  --line-dark: rgba(255, 255, 255, 0.16);
  --accent: #8fb3ff;
  --green: #157a54;
  --green-bg: #e7f4ee;
  --amber: #9a6415;
  --amber-bg: #f8f0e1;
  --font-sans: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --font-mono: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
  --gutter: clamp(20px, 4.2vw, 68px);
  --header-h: 82px;
  --max: 1680px;
  --section-y: clamp(84px, 9vw, 148px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
  --shadow: 0 24px 80px rgba(8, 21, 40, 0.12);
  --radius: 3px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 32px);
  overflow-x: clip;
}

body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

body.nav-open {
  overflow: hidden;
}

::selection {
  background: var(--navy);
  color: #fff;
}

h1,
h2,
h3,
h4,
p,
figure,
blockquote,
ul,
ol {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

img,
svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

strong {
  font-weight: 600;
  color: var(--ink);
}

hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 0;
}

:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 4px;
}

.dark :focus-visible,
.site-footer :focus-visible,
.page-hero :focus-visible,
.home-hero :focus-visible {
  outline-color: #fff;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 999;
  padding: 12px 18px;
  background: #fff;
  color: var(--navy);
  border-radius: 2px;
  font-size: 13px;
  font-weight: 700;
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.container--narrow {
  max-width: 1240px;
}

.section {
  padding-block: var(--section-y);
}

.section--paper {
  background: var(--paper);
}

.section--cool {
  background: var(--paper-cool);
}

.section--dark {
  background: var(--navy-deep);
  color: #fff;
}

.section--tight {
  padding-block: clamp(52px, 5vw, 76px);
}

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

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  line-height: 1.4;
  text-transform: uppercase;
  color: var(--muted);
}

.eyebrow::before {
  content: "";
  flex: 0 0 26px;
  width: 26px;
  height: 1px;
  background: currentColor;
  opacity: 0.55;
}

.dark .eyebrow,
.section--dark .eyebrow,
.site-footer .eyebrow,
.page-hero .eyebrow,
.home-hero .eyebrow {
  color: rgba(255, 255, 255, 0.62);
}

.display,
.h1,
.h2,
.h3 {
  font-weight: 430;
  letter-spacing: -0.045em;
  line-height: 0.99;
  text-wrap: balance;
}

.h1 {
  font-size: clamp(3.1rem, 6.8vw, 7.2rem);
}

.h2 {
  font-size: clamp(2.35rem, 4.35vw, 4.9rem);
}

.h3 {
  font-size: clamp(1.6rem, 2.5vw, 2.55rem);
  line-height: 1.03;
}

.h4 {
  font-size: clamp(1.18rem, 1.55vw, 1.55rem);
  font-weight: 550;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.lead {
  font-size: clamp(1.08rem, 1.45vw, 1.38rem);
  line-height: 1.55;
  letter-spacing: -0.018em;
  color: var(--body);
  text-wrap: pretty;
}

.dark .lead,
.section--dark .lead,
.page-hero .lead {
  color: rgba(255, 255, 255, 0.7);
}

.copy {
  color: var(--body);
  text-wrap: pretty;
}

.dark .copy,
.section--dark .copy,
.page-hero .copy {
  color: rgba(255, 255, 255, 0.66);
}

.mono {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(280px, 0.62fr);
  gap: clamp(28px, 5vw, 100px);
  align-items: end;
}

.section-head__copy {
  max-width: 56ch;
  justify-self: end;
  padding-bottom: 5px;
}

.section-head .eyebrow {
  margin-bottom: 26px;
}

.section-head h2 + .section-head__copy,
.section-head .h2 + p {
  margin-top: 0;
}

.section-head__copy p + .text-link {
  margin-top: 26px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 650;
  line-height: 1;
  letter-spacing: 0.01em;
  color: var(--ink);
  position: relative;
}

.text-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 20px;
  bottom: -6px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0.999);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}

.text-link:hover::after {
  transform: scaleX(0);
}

.text-link svg {
  width: 15px;
  height: 15px;
  transition: transform 0.35s var(--ease);
}

.text-link:hover svg {
  transform: translate(3px, -3px);
}

.dark .text-link,
.section--dark .text-link,
.page-hero .text-link {
  color: #fff;
}

.arrow-icon {
  width: 16px;
  height: 16px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Buttons ----------------------------------------------------------------- */

.btn {
  --btn-bg: transparent;
  --btn-fg: #fff;
  --btn-border: rgba(255, 255, 255, 0.34);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 52px;
  padding: 0 24px;
  border: 1px solid var(--btn-border);
  border-radius: var(--radius);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: 13.5px;
  font-weight: 650;
  line-height: 1;
  letter-spacing: 0.012em;
  text-align: left;
  transition: background 0.3s var(--ease), color 0.3s var(--ease),
    border-color 0.3s var(--ease), transform 0.3s var(--ease);
}

.btn svg {
  transition: transform 0.35s var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:hover svg {
  transform: translate(3px, -3px);
}

.btn--light {
  --btn-bg: #fff;
  --btn-fg: var(--navy-ink);
  --btn-border: #fff;
}

.btn--light:hover {
  --btn-bg: #e9eef7;
  --btn-border: #e9eef7;
}

.btn--navy {
  --btn-bg: var(--navy);
  --btn-fg: #fff;
  --btn-border: var(--navy);
}

.btn--navy:hover {
  --btn-bg: var(--navy-dark);
  --btn-border: var(--navy-dark);
}

.btn--outline {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  --btn-border: #c8cdd5;
}

.btn--outline:hover {
  --btn-bg: var(--ink);
  --btn-fg: #fff;
  --btn-border: var(--ink);
}

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: #fff;
  --btn-border: rgba(255, 255, 255, 0.38);
}

.btn--ghost:hover {
  --btn-bg: rgba(255, 255, 255, 0.1);
  --btn-border: rgba(255, 255, 255, 0.7);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Header ------------------------------------------------------------------ */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  color: #fff;
  border-bottom: 1px solid transparent;
  transition: color 0.3s var(--ease), background 0.35s var(--ease),
    border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.site-header::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 13, 26, 0.46), transparent);
  opacity: 1;
  pointer-events: none;
  transition: opacity 0.35s var(--ease);
}

.site-header.is-scrolled {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.95);
  border-color: var(--line);
  box-shadow: 0 10px 35px rgba(8, 21, 40, 0.05);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.site-header.is-scrolled::after {
  opacity: 0;
}

.header-inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  width: 100%;
  max-width: var(--max);
  height: var(--header-h);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.brand {
  display: flex;
  align-items: center;
  flex: none;
  width: clamp(126px, 10.5vw, 168px);
}

.brand img {
  width: 100%;
  filter: brightness(0) invert(1);
  transition: filter 0.35s var(--ease), opacity 0.2s ease;
}

.site-header.is-scrolled .brand img {
  filter: none;
}

.main-nav {
  display: none;
  height: 100%;
}

.main-nav > ul {
  display: flex;
  align-items: stretch;
  height: 100%;
}

.main-nav > ul > li {
  display: flex;
  align-items: stretch;
}

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 16px;
  font-size: 13.5px;
  font-weight: 550;
  white-space: nowrap;
  opacity: 0.86;
  transition: opacity 0.2s ease;
}

.nav-link:hover {
  opacity: 1;
}

.nav-link[aria-current="page"] {
  opacity: 1;
}

.nav-link[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 23px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s var(--ease);
}

.nav-link:hover::after,
.nav-link:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-link svg {
  width: 10px;
  height: 10px;
  opacity: 0.55;
  transition: transform 0.25s ease;
}

.nav-drop:hover .nav-link svg,
.nav-drop:focus-within .nav-link svg {
  transform: rotate(180deg);
}

.nav-drop {
  position: relative;
}

.nav-panel {
  position: fixed;
  top: var(--header-h);
  left: 50%;
  width: min(660px, calc(100vw - 2 * var(--gutter)));
  padding: 26px;
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 26px 70px rgba(8, 21, 40, 0.17);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 9px);
  transition: opacity 0.24s ease, transform 0.24s var(--ease),
    visibility 0.24s;
}

.nav-panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 70px;
  height: 2px;
  background: var(--navy);
}

.nav-drop:hover .nav-panel,
.nav-drop:focus-within .nav-panel {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.nav-panel--wide {
  width: min(660px, calc(100vw - 2 * var(--gutter)));
}

.nav-panel__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px 26px;
}

.nav-panel__label {
  grid-column: 1 / -1;
  padding-bottom: 14px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav-panel a {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 0;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--ink);
}

.nav-panel a span {
  display: block;
  margin-top: 4px;
  font-size: 11.5px;
  font-weight: 400;
  line-height: 1.4;
  color: var(--muted);
}

.nav-panel a:hover {
  color: var(--navy);
}

.nav-panel a:hover span {
  color: var(--body);
}

.nav-panel__all {
  grid-column: 1 / -1;
  margin-top: 10px;
  padding-top: 16px !important;
  border-top: 1px solid var(--line);
  color: var(--navy) !important;
}

.nav-panel__all svg {
  width: 13px;
  height: 13px;
  margin-top: 1px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: none;
}


.lang-switch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 10px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.04em;
  color: #fff;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.lang-switch:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.55);
}

.site-header.is-scrolled .lang-switch {
  color: var(--ink);
  border-color: var(--line);
}

.site-header.is-scrolled .lang-switch:hover {
  background: var(--paper);
  border-color: #bdc5d1;
}

body.nav-open .lang-switch {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
}

.header-contact {
  display: none;
  align-items: center;
  gap: 12px;
  height: 42px;
  padding: 0 17px;
  background: #fff;
  color: var(--navy-ink);
  border: 1px solid #fff;
  border-radius: var(--radius);
  font-size: 12.5px;
  font-weight: 700;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.header-contact:hover {
  background: #e8edf6;
  border-color: #e8edf6;
}

.header-contact svg {
  width: 14px;
  height: 14px;
}

.site-header.is-scrolled .header-contact {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}

.site-header.is-scrolled .header-contact:hover {
  background: var(--navy-dark);
  border-color: var(--navy-dark);
}

.menu-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  background: transparent;
  color: #fff;
  transition: border-color 0.3s ease, color 0.3s ease,
    background 0.3s ease;
}

.site-header.is-scrolled .menu-toggle {
  border-color: var(--line);
  color: var(--ink);
}

.menu-toggle span {
  position: absolute;
  width: 16px;
  height: 1.4px;
  background: currentColor;
  transition: transform 0.35s var(--ease), opacity 0.2s ease;
}

.menu-toggle span:first-child {
  transform: translateY(-4px);
}

.menu-toggle span:last-child {
  transform: translateY(4px);
}

body.nav-open .menu-toggle span:first-child {
  transform: rotate(45deg);
}

body.nav-open .menu-toggle span:last-child {
  transform: rotate(-45deg);
}

body.nav-open .site-header {
  background: transparent;
  border-color: transparent;
  box-shadow: none;
  color: #fff;
}

body.nav-open .site-header::after {
  opacity: 0;
}

body.nav-open .site-header .brand img {
  filter: brightness(0) invert(1);
}

body.nav-open .menu-toggle {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
}

@media (max-width: 899px) {
  body.nav-open .header-contact {
    display: none;
  }
}

/* Mobile navigation ------------------------------------------------------- */

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  flex-direction: column;
  padding: calc(var(--header-h) + 24px) var(--gutter) 38px;
  background: var(--navy-deep);
  color: #fff;
  opacity: 0;
  visibility: hidden;
  overflow-y: auto;
  transition: opacity 0.35s var(--ease), visibility 0.35s;
}

body.nav-open .mobile-menu {
  opacity: 1;
  visibility: visible;
}

.mobile-menu__primary {
  border-top: 1px solid var(--line-dark);
}

.mobile-menu__primary > li {
  border-bottom: 1px solid var(--line-dark);
}

.mobile-menu__primary > li > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  font-size: clamp(1.75rem, 7vw, 2.6rem);
  font-weight: 430;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.mobile-menu__primary > li > a svg {
  width: 22px;
  height: 22px;
  opacity: 0.45;
}

.mobile-sub {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  padding: 0 0 22px;
}

.mobile-sub a {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.62);
}

.mobile-sub a:hover {
  color: #fff;
}

.mobile-menu__footer {
  margin-top: auto;
  padding-top: 44px;
}

.mobile-menu__footer a {
  display: block;
  margin-top: 8px;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.74);
}

.mobile-menu__footer .mono {
  color: rgba(255, 255, 255, 0.42);
}

/* Reveal motion ----------------------------------------------------------- */

@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.85s var(--ease), transform 0.85s var(--ease);
    transition-delay: var(--delay, 0ms);
  }

  .js [data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hero -------------------------------------------------------------------- */

.home-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: max(680px, 100svh);
  padding-top: var(--header-h);
  background: var(--navy-deep);
  color: #fff;
  overflow: hidden;
}

.home-hero__media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.home-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 56%;
  filter: saturate(0.72) contrast(1.04);
  transform: scale(1.015);
  animation: hero-drift 18s var(--ease-soft) both;
}

@keyframes hero-drift {
  from {
    transform: scale(1.06);
  }
  to {
    transform: scale(1.015);
  }
}

.home-hero__media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
      90deg,
      rgba(4, 12, 24, 0.92) 0%,
      rgba(4, 12, 24, 0.77) 31%,
      rgba(4, 12, 24, 0.25) 66%,
      rgba(4, 12, 24, 0.38) 100%
    ),
    linear-gradient(0deg, rgba(4, 12, 24, 0.8) 0%, transparent 38%);
}

.home-hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background-image: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.045) 1px,
    transparent 1px
  );
  background-size: calc(100% / 6) 100%;
  mask-image: linear-gradient(0deg, #000, transparent 65%);
  pointer-events: none;
}

.home-hero__inner {
  position: relative;
  z-index: 3;
  width: 100%;
  padding-bottom: clamp(36px, 5vw, 60px);
}

.home-hero__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: end;
}

.home-hero__body {
  max-width: 1080px;
}

.home-hero .eyebrow {
  margin-bottom: clamp(24px, 4vh, 44px);
  color: rgba(255, 255, 255, 0.64);
}

.home-hero h1 {
  max-width: 13ch;
  font-size: clamp(3.3rem, 6.2vw, 6.8rem);
  font-weight: 430;
  letter-spacing: -0.052em;
  line-height: 0.95;
}

.home-hero h1 em {
  font-style: normal;
  color: #9cb8e7;
}

.home-hero__sub {
  max-width: 55ch;
  margin-top: clamp(26px, 3.7vh, 40px);
  font-size: clamp(1rem, 1.25vw, 1.18rem);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.68);
}

.home-hero .btn-row {
  margin-top: clamp(28px, 4vh, 42px);
}

.hero-coordinate {
  display: none;
  position: absolute;
  right: var(--gutter);
  bottom: 178px;
  z-index: 3;
  align-items: center;
  gap: 14px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  writing-mode: vertical-rl;
}

.hero-coordinate::before {
  content: "";
  width: 1px;
  height: 42px;
  background: rgba(255, 255, 255, 0.3);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin-top: clamp(48px, 7vh, 86px);
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-stat {
  padding: 18px 18px 2px 18px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-stat__value {
  display: flex;
  align-items: baseline;
  gap: 3px;
  font-size: clamp(1.6rem, 2.2vw, 2.25rem);
  font-weight: 480;
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.hero-stat__value sup {
  position: relative;
  top: -0.45em;
  font-size: 0.46em;
  font-weight: 500;
  letter-spacing: 0;
}

.hero-stat__label {
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  line-height: 1.5;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.47);
}

.hero-caption {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.48);
}

.hero-caption svg {
  width: 12px;
  height: 12px;
}

/* Company intro ----------------------------------------------------------- */

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.74fr);
  gap: clamp(36px, 7vw, 130px);
}

.intro-grid .h2 {
  max-width: 12ch;
}

.intro-copy {
  max-width: 56ch;
  padding-top: 4px;
}

.intro-copy .lead {
  color: var(--ink);
}

.intro-copy p + p {
  margin-top: 20px;
}

.capability-block {
  margin-top: clamp(48px, 6vw, 78px);
}

.capability-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--line);
}

.capability-bar .eyebrow {
  margin: 0;
}

.capability-hint {
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.capability-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-bottom: 1px solid var(--line);
}

.capability-tab {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0 14px;
  align-items: start;
  width: 100%;
  padding: 20px 22px 19px 0;
  border: 0;
  border-right: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  text-align: left;
  transition: color 0.25s ease, background 0.25s ease;
}

.capability-tab:nth-child(2),
.capability-tab:nth-child(3) {
  padding-left: 22px;
}

.capability-tab:last-child {
  border-right: 0;
}

.capability-tab::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  background: var(--navy);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}

.capability-tab:hover {
  color: var(--ink);
  background: #fbfbfa;
}

.capability-tab[aria-selected="true"] {
  color: var(--ink);
}

.capability-tab[aria-selected="true"]::after {
  transform: scaleX(1);
}

.capability-tab__num {
  grid-column: 1;
  font-size: clamp(2.15rem, 3.6vw, 3.55rem);
  font-weight: 430;
  line-height: 1;
  letter-spacing: -0.06em;
  color: var(--muted);
  transition: color 0.25s ease;
}

.capability-tab[aria-selected="true"] .capability-tab__num {
  color: var(--navy);
}

.capability-tab__label {
  grid-column: 1;
  max-width: 25ch;
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 9px;
  line-height: 1.5;
  letter-spacing: 0.085em;
  text-transform: uppercase;
  color: currentColor;
}

.capability-tab__arrow {
  grid-column: 2;
  grid-row: 1 / span 2;
  display: grid;
  place-items: center;
  width: 17px;
  height: 17px;
  margin-top: 5px;
  color: var(--navy);
  opacity: 0.25;
  transition: opacity 0.25s ease, transform 0.3s var(--ease);
}

.capability-tab:hover .capability-tab__arrow,
.capability-tab[aria-selected="true"] .capability-tab__arrow {
  opacity: 1;
}

.capability-tab[aria-selected="true"] .capability-tab__arrow {
  transform: translate(2px, -2px);
}

.capability-panels {
  display: grid;
  border: 1px solid var(--line);
  border-top: 0;
  background: var(--paper);
}

.capability-panel {
  grid-area: 1 / 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  visibility: hidden;
  opacity: 0;
  transform: translateY(7px);
  transition: opacity 0.4s var(--ease), transform 0.55s var(--ease),
    visibility 0.4s;
}

.capability-panel.is-active {
  position: relative;
  z-index: 1;
  visibility: visible;
  opacity: 1;
  transform: none;
}

.capability-media {
  position: relative;
  min-height: 410px;
  overflow: hidden;
  background: var(--navy);
}

.capability-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease);
}

.capability-panel:hover .capability-media img {
  transform: scale(1.025);
}

.capability-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(4, 12, 24, 0.72), transparent 55%);
  pointer-events: none;
}

.capability-media__tag {
  position: absolute;
  right: 20px;
  bottom: 17px;
  left: 20px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
}

.capability-media__tag::before {
  content: "";
  width: 20px;
  height: 1px;
  background: currentColor;
}

.capability-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-width: 0;
  padding: clamp(28px, 3.6vw, 52px);
}

.capability-body .eyebrow {
  margin-bottom: 17px;
}

.capability-body h3 {
  max-width: 19ch;
  font-size: clamp(1.55rem, 2.45vw, 2.4rem);
  font-weight: 450;
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.capability-body > p:not(.eyebrow) {
  max-width: 56ch;
  margin-top: 14px;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--body);
}

.capability-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 22px;
  width: 100%;
  margin-top: 21px;
  border-top: 1px solid var(--line);
}

.capability-list li {
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  font-size: 11px;
  line-height: 1.4;
  color: var(--body);
}

.capability-list li::before {
  content: "—";
  margin-right: 7px;
  color: var(--navy);
}

.capability-body .text-link {
  margin-top: 22px;
  font-size: 12px;
}

@media (max-width: 767px) {
  .capability-bar {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .capability-tabs {
    grid-template-columns: 1fr;
  }

  .capability-tab,
  .capability-tab:nth-child(2),
  .capability-tab:nth-child(3) {
    grid-template-columns: 47px minmax(0, 1fr) 18px;
    gap: 0 10px;
    align-items: center;
    padding: 14px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .capability-tab:last-child {
    border-bottom: 0;
  }

  .capability-tab::after {
    display: none;
  }

  .capability-tab__num {
    grid-column: 1;
    grid-row: 1;
    font-size: 1.55rem;
  }

  .capability-tab__label {
    grid-column: 2;
    grid-row: 1;
    max-width: none;
    margin-top: 0;
    font-size: 8.5px;
  }

  .capability-tab__arrow {
    grid-column: 3;
    grid-row: 1;
    margin-top: 0;
  }

  .capability-panel {
    grid-template-columns: 1fr;
  }

  .capability-media {
    min-height: 210px;
    aspect-ratio: 16 / 10;
  }

  .capability-body {
    padding: 24px 20px 28px;
  }

  .capability-body h3 {
    font-size: 1.55rem;
  }

  .capability-list {
    grid-template-columns: 1fr;
  }

  .capability-body .text-link {
    margin-top: 20px;
  }
}

/* Product cards ----------------------------------------------------------- */

.product-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(12px, 1.4vw, 20px);
  margin-top: clamp(44px, 5vw, 64px);
}

.product-card {
  position: relative;
  display: block;
  min-height: 430px;
  aspect-ratio: 4 / 4.9;
  overflow: hidden;
  background: var(--navy);
  color: #fff;
  isolation: isolate;
}

.product-card__media {
  position: absolute;
  inset: 0;
}

.product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease), filter 0.6s ease;
}

.product-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(7, 18, 33, 0.16);
}

.product-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(5, 14, 27, 0.03) 28%,
    rgba(5, 14, 27, 0.68) 72%,
    rgba(5, 14, 27, 0.93) 100%
  );
}

.product-card:hover .product-card__media img {
  transform: scale(1.045);
  filter: saturate(1.08);
}

.product-card__index {
  position: absolute;
  top: 26px;
  left: 26px;
  z-index: 2;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.62);
}

.product-card__arrow {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  color: #fff;
  transition: background 0.3s ease, color 0.3s ease,
    border-color 0.3s ease;
}

.product-card:hover .product-card__arrow {
  background: #fff;
  border-color: #fff;
  color: var(--navy-ink);
}

.product-card__body {
  position: absolute;
  z-index: 2;
  right: 26px;
  bottom: 27px;
  left: 26px;
}

.product-card__body h3 {
  font-size: clamp(1.55rem, 2.1vw, 2.15rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.product-card__body p {
  max-width: 38ch;
  margin-top: 12px;
  font-size: 13px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.62);
}

.product-card__tag {
  display: inline-flex;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.48);
}

/* Industries -------------------------------------------------------------- */

.industries {
  position: relative;
  overflow: hidden;
  background: var(--navy-deep);
  color: #fff;
}

.industries::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(
      rgba(255, 255, 255, 0.035) 1px,
      transparent 1px
    ),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 110px 110px;
  mask-image: radial-gradient(ellipse at 70% 30%, #000 0%, transparent 65%);
  pointer-events: none;
}

.industries .section-head {
  position: relative;
  z-index: 1;
}

.industries .section-head__copy {
  padding-bottom: 2px;
}

.industry-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1.12fr);
  gap: clamp(32px, 5.5vw, 90px);
  align-items: stretch;
  margin-top: clamp(46px, 6vw, 80px);
}

.industry-tabs {
  display: flex;
  flex-direction: column;
  align-self: start;
}

.industry-tab {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 44px 24px;
  gap: 10px;
  align-items: center;
  width: 100%;
  padding: 21px 0;
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  background: transparent;
  color: rgba(255, 255, 255, 0.47);
  text-align: left;
  transition: color 0.3s ease, padding 0.4s var(--ease);
}

.industry-tab:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.industry-tab__index {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
}

.industry-tab__name {
  font-size: clamp(1.03rem, 1.35vw, 1.3rem);
  font-weight: 450;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.industry-tab__pct {
  justify-self: end;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.02em;
}

.industry-tab__arrow {
  justify-self: end;
  width: 17px;
  height: 17px;
  opacity: 0;
  transform: translate(-4px, 4px);
  transition: opacity 0.3s ease, transform 0.3s var(--ease);
}

.industry-tab:hover {
  color: rgba(255, 255, 255, 0.82);
}

.industry-tab[aria-selected="true"] {
  color: #fff;
  padding-left: 8px;
}

.industry-tab[aria-selected="true"] .industry-tab__index,
.industry-tab[aria-selected="true"] .industry-tab__pct {
  color: var(--accent);
}

.industry-tab[aria-selected="true"] .industry-tab__arrow {
  opacity: 1;
  transform: translate(0, 0);
}

.industry-stage {
  position: relative;
  min-height: 440px;
  background: var(--navy);
  overflow: hidden;
}

.industry-panel {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transform: scale(1.018);
  transition: opacity 0.6s var(--ease), transform 0.8s var(--ease),
    visibility 0.6s;
}

.industry-panel.is-active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

.industry-panel__media {
  position: absolute;
  inset: 0;
}

.industry-panel__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.industry-panel__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(5, 14, 27, 0.25) 0%,
    transparent 36%,
    rgba(5, 14, 27, 0.86) 100%
  );
}

.industry-panel__ghost {
  position: absolute;
  top: 16px;
  right: 22px;
  z-index: 2;
  font-size: clamp(4.8rem, 8.5vw, 8.7rem);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.07em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.3);
}

.industry-panel__content {
  position: absolute;
  right: clamp(20px, 3vw, 38px);
  bottom: clamp(20px, 3vw, 34px);
  left: clamp(20px, 3vw, 38px);
  z-index: 2;
}

.industry-panel__kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.56);
}

.industry-panel__kicker::before {
  content: "";
  width: 18px;
  height: 1px;
  background: currentColor;
}

.industry-panel h3 {
  max-width: 18ch;
  font-size: clamp(1.65rem, 2.7vw, 2.8rem);
  font-weight: 460;
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.industry-panel p {
  max-width: 52ch;
  margin-top: 11px;
  font-size: 13.5px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.65);
}

.industry-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 18px;
}

.industry-chip {
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.21);
  border-radius: 2px;
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.66);
}

.industry-footnote {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: 23px;
  color: rgba(255, 255, 255, 0.38);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.industry-footnote::before {
  content: "";
  width: 24px;
  height: 1px;
  background: currentColor;
}

/* Quality split ----------------------------------------------------------- */

.quality-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(34px, 6.5vw, 112px);
  align-items: center;
}

.media-frame {
  position: relative;
}

.media-frame img {
  width: 100%;
  aspect-ratio: 4 / 3.4;
  object-fit: cover;
}

.media-frame::before,
.media-frame::after {
  content: "";
  position: absolute;
  z-index: 2;
  width: 26px;
  height: 26px;
  border-color: rgba(255, 255, 255, 0.75);
  border-style: solid;
  pointer-events: none;
}

.media-frame::before {
  top: -7px;
  left: -7px;
  border-width: 1px 0 0 1px;
}

.media-frame::after {
  right: -7px;
  bottom: -7px;
  border-width: 0 1px 1px 0;
}

.media-badge {
  position: absolute;
  right: -1px;
  bottom: 0;
  z-index: 3;
  max-width: 210px;
  padding: 18px 20px;
  background: #fff;
  color: var(--ink);
}

.media-badge__value {
  font-size: 1.8rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.05em;
}

.media-badge__label {
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: 8.5px;
  line-height: 1.5;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.quality-content .eyebrow {
  margin-bottom: 26px;
}

.quality-content .h2 {
  max-width: 13ch;
}

.quality-content .lead {
  max-width: 54ch;
  margin-top: 26px;
}

.quality-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-top: clamp(34px, 4vw, 48px);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.quality-stat {
  padding: 20px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.quality-stat__value {
  font-size: clamp(1.75rem, 2.5vw, 2.55rem);
  font-weight: 440;
  line-height: 1;
  letter-spacing: -0.05em;
}

.quality-stat__label {
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: 9px;
  line-height: 1.55;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.quality-content .text-link {
  margin-top: 30px;
}

/* High-speed feature ------------------------------------------------------ */

.highspeed {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  color: #fff;
}

.highspeed::before {
  content: "";
  position: absolute;
  top: -20%;
  right: 0;
  width: 55%;
  height: 120%;
  background: radial-gradient(
    ellipse at center,
    rgba(50, 101, 204, 0.2),
    transparent 64%
  );
  pointer-events: none;
}

.highspeed-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.92fr);
  gap: clamp(40px, 6vw, 100px);
  align-items: center;
}

.highspeed-copy .eyebrow {
  margin-bottom: 27px;
}

.highspeed-copy .h2 {
  max-width: 12ch;
}

.highspeed-copy .lead {
  max-width: 50ch;
  margin-top: 26px;
  color: #fff;
}

.highspeed-specs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 36px;
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}

.highspeed-spec {
  padding: 18px 18px 17px 0;
  border-right: 1px solid var(--line-dark);
}

.highspeed-spec:last-child {
  border-right: 0;
}

.highspeed-spec + .highspeed-spec {
  padding-left: 18px;
}

.highspeed-spec__value {
  font-size: clamp(1.45rem, 2vw, 2.1rem);
  font-weight: 450;
  line-height: 1;
  letter-spacing: -0.045em;
}

.highspeed-spec__value span {
  font-size: 0.54em;
  letter-spacing: 0;
}

.highspeed-spec__label {
  margin-top: 7px;
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
}

.highspeed-copy .btn {
  margin-top: 32px;
}

.highspeed-media {
  position: relative;
  aspect-ratio: 1 / 1.02;
  background: radial-gradient(circle at 50% 50%, #34538c, #25407a 72%);
  overflow: hidden;
}

.highspeed-media img {
  width: 100%;
  height: 100%;
  padding: 4%;
  object-fit: contain;
  opacity: 1;
  mix-blend-mode: normal;
  transform: none;
}

.highspeed-media::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  pointer-events: none;
}

.highspeed-media__label {
  position: absolute;
  left: 22px;
  bottom: 22px;
  z-index: 2;
  display: flex;
  gap: 8px;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
}

.highspeed-media__label::before {
  content: "";
  width: 20px;
  height: 1px;
  background: currentColor;
}

/* Global footprint -------------------------------------------------------- */

.global-head {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.55fr);
  gap: 40px;
  align-items: end;
}

.global-head .eyebrow {
  margin-bottom: 26px;
}

.global-head .h2 {
  max-width: 12ch;
}

.global-head__copy {
  max-width: 48ch;
  justify-self: end;
  padding-bottom: 5px;
}

.map-block {
  position: relative;
  margin-top: clamp(38px, 5vw, 68px);
  padding: clamp(16px, 2.5vw, 32px) clamp(8px, 3vw, 44px) 0;
  background: #eef2f7;
  overflow: hidden;
}

.map-block img {
  width: 100%;
  max-height: 480px;
  object-fit: contain;
  filter: saturate(0.82) contrast(1.02);
  opacity: 0.95;
}

.map-marker {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 8px;
  transform: translate(-50%, -50%);
}

.map-marker__dot {
  position: relative;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--navy);
  box-shadow: 0 0 0 4px rgba(37, 64, 122, 0.17);
}

.map-marker__dot::after {
  content: "";
  position: absolute;
  inset: -8px;
  border: 1px solid rgba(37, 64, 122, 0.35);
  border-radius: 50%;
  animation: marker-pulse 2.8s ease-out infinite;
}

@keyframes marker-pulse {
  0% {
    transform: scale(0.7);
    opacity: 0.8;
  }
  70%,
  100% {
    transform: scale(1.45);
    opacity: 0;
  }
}

.map-marker__label {
  padding: 4px 7px;
  background: rgba(255, 255, 255, 0.88);
  font-family: var(--font-mono);
  font-size: 9px;
  line-height: 1.2;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--navy);
  white-space: nowrap;
}

.map-marker--cn {
  top: 39%;
  left: 73.5%;
}

.map-marker--dg {
  top: 45%;
  left: 72.3%;
}

.map-marker--vn {
  top: 51%;
  left: 71.2%;
}

.map-marker--pl {
  top: 30%;
  left: 52.8%;
}

.map-marker--us {
  top: 41%;
  left: 17%;
  opacity: 0.55;
}

.map-block__caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 0 14px;
  border-top: 1px solid rgba(37, 64, 122, 0.15);
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(37, 64, 122, 0.65);
}

.site-grid {
  display: grid;
  grid-template-columns: 1fr;
  margin-top: 24px;
  border-top: 1px solid var(--line);
}

.site-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 5px 18px;
  padding: 21px 0;
  border-bottom: 1px solid var(--line);
}

.site-card__index {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.site-card__place {
  font-size: clamp(1.05rem, 1.4vw, 1.3rem);
  font-weight: 520;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.site-card__place span {
  display: block;
  margin-top: 5px;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--muted);
}

.site-card__area {
  text-align: right;
  font-family: var(--font-mono);
  font-size: 10px;
  line-height: 1.5;
  letter-spacing: 0.02em;
  color: var(--ink);
}

.site-card__area span {
  display: block;
  color: var(--muted);
} 

.site-card__status {
  grid-column: 1 / -1;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: max-content;
  margin-top: 5px;
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.site-card__status::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--green);
}

.site-card__status--planned::before {
  background: var(--amber);
}

/* Logo strip -------------------------------------------------------------- */

.clients {
  padding-block: 36px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.clients__label {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-bottom: 26px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.clients__label::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}

.logo-marquee {
  display: flex;
  width: max-content;
  animation: marquee 46s linear infinite;
}

.clients:hover .logo-marquee {
  animation-play-state: paused;
}

.logo-marquee__group {
  display: flex;
  align-items: center;
  gap: clamp(46px, 6vw, 92px);
  padding-right: clamp(46px, 6vw, 92px);
}

.logo-marquee img {
  width: 120px;
  height: 36px;
  object-fit: contain;
  filter: none;
  opacity: 1;
  mix-blend-mode: multiply;
  transition: transform 0.25s ease;
}

.logo-marquee img:hover {
  transform: translateY(-3px);
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

/* News -------------------------------------------------------------------- */

.news-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
  margin-top: clamp(38px, 5vw, 62px);
}

.news-card {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}

.news-card__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--paper-cool);
}

.news-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.news-card:hover .news-card__media img {
  transform: scale(1.035);
}

.news-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 17px 0 0;
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.news-card h3 {
  max-width: 28ch;
  margin-top: 12px;
  font-size: clamp(1.28rem, 1.8vw, 1.65rem);
  font-weight: 520;
  line-height: 1.15;
  letter-spacing: -0.035em;
}

.news-card p {
  margin-top: 11px;
  font-size: 13px;
  line-height: 1.58;
  color: var(--body);
}

.news-card__link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 20px;
  font-size: 12px;
  font-weight: 650;
}

.news-card__link svg {
  width: 14px;
  height: 14px;
  transition: transform 0.3s var(--ease);
}

.news-card:hover .news-card__link svg {
  transform: translate(3px, -3px);
}

.news-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
}

.news-head .eyebrow {
  margin-bottom: 26px;
}

/* Footer ------------------------------------------------------------------ */

.site-footer {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  color: #fff;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: -200px;
  right: -12%;
  width: 58%;
  height: 500px;
  background: radial-gradient(
    ellipse at center,
    rgba(63, 103, 183, 0.19),
    transparent 65%
  );
  pointer-events: none;
}

.footer-cta {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 34px;
  padding: clamp(64px, 8vw, 112px) 0 clamp(52px, 6vw, 82px);
  border-bottom: 1px solid var(--line-dark);
}

.footer-cta__copy .eyebrow {
  margin-bottom: 24px;
}

.footer-cta h2 {
  max-width: 13ch;
  font-size: clamp(2.45rem, 4.8vw, 5.4rem);
  font-weight: 430;
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.footer-cta h2 em {
  font-style: normal;
  color: #8ba9de;
}

.footer-cta__action {
  flex: none;
}

.footer-main {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 42px;
  padding-block: clamp(50px, 6vw, 78px);
}

.footer-brand {
  max-width: 330px;
}

.footer-brand img {
  width: 155px;
  filter: brightness(0) invert(1);
}

.footer-brand p {
  max-width: 30ch;
  margin-top: 22px;
  font-size: 13px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.52);
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 27px;
}

.footer-contact a {
  display: inline-flex;
  width: max-content;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.82);
}

.footer-contact a:hover {
  color: #fff;
}

.footer-contact svg {
  width: 14px;
  height: 14px;
  flex: none;
  opacity: 0.5;
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 36px 24px;
}

.footer-col h3 {
  margin-bottom: 16px;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.37);
}

.footer-col a {
  display: block;
  width: max-content;
  max-width: 100%;
  padding: 4px 0;
  font-size: 12.5px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.68);
}

.footer-col a:hover {
  color: #fff;
}

.footer-bottom {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 15px 30px;
  padding-block: 22px;
  border-top: 1px solid var(--line-dark);
  font-family: var(--font-mono);
  font-size: 9px;
  line-height: 1.5;
  letter-spacing: 0.035em;
  color: rgba(255, 255, 255, 0.38);
}

.footer-bottom__certs {
  color: rgba(255, 255, 255, 0.55);
}

.back-top {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.2s ease;
}

.back-top:hover {
  color: #fff;
}

.back-top svg {
  width: 12px;
  height: 12px;
}

/* Cookie notice ----------------------------------------------------------- */

.cookie-note {
  position: fixed;
  left: var(--gutter);
  bottom: 18px;
  z-index: 80;
  display: none;
  align-items: center;
  gap: 18px;
  max-width: 560px;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 12px 44px rgba(8, 21, 40, 0.12);
  font-size: 11px;
  line-height: 1.55;
  color: var(--body);
}

.cookie-note p {
  max-width: 40ch;
}

.cookie-note button {
  flex: none;
  padding: 7px 11px;
  border: 1px solid var(--line);
  background: var(--navy);
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  white-space: nowrap;
}

/* Responsive -------------------------------------------------------------- */

@media (min-width: 620px) {
  .header-contact {
    display: inline-flex;
  }

  .hero-stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .hero-stat {
    padding: 20px 22px 2px;
  }

  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .product-card:last-child {
    grid-column: span 2;
    aspect-ratio: 2 / 0.95;
    min-height: 370px;
  }

  .footer-main {
    grid-template-columns: minmax(250px, 1fr) minmax(0, 1.55fr);
    gap: 55px;
  }

  .footer-cols {
    grid-template-columns: repeat(4, 1fr);
  }

  .site-grid {
    grid-template-columns: repeat(2, 1fr);
    border-left: 1px solid var(--line);
  }

  .site-card {
    padding: 22px;
    border-right: 1px solid var(--line);
  }
}

@media (min-width: 900px) {
  :root {
    --header-h: 86px;
  }

  .main-nav {
    display: block;
  }

  .menu-toggle {
    display: none;
  }

  .home-hero__layout {
    grid-template-columns: minmax(0, 1fr) 250px;
    gap: 40px;
  }

  .hero-coordinate {
    display: flex;
  }

  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .product-card:last-child {
    grid-column: auto;
    aspect-ratio: 4 / 4.9;
    min-height: 430px;
  }

  .news-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(18px, 2vw, 30px);
  }

  .footer-main {
    grid-template-columns: minmax(290px, 0.8fr) minmax(0, 1.65fr);
  }

  .site-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .site-card {
    grid-template-columns: 1fr;
    padding: 20px 16px 22px;
    min-height: 180px;
  }

  .site-card__area {
    margin-top: auto;
    padding-top: 20px;
    text-align: left;
  }

  .site-card__index {
    margin-bottom: 8px;
  }

  .clients {
    padding-block: 44px;
  }

  .logo-marquee img {
    width: 135px;
    height: 42px;
  }
}

@media (min-width: 1180px) {
  .nav-link {
    padding-inline: 19px;
    font-size: 13.5px;
  }

  .product-card__body {
    right: 30px;
    bottom: 31px;
    left: 30px;
  }

  .product-card__index {
    top: 30px;
    left: 30px;
  }

  .product-card__arrow {
    top: 23px;
    right: 23px;
  }

  .industry-stage {
    min-height: 530px;
  }
}

@media (max-width: 899px) {
  .nav-panel {
    display: none;
  }

  .quality-grid,
  .highspeed-layout,
  .global-head,
  .intro-grid,
  .section-head {
    grid-template-columns: 1fr;
  }

  .global-head__copy,
  .section-head__copy {
    justify-self: start;
    padding-bottom: 0;
  }

  .quality-grid {
    gap: 48px;
  }

  .media-frame {
    max-width: 680px;
  }

  .highspeed-media {
    max-width: 620px;
    aspect-ratio: 1 / 0.82;
  }

  .map-marker__label {
    display: none;
  }

  .industry-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .industry-stage {
    order: -1;
    min-height: 400px;
  }

  .industry-tabs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    border-top: 1px solid rgba(255, 255, 255, 0.15);
  }

  .industry-tab {
    grid-template-columns: 26px minmax(0, 1fr) 36px;
    padding: 17px 14px 17px 0;
    border-top: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  }

  .industry-tab:nth-child(odd) {
    border-right: 1px solid rgba(255, 255, 255, 0.15);
  }

  .industry-tab:nth-child(even) {
    padding-left: 14px;
  }

  .industry-tab__arrow {
    display: none;
  }

  .industry-tab[aria-selected="true"] {
    padding-left: 0;
  }

  .industry-tab:nth-child(even)[aria-selected="true"] {
    padding-left: 14px;
  }
}

@media (max-width: 619px) {
  :root {
    --header-h: 72px;
  }

  body {
    font-size: 16px;
  }

  .home-hero {
    min-height: max(660px, 100svh);
  }

  .home-hero h1 {
    max-width: 12ch;
  }

  .home-hero__media::before {
    background: linear-gradient(
        90deg,
        rgba(4, 12, 24, 0.9) 0%,
        rgba(4, 12, 24, 0.6) 70%,
        rgba(4, 12, 24, 0.48) 100%
      ),
      linear-gradient(0deg, rgba(4, 12, 24, 0.88) 0%, transparent 55%);
  }

  .home-hero .eyebrow {
    margin-bottom: 18px;
    font-size: 9.5px;
    letter-spacing: 0.12em;
  }

  .home-hero__sub {
    margin-top: 20px;
    font-size: 15px;
    line-height: 1.5;
  }

  .home-hero .btn-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 22px;
  }

  .home-hero .btn {
    min-height: 48px;
    padding-inline: 12px;
    gap: 8px;
    font-size: 12px;
  }

  .hero-stats {
    margin-top: 28px;
  }

  .hero-stat {
    padding: 13px 12px 2px;
  }

  .hero-stat__label {
    font-size: 8.5px;
  }

  .hero-caption {
    margin-top: 12px;
  }

  .hero-caption {
    display: none;
  }

  .quality-stats {
    grid-template-columns: 1fr;
  }

  .highspeed-specs {
    grid-template-columns: 1fr;
  }

  .highspeed-spec {
    padding: 15px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line-dark);
  }

  .highspeed-spec:last-child {
    border-bottom: 0;
  }

  .highspeed-spec + .highspeed-spec {
    padding-left: 0;
  }

  .news-head {
    align-items: start;
    flex-direction: column;
  }

  .footer-cta {
    align-items: flex-start;
  }

  .footer-cols {
    grid-template-columns: 1fr 1fr;
  }

  .industry-stage {
    min-height: 380px;
  }

  .industry-panel p {
    max-width: 38ch;
  }

  .industry-panel__ghost {
    font-size: 4.9rem;
  }

  .industry-tab {
    grid-template-columns: 24px minmax(0, 1fr) 34px;
  }

  .industry-tab__name {
    font-size: 0.94rem;
  }

  .industry-tab__pct {
    font-size: 9.5px;
  }

  .map-block {
    padding-inline: 0;
  }

  .map-block img {
    min-height: 210px;
  }

  .map-marker--cn {
    top: 37%;
    left: 73.5%;
  }

  .map-marker--dg {
    top: 44%;
    left: 72%;
  }

  .map-marker--vn {
    top: 51%;
    left: 71%;
  }

  .map-marker--pl {
    top: 29%;
    left: 53%;
  }

  .map-marker--us {
    display: none;
  }

  .map-block__caption {
    padding-inline: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}


/* Chinese typography ------------------------------------------------------- */

:lang(zh-CN) body {
  font-family: "Manrope", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  line-height: 1.75;
}

:lang(zh-CN) .h1,
:lang(zh-CN) .h2,
:lang(zh-CN) .h3,
:lang(zh-CN) .display {
  letter-spacing: -0.018em;
  line-height: 1.08;
}

:lang(zh-CN) .eyebrow,
:lang(zh-CN) .mono,
:lang(zh-CN) .industry-tab__index,
:lang(zh-CN) .industry-tab__pct,
:lang(zh-CN) .industry-panel__kicker,
:lang(zh-CN) .site-card__index,
:lang(zh-CN) .hero-stat__label,
:lang(zh-CN) .footer-bottom,
:lang(zh-CN) .page-hero__meta,
:lang(zh-CN) .breadcrumb {
  letter-spacing: 0.06em;
}

:lang(zh-CN) .home-hero__sub {
  max-width: 36em;
  text-wrap: balance;
}

:lang(zh-CN) .home-hero h1 {
  max-width: 13ch;
  font-size: clamp(2.9rem, 5.8vw, 6.2rem);
  line-height: 1.06;
  letter-spacing: -0.02em;
}

:lang(zh-CN) .page-hero h1 {
  max-width: 16ch;
  line-height: 1.1;
  letter-spacing: -0.025em;
}

:lang(zh-CN) .footer-cta h2 {
  max-width: 12ch;
  line-height: 1.1;
  letter-spacing: -0.025em;
}

:lang(zh-CN) .capability-body h3,
:lang(zh-CN) .industry-row h2,
:lang(zh-CN) .industry-panel h3,
:lang(zh-CN) .product-card__body h3,
:lang(zh-CN) .news-card h3,
:lang(zh-CN) .article-card h2 {
  letter-spacing: -0.02em;
  line-height: 1.22;
}

:lang(zh-CN) .lead {
  line-height: 1.75;
}

:lang(zh-CN) .btn,
:lang(zh-CN) .nav-link,
:lang(zh-CN) .header-contact {
  letter-spacing: 0.01em;
}

:lang(zh-CN) .capability-tab__label,
:lang(zh-CN) .capability-list li,
:lang(zh-CN) .process-list__name,
:lang(zh-CN) .footer-col a,
:lang(zh-CN) .news-card p {
  letter-spacing: 0;
}

@media (max-width: 619px) {
  :lang(zh-CN) .home-hero h1 {
    font-size: clamp(2.55rem, 11.5vw, 3.5rem);
    max-width: 12ch;
  }

  :lang(zh-CN) .lang-switch {
    min-width: 36px;
    height: 36px;
    padding-inline: 8px;
    font-size: 9.5px;
  }
}


/* Chinese display-width corrections: prevent orphan characters and mid-word breaks. */
:lang(zh-CN) .page-hero h1 {
  max-width: 22em;
  font-size: clamp(2.65rem, 5.55vw, 5.75rem);
  line-height: 1.1;
}

:lang(zh-CN) .page-hero__lead,
:lang(zh-CN) .home-hero__sub,
:lang(zh-CN) .lead {
  text-wrap: pretty;
}

:lang(zh-CN) .page-head h2,
:lang(zh-CN) .category-header h2,
:lang(zh-CN) .highspeed-copy .h2,
:lang(zh-CN) .highspeed-block__head h2,
:lang(zh-CN) .harness-copy h2,
:lang(zh-CN) .metal-copy h2,
:lang(zh-CN) .industry-row h2,
:lang(zh-CN) .quality-content .h2,
:lang(zh-CN) .about-intro__head h2,
:lang(zh-CN) .revenue-copy h2,
:lang(zh-CN) .workforce-copy h2,
:lang(zh-CN) .contact-intro h2,
:lang(zh-CN) .global-head .h2,
:lang(zh-CN) .section-head .h2 {
  max-width: 18em;
  text-wrap: balance;
}

:lang(zh-CN) .news-feature__body h2 {
  max-width: 22em;
  text-wrap: balance;
}

:lang(zh-CN) .value-card h3,
:lang(zh-CN) .industry-row h2,
:lang(zh-CN) .overview-card h2 {
  text-wrap: balance;
}

:lang(zh-CN) .revenue-total {
  white-space: nowrap;
  font-size: clamp(2rem, 3.2vw, 3.3rem);
}

:lang(zh-CN) .news-card h3,
:lang(zh-CN) .article-card h2 {
  text-wrap: balance;
}

:lang(zh-CN) .highspeed-copy .h2 {
  font-size: clamp(2rem, 3.8vw, 4.2rem);
}

.news-card__media--highspeed {
  position: relative;
  display: block;
  padding: 0;
  background: radial-gradient(circle at 50% 50%, #34538c, #25407a 72%);
}

.news-card__media--highspeed img {
  position: absolute;
  inset: 7%;
  width: 86%;
  height: 86%;
  object-fit: contain;
}

/* About footprint photographs --------------------------------------------- */

.site-card__image {
  grid-column: 1 / -1;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #eef0f2;
}

.site-card__image--harness {
  object-position: 72% 50%;
}

/* Unified section headings across the site --------------------------------- */
/* Applies to editorial section titles, not hero H1s, card titles or footer CTA. */
.section-head h2,
.intro-grid h2,
.news-head h2,
.highspeed-block__head h2,
.quality-content h2,
.highspeed-copy h2,
.capability-body h3,
.page-head h2,
.category-header h2,
.harness-copy h2,
.metal-copy h2,
.industry-row h2,
.about-intro__head h2,
.global-head h2,
.news-feature__body h2,
.contact-intro h2,
#values-head h2,
#offices .page-head h2,
#roadmap h2,
#plan h2,
#test-floor h2,
#testing-capability h2,
#application-mix h2,
#engineering-method h2 {
  font-size: clamp(2.2rem, 4vw, 4.2rem) !important;
  line-height: 0.99;
  font-weight: 430;
  letter-spacing: -0.05em;
  text-transform: capitalize;
  text-wrap: balance;
}

/* Banner / page-hero display titles — initial caps ------------------------- */

.home-hero h1,
.page-hero h1 {
  text-transform: capitalize;
}

/* Home industry section — white supporting copy and link ------------------ */

.industries .section-head__copy .copy,
.industries .section-head__copy .text-link {
  color: #fff;
}
