/* Styles for the generated static pages. Palette and type follow styles.css. */
:root {
  --bg:#f8f9f6;
  --surface:#fff;
  --surface-2:#f1f4ef;
  --text:#263b32;
  --muted:#59675a;
  --border:#e2e7df;
  --accent:#254f3e;
  --link:#2f5a43;
}

*,*::before,*::after {
  box-sizing:border-box;
}

body {
  margin:0;
  background:var(--bg);
  color:var(--text);
  font:16px/1.6 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  -webkit-text-size-adjust:100%;
  overflow-wrap:break-word;
}

a {
  color:var(--link);
  text-underline-offset:2px;
}

a:hover {
  color:#193f2e;
}

:focus-visible {
  outline:3px solid #6b9265;
  outline-offset:3px;
}

.skip-link {
  position:absolute;
  left:12px;
  top:-70px;
  z-index:10;
  padding:12px 20px;
  background:var(--accent);
  color:#fff;
  border-radius:8px;
}

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

.bar,main {
  width:100%;
  max-width:880px;
  margin:0 auto;
  padding-inline:20px;
}

.site-header {
  background:#f0f3ed;
  border-bottom:1px solid var(--border);
}

.site-header .bar {
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:space-between;
  gap:8px 24px;
  padding-block:14px;
}

.brand {
  display:inline-flex;
  align-items:center;
  gap:8px;
  color:#254633;
  font-size:24px;
  font-weight:750;
  letter-spacing:-1px;
  text-decoration:none;
}

.brand-mark {
  width:28px;
  height:30px;
  display:grid;
  place-items:center;
  padding-bottom:6px;
  border-radius:8px;
  background:#24493d;
  color:#fff;
  font:400 27px/1 Georgia,serif;
  letter-spacing:-2px;
}

.site-header ul,.site-footer ul,.chips,.role-list,.columns,.article-list,.breadcrumbs ol {
  margin:0;
  padding:0;
  list-style:none;
}

.site-header ul {
  display:flex;
  flex-wrap:wrap;
  gap:4px 4px;
}

.site-header nav a {
  display:block;
  padding:8px 10px;
  border-radius:7px;
  color:var(--text);
  font-size:14px;
  font-weight:550;
  text-decoration:none;
}

.site-header nav a:hover {
  background:#e5ebe0;
}

main {
  padding-block:20px 56px;
}

.breadcrumbs ol {
  display:flex;
  flex-wrap:wrap;
  gap:4px 0;
  margin-bottom:22px;
  color:var(--muted);
  font-size:13px;
}

.breadcrumbs li + li::before {
  content:"/";
  margin-inline:8px;
  color:#9aa694;
}

h1 {
  margin:0;
  font:400 clamp(28px,5vw,42px)/1.18 Georgia,"Times New Roman",serif;
  letter-spacing:-1px;
}

h2 {
  margin:0 0 12px;
  font-size:18px;
  line-height:1.3;
}

h3 {
  margin:22px 0 6px;
  font-size:16px;
}

p {
  margin:0 0 12px;
}

.lede {
  max-width:68ch;
  margin-top:12px;
  color:var(--muted);
  font-size:17px;
}

.intro {
  color:var(--text);
}

.fine,.role-meta,.byline {
  color:var(--muted);
  font-size:13px;
}

.block {
  margin-top:20px;
  padding:20px;
  border:1px solid var(--border);
  border-radius:12px;
  background:var(--surface);
}

.block > :last-child {
  margin-bottom:0;
}

.apply {
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:10px 16px;
  margin:20px 0 4px;
}

.btn-primary {
  display:inline-flex;
  align-items:center;
  min-height:46px;
  padding:10px 20px;
  border-radius:8px;
  background:var(--accent);
  color:#fff;
  font-weight:600;
  text-decoration:none;
}

.btn-primary:hover {
  background:#193f2e;
  color:#fff;
}

.facts {
  margin:0 0 12px;
}

.facts > div {
  display:grid;
  grid-template-columns:minmax(120px,200px) 1fr;
  gap:4px 16px;
  padding:9px 0;
  border-top:1px solid var(--border);
}

.facts > div:first-child {
  border-top:0;
  padding-top:0;
}

.facts dt {
  color:var(--muted);
  font-size:14px;
}

.facts dd {
  margin:0;
}

.role-list li,.article-list li {
  padding:12px 0;
  border-top:1px solid var(--border);
}

.role-list li:first-child,.article-list li:first-child {
  border-top:0;
  padding-top:0;
}

.role-title {
  font-weight:600;
}

.role-company {
  margin-left:4px;
}

.role-list .role-meta {
  display:block;
  margin-top:2px;
}

.article-list p {
  margin:6px 0 0;
}

.chips {
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}

.chips a,.chips span {
  display:inline-block;
  padding:7px 12px;
  border:1px solid var(--border);
  border-radius:999px;
  background:var(--surface-2);
  font-size:14px;
  text-decoration:none;
}

.chips a:hover {
  border-color:#b8cbb0;
}

.columns {
  columns:3 200px;
  column-gap:24px;
}

.columns li {
  padding:4px 0;
  break-inside:avoid;
}

.prose > h2 {
  margin-top:34px;
  font-size:22px;
}

.prose > p,.prose > ul,.prose > ol {
  max-width:70ch;
}

.prose > ul,.prose > ol {
  padding-left:22px;
}

.prose li {
  margin-bottom:6px;
}

.prose table {
  display:block;
  max-width:100%;
  margin:16px 0;
  overflow-x:auto;
  border-collapse:collapse;
  font-size:14px;
}

.prose th,.prose td {
  padding:8px 12px;
  border:1px solid var(--border);
  text-align:left;
  vertical-align:top;
}

.prose th {
  background:var(--surface-2);
}

.byline {
  margin-top:10px;
}

.site-footer {
  border-top:1px solid var(--border);
  background:#f0f3ed;
  font-size:14px;
}

.site-footer .bar {
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(160px,1fr));
  gap:20px 32px;
  padding-block:28px;
}

.site-footer h2 {
  margin-bottom:8px;
  color:var(--muted);
  font-size:12px;
  letter-spacing:1.2px;
  text-transform:uppercase;
}

.site-footer li {
  padding:4px 0;
}

.site-footer .fine {
  grid-column:1 / -1;
  margin:0;
}

@media (max-width:560px) {
  .facts > div {
    grid-template-columns:1fr;
  }

  .site-footer .bar {
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

  .block {
    padding:16px;
  }

  .btn-primary {
    width:100%;
    justify-content:center;
  }
}
