:root {
  --ink: #1f1f1f;
  --charcoal: #2b2b2b;
  --muted: #6b6760;
  --bg: #faf8f4;
  --card: #ffffff;
  --line: #e8e3da;
  --accent: #d4531b;
  --accent-dark: #b44312;
  --accent-soft: #fdf0e8;
  --ok: #15803d;
  --radius: 14px;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--ink);
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--bg); line-height: 1.55; }
a { color: var(--accent-dark); }
img { max-width: 100%; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

/* header */
.site-header { background: rgba(250, 248, 244, .92); backdrop-filter: blur(8px); position: sticky; top: 0; z-index: 10; border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand img { height: 30px; display: block; }
.site-header nav { display: flex; gap: 22px; }
.site-header nav a { color: var(--charcoal); text-decoration: none; font-weight: 600; font-size: 15px; }
.site-header nav a:hover { color: var(--accent); }

/* hero */
.hero { background: var(--charcoal); color: #fff; position: relative; overflow: hidden; }
.hero::after { content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 83, 27, .55), rgba(212, 83, 27, 0) 70%); }
.hero-inner { padding: 64px 20px 72px; position: relative; z-index: 1; }
.eyebrow { text-transform: uppercase; letter-spacing: .18em; font-size: 12px; font-weight: 700; color: #f3b08e; }
.hero h1 { font-size: clamp(32px, 5vw, 52px); line-height: 1.08; margin: 10px 0 16px; font-weight: 800; letter-spacing: -.02em; max-width: 720px; }
.hero p { font-size: 18px; color: #d8d4cd; max-width: 620px; margin: 0 0 28px; }
.search { display: flex; flex-wrap: wrap; gap: 10px; background: #fff; padding: 10px; border-radius: 16px; max-width: 860px; box-shadow: 0 20px 50px rgba(0,0,0,.25); }
.search input, .search select { flex: 1 1 180px; border: 1px solid var(--line); border-radius: 10px; padding: 13px 14px; font: inherit; color: var(--ink); background: #fff; min-width: 0; }
.search button { flex: 0 0 auto; }
.stats-strip { display: flex; gap: 34px; margin-top: 30px; flex-wrap: wrap; color: #d8d4cd; font-size: 14px; }
.stats-strip b { display: block; color: #fff; font-size: 26px; font-weight: 800; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 10px; padding: 13px 22px;
  font: inherit; font-weight: 700; cursor: pointer; text-decoration: none; transition: .15s; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); }
.btn-ghost { background: transparent; color: var(--charcoal); border: 1px solid var(--line); }
.btn:disabled { opacity: .6; cursor: default; }

/* job list */
.section { padding: 44px 0 64px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 18px; gap: 12px; flex-wrap: wrap; }
.section-head h2 { margin: 0; font-size: 26px; letter-spacing: -.01em; }
.section-head .count { color: var(--muted); }
.jobs { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.job-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; text-decoration: none; color: inherit;
  display: flex; flex-direction: column; gap: 10px; transition: .15s; }
.job-card:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(43, 43, 43, .08); border-color: #d9d2c6; }
.job-card .where { font-size: 13px; font-weight: 700; color: var(--accent-dark); text-transform: uppercase; letter-spacing: .06em; }
.job-card h3 { margin: 0; font-size: 20px; line-height: 1.25; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { background: #f3efe8; border-radius: 999px; padding: 4px 10px; font-size: 13px; color: #4b4740; }
.job-card .foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--muted); padding-top: 8px; }
.job-card .foot .go { color: var(--accent); font-weight: 700; }
.empty { background: var(--card); border: 1px dashed var(--line); border-radius: var(--radius); padding: 48px 20px; text-align: center; color: var(--muted); }

/* job detail */
.job-hero { background: var(--charcoal); color: #fff; padding: 40px 0 44px; }
.job-hero .back { color: #d8d4cd; text-decoration: none; font-size: 14px; }
.job-hero h1 { font-size: clamp(28px, 4vw, 42px); margin: 12px 0 14px; line-height: 1.12; letter-spacing: -.02em; }
.job-hero .tags .tag { background: rgba(255,255,255,.12); color: #fff; }
.job-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; padding: 36px 20px 64px; }
.content h2 { font-size: 20px; margin: 28px 0 8px; }
.content h2:first-child { margin-top: 0; }
.content p { margin: 0 0 12px; white-space: pre-line; }
.side-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; position: sticky; top: 88px; }
.side-card dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 14px; margin: 0 0 18px; font-size: 14px; }
.side-card dt { color: var(--muted); }
.side-card dd { margin: 0; font-weight: 600; text-align: right; }
.side-card .btn { width: 100%; }

/* apply form */
.apply { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; margin-top: 30px; }
.apply h2 { margin-top: 0; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field label, .q-title { font-weight: 600; font-size: 15px; }
.req { color: var(--accent); }
.field input[type=text], .field input[type=email], .field input[type=tel], .field input[type=number], .field textarea, .field select {
  border: 1px solid #d6d0c5; border-radius: 10px; padding: 12px 13px; font: inherit; background: #fff; width: 100%; }
.field input:focus, .field textarea:focus, .field select:focus { outline: 2px solid rgba(212, 83, 27, .35); border-color: var(--accent); }
.hint { font-size: 13px; color: var(--muted); }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice span { display: inline-block; border: 1px solid #d6d0c5; border-radius: 10px; padding: 10px 14px; background: #fff; font-size: 15px; }
.choice input:checked + span { background: var(--accent-soft); border-color: var(--accent); color: var(--accent-dark); font-weight: 600; }
.choice input:focus-visible + span { outline: 2px solid var(--accent); }
.question { padding: 16px 0; border-top: 1px solid var(--line); }
.drop { border: 2px dashed #d6d0c5; border-radius: 12px; padding: 20px; text-align: center; background: #fdfcfa; cursor: pointer; }
.drop.has-file { border-color: var(--ok); background: #f0fdf4; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; margin: 10px 0; }
.check input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--accent); }
.error { background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; border-radius: 10px; padding: 12px 14px; margin: 12px 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.success { text-align: center; padding: 70px 20px; }
.success .icon { width: 68px; height: 68px; border-radius: 50%; background: #dcfce7; color: var(--ok); display: inline-flex; align-items: center; justify-content: center; font-size: 34px; }
.prose { max-width: 760px; padding: 40px 20px 70px; }
.prose h1 { font-size: 34px; letter-spacing: -.02em; }

/* footer */
.site-footer { border-top: 1px solid var(--line); background: #fff; }
.footer-inner { display: flex; gap: 22px; align-items: center; padding: 26px 20px; color: var(--muted); font-size: 13px; flex-wrap: wrap; }
.footer-inner img { height: 26px; opacity: .8; }

@media (max-width: 860px) {
  .job-layout { grid-template-columns: 1fr; }
  .side-card { position: static; }
  .grid2 { grid-template-columns: 1fr; }
  .site-header nav a:last-child { display: none; }
}
