:root {
  --ink: #17211b;
  --muted: #5f675f;
  --line: #dfe5dc;
  --paper: #f7f8f2;
  --white: #ffffff;
  --green: #1f7a4d;
  --mint: #d8f0df;
  --coral: #db5d42;
  --yellow: #f0c84b;
  --blue: #2d6cdf;
  --shadow: 0 18px 45px rgba(28, 38, 31, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Microsoft YaHei", "Segoe UI", Arial, sans-serif;
  letter-spacing: 0;
}

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

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

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

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 20;
  background: var(--ink);
  color: var(--white);
  padding: 10px 14px;
  border-radius: 6px;
}

.skip-link:focus {
  top: 16px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(247, 248, 242, 0.94);
  border-bottom: 1px solid rgba(23, 33, 27, 0.1);
  backdrop-filter: blur(14px);
}

.site-header__bar {
  width: min(1180px, calc(100% - 32px));
  min-height: 76px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 240px;
}

.brand img {
  width: 88px;
  height: 36px;
  object-fit: contain;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 15px;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
  margin-top: 2px;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: 22px;
  color: #273329;
  font-size: 14px;
}

.site-nav a {
  padding: 10px 0;
  border-bottom: 2px solid transparent;
}

.site-nav a:hover {
  color: var(--green);
  border-color: var(--green);
}

.phone-link {
  display: grid;
  gap: 2px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.phone-link span {
  color: var(--muted);
  font-size: 12px;
}

.phone-link strong {
  font-size: 15px;
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.menu-button span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 700;
}

.button--primary {
  background: var(--green);
  color: var(--white);
}

.button--primary:hover {
  background: #17633e;
}

.button--secondary {
  background: var(--white);
  border-color: rgba(23, 33, 27, 0.2);
  color: var(--ink);
}

.button--secondary:hover {
  border-color: var(--green);
  color: var(--green);
}

.text-button {
  border: 0;
  background: transparent;
  color: var(--green);
  cursor: pointer;
  font-weight: 700;
  padding: 0;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--coral);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.hero {
  position: relative;
  min-height: 650px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 28px;
  align-items: end;
  padding: 86px max(24px, calc((100% - 1180px) / 2)) 44px;
  color: var(--white);
  overflow: hidden;
}

.hero__image {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 18, 12, 0.88), rgba(8, 18, 12, 0.58), rgba(8, 18, 12, 0.16)),
    url("/assets/img/hero-print.jpg") center / cover;
  z-index: -1;
}

.hero__content {
  max-width: 780px;
}

.hero h1 {
  margin: 0;
  max-width: 760px;
  font-size: 56px;
  line-height: 1.06;
}

.hero__lead {
  max-width: 720px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 19px;
  line-height: 1.75;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero__metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(110px, 1fr));
  gap: 12px;
  max-width: 600px;
  margin-top: 38px;
}

.hero__metrics div,
.hero-card {
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  backdrop-filter: blur(16px);
}

.hero__metrics div {
  padding: 16px;
}

.hero__metrics strong,
.hero__metrics span {
  display: block;
}

.hero__metrics strong {
  font-size: 28px;
}

.hero__metrics span,
.hero-card li,
.hero-card p {
  color: rgba(255, 255, 255, 0.82);
}

.hero-card {
  padding: 22px;
}

.hero-card p {
  margin: 0 0 16px;
  font-weight: 800;
}

.hero-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-card li {
  min-height: 42px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  display: flex;
  align-items: center;
}

.quick-strip {
  display: flex;
  gap: 10px;
  width: min(1180px, calc(100% - 32px));
  margin: -22px auto 0;
  padding: 14px;
  position: relative;
  z-index: 2;
  overflow-x: auto;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.quick-strip span {
  white-space: nowrap;
  padding: 9px 12px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #354037;
  font-size: 13px;
}

.section {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 82px 0;
}

.section--ink {
  width: 100%;
  max-width: none;
  padding-left: max(16px, calc((100% - 1180px) / 2));
  padding-right: max(16px, calc((100% - 1180px) / 2));
  background: #17211b;
  color: var(--white);
}

.section-head {
  max-width: 720px;
  margin-bottom: 30px;
}

.section-head h2,
.media-copy h2,
.rfq-copy h2,
.page-hero h1 {
  margin: 0;
  font-size: 36px;
  line-height: 1.18;
}

.section-head p,
.media-copy p,
.rfq-copy p,
.page-hero p {
  color: var(--muted);
  line-height: 1.8;
}

.section-head--inverse p {
  color: rgba(255, 255, 255, 0.72);
}

.product-grid,
.article-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.product-card,
.article-card,
.rfq-form,
.rfq-hint {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 34px rgba(31, 46, 36, 0.08);
}

.product-card {
  min-height: 520px;
  overflow: hidden;
}

.product-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.product-card div {
  padding: 20px;
}

.product-card h3,
.article-card h3,
.article-card h2,
.process-line h3 {
  margin: 0 0 10px;
  font-size: 20px;
  line-height: 1.35;
}

.product-card p,
.article-card p,
.process-line p {
  color: var(--muted);
  line-height: 1.7;
}

.card-index {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  border-radius: 50%;
  background: var(--mint);
  color: var(--green);
  font-weight: 900;
}

.process-line {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  overflow: hidden;
}

.process-line article {
  min-height: 250px;
  padding: 22px;
  background: #1d2b22;
}

.process-line span {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  margin-bottom: 34px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--ink);
  font-weight: 900;
}

.process-line p {
  color: rgba(255, 255, 255, 0.74);
}

.media-section,
.rfq-section {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 28px;
  align-items: center;
}

.video-frame {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: var(--shadow);
}

.video-frame img,
.video-frame video {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.video-badge {
  position: absolute;
  left: 18px;
  bottom: 18px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 8px;
  font-weight: 800;
}

.rfq-hint {
  margin-top: 24px;
  padding: 18px;
  border-left: 5px solid var(--coral);
}

.rfq-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 22px;
}

label {
  display: grid;
  gap: 8px;
  color: #2f3a32;
  font-weight: 700;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid #cfd8cf;
  border-radius: 8px;
  background: #fff;
  padding: 12px 13px;
  color: var(--ink);
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--green);
  outline: 3px solid rgba(31, 122, 77, 0.16);
}

.span-2 {
  grid-column: 1 / -1;
}

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

.article-card {
  display: block;
  overflow: hidden;
}

.article-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.article-card span,
.article-card h3,
.article-card h2,
.article-card p {
  margin-left: 18px;
  margin-right: 18px;
}

.article-card span {
  display: block;
  margin-top: 18px;
  color: var(--coral);
  font-size: 13px;
  font-weight: 800;
}

.article-card p {
  margin-bottom: 20px;
}

.page-hero {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 88px 0 40px;
}

.page-hero--small {
  min-height: 220px;
  padding-bottom: 16px;
}

.page-hero + .section {
  padding-top: 36px;
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.language-switch {
  position: relative;
}

.language-button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
  font-weight: 700;
}

.globe-icon {
  position: relative;
  display: inline-block;
  width: 22px;
  height: 22px;
  border: 2px solid var(--blue);
  border-radius: 50%;
}

.globe-icon::before,
.globe-icon::after {
  content: "";
  position: absolute;
  inset: 3px;
  border: 1px solid var(--blue);
  border-top-color: transparent;
  border-bottom-color: transparent;
  border-radius: 50%;
}

.globe-icon::after {
  inset: 9px 2px;
  border-left: 0;
  border-right: 0;
  border-top-color: var(--blue);
  border-bottom-color: var(--blue);
  border-radius: 0;
}

.language-menu {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  display: none;
  width: 280px;
  padding: 12px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.language-menu.is-open {
  display: grid;
  gap: 6px;
}

.language-menu a {
  display: grid;
  gap: 6px;
  padding: 12px;
  border-radius: 8px;
}

.language-menu a:hover,
.language-menu a.is-active {
  background: #eef6f1;
}

.language-menu small {
  color: var(--muted);
}

.join-hero {
  position: relative;
  min-height: 430px;
  display: flex;
  align-items: center;
  padding: 70px max(24px, calc((100% - 1180px) / 2));
  color: var(--white);
  overflow: hidden;
}

.join-hero__image {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(12, 20, 14, 0.9), rgba(12, 20, 14, 0.56), rgba(12, 20, 14, 0.14)),
    url("/assets/img/workshop-02.jpg") center / cover;
}

.join-hero__content {
  max-width: 760px;
}

.join-hero h1 {
  margin: 0;
  font-size: 48px;
  line-height: 1.12;
}

.join-hero p:not(.eyebrow) {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
  line-height: 1.8;
}

.job-search-card {
  width: min(780px, calc(100% - 32px));
  margin: -34px auto 0;
  position: relative;
  z-index: 2;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.job-search {
  display: grid;
  grid-template-columns: 34px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 14px;
}

.search-icon {
  position: relative;
  width: 22px;
  height: 22px;
  border: 2px solid #8b948d;
  border-radius: 50%;
}

.search-icon::after {
  content: "";
  position: absolute;
  width: 9px;
  height: 2px;
  right: -7px;
  bottom: 0;
  background: #8b948d;
  transform: rotate(45deg);
}

.join-board {
  width: min(1040px, calc(100% - 32px));
  margin: 64px auto 0;
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 30px;
}

.join-filter,
.job-card,
.join-info__panel,
.join-principles article {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(31, 46, 36, 0.08);
}

.join-filter {
  align-self: start;
  padding: 20px;
  position: sticky;
  top: 96px;
}

.filter-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.filter-head span,
.job-meta {
  color: var(--muted);
}

.filter-block {
  margin-top: 24px;
}

.filter-block h2 {
  margin: 0 0 12px;
  font-size: 16px;
}

.check-row {
  display: flex;
  grid-template-columns: none;
  align-items: center;
  gap: 10px;
  margin: 10px 0;
  font-weight: 500;
}

.check-row input {
  width: 18px;
  height: 18px;
  accent-color: var(--green);
}

.job-list {
  display: grid;
  gap: 16px;
}

.job-list__head h2 {
  margin: 0 0 8px;
  font-size: 34px;
}

.job-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 22px;
  align-items: center;
  padding: 22px;
}

.job-card h3 {
  margin: 0 0 8px;
  font-size: 22px;
}

.job-card p {
  color: var(--muted);
  line-height: 1.75;
}

.job-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.job-tags span {
  padding: 7px 10px;
  border-radius: 999px;
  background: #eef6f1;
  color: #2a6445;
  font-size: 13px;
}

.job-apply {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 86px;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 8px;
  background: var(--ink);
  color: var(--white);
  font-weight: 800;
}

.join-info {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.join-info__panel {
  padding: 24px;
}

.join-info__panel h2 {
  margin: 0;
}

.join-info__panel p {
  color: var(--muted);
  line-height: 1.75;
}

.join-principles {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.join-principles article {
  padding: 20px;
}

.join-principles span {
  display: inline-flex;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--yellow);
  font-weight: 900;
}

.join-principles p {
  color: #3e4b42;
  line-height: 1.75;
}

.editor-language-block + .editor-language-block {
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.article-page {
  width: min(900px, calc(100% - 32px));
  margin: 0 auto;
  padding: 72px 0;
}

.article-header h1 {
  margin: 0;
  font-size: 46px;
  line-height: 1.14;
}

.article-header p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.8;
}

.article-header img,
.article-header video {
  width: 100%;
  margin-top: 28px;
  border-radius: 8px;
  border: 1px solid var(--line);
}

.article-body {
  margin-top: 38px;
  padding: 32px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.article-body h2,
.article-body h3 {
  margin-top: 28px;
}

.article-body p,
.article-body li {
  color: #3c473f;
  line-height: 1.9;
}

.article-cta,
.message-page {
  margin-top: 28px;
  padding: 28px;
  background: #eaf5ee;
  border: 1px solid #c5e4d0;
  border-radius: 8px;
}

.message-page {
  width: min(760px, calc(100% - 32px));
  margin: 96px auto;
}

.toast {
  position: fixed;
  right: 18px;
  top: 92px;
  z-index: 30;
  max-width: 360px;
  padding: 14px 16px;
  background: var(--green);
  color: var(--white);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.site-footer {
  background: #111912;
  color: rgba(255, 255, 255, 0.82);
  padding: 48px max(16px, calc((100% - 1180px) / 2)) 26px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 0.8fr;
  gap: 28px;
}

.footer-grid h2 {
  color: var(--white);
  font-size: 18px;
}

.footer-grid a {
  display: block;
  margin: 10px 0;
}

.footer-logo {
  width: 120px;
  height: auto;
  margin-bottom: 14px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 13px;
}

@media (max-width: 980px) {
  .site-header__bar {
    grid-template-columns: 1fr auto;
  }

  .menu-button {
    display: block;
  }

  .site-nav {
    display: none;
    grid-column: 1 / -1;
    flex-direction: column;
    gap: 0;
    padding-bottom: 14px;
  }

  .site-nav.is-open {
    display: flex;
  }

  .phone-link {
    display: none;
  }

  .header-actions {
    grid-column: 1 / -1;
    justify-content: flex-start;
    padding-bottom: 12px;
  }

  .language-menu {
    left: 0;
    right: auto;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: 720px;
  }

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

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

  .process-line,
  .media-section,
  .rfq-section,
  .footer-grid,
  .join-board,
  .join-info,
  .join-principles {
    grid-template-columns: 1fr;
  }

  .join-filter {
    position: static;
  }
}

@media (max-width: 640px) {
  .site-header__bar {
    width: calc(100% - 20px);
    min-height: 68px;
  }

  .brand {
    min-width: 0;
  }

  .brand span {
    display: none;
  }

  .hero {
    min-height: 680px;
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero h1 {
    font-size: 34px;
  }

  .hero__lead {
    font-size: 16px;
  }

  .hero__metrics,
  .product-grid,
  .article-grid,
  .article-grid--wide,
  .rfq-form {
    grid-template-columns: 1fr;
  }

  .section,
  .quick-strip,
  .page-hero,
  .article-page,
  .job-search-card,
  .join-board {
    width: calc(100% - 24px);
  }

  .section {
    padding: 58px 0;
  }

  .section-head h2,
  .media-copy h2,
  .rfq-copy h2,
  .page-hero h1 {
    font-size: 30px;
  }

  .article-header h1 {
    font-size: 34px;
  }

  .article-body {
    padding: 22px;
  }

  .footer-bottom {
    display: grid;
  }

  .join-hero {
    min-height: 430px;
    padding-left: 16px;
    padding-right: 16px;
  }

  .join-hero h1 {
    font-size: 34px;
  }

  .job-search {
    grid-template-columns: 26px 1fr;
  }

  .job-search .button {
    grid-column: 1 / -1;
  }

  .job-card {
    grid-template-columns: 1fr;
  }
}
