*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --black: #2a2a2a;
  --white: #fff;
  --offwhite: #f7f7f4;
  --gray-1: #3d3d3d;
  --gray-2: #666;
  --gray-3: #999;
  --gray-4: #e0e0dc;
  --green: #5a9642;
  --green-dk: #3f7030;
  --green-lt: #eaf4e4;
  --border: rgba(0, 0, 0, .09);
}
html { scroll-behavior: smooth; }
body {
  min-height: 100vh;
  background: var(--offwhite);
  color: var(--black);
  font-family: "DM Sans", sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
.site-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  height: 72px;
  padding: 0 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, .97);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
}
.nav-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.nav-mark { width: 42px; height: 42px; }
.nav-wordmark { display: flex; flex-direction: column; line-height: 1; }
.nav-wordmark strong {
  font: 500 1.4rem "Playfair Display", serif;
  letter-spacing: -.01em;
}
.nav-wordmark span {
  margin-top: 3px;
  color: var(--gray-2);
  font-size: .58rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
}
.nav-links { display: flex; align-items: center; gap: 2rem; list-style: none; }
.nav-links a {
  color: var(--gray-2);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .07em;
  text-decoration: none;
  text-transform: uppercase;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--green); }
.nav-cta {
  padding: .55rem 1.25rem;
  border-radius: 3px;
  background: var(--green);
  color: var(--white) !important;
}
.page-hero {
  padding: 6.5rem 4rem 5rem;
  background:
    radial-gradient(ellipse 52% 90% at 94% 5%, rgba(90, 150, 66, .24) 0%, rgba(90, 150, 66, .08) 42%, transparent 72%),
    radial-gradient(ellipse 42% 70% at 4% 100%, rgba(90, 150, 66, .14) 0%, transparent 68%),
    #f7f3ec;
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.hero-inner, .content-wrap { width: min(1120px, 100%); margin: 0 auto; position: relative; z-index: 1; }
.eyebrow {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 1rem;
  color: var(--green);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
}
h1, h2, h3 { font-family: "Playfair Display", serif; font-weight: 500; }
h1 { max-width: 850px; font-size: clamp(2.5rem, 5vw, 4.5rem); line-height: 1.08; letter-spacing: -.02em; }
.hero-copy { max-width: 650px; margin-top: 1.25rem; color: var(--gray-2); font-size: 1.02rem; font-weight: 300; line-height: 1.8; }
.content-wrap { padding: 4.5rem 0 6rem; }
.search-wrap { margin-bottom: 2rem; }
.search-wrap label { display: block; margin-bottom: .6rem; color: var(--gray-2); font-size: .75rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.search-wrap input {
  width: 100%;
  padding: 1rem 1.15rem;
  border: 1px solid var(--gray-4);
  border-radius: 3px;
  background: var(--white);
  color: var(--black);
  font: inherit;
  outline: none;
}
.search-wrap input:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(90, 150, 66, .12); }
.jobs-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
.job-card {
  min-height: 270px;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, .75fr);
  background: var(--white);
  border: 1px solid var(--gray-4);
  border-radius: 3px;
  text-decoration: none;
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.job-card:hover { transform: translateY(-2px); border-color: rgba(90, 150, 66, .55); box-shadow: 0 10px 30px rgba(0, 0, 0, .05); }
.job-card-main { padding: 2.3rem 2.5rem; display: flex; flex-direction: column; }
.card-eyebrow, .job-highlights > p {
  margin-bottom: .7rem;
  color: var(--green);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.job-card h2 { margin-bottom: .9rem; font-size: 1.55rem; line-height: 1.25; }
.job-meta { display: flex; flex-wrap: wrap; gap: .55rem; margin-bottom: 1.5rem; }
.meta-pill { padding: .32rem .65rem; background: var(--green-lt); color: var(--green-dk); border-radius: 2px; font-size: .76rem; font-weight: 500; }
.job-summary { max-width: 680px; margin-bottom: 1.6rem; color: var(--gray-2); font-size: .94rem; line-height: 1.7; }
.job-card .view-role { margin-top: auto; color: var(--green); font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.job-highlights {
  padding: 2.3rem 2.2rem;
  background: linear-gradient(145deg, rgba(234, 244, 228, .82), rgba(247, 243, 236, .7));
  border-left: 1px solid rgba(90, 150, 66, .18);
}
.job-highlights ul { list-style: none; }
.job-highlights li { position: relative; padding-left: 1.2rem; color: var(--gray-1); font-size: .85rem; line-height: 1.55; }
.job-highlights li + li { margin-top: .8rem; }
.job-highlights li::before { content: ""; position: absolute; left: 0; top: .55em; width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
.empty-state { padding: 3rem; text-align: center; background: var(--white); border: 1px solid var(--gray-4); color: var(--gray-2); }
.breadcrumb { margin-bottom: 1.2rem; color: var(--green); font-size: .8rem; font-weight: 600; text-decoration: none; }
.detail-meta { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.5rem; }
.share-job-button {
  margin-top: 1.3rem;
  padding: .62rem .9rem;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  border: 1px solid rgba(90, 150, 66, .45);
  border-radius: 3px;
  background: rgba(255, 255, 255, .62);
  color: var(--green-dk);
  cursor: pointer;
  font: 700 .72rem "DM Sans", sans-serif;
  letter-spacing: .06em;
  text-transform: uppercase;
  transition: background .2s, border-color .2s;
}
.share-job-button:hover { background: var(--white); border-color: var(--green); }
.share-job-button svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) 350px; gap: 3rem; align-items: start; }
.job-description { padding: 2.5rem; background: var(--white); border: 1px solid var(--gray-4); }
.job-description h2 { margin: 2.25rem 0 .9rem; font-size: 1.6rem; }
.job-description h2:first-child { margin-top: 0; }
.job-description h3 { margin: 1.7rem 0 .7rem; font-size: 1.2rem; }
.job-description p, .job-description li { color: var(--gray-1); font-size: .96rem; line-height: 1.75; }
.job-description p + p { margin-top: 1rem; }
.job-description ul, .job-description ol { margin: .75rem 0 1rem 1.35rem; }
.job-description li + li { margin-top: .45rem; }
.apply-panel { position: sticky; top: 96px; padding: 2rem; background: var(--white); border-top: 3px solid var(--green); box-shadow: 0 8px 28px rgba(0, 0, 0, .05); }
.apply-panel h2 { margin-bottom: .6rem; font-size: 1.55rem; }
.apply-panel > p { margin-bottom: 1.4rem; color: var(--gray-2); font-size: .88rem; line-height: 1.6; }
.form-field { margin-bottom: 1rem; }
.form-field label { display: block; margin-bottom: .4rem; color: var(--gray-1); font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.form-field input, .form-field textarea {
  width: 100%;
  padding: .75rem .8rem;
  border: 1px solid var(--gray-4);
  border-radius: 2px;
  background: var(--offwhite);
  font: inherit;
}
.form-field textarea { min-height: 100px; resize: vertical; }
.form-field input:focus, .form-field textarea:focus { border-color: var(--green); outline: none; }
.apply-button, .primary-button {
  display: inline-block;
  width: 100%;
  padding: .85rem 1rem;
  border: 0;
  border-radius: 3px;
  background: var(--green);
  color: var(--white);
  cursor: pointer;
  font: 700 .78rem "DM Sans", sans-serif;
  letter-spacing: .09em;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
}
.apply-button:hover, .primary-button:hover { background: var(--green-dk); }
.external-apply { margin-bottom: 1rem; }
.form-note { margin-top: .8rem; color: var(--gray-3); font-size: .72rem; line-height: 1.5; }
.site-footer { padding: 2.5rem 4rem; display: flex; justify-content: space-between; gap: 1.5rem; background: var(--black); color: rgba(255, 255, 255, .45); }
.site-footer a { color: inherit; text-decoration: none; }
.site-footer a:hover { color: var(--green); }
.footer-links { display: flex; gap: 1.5rem; list-style: none; font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; }
.center-card { max-width: 680px; margin: 4rem auto; padding: 3rem; background: var(--white); border: 1px solid var(--gray-4); text-align: center; }
.center-card h1 { font-size: 2.5rem; }
.center-card p { margin: 1rem 0 2rem; color: var(--gray-2); line-height: 1.7; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
[hidden] { display: none !important; }
@media (max-width: 1180px) { .content-wrap { padding-left: 2rem; padding-right: 2rem; } }
@media (max-width: 850px) {
  .site-nav { padding: 0 1.25rem; }
  .nav-links li:not(:last-child) { display: none; }
  .page-hero { padding: 4.5rem 1.5rem 3.5rem; }
  .content-wrap { padding: 3rem 1.25rem 4.5rem; }
  .jobs-grid, .detail-grid, .job-card { grid-template-columns: 1fr; }
  .job-highlights { border-top: 1px solid rgba(90, 150, 66, .18); border-left: 0; }
  .apply-panel { position: static; }
  .site-footer { padding: 2rem 1.5rem; flex-direction: column; }
}
@media (max-width: 520px) {
  .nav-wordmark { display: none; }
  .job-card-main, .job-highlights, .job-description, .apply-panel { padding: 1.4rem; }
}
