/* Posting view: dark hero, description prose, the sticky "Role snapshot" aside, the "Also hiring"
   slot and the not-accepting-applications block. posting.js fills the slots; description.js
   renders the description as h2 / p / ul blocks inside .prose. */

/* Hero */
.posting-hero { background: var(--ink); color: var(--white); }
.posting-hero .wrap { padding-block: clamp(28px, 4vw, 44px) clamp(40px, 5vw, 64px); }
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green);
}
.back-link:hover { color: var(--white); }
.posting-hero-head { margin-top: clamp(24px, 3vw, 38px); }
.posting-title {
  margin-top: 16px;
  font-stretch: 70%;
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(40px, 6.4vw, 84px);
  line-height: 0.94;
  letter-spacing: -0.015em;
  color: var(--white);
  text-wrap: balance;
}
.posting-hero-head .chips { margin-top: 24px; }
.posting-hero-head .chips:empty { display: none; }

/* Body grid */
.posting-grid {
  padding-block: clamp(40px, 5vw, 72px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(290px, 100%), 1fr));
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}
.prose { max-width: 66ch; }
.prose h2 {
  margin: 0 0 14px;
  font-stretch: 78%;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 22px;
  letter-spacing: 0.01em;
  color: var(--ink);
}
.prose * + h2 { margin-top: 34px; }
.prose p { margin: 0 0 16px; font-size: 17px; line-height: 1.7; color: var(--dark); text-wrap: pretty; }
.prose ul { margin: 0 0 24px; display: grid; gap: 14px; }
.prose li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: baseline;
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--dark);
}
.prose li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
  transform: translateY(-3px);
}
.prose > :last-child { margin-bottom: 0; }

/* Snapshot aside */
.posting-aside { position: sticky; top: 104px; }
.snapshot { border: 1px solid var(--line); border-top: 2px solid var(--ink); padding: clamp(22px, 2.6vw, 30px); }
.snapshot-title {
  margin-bottom: 18px;
  font-stretch: 78%;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 17px;
  color: var(--ink);
}
.snapshot-rows { display: grid; gap: 14px; margin-bottom: 24px; }
.snapshot-row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--faint);
}
.snapshot-row:last-child { padding-bottom: 0; border-bottom: 0; }
.snapshot-row dt {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mid);
}
.snapshot-row dd { font-size: 14.5px; font-weight: 600; color: var(--ink); text-align: right; }
.snapshot-row dd:empty::before { content: "—"; font-weight: 400; color: var(--mid); }
.snapshot-note { margin-top: 16px; font-size: 13.5px; line-height: 1.6; color: var(--mid); }

/* "Also hiring": posting.js adds <a> cards holding a .eyebrow line and an h3 title. */
.also-hiring { display: grid; gap: 16px; margin-top: 16px; }
.also-hiring:empty { display: none; }
.also-hiring a {
  display: block;
  border: 1px solid var(--line);
  padding: 20px 22px;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.also-hiring a:hover { border-color: var(--blue); background: var(--wash); }
.also-hiring .eyebrow, .also-hiring .mono-label { font-size: 10.5px; letter-spacing: 0.16em; }
.also-hiring h3 { margin-top: 10px; font-stretch: 80%; font-weight: 700; font-size: 18px; color: var(--ink); }

/* Role no longer accepting applications */
.posting-missing { border-bottom: 1px solid var(--line); }
.posting-missing-lede { margin-block: 18px 28px; }
