:root {
  --bg: #f3f6f4;
  --bg-deep: #dfeae3;
  --ink: #14231c;
  --muted: #4d6358;
  --accent: #0f7a5f;
  --accent-2: #c45c26;
  --card: rgba(255, 255, 255, 0.72);
  --line: rgba(20, 35, 28, 0.12);
  --shadow: 0 18px 40px rgba(20, 35, 28, 0.08);
  --radius: 18px;
  --font: "DM Sans", sans-serif;
  --display: "Fraunces", Georgia, serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font);
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 10% -10%, #c8e4d7 0%, transparent 55%),
    radial-gradient(900px 500px at 100% 0%, #f0d7c4 0%, transparent 45%),
    linear-gradient(180deg, var(--bg), var(--bg-deep));
  min-height: 100vh;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { width: min(1100px, calc(100% - 2rem)); margin: 0 auto; }
.site-header { position: sticky; top: 0; z-index: 20; backdrop-filter: blur(10px); background: rgba(243, 246, 244, 0.85); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.9rem 0; }
.brand { font-family: var(--display); font-size: 1.45rem; font-weight: 700; color: var(--ink); text-decoration: none; }
.nav { display: flex; flex-wrap: wrap; gap: 0.9rem; align-items: center; }
.nav a, .link-btn { color: var(--muted); font-weight: 500; text-decoration: none; background: none; border: 0; cursor: pointer; font: inherit; }
.nav a.active, .nav a:hover, .link-btn:hover { color: var(--ink); }
.nav-employer { padding: 0.35rem 0.75rem; border: 1px solid var(--line); border-radius: 999px; }

.hero {
  padding: 4.5rem 0 3rem;
  display: grid;
  gap: 1rem;
  animation: rise 0.7s ease both;
}
.hero h1 {
  font-family: var(--display);
  font-size: clamp(2.4rem, 6vw, 4rem);
  line-height: 1.05;
  margin: 0;
  max-width: 14ch;
}
.hero p { max-width: 42ch; color: var(--muted); font-size: 1.1rem; margin: 0; }
.cta-row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 0.5rem; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.75rem 1.2rem; border-radius: 999px; font-weight: 600;
  border: 1px solid transparent; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-1px); text-decoration: none; }
.btn-primary { background: var(--accent); color: #fff; box-shadow: var(--shadow); }
.btn-secondary { background: #fff; color: var(--ink); border-color: var(--line); }

.section { padding: 2rem 0 3.5rem; }
.section h2 { font-family: var(--display); margin: 0 0 1rem; font-size: 1.8rem; }
.job-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.job-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.15rem 1.2rem; box-shadow: var(--shadow); animation: rise 0.6s ease both;
}
.job-card h3 { margin: 0 0 0.35rem; font-size: 1.1rem; }
.meta { color: var(--muted); font-size: 0.92rem; }
.table-wrap { overflow-x: auto; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
table.jobs { width: 100%; border-collapse: collapse; }
table.jobs th, table.jobs td { padding: 0.85rem 1rem; text-align: left; border-bottom: 1px solid var(--line); }
table.jobs th { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--muted); }

.panel {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.4rem; box-shadow: var(--shadow); max-width: 720px;
}
.form-grid { display: grid; gap: 0.9rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.form-grid .full { grid-column: 1 / -1; }
label { display: grid; gap: 0.35rem; font-size: 0.92rem; font-weight: 600; }
input, select, textarea {
  width: 100%; padding: 0.7rem 0.8rem; border-radius: 12px;
  border: 1px solid var(--line); background: #fff; font: inherit; color: var(--ink);
}
.errors { color: #9b1c1c; margin: 0 0 1rem; }
.flash { margin: 1rem 0 0; padding: 0.8rem 1rem; border-radius: 12px; background: #dff3ea; color: #0f5132; }
.site-footer { border-top: 1px solid var(--line); margin-top: 2rem; }
.footer-inner { display: flex; justify-content: space-between; gap: 1rem; padding: 1.4rem 0; color: var(--muted); font-size: 0.92rem; }
.inline-form { display: inline; }
.prose { line-height: 1.65; color: var(--muted); }
.prose h1, .prose h2, .prose h3 { color: var(--ink); }

@keyframes rise {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 720px) {
  .form-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; }
}
