@font-face {
  font-family: "Satoshi-Regular";
  src: url("/assets/fonts/Satoshi-Regular.otf") format("opentype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Satoshi-Bold";
  src: url("/assets/fonts/Satoshi-Bold.otf") format("opentype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  --brand-primary: #8ab67b;
  --brand-primary-hover: #739f65;
  --brand-deep: #456f3b;
  --brand-dark: #17241c;
  --brand-dark-soft: #223128;
  --brand-text: #172019;
  --brand-muted: #667068;
  --brand-surface: #ffffff;
  --brand-mist: #f1f5ef;
  --brand-border: #dce4d9;
  --brand-warning: #876319;
  --radius-card: 22px;
  --radius-control: 12px;
  --shadow-card: 0 18px 50px rgba(24, 45, 29, 0.08);
  --font-display: "Satoshi-Bold", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-body: "Satoshi-Regular", "PingFang SC", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  color: var(--brand-text);
  background: var(--brand-surface);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
button, input, select, textarea { font: inherit; }
a { color: inherit; }
img { max-width: 100%; height: auto; }

.environment-banner {
  position: relative;
  z-index: 20;
  padding: 7px 16px;
  color: #fff7de;
  background: #74551a;
  text-align: center;
  font-size: 13px;
}

.site-header {
  position: absolute;
  z-index: 10;
  top: 0;
  left: 0;
  width: 100%;
  height: 95px;
  padding: 16px clamp(20px, 4vw, 72px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}
.environment-banner + .site-header { top: 35px; }
.site-header--solid { position: relative; color: var(--brand-text); background: var(--brand-surface); border-color: var(--brand-border); }
.brand { display: inline-flex; align-items: center; width: 154px; min-height: 44px; }
.brand img { display: block; width: 154px; }
.site-header nav { display: flex; gap: 10px; align-items: center; }
.site-header nav a, .language-toggle {
  min-width: 44px;
  min-height: 44px;
  padding: 9px 14px;
  border: 1px solid rgba(255,255,255,.32);
  border-radius: 999px;
  color: inherit;
  background: transparent;
  text-decoration: none;
  cursor: pointer;
}
.site-header--solid nav a { border-color: var(--brand-border); }
.site-header nav a:hover, .language-toggle:hover { background: rgba(255,255,255,.1); }

.hero {
  position: relative;
  min-height: clamp(620px, 78dvh, 720px);
  padding: 130px 0 56px;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background: var(--brand-dark);
}
.hero__media {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10,22,14,.94) 0%, rgba(17,36,22,.76) 46%, rgba(12,24,16,.26) 100%), url("/assets/brand/join-us-banner.jpg") center/cover no-repeat;
  transform: scale(1.015);
}
.hero__grid {
  position: absolute;
  inset: 0;
  opacity: .18;
  background-image: linear-gradient(rgba(255,255,255,.24) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.24) 1px, transparent 1px);
  background-size: 68px 68px;
  mask-image: linear-gradient(90deg, #000, transparent 74%);
}
.hero__content {
  position: relative;
  z-index: 1;
  width: min(980px, calc(100% - 40px));
  margin: 0 auto 0 clamp(20px, 8vw, 150px);
}
.eyebrow { margin: 0 0 16px; color: var(--brand-primary); font-size: 12px; font-weight: 700; letter-spacing: .2em; }
.hero h1 {
  margin: 0;
  max-width: 980px;
  font-family: var(--font-display);
  font-size: clamp(48px, 7vw, 96px);
  font-weight: 700;
  line-height: .98;
  letter-spacing: -.045em;
}
.hero__lead { max-width: 630px; margin: 28px 0 32px; color: rgba(255,255,255,.82); font-size: clamp(17px, 2vw, 21px); }
.hero__marker {
  position: absolute;
  right: clamp(20px, 4vw, 72px);
  bottom: 56px;
  padding: 10px 10px 10px 18px;
  border-left: 4px solid var(--brand-primary);
  color: rgba(255,255,255,.96);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.55;
  letter-spacing: .12em;
  text-shadow: 0 1px 8px rgba(0,0,0,.55);
  writing-mode: vertical-rl;
}
html[lang="en"] .hero__marker {
  max-width: 390px;
  writing-mode: horizontal-tb;
}

.button {
  min-height: 48px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform .2s ease, background-color .2s ease, border-color .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button--primary { color: #132015; background: var(--brand-primary); }
.button--primary:hover { background: var(--brand-primary-hover); }
.button--secondary { color: var(--brand-deep); background: transparent; border-color: var(--brand-primary); }
.button--secondary:hover { color: #fff; background: var(--brand-deep); border-color: var(--brand-deep); }
.button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, a:focus-visible { outline: 3px solid #ffd66b; outline-offset: 3px; }

.section-shell { padding: clamp(72px, 10vw, 140px) clamp(20px, 8vw, 150px); }
.section-heading { max-width: 1200px; margin: 0 auto 44px; display: grid; grid-template-columns: 1fr; }
.section-heading h2, .application h2 { margin: 0; font-family: var(--font-display); font-size: clamp(38px, 5vw, 64px); line-height: 1.05; letter-spacing: -.03em; }
.section-heading > p { margin: 0; color: var(--brand-muted); }

.roles { background: var(--brand-mist); }
.jobs-grid { max-width: 1200px; margin: auto; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.job-card { position: relative; min-height: 330px; display: grid; grid-template-columns: 44px 1fr; overflow: hidden; background: #fff; border: 1px solid var(--brand-border); border-radius: var(--radius-card); box-shadow: var(--shadow-card); }
.job-card__rail { position: relative; background: var(--brand-dark); }
.job-card__rail::before { content: ""; position: absolute; top: 0; left: 21px; width: 2px; height: 100%; background: var(--brand-primary); }
.job-card__rail span { position: absolute; top: 42px; left: 15px; width: 14px; height: 14px; border: 3px solid var(--brand-primary); border-radius: 50%; background: var(--brand-dark); }
.job-card__body { padding: 40px clamp(24px, 4vw, 44px) 36px; }
.job-card__eyebrow { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; color: var(--brand-deep); font-size: 12px; font-weight: 700; letter-spacing: .12em; }
.status-chip { display: inline-flex; padding: 4px 9px; border-radius: 999px; color: var(--brand-warning); background: #fff5d7; font-size: 11px; letter-spacing: normal; }
.job-card h3 { margin: 16px 0 10px; font-family: var(--font-display); font-size: clamp(30px, 4vw, 42px); line-height: 1.08; }
.job-card p { color: var(--brand-muted); }
.job-meta { display: flex; flex-wrap: wrap; gap: 8px; }
.job-meta span { padding: 5px 10px; border-radius: 999px; color: #4c5a50; background: #edf3eb; font-size: 12px; }
.empty-state { grid-column: 1 / -1; padding: 64px; text-align: center; background: #fff; border-radius: var(--radius-card); }

.application { max-width: 1500px; margin: auto; display: grid; grid-template-columns: minmax(240px, .7fr) minmax(0, 1.3fr); gap: clamp(40px, 7vw, 100px); }
.application__intro { position: sticky; top: 40px; align-self: start; }
.application__intro > p:not(.eyebrow) { color: var(--brand-muted); }
.application-form { padding: clamp(24px, 5vw, 52px); background: #fff; border: 1px solid var(--brand-border); border-radius: var(--radius-card); box-shadow: var(--shadow-card); }
fieldset { margin: 0 0 38px; padding: 0 0 38px; border: 0; border-bottom: 1px solid var(--brand-border); }
fieldset:last-of-type { margin-bottom: 20px; }
legend { width: 100%; margin-bottom: 20px; color: var(--brand-deep); font-weight: 700; font-size: 18px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.field { display: grid; gap: 7px; align-content: start; }
.field--wide { grid-column: 1 / -1; }
.field > span { font-size: 14px; font-weight: 600; }
.field b, .consent b { color: #a23b2f; }
input, select, textarea {
  width: 100%;
  min-height: 48px;
  padding: 11px 13px;
  color: var(--brand-text);
  background: #fbfcfb;
  border: 1px solid #cbd6c8;
  border-radius: var(--radius-control);
}
textarea { resize: vertical; }
.field-error { min-height: 18px; color: #9b3128; font-size: 12px; }
[aria-invalid="true"] { border-color: #b33e33; background: #fff8f7; }
.upload-field { min-height: 144px; padding: 24px; display: grid; place-items: center; gap: 4px; text-align: center; border: 1px dashed var(--brand-primary); border-radius: var(--radius-control); background: var(--brand-mist); cursor: pointer; }
.upload-field:hover { background: #e8f0e5; }
.upload-field__icon { color: var(--brand-deep); font-size: 32px; line-height: 1; }
.upload-field > span:last-of-type { color: var(--brand-muted); font-size: 13px; }
.upload-field input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.consent { min-height: 44px; margin-top: 20px; display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; }
.consent input { width: 20px; min-height: 20px; margin-top: 3px; }
.consent a { color: var(--brand-deep); font-weight: 700; }
.security-check {
  margin-top: 22px;
  padding: 16px 18px;
  display: grid;
  grid-template-columns: minmax(150px, .8fr) minmax(240px, 1.2fr);
  gap: 18px;
  align-items: center;
  border: 1px solid #cfe0ca;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(138,182,123,.18), rgba(255,255,255,.88)), #f4f8f2;
}
.security-check__copy { display: grid; gap: 2px; }
.security-check__copy span { color: var(--brand-deep); font-size: 10px; font-weight: 800; letter-spacing: .16em; }
.security-check__copy strong { font-size: 15px; line-height: 1.35; }
altcha-widget {
  display: block;
  min-width: 0;
  margin: 0;
  --altcha-max-width: 100%;
  --altcha-border-width: 1px;
  --altcha-border-radius: 12px;
  --altcha-color-base: #fff;
  --altcha-color-base-content: #172019;
  --altcha-color-neutral: #cbd6c8;
  --altcha-color-neutral-content: #456f3b;
  --altcha-color-primary: #456f3b;
  --altcha-color-primary-content: #fff;
  --altcha-color-success: #739f65;
  --altcha-color-success-content: #fff;
  --altcha-checkbox-border-color: #7f947d;
  --altcha-checkbox-size: 22px;
  --altcha-padding: .75rem .9rem;
  --altcha-shadow: none;
}
.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { min-height: 28px; color: var(--brand-deep); font-weight: 600; }
.form-status.is-error { color: #9b3128; }
.submit-row { display: flex; align-items: center; }
.button--submit:disabled { opacity: .65; cursor: wait; transform: none; }

footer { padding: 64px clamp(20px, 8vw, 150px) 28px; display: grid; grid-template-columns: 1fr auto; gap: 32px; color: rgba(255,255,255,.75); background: var(--brand-dark); }
footer img { width: 123px; filter: brightness(0) invert(1); }
footer p { max-width: 520px; }
footer > div:nth-child(2) { display: flex; flex-direction: column; gap: 8px; }
footer small { grid-column: 1 / -1; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); }

.document-page { background: var(--brand-mist); }
.legal-document { max-width: 820px; margin: 72px auto; padding: clamp(28px, 5vw, 64px); background: #fff; border-radius: var(--radius-card); box-shadow: var(--shadow-card); }
.legal-document h1 { font-family: var(--font-display); font-size: clamp(40px, 7vw, 64px); line-height: 1; }
.legal-document h2 { margin-top: 38px; font-size: 22px; }
.success-page { min-height: 100dvh; display: grid; place-items: center; padding: 24px; background: var(--brand-dark); }
.success-card { width: min(620px, 100%); padding: clamp(32px, 7vw, 72px); text-align: center; background: #fff; border-radius: var(--radius-card); }
.success-mark { width: 68px; height: 68px; margin: 0 auto 24px; display: grid; place-items: center; color: #fff; background: var(--brand-deep); border-radius: 50%; font-size: 32px; }
.success-card h1 { margin: 0; font-family: var(--font-display); font-size: clamp(44px, 8vw, 72px); line-height: 1; }
.application-id { margin: 28px auto; padding: 15px; display: block; color: var(--brand-deep); background: var(--brand-mist); border: 1px solid var(--brand-border); border-radius: var(--radius-control); font-size: clamp(20px, 5vw, 30px); letter-spacing: .04em; }
.success-note { color: var(--brand-muted); font-size: 13px; }

@media (max-width: 820px) {
  .site-header { height: 78px; padding: 12px 20px; }
  .brand, .brand img { width: 126px; }
  .site-header nav a, .language-toggle { padding: 8px 11px; font-size: 13px; }
  .hero { min-height: 680px; padding: 116px 0 48px; }
  .hero__content { margin: 0 20px; }
  .hero__marker,
  html[lang="en"] .hero__marker {
    left: 20px;
    right: 20px;
    bottom: 20px;
    max-width: none;
    padding: 10px 0 0;
    border-top: 3px solid var(--brand-primary);
    border-left: 0;
    font-size: 12px;
    writing-mode: horizontal-tb;
  }
  .hero__media { background-position: 62% center; }
  .section-heading, .application { grid-template-columns: 1fr; }
  .section-heading { gap: 20px; }
  .jobs-grid { grid-template-columns: 1fr; }
  .application__intro { position: static; }
}

@media (max-width: 560px) {
  .environment-banner { font-size: 11px; }
  .environment-banner + .site-header { top: 32px; }
  .site-header nav a { max-width: 88px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .hero h1 { font-size: clamp(42px, 13vw, 62px); }
  .hero__lead { font-size: 17px; }
  .section-shell { padding-inline: 18px; }
  .job-card { grid-template-columns: 32px 1fr; }
  .job-card__rail::before { left: 15px; }
  .job-card__rail span { left: 9px; }
  .job-card__body { padding: 30px 22px; }
  .form-grid { grid-template-columns: 1fr; }
  .field--wide { grid-column: auto; }
  .application-form { padding: 24px 18px; border-radius: 18px; }
  .security-check { grid-template-columns: 1fr; gap: 10px; padding: 15px; }
  .submit-row { align-items: stretch; flex-direction: column; }
  .button--submit { width: 100%; min-height: 54px; }
  footer { grid-template-columns: 1fr; }
  footer small { grid-column: 1; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
