/* TNW careers — DJI-style layout */
.tnw-careers { background: #fff; color: #111; }
.tnw-careers a { color: inherit; }

.tnw-careers-hero.hero {
  position: relative;
  min-height: 100vh;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background: #0b0b0b;
}
.tnw-careers-hero video,
.tnw-careers-hero img.hero-fallback {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.tnw-careers-hero::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.28) 0%, rgba(0,0,0,.22) 40%, rgba(0,0,0,.45) 100%);
  pointer-events: none;
}
.tnw-careers-hero-copy {
  position: relative; z-index: 2;
  min-height: 100vh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  padding: 96px 24px 72px;
  color: #fff;
}
.tnw-careers-hero h1 {
  margin: 0 0 36px;
  font-size: clamp(36px, 5.6vw, 72px);
  font-weight: 600;
  letter-spacing: -.03em;
  line-height: 1.18;
}
.tnw-careers-hero-actions { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }
.tnw-careers-btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 168px; height: 44px; padding: 0 22px;
  border-radius: 4px; font-size: 15px; font-weight: 600;
  text-decoration: none; cursor: pointer; border: 1px solid transparent;
  transition: opacity .2s, background .2s, color .2s, border-color .2s;
}
.tnw-careers-btn:hover { opacity: .86; }
.tnw-careers-btn.solid { background: #fff; color: #111; }
.tnw-careers-btn.ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.85); }
.tnw-careers-btn.ghost:hover { background: rgba(255,255,255,.12); }

.tnw-careers-kicker {
  font-size: 14px; font-weight: 500; letter-spacing: .08em;
  color: #666; margin: 0 0 12px;
}
.tnw-careers-title {
  margin: 0 0 14px;
  font-size: clamp(28px, 3.4vw, 44px);
  font-weight: 600; letter-spacing: -.03em; line-height: 1.2;
}
.tnw-careers-sub {
  margin: 0; font-size: 16px; line-height: 1.7; color: #666; max-width: 720px;
}

.tnw-careers-mission { padding: 88px 40px 40px; }
.tnw-careers-mission-head { max-width: 1280px; margin: 0 auto 40px; }
.tnw-careers-mission-grid {
  max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px;
}
.tnw-careers-mission-card {
  position: relative; overflow: hidden; border-radius: 8px;
  aspect-ratio: 4 / 5; background: #111; color: #fff;
  display: block;
}
.tnw-careers-mission-card img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .55s cubic-bezier(.2,.7,.3,1);
}
.tnw-careers-mission-card:hover img { transform: scale(1.04); }
.tnw-careers-mission-card > div {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 28px 24px 24px;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,.72));
}
.tnw-careers-mission-card h3 {
  margin: 0 0 10px; font-size: 22px; font-weight: 600; line-height: 1.3; white-space: pre-line;
}
.tnw-careers-mission-card span {
  font-size: 13px; opacity: .9; border-bottom: 1px solid rgba(255,255,255,.55);
}
.tnw-careers-life {

  position: relative; min-height: 720px;
  margin: 48px 0 0; overflow: hidden; background: #0b0b0b; color: #fff;
}
.tnw-careers-life video,
.tnw-careers-life img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; display: block;
}
.tnw-careers-life::after {
  content: ""; position: absolute; inset: 0;
  background: rgba(0,0,0,.38);
}
.tnw-careers-life-copy {
  position: relative; z-index: 1;
  max-width: 1280px; margin: 0 auto;
  min-height: 720px; padding: 80px 40px;
  display: flex; flex-direction: column; justify-content: flex-start;
}
.tnw-careers-life .tnw-careers-kicker { color: rgba(255,255,255,.72); }
.tnw-careers-life .tnw-careers-title { color: #fff; }
.tnw-careers-life .tnw-careers-sub { color: rgba(255,255,255,.82); margin-bottom: 28px; }
.tnw-careers-life .tnw-careers-btn.ghost { align-self: flex-start; }

.tnw-jobs { background: #fff; color: #222; min-height: 60vh; }
.tnw-jobs-banner { background: #f4f5f6; padding: 72px 24px 40px; text-align: center; }
.tnw-jobs-banner h1 {
  margin: 0; font-size: clamp(32px, 4vw, 48px); font-weight: 600; letter-spacing: -.03em;
}
.tnw-jobs-filters {
  position: sticky; top: 64px; z-index: 20;
  background: #fff; box-shadow: 0 1px 0 rgba(0,0,0,.06);
  padding: 18px 24px;
}
.tnw-jobs-filters-inner {
  max-width: 980px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
}
.tnw-jobs-filters select,
.tnw-jobs-filters input {
  width: 100%; height: 44px; padding: 0 12px;
  border: 1px solid #ddd; border-radius: 4px;
  font: 400 14px/1.4 var(--font); background: #fff; color: #222;
}
.tnw-jobs-list { max-width: 980px; margin: 0 auto; padding: 8px 24px 64px; }
.tnw-job-card {
  display: flex; gap: 18px; align-items: center;
  padding: 22px 8px; border-bottom: 1px solid #eee; color: inherit;
}
.tnw-job-card:hover { background: #fafafa; }
.tnw-job-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%; background: #f3f6fb; color: var(--accent);
}
.tnw-job-icon svg { width: 22px; height: 22px; }
.tnw-job-card h3 { margin: 0 0 8px; font-size: 18px; font-weight: 600; line-height: 1.35; }
.tnw-job-meta { display: flex; gap: 18px; flex-wrap: wrap; color: #777; font-size: 13px; }
.tnw-job-meta span { display: inline-flex; align-items: center; gap: 6px; }
.tnw-jobs-empty { padding: 48px 8px; text-align: center; color: #777; }
.tnw-jobs-mail {
  display: block; max-width: 980px; margin: 0 auto 72px;
  padding: 28px 24px; text-align: center;
  background: #f7f8f9; color: #444; font-size: 15px; line-height: 1.7;
}
.tnw-jobs-mail a { color: var(--accent); font-weight: 600; }

.tnw-job-detail { background: #f6f7f8; padding: 48px 24px 96px; }
.tnw-job-well {
  max-width: 920px; margin: 0 auto; background: #fff;
  border-radius: 8px; padding: 48px 48px 56px;
  box-shadow: 0 8px 30px rgba(0,0,0,.04);
}
.tnw-job-crumb { font-size: 13px; color: #888; margin-bottom: 18px; }
.tnw-job-crumb a:hover { color: var(--accent); }
.tnw-job-well h1 {
  margin: 0 0 28px; text-align: center;
  font-size: clamp(24px, 3vw, 34px); font-weight: 600; line-height: 1.3;
}
.tnw-job-facts {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
  text-align: center; margin-bottom: 28px;
}
.tnw-job-facts small { display: block; color: #888; font-size: 12px; margin-bottom: 6px; }
.tnw-job-facts strong { font-size: 16px; font-weight: 600; }
.tnw-job-well hr { border: 0; border-top: 1px solid #eee; margin: 24px 0; }
.tnw-job-well article h4 { margin: 0 0 10px; font-size: 16px; }
.tnw-job-well article p {
  margin: 0; white-space: pre-wrap; word-wrap: break-word;
  font-size: 14px; line-height: 1.8; color: #333;
}
.tnw-job-apply { display: flex; justify-content: center; margin-top: 28px; }
.tnw-job-apply .tnw-careers-btn.solid {
  background: var(--accent); color: #fff; min-width: 200px; height: 48px; border: 0;
}

.tnw-apply-modal {
  position: fixed; inset: 0; z-index: 80;
  background: rgba(17,17,17,.46);
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
}
.tnw-apply-modal[hidden] { display: none !important; }
body.tnw-apply-open { overflow: hidden; }
.tnw-apply-card {
  width: min(560px, 100%); max-height: calc(100vh - 48px);
  overflow: auto; background: #fff; border-radius: 12px;
  padding: 36px 32px 28px; position: relative;
  box-shadow: 0 18px 50px rgba(0,0,0,.16);
}
.tnw-apply-close {
  position: absolute; top: 12px; right: 14px;
  border: 0; background: none; font-size: 22px; cursor: pointer; color: #888;
}
.tnw-apply-kicker { margin: 0 0 8px; color: #888; font-size: 13px; }
.tnw-apply-card h2 { margin: 0 0 8px; font-size: 24px; font-weight: 600; }
.tnw-apply-note { margin: 0 0 20px; color: #c0352b; font-size: 12px; }
.tnw-apply-card form { display: flex; flex-direction: column; gap: 14px; }
.tnw-apply-card label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: #555; }
.tnw-apply-card input[type=text],
.tnw-apply-card input[type=email],
.tnw-apply-card input[type=tel],
.tnw-apply-card input[type=file] {
  width: 100%; border: 1px solid #e6e6e6; border-radius: 8px;
  padding: 10px 12px; font: inherit; background: #fff;
}
.tnw-apply-card small { color: #888; font-size: 12px; }
.tnw-apply-agree { flex-direction: row !important; align-items: flex-start; gap: 8px !important; }
.tnw-apply-agree input { margin-top: 3px; }
.tnw-apply-error { margin: 0; color: #c0352b; font-size: 13px; }
.tnw-apply-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 8px; }
.tnw-apply-actions .tnw-careers-btn.ghost.dark {
  background: #fff; color: #111; border: 1px solid #ddd;
}
.tnw-apply-honeypot {
  position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0;
}

.tnw-careers-modal {
  position: fixed; inset: 0; z-index: 500;
  background: rgba(0,0,0,.72);
  display: none; align-items: center; justify-content: center;
  padding: 24px;
}
.tnw-careers-modal.open { display: flex; }
.tnw-careers-modal video {
  width: min(1100px, 100%); max-height: 80vh; background: #000;
}
.tnw-careers-modal-close {
  position: absolute; top: 18px; right: 22px;
  background: none; border: 0; color: #fff; font-size: 28px; cursor: pointer;
}

@media (max-width: 959px) {
  .tnw-careers-mission { padding: 56px 16px 24px; }
  .tnw-careers-mission-grid { grid-template-columns: 1fr; }
  .tnw-careers-mission-card { aspect-ratio: 16 / 10; }
  .tnw-careers-life, .tnw-careers-life-copy { min-height: 520px; }
  .tnw-careers-life-copy { padding: 56px 20px; }
  .tnw-jobs-filters { top: 56px; }
  .tnw-jobs-filters-inner { grid-template-columns: 1fr; }
  .tnw-job-well { padding: 28px 18px 40px; }
  .tnw-job-facts { grid-template-columns: 1fr; }
}


