@font-face {
  font-family: "Manrope";
  src: url("assets/fonts/manrope-400.ttf") format("truetype");
  font-display: swap;
  font-style: normal;
  font-weight: 400;
}

@font-face {
  font-family: "Manrope";
  src: url("assets/fonts/manrope-500.ttf") format("truetype");
  font-display: swap;
  font-style: normal;
  font-weight: 500;
}

@font-face {
  font-family: "Manrope";
  src: url("assets/fonts/manrope-600.ttf") format("truetype");
  font-display: swap;
  font-style: normal;
  font-weight: 600;
}

@font-face {
  font-family: "Manrope";
  src: url("assets/fonts/manrope-700.ttf") format("truetype");
  font-display: swap;
  font-style: normal;
  font-weight: 700;
}

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

@font-face {
  font-family: "Sora";
  src: url("assets/fonts/sora-500.ttf") format("truetype");
  font-display: swap;
  font-style: normal;
  font-weight: 500;
}

@font-face {
  font-family: "Sora";
  src: url("assets/fonts/sora-600.ttf") format("truetype");
  font-display: swap;
  font-style: normal;
  font-weight: 600;
}

@font-face {
  font-family: "Sora";
  src: url("assets/fonts/sora-700.ttf") format("truetype");
  font-display: swap;
  font-style: normal;
  font-weight: 700;
}

@font-face {
  font-family: "Sora";
  src: url("assets/fonts/sora-800.ttf") format("truetype");
  font-display: swap;
  font-style: normal;
  font-weight: 800;
}

:root {
  --ink: #101418;
  --muted: #69706e;
  --line: #d8d4ce;
  --line-soft: rgba(16, 20, 24, 0.1);
  --line-strong: #101418;
  --paper: #faf7f5;
  --paper-warm: #f6f1ed;
  --surface: #fffdfb;
  --soft: #f0eeee;
  --white: #ffffff;
  --blue: #111820;
  --teal: #49615d;
  --teal-bright: #5fb8b1;
  --gold: #d9963d;
  --navy: #111820;
  --shadow: 0 18px 54px rgba(16, 20, 24, 0.08);
  --shadow-lift: 0 26px 80px rgba(16, 20, 24, 0.13);
  --font-display: "Sora", "PingFang SC", "Hiragino Sans GB", "Source Han Sans SC", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  --font-body: "Manrope", "PingFang SC", "Hiragino Sans GB", "Source Han Sans SC", "Noto Sans SC", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(16, 20, 24, 0.035) 1px, transparent 1px) 0 0 / 96px 96px,
    linear-gradient(180deg, rgba(16, 20, 24, 0.028) 1px, transparent 1px) 0 0 / 96px 96px,
    var(--paper);
  font-family:
    var(--font-body), ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

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

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

.motion-ready .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 520ms ease,
    transform 520ms ease;
}

.motion-ready .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  width: 100%;
  min-height: 66px;
  padding: 14px clamp(20px, 4vw, 64px);
  color: var(--ink);
  background: rgba(250, 247, 245, 0.86);
  border-bottom: 1px solid rgba(16, 20, 24, 0.18);
  backdrop-filter: blur(16px);
  transition:
    background 180ms ease,
    box-shadow 180ms ease,
    color 180ms ease;
}

.site-header.scrolled,
.site-header.open {
  color: var(--ink);
  background: rgba(250, 247, 245, 0.96);
  box-shadow: 0 12px 34px rgba(16, 20, 24, 0.06);
  backdrop-filter: blur(16px);
}

.header-left {
  display: flex;
  gap: 18px;
  align-items: center;
}

.lang-switch {
  display: inline-flex;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
}

.lang-button {
  min-height: 30px;
  padding: 0 10px;
  color: var(--ink);
  background: transparent;
  border: 0;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
}

.lang-button.active {
  color: var(--paper);
  background: var(--ink);
}

.brand {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-display);
  font-weight: 800;
}

.brand-logo {
  width: 92px;
  height: auto;
}

.nav {
  display: flex;
  justify-content: center;
  gap: clamp(16px, 2.3vw, 34px);
  font-family: var(--font-body);
  font-size: 0.94rem;
  font-weight: 600;
}

.nav a {
  opacity: 0.82;
}

.nav a:hover,
.header-action:hover,
.footer a:hover {
  opacity: 1;
  color: var(--teal);
}

.header-action,
.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 8px;
  font-family: var(--font-body);
  font-weight: 700;
  white-space: nowrap;
  transition:
    background 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    transform 180ms ease,
    box-shadow 180ms ease;
}

.header-action {
  border: 1px solid currentColor;
  border-radius: 8px;
  font-size: 0.9rem;
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  color: inherit;
  background: transparent;
  border: 1px solid currentColor;
  border-radius: 8px;
}

.menu-button span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}

.hero {
  position: relative;
  display: grid;
  min-height: 94vh;
  overflow: hidden;
  color: var(--ink);
  background: var(--paper);
  border-bottom: 1px solid var(--line-soft);
}

.hero::before {
  position: absolute;
  inset: 76px 0 0;
  content: "XLAB GLOBAL XLAB AI XLAB GLOBAL XLAB AI XLAB GLOBAL XLAB AI XLAB GLOBAL";
  color: rgba(16, 20, 24, 0.026);
  font-size: clamp(3.4rem, 6.8vw, 6.2rem);
  font-weight: 900;
  letter-spacing: 0.36em;
  line-height: 1.34;
  overflow: hidden;
  overflow-wrap: anywhere;
  pointer-events: none;
  text-align: center;
  text-transform: uppercase;
}

.hero::after {
  position: absolute;
  right: clamp(18px, 4vw, 64px);
  bottom: clamp(18px, 4vw, 58px);
  width: min(420px, 36vw);
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(16, 20, 24, 0.42), transparent);
  pointer-events: none;
}

.hero-media,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-media {
  object-fit: cover;
  object-position: center;
  opacity: 1;
  filter: saturate(1.04) contrast(1.02);
  transform: none;
  transform-origin: center bottom;
}

.hero-shade {
  background:
    linear-gradient(180deg, rgba(250, 247, 245, 0.92), rgba(250, 247, 245, 0.46) 42%, rgba(250, 247, 245, 0.72)),
    linear-gradient(90deg, rgba(250, 247, 245, 0.9), rgba(250, 247, 245, 0.36) 56%, rgba(250, 247, 245, 0.16));
}

.hero-content {
  position: relative;
  z-index: 1;
  align-self: start;
  width: min(920px, calc(100% - 40px));
  margin: clamp(140px, 19vh, 210px) auto 0;
  text-align: center;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--teal);
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 800;
}

h1 {
  max-width: 10em;
  margin-right: auto;
  margin-bottom: 20px;
  margin-left: auto;
  font-size: clamp(3.5rem, 8.4vw, 7.9rem);
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.1rem;
  line-height: 1.3;
}

.hero-copy {
  max-width: 680px;
  margin-right: auto;
  margin-bottom: 28px;
  margin-left: auto;
  color: var(--muted);
  font-family: var(--font-body);
  font-size: clamp(1rem, 2vw, 1.28rem);
  line-height: 1.75;
  text-wrap: balance;
  padding: 14px clamp(16px, 2vw, 24px);
  background: rgba(250, 247, 245, 0.76);
  border: 1px solid rgba(16, 20, 24, 0.12);
  border-radius: 14px;
  backdrop-filter: blur(14px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, max-content));
  justify-content: center;
  gap: 10px;
  max-width: 900px;
  margin: 26px auto 0;
}

.hero-proof span {
  padding: 10px 14px;
  color: rgba(16, 20, 24, 0.82);
  background: rgba(250, 247, 245, 0.72);
  border: 1px solid rgba(16, 20, 24, 0.14);
  border-radius: 8px;
  backdrop-filter: blur(12px);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  white-space: nowrap;
}

.primary-button {
  color: var(--white);
  background: var(--ink);
  border: 1px solid var(--ink);
  box-shadow: 0 12px 28px rgba(16, 20, 24, 0.12);
}

.primary-button:hover,
.secondary-button:hover,
.header-action:hover {
  transform: translateY(-1px);
}

.secondary-button {
  color: var(--ink);
  border: 1px solid rgba(16, 20, 24, 0.22);
}

.section,
.section-band {
  padding: clamp(72px, 10vw, 132px) clamp(20px, 4vw, 64px);
  border-bottom: 1px solid var(--line-soft);
}

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

.section-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.intro {
  padding-top: 38px;
  padding-bottom: 38px;
}

.intro-grid,
.contact-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(28px, 6vw, 72px);
  align-items: center;
}

.intro h2 {
  max-width: 620px;
  margin-bottom: 0;
}

.intro p:last-child {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.section-heading {
  margin-bottom: 36px;
}

.section-heading h2,
.intro h2 {
  text-wrap: balance;
}

.capability-section {
  background: linear-gradient(180deg, var(--surface), var(--paper));
}

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

.capability-card {
  min-height: 330px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(24px, 3vw, 36px);
  border: 0;
  background: var(--surface);
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    background 220ms ease;
}

.capability-card:hover {
  z-index: 1;
  background: #ffffff;
  box-shadow: var(--shadow-lift);
  transform: translateY(-4px);
}

.capability-card > p:first-child {
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.capability-card h3 {
  margin-top: auto;
  margin-bottom: 16px;
  font-size: clamp(1.8rem, 2.6vw, 2.75rem);
  line-height: 1;
  white-space: nowrap;
}

html[lang="en"] .capability-card h3 {
  font-size: clamp(1.55rem, 2.05vw, 2.2rem);
  white-space: normal;
}

.capability-card p:last-child {
  margin-bottom: 0;
  color: var(--muted);
}

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

.operation-flow {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line-soft);
  background: var(--line-soft);
}

.operation-flow article {
  min-height: 260px;
  display: flex;
  flex-direction: column;
  padding: 22px;
  border: 0;
  background: var(--surface);
}

.operation-flow span {
  display: block;
  margin-bottom: 34px;
  color: var(--teal);
  font-weight: 900;
}

.operation-flow h3 {
  min-height: 2.5em;
  margin-bottom: 12px;
  overflow-wrap: break-word;
}

.operation-flow p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.95rem;
  overflow-wrap: break-word;
}

html[lang="en"] .operation-flow h3 {
  font-size: 1rem;
  line-height: 1.18;
}

.split-heading {
  display: grid;
  grid-template-columns: 1fr minmax(260px, 430px);
  gap: 36px;
  align-items: end;
}

.split-heading p:last-child {
  color: var(--muted);
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.8fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: start;
}

.about-copy {
  max-width: 680px;
  color: var(--muted);
  font-size: 1.08rem;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 1px solid var(--line-soft);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.metric {
  min-height: 150px;
  padding: 26px;
  border-right: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

.metric:nth-child(2n) {
  border-right: 0;
}

.metric:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.metric strong {
  display: block;
  margin-bottom: 6px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  line-height: 1;
}

.metric .metric-text-value {
  font-size: clamp(1.7rem, 2.6vw, 2.35rem);
  line-height: 1.08;
}

.metric span {
  color: var(--muted);
}

.world-map {
  display: grid;
  grid-template-columns: minmax(280px, 0.42fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 68px);
  align-items: center;
  margin-top: clamp(54px, 8vw, 90px);
  padding-top: clamp(42px, 6vw, 72px);
  border-top: 1px solid var(--line-soft);
}

.map-copy p {
  color: var(--muted);
}

.map-copy h3 {
  max-width: 460px;
  font-size: clamp(1.9rem, 3.6vw, 3.6rem);
  line-height: 1.08;
}

.map-panel {
  position: relative;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid rgba(95, 184, 177, 0.28);
  box-shadow: 0 24px 80px rgba(95, 184, 177, 0.12), var(--shadow);
}

.map-panel::before {
  position: absolute;
  inset: 16px;
  content: "";
  border: 1px solid rgba(95, 184, 177, 0.18);
  pointer-events: none;
}

.map-panel::after {
  position: absolute;
  inset: auto 22px 22px auto;
  width: 96px;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(95, 184, 177, 0.72));
  pointer-events: none;
}

.map-panel img {
  display: block;
  width: 100%;
  height: auto;
}

.map-line {
  fill: none;
  stroke: rgba(16, 20, 24, 0.58);
  stroke-linecap: round;
  stroke-width: 2.4;
}

.map-line.secondary {
  stroke: rgba(73, 97, 93, 0.54);
}

.map-land {
  fill: rgba(16, 20, 24, 0.052);
  stroke: rgba(16, 20, 24, 0.18);
  stroke-width: 1.5;
}

.map-land.second {
  fill: none;
  stroke: rgba(16, 20, 24, 0.12);
}

.map-pulse {
  fill: rgba(117, 216, 210, 0.3);
  stroke: rgba(16, 20, 24, 0.16);
  stroke-width: 1.4;
}

.map-dot {
  fill: #64e1d8;
  stroke: var(--ink);
  stroke-width: 2.4;
}

.map-label rect {
  fill: rgba(250, 247, 245, 0.96);
  stroke: var(--line);
}

.map-label text {
  fill: var(--ink);
  font-size: 13px;
  font-weight: 700;
}

.office-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.office-list span {
  padding: 7px 10px;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 700;
}

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

.gallery-carousel {
  position: relative;
}

.gallery-controls {
  display: none;
}

.gallery-scroll-button {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 0;
  cursor: pointer;
  font-size: 1.5rem;
  line-height: 1;
}

.gallery-scroll-button:hover {
  color: var(--paper);
  background: var(--ink);
}

.gallery-track {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  overflow: visible;
  padding-bottom: 0;
}

.gallery-card {
  position: relative;
  min-height: 420px;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: var(--soft);
  box-shadow: var(--shadow);
  transition:
    transform 260ms ease,
    box-shadow 260ms ease;
}

.gallery-card:hover {
  box-shadow: var(--shadow-lift);
  transform: translateY(-4px);
}

.gallery-card-wide {
  grid-column: auto;
}

.gallery-card-portrait {
  grid-auto-columns: minmax(260px, 32%);
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-card figcaption {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  display: grid;
  gap: 4px;
  padding: 16px;
  color: var(--white);
  background: rgba(10, 16, 24, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  backdrop-filter: blur(14px);
}

.gallery-card figcaption span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
}

.media-section {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px) 0 0 / 112px 112px,
    var(--navy);
  color: var(--white);
}

.media-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.8fr);
  gap: clamp(28px, 5vw, 68px);
  align-items: center;
}

.media-grid img {
  aspect-ratio: 14 / 9;
  width: 100%;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 0;
  box-shadow: var(--shadow);
}

.media-grid p:last-child {
  color: rgba(255, 255, 255, 0.74);
  font-size: 1.06rem;
}

.benefit-grid,
.job-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.benefit-card,
.job-card,
.contact-panel {
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: var(--surface);
}

.benefit-card {
  min-height: 220px;
  padding: 24px;
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease;
}

.benefit-card:hover,
.job-card:hover {
  border-color: rgba(16, 20, 24, 0.16);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.icon {
  display: grid;
  width: 46px;
  height: 42px;
  margin-bottom: 22px;
  place-items: center;
  color: var(--white);
  background: var(--navy);
  border-radius: 8px;
  font-weight: 800;
  font-size: 0.82rem;
}

.benefit-card p,
.job-card p {
  color: var(--muted);
}

.jobs-section {
  background: #f0eeee;
}

.job-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.job-tab {
  min-height: 40px;
  padding: 0 16px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  cursor: pointer;
  font-family: var(--font-body);
  font-weight: 700;
  transition:
    background 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.job-tab.active,
.job-tab:hover {
  color: var(--white);
  background: var(--ink);
  border-color: var(--ink);
}

.job-tab:hover {
  transform: translateY(-1px);
}

.job-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.job-card {
  display: flex;
  min-height: 270px;
  flex-direction: column;
  justify-content: space-between;
  padding: 22px;
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease;
}

.job-card h3 {
  margin-bottom: 10px;
}

.job-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.job-meta span {
  padding: 4px 9px;
  color: var(--muted);
  background: var(--soft);
  border-radius: 999px;
  font-size: 0.82rem;
}

.job-detail-button {
  width: 100%;
  min-height: 42px;
  margin-top: 18px;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  cursor: pointer;
  font-family: var(--font-body);
  font-weight: 700;
  transition:
    background 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.job-detail-button:hover {
  color: var(--white);
  background: var(--ink);
  border-color: var(--ink);
}

.job-dialog {
  width: min(820px, calc(100% - 32px));
  max-height: min(780px, calc(100vh - 32px));
  padding: clamp(28px, 4vw, 48px);
  color: var(--ink);
  background: rgba(250, 247, 245, 0.98);
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  box-shadow: 0 28px 90px rgba(12, 18, 25, 0.24);
}

.job-dialog::backdrop {
  background: rgba(8, 12, 16, 0.46);
  backdrop-filter: blur(10px);
}

.dialog-close {
  position: absolute;
  top: 18px;
  right: 18px;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  cursor: pointer;
  font-size: 1.5rem;
  line-height: 1;
}

.job-dialog h2 {
  max-width: 650px;
  margin-bottom: 14px;
  font-size: clamp(2rem, 5vw, 3.5rem);
}

.dialog-summary {
  max-width: 680px;
  color: var(--muted);
  font-size: 1.04rem;
}

.dialog-content {
  display: grid;
  gap: 24px;
  margin-top: 28px;
}

.dialog-content h3 {
  margin-bottom: 12px;
}

.dialog-content ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 1.2em;
  color: var(--muted);
}

.dialog-apply {
  margin-top: 30px;
}

.apply-section {
  background: var(--navy);
  color: var(--white);
}

.apply-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(360px, 1fr);
  gap: clamp(32px, 6vw, 78px);
  align-items: start;
}

.apply-copy p {
  max-width: 560px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.05rem;
}

.apply-form {
  display: grid;
  gap: 18px;
  padding: clamp(22px, 4vw, 36px);
  color: var(--ink);
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 12px;
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.25);
}

.apply-form label {
  display: grid;
  gap: 8px;
}

.apply-form label span {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.apply-form input,
.apply-form select,
.apply-form textarea {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  color: var(--ink);
  background: #fffdfb;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  font: inherit;
  font-family: var(--font-body);
}

.apply-form input.file-input {
  display: none;
}

.file-control {
  display: flex;
  min-height: 46px;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  color: var(--ink);
  background: #fffdfb;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  cursor: pointer;
}

.file-control:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}

.apply-form label .file-button {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 0 10px;
  color: var(--white);
  background: var(--ink);
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 800;
}

.apply-form label .file-name {
  min-width: 0;
  color: var(--muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.apply-form textarea {
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.form-help,
.form-status {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.form-status.success {
  color: #087f5b;
}

.form-status.error {
  color: #b42318;
}

.form-submit {
  width: fit-content;
  border: 0;
  cursor: pointer;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .motion-ready .reveal {
    opacity: 1;
    transform: none;
  }
}

.contact-grid {
  grid-template-columns: 1.2fr repeat(2, minmax(0, 1fr));
}

.contact-grid h2 {
  margin-bottom: 12px;
}

.contact-grid p {
  max-width: 520px;
  color: var(--muted);
}

.contact-panel {
  min-height: 132px;
  padding: 22px;
}

.contact-panel a,
.contact-panel strong {
  display: block;
  margin-bottom: 10px;
  color: var(--ink);
  font-size: 1.04rem;
  font-weight: 800;
  word-break: break-word;
}

.contact-panel span {
  color: var(--muted);
  font-size: 0.92rem;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(20px, 4vw, 64px);
  color: rgba(255, 255, 255, 0.72);
  background: #08101a;
}

@media (max-width: 960px) {
  .site-header {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .header-left {
    gap: 12px;
  }

  .nav,
  .header-action {
    display: none;
  }

  .menu-button {
    display: block;
  }

  .site-header.open .nav {
    position: absolute;
    top: 72px;
    left: 0;
    display: grid;
    width: 100%;
    gap: 0;
    padding: 10px 20px 20px;
    background: rgba(255, 255, 255, 0.96);
  }

  .site-header.open .nav a {
    padding: 14px 0;
    border-bottom: 1px solid var(--line-soft);
  }

  .hero {
    min-height: 760px;
  }

  .hero-shade {
    background:
      linear-gradient(180deg, rgba(250, 247, 245, 0.94), rgba(250, 247, 245, 0.56) 42%, rgba(250, 247, 245, 0.78)),
      linear-gradient(90deg, rgba(250, 247, 245, 0.86), rgba(250, 247, 245, 0.34));
  }

  .hero-media {
    object-position: center;
    transform: none;
  }

  .hero-content {
    width: calc(100% - 40px);
    margin: 108px auto 0;
  }

  h1 {
    font-size: clamp(3rem, 13vw, 5rem);
  }

  .intro-grid,
  .about-layout,
  .media-grid,
  .split-heading,
  .contact-grid,
  .world-map,
  .apply-layout {
    grid-template-columns: 1fr;
  }

  .gallery-controls {
    display: flex;
    position: static;
    justify-content: flex-end;
    margin-bottom: 14px;
  }

  .gallery-track {
    grid-template-columns: none;
    grid-auto-columns: minmax(282px, 78%);
    grid-auto-flow: column;
    overflow-x: auto;
    padding-bottom: 14px;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
  }

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

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

  .capability-card {
    min-height: 260px;
  }

  .capability-card h3 {
    white-space: normal;
  }

  .operation-flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-card {
    min-height: 340px;
    scroll-snap-align: start;
  }

  .gallery-card-wide {
    grid-column: auto;
  }
}

@media (max-width: 760px) {
  .metric-grid {
    grid-template-columns: 1fr;
  }

  .metric,
  .metric:nth-child(2n),
  .metric:nth-last-child(-n + 2) {
    min-height: 116px;
    padding: 22px;
    border-right: 0;
    border-bottom: 1px solid var(--line-soft);
  }

  .metric:last-child {
    border-bottom: 0;
  }

  .metric strong {
    font-size: clamp(1.85rem, 9vw, 2.4rem);
  }

  .metric .metric-text-value {
    font-size: clamp(1.7rem, 8vw, 2.15rem);
  }
}

@media (max-width: 620px) {
  .section,
  .section-band {
    padding: 58px 18px;
  }

  .hero {
    min-height: 720px;
  }

  .hero-content {
    margin-bottom: 48px;
  }

  .hero-actions {
    display: grid;
  }

  .primary-button,
  .secondary-button {
    width: 100%;
  }

  .benefit-grid,
  .operation-flow,
  .job-list {
    grid-template-columns: 1fr;
  }

  .hero-proof {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-proof span {
    white-space: normal;
  }

  .operation-flow article {
    min-height: 210px;
  }

  .job-tabs {
    flex-wrap: nowrap;
    padding-bottom: 8px;
    overflow-x: auto;
  }

  .job-tab {
    flex: 0 0 auto;
  }

  .brand-logo {
    width: 76px;
  }

  .lang-button {
    min-height: 28px;
    padding: 0 8px;
  }

  .job-card {
    min-height: 250px;
  }

  .job-dialog {
    border-radius: 14px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer {
    flex-direction: column;
  }
}
