:root {
  --ink: #10233b;
  --ink-soft: #243a55;
  --muted: #5b6b7f;
  --paper: #f5f7fb;
  --surface: #ffffff;
  --surface-soft: #eef4fc;
  --green: #1557b0;
  --green-dark: #0d418b;
  --lime: #ffca3a;
  --lime-dark: #e7ad12;
  --line: #d8e0eb;
  --line-strong: #bdc9d8;
  --danger: #a62929;
  --success: #15724b;
  --white: #ffffff;
  --max: 1180px;
  --font-sans: "Segoe UI Variable", "Segoe UI", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: "Segoe UI Variable Display", "Segoe UI", Inter, ui-sans-serif, system-ui, sans-serif;
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(16, 35, 59, 0.05), 0 6px 18px rgba(16, 35, 59, 0.05);
  --shadow-md: 0 16px 42px rgba(16, 35, 59, 0.1);
  --shadow-lg: 0 30px 80px rgba(7, 31, 66, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  line-height: 1.6;
  scroll-behavior: smooth;
}

body {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  margin: 0;
  overflow-wrap: anywhere;
}

main {
  flex: 1;
}

img {
  height: auto;
  max-width: 100%;
}

a {
  color: var(--green);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--green-dark);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(255, 202, 58, 0.9);
  outline-offset: 3px;
}

button,
input,
select,
textarea {
  font: inherit;
}

.wrap {
  margin-inline: auto;
  max-width: var(--max);
  padding-inline: clamp(18px, 4vw, 32px);
  width: 100%;
}

.narrow {
  max-width: 900px;
}

.skip {
  background: var(--surface);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  left: 12px;
  padding: 11px 16px;
  position: fixed;
  top: -80px;
  z-index: 100;
}

.skip:focus {
  top: 12px;
}

.site-header {
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(189, 201, 216, 0.72);
  position: sticky;
  top: 0;
  z-index: 50;
}

@supports (backdrop-filter: blur(14px)) {
  .site-header {
    backdrop-filter: blur(14px);
    background: rgba(255, 255, 255, 0.88);
  }
}

.nav {
  align-items: center;
  display: flex;
  gap: 32px;
  justify-content: space-between;
  min-height: 76px;
}

.nav nav {
  align-items: center;
  display: flex;
  gap: 4px;
}

.nav nav a {
  border-radius: 999px;
  color: var(--ink-soft);
  font-size: 0.91rem;
  font-weight: 700;
  padding: 9px 12px;
  text-decoration: none;
  white-space: nowrap;
}

.nav nav a:hover,
.nav nav a[aria-current="page"] {
  background: var(--surface-soft);
  color: var(--green-dark);
}

.nav nav a:first-child {
  background: var(--green);
  color: var(--white);
  padding-inline: 17px;
}

.nav nav a:first-child:hover {
  background: var(--green-dark);
}

.brand {
  align-items: center;
  color: var(--ink);
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 1.25rem;
  font-weight: 850;
  gap: 10px;
  letter-spacing: -0.035em;
  text-decoration: none;
}

.brand:hover {
  color: var(--ink);
}

.brand-mark {
  display: block;
  filter: drop-shadow(0 5px 9px rgba(21, 87, 176, 0.18));
  flex: 0 0 auto;
}

.brand-wordmark {
  font-size: 1.25rem;
  font-weight: 850;
  line-height: 1;
}

.brand-tld {
  color: var(--green);
}

.hero {
  background:
    radial-gradient(circle at 82% 22%, rgba(92, 161, 255, 0.28), transparent 23rem),
    radial-gradient(circle at 10% 92%, rgba(255, 202, 58, 0.15), transparent 20rem),
    linear-gradient(135deg, #0c3d88 0%, #1557b0 54%, #1d66c7 100%);
  color: var(--white);
  overflow: hidden;
  padding: clamp(64px, 9vw, 106px) 0;
  position: relative;
}

.hero::after {
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 50%;
  content: "";
  height: 390px;
  position: absolute;
  right: -120px;
  top: -155px;
  width: 390px;
}

.hero .wrap {
  position: relative;
  z-index: 1;
}

.hero h1,
.page-head h1,
.job-hero h1,
.prose h1 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.03;
}

.hero h1 {
  font-size: clamp(3rem, 7vw, 5.4rem);
  margin: 0.14em 0 0.22em;
  max-width: 850px;
}

.hero > .wrap > p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.85);
  font-size: clamp(1.08rem, 2vw, 1.28rem);
  margin-bottom: 0;
  max-width: 640px;
}

.eyebrow {
  color: var(--green);
  font-size: 0.73rem;
  font-weight: 850;
  letter-spacing: 0.15em;
  margin: 0 0 10px;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #d9eaff;
}

.hero-search {
  margin-top: 34px;
  max-width: 780px;
}

.hero-search label {
  display: block;
  font-size: 0.91rem;
  font-weight: 750;
  margin-bottom: 9px;
}

.hero-search > div {
  align-items: stretch;
  background: var(--surface);
  border: 5px solid rgba(255, 255, 255, 0.19);
  border-radius: 15px;
  box-shadow: var(--shadow-lg);
  display: flex;
  overflow: hidden;
}

.hero-search input {
  border: 0;
  color: var(--ink);
  flex: 1;
  min-width: 0;
  padding: 17px 19px;
}

.hero-search input:focus {
  box-shadow: inset 0 0 0 2px var(--green);
  outline: 0;
}

.button,
button {
  align-items: center;
  background: var(--lime);
  border: 0;
  border-radius: var(--radius-sm);
  color: var(--ink);
  cursor: pointer;
  display: inline-flex;
  font-weight: 800;
  justify-content: center;
  min-height: 48px;
  padding: 13px 21px;
  text-decoration: none;
  transition: background-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.button:hover,
button:hover {
  background: #ffd65f;
  box-shadow: 0 8px 20px rgba(231, 173, 18, 0.2);
  color: var(--ink);
  transform: translateY(-1px);
}

.button:active,
button:active {
  box-shadow: none;
  transform: translateY(0);
}

.hero-search button {
  border-radius: 0;
  min-width: 150px;
}

.section {
  padding-block: clamp(44px, 7vw, 76px);
}

.section + .section {
  border-top: 1px solid rgba(216, 224, 235, 0.72);
}

.section-head {
  align-items: end;
  display: flex;
  gap: 20px;
  justify-content: space-between;
  margin-bottom: 24px;
}

.section-head h2,
.location-group h2,
.related > h2 {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3vw, 2.15rem);
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin: 0;
}

.section-head > a {
  font-weight: 750;
  white-space: nowrap;
}

.category-grid,
.cards {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.category {
  background: var(--surface);
  border: 1px solid rgba(189, 201, 216, 0.75);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  color: var(--ink);
  display: flex;
  flex-direction: column;
  gap: 20px;
  justify-content: space-between;
  min-height: 124px;
  padding: 24px;
  position: relative;
  text-decoration: none;
  transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.category::after {
  background: var(--surface-soft);
  border-radius: 50%;
  color: var(--green);
  content: "→";
  display: grid;
  font-size: 1.05rem;
  height: 32px;
  place-items: center;
  position: absolute;
  right: 19px;
  top: 18px;
  transition: background-color 0.16s ease, transform 0.16s ease;
  width: 32px;
}

.category:hover {
  border-color: rgba(21, 87, 176, 0.45);
  box-shadow: var(--shadow-md);
  color: var(--ink);
  transform: translateY(-3px);
}

.category:hover::after {
  background: var(--green);
  color: var(--white);
  transform: translateX(2px);
}

.category strong {
  font-size: 1.04rem;
  line-height: 1.3;
  max-width: calc(100% - 45px);
}

.category span {
  color: var(--muted);
  font-size: 0.9rem;
}

.job-card {
  background: var(--surface);
  border: 1px solid rgba(189, 201, 216, 0.78);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  padding: 25px;
  transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.job-card:hover {
  border-color: rgba(21, 87, 176, 0.36);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.job-card .eyebrow {
  margin-bottom: 8px;
}

.job-card .eyebrow a {
  background: var(--surface-soft);
  border-radius: 999px;
  display: inline-block;
  padding: 5px 9px;
  text-decoration: none;
}

.job-card h2 {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.2vw, 1.65rem);
  letter-spacing: -0.025em;
  line-height: 1.18;
  margin: 0.2rem 0 0.7rem;
}

.job-card h2 a {
  color: var(--ink);
  text-decoration: none;
}

.job-card h2 a:hover {
  color: var(--green);
}

.job-card p {
  margin: 0.25rem 0;
}

.job-card-employer a {
  color: var(--ink-soft);
  font-weight: 750;
  text-decoration: none;
}

.job-card-employer a:hover {
  color: var(--green);
}

.job-card-location {
  font-size: 0.9rem;
}

.muted {
  color: var(--muted);
}

.deadline {
  color: var(--ink-soft);
  font-size: 0.91rem;
  font-weight: 750;
  margin-top: 14px !important;
}

.page-head,
.job-hero {
  background:
    radial-gradient(circle at 88% 10%, rgba(21, 87, 176, 0.1), transparent 25rem),
    linear-gradient(180deg, #f3f7fc 0%, #eaf1f9 100%);
  border-bottom: 1px solid var(--line);
  overflow: clip;
}

.page-head {
  padding: clamp(46px, 7vw, 76px) 0;
}

.page-head .wrap {
  max-width: var(--max);
}

.page-head h1 {
  font-size: clamp(2.65rem, 6vw, 4.7rem);
  margin: 0.12em 0 0.22em;
  max-width: 980px;
}

.page-head p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.08rem;
  margin: 0.5rem 0 0;
  max-width: 780px;
}

.page-head p + p {
  font-size: 0.95rem;
}

.breadcrumbs {
  align-items: center;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  font-size: 0.86rem;
  gap: 8px;
  min-height: 52px;
  padding-block: 12px;
}

.breadcrumbs a {
  font-weight: 700;
  text-decoration: none;
}

.breadcrumbs span:not(:last-child) {
  color: #91a0b2;
}

.search-layout,
.job-layout {
  align-items: start;
  display: grid;
  gap: clamp(28px, 5vw, 54px);
  padding-block: clamp(36px, 6vw, 62px);
}

.search-layout > *,
.job-layout > *,
.job-hero-grid > * {
  min-width: 0;
}

.search-layout {
  grid-template-columns: minmax(240px, 290px) minmax(0, 1fr);
}

.search-layout > aside,
.facts {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 24px;
}

.search-layout > aside {
  position: sticky;
  top: 98px;
}

.filters p {
  display: grid;
  gap: 7px;
  margin: 0 0 17px;
}

.filter-disclosure > summary {
  display: none;
}

.filters label,
.stacked-form label {
  color: var(--ink-soft);
  font-size: 0.88rem;
  font-weight: 800;
}

.filters input,
.filters select,
.stacked-form input,
.stacked-form select,
.stacked-form textarea {
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  color: var(--ink);
  min-height: 46px;
  padding: 10px 12px;
  width: 100%;
}

.filters input:focus,
.filters select:focus,
.stacked-form input:focus,
.stacked-form select:focus,
.stacked-form textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(21, 87, 176, 0.1);
  outline: 0;
}

.filters button {
  width: 100%;
}

.filters > a {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  margin-top: 13px;
  text-align: center;
}

.result-count {
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  margin: 0 0 16px;
  text-transform: uppercase;
}

.cards.list {
  grid-template-columns: 1fr;
}

.cards.list .job-card {
  padding: clamp(22px, 4vw, 30px);
}

.pagination {
  display: flex;
  justify-content: flex-end;
  padding: 30px 0 0;
}

.pagination a {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  font-weight: 800;
  padding: 11px 16px;
  text-decoration: none;
}

.job-hero {
  padding: clamp(48px, 7vw, 82px) 0;
}

.job-hero-grid {
  align-items: center;
  display: grid;
  gap: clamp(32px, 6vw, 70px);
  grid-template-columns: minmax(0, 1fr) minmax(300px, 360px);
}

.job-hero h1 {
  font-size: clamp(2.7rem, 5.7vw, 5rem);
  margin: 0.12em 0 0.24em;
  max-width: 850px;
}

.job-hero .subtitle {
  color: var(--ink-soft);
  font-size: clamp(1.05rem, 2vw, 1.22rem);
  margin-bottom: 18px;
  max-width: 760px;
}

.job-hero p:last-child {
  color: var(--muted);
}

.apply-panel {
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid rgba(189, 201, 216, 0.78);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  gap: 15px;
  padding: 25px;
  text-align: left;
}

.apply-panel .button,
.apply-panel button {
  width: 100%;
}

.apply-panel small {
  color: var(--muted);
  font-size: 0.79rem;
  line-height: 1.55;
}

.job-layout {
  grid-template-columns: minmax(0, 1fr) minmax(270px, 320px);
}

.job-layout > article {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  padding: clamp(24px, 5vw, 44px);
}

.job-layout article section {
  padding-block: 10px 32px;
}

.job-layout article section + section {
  border-top: 1px solid var(--line);
  padding-top: 32px;
}

.job-layout article section:last-of-type {
  padding-bottom: 10px;
}

.job-layout h2,
.facts h2 {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 3vw, 1.9rem);
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin: 0 0 16px;
}

.job-layout article p,
.job-layout article li {
  color: var(--ink-soft);
}

.job-layout article ul,
.job-layout article ol {
  padding-left: 1.3rem;
}

.job-layout article li + li {
  margin-top: 0.42rem;
}

.facts {
  position: sticky;
  top: 98px;
}

.facts dl {
  margin: 0;
}

.facts dt {
  color: var(--muted);
  font-size: 0.73rem;
  font-weight: 850;
  letter-spacing: 0.09em;
  margin-top: 17px;
  text-transform: uppercase;
}

.facts dd {
  color: var(--ink-soft);
  font-weight: 650;
  margin: 2px 0;
}

.disclosure,
.preview,
.notice {
  background: #fff8df;
  border: 1px solid #f0d68a;
  border-left: 4px solid var(--lime-dark);
  border-radius: var(--radius-sm);
  color: #5f4a10;
  padding: 16px 18px;
}

.disclosure {
  margin-top: 28px;
}

.preview {
  border-radius: 0;
  text-align: center;
}

.salary-context {
  background: #edf7f2;
  border: 1px solid #c4e3d4;
  border-left: 4px solid var(--success);
  border-radius: var(--radius-sm);
  color: #24543e !important;
  font-size: 0.9rem;
  padding: 13px 15px;
}

.related {
  padding-top: 18px;
}

.related > h2 {
  margin-bottom: 24px;
}

.job-card-actions,
.job-detail-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-top: 19px;
}

.job-card-actions {
  border-top: 1px solid var(--line);
  margin-top: auto;
  padding-top: 18px;
}

.job-detail-actions {
  align-items: stretch;
  border-top: 1px solid var(--line);
  flex-direction: column;
  margin-top: 24px;
  padding-top: 20px;
}

.job-detail-actions a,
.job-detail-actions .text-button {
  border-radius: 7px;
  padding: 5px 7px;
  text-align: left;
  text-decoration: none;
}

.job-detail-actions a:hover,
.job-detail-actions .text-button:hover {
  background: var(--surface-soft);
  box-shadow: none;
  transform: none;
}

.text-button {
  background: transparent;
  color: var(--green);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 750;
  min-height: 0;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.text-button:hover {
  background: transparent;
  box-shadow: none;
  color: var(--green-dark);
  transform: none;
}

.text-button[aria-pressed="true"] {
  color: #7a3217;
}

.partner-attribution {
  align-items: center;
  background: #f7f9fc;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  display: flex;
  gap: 0.35rem;
  margin-top: 28px;
  min-height: 23px;
  padding: 0.7rem 0.85rem;
}

.partner-attribution img,
.card-attribution img {
  display: inline-block;
  height: 23px;
  max-width: 140px;
  object-fit: contain;
  vertical-align: middle;
  width: auto;
}

.card-attribution {
  font-size: 0.79rem;
  margin-bottom: 0;
  margin-top: 15px !important;
  min-height: 23px;
}

.prose {
  max-width: 850px;
  padding-block: clamp(52px, 8vw, 88px);
}

.prose h1 {
  font-size: clamp(2.7rem, 6vw, 4.5rem);
  margin: 0.12em 0 0.45em;
}

.prose h2 {
  font-family: var(--font-display);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-top: 2.4rem;
}

.prose p,
.prose li {
  color: var(--ink-soft);
}

.stacked-form {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  margin-top: 28px;
  max-width: 680px;
  padding: clamp(22px, 5vw, 36px);
}

.stacked-form p {
  display: grid;
  gap: 7px;
}

.stacked-form textarea {
  min-height: 130px;
  resize: vertical;
}

.stacked-form input[type="checkbox"] {
  min-height: 0;
  width: auto;
}

.stacked-form button + a {
  display: inline-block;
  font-weight: 700;
  margin-left: 16px;
}

.form-errors,
.errorlist {
  color: #8b1e1e;
}

.empty {
  background: var(--surface);
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-lg);
  grid-column: 1 / -1;
  padding: clamp(30px, 6vw, 60px);
  text-align: center;
}

.empty h2 {
  font-family: var(--font-display);
  margin-top: 0;
}

.gone-job {
  margin-inline: auto;
  max-width: 820px;
}

.gone-job h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 6vw, 4rem);
  letter-spacing: -0.04em;
  line-height: 1.02;
  margin: 12px 0 22px;
}

.gone-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 26px;
}

.button.button-secondary {
  background: var(--surface-soft);
  border: 1px solid var(--line-strong);
  color: var(--ink);
}

.comparison-wrap {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow-x: auto;
}

.comparison-table {
  background: var(--surface);
  border-collapse: collapse;
  min-width: 760px;
  width: 100%;
}

.comparison-table th,
.comparison-table td {
  border-bottom: 1px solid var(--line);
  padding: 17px;
  text-align: left;
  vertical-align: top;
}

.comparison-table tr:last-child th,
.comparison-table tr:last-child td {
  border-bottom: 0;
}

.comparison-table thead th {
  background: var(--surface-soft);
}

.comparison-table tbody th {
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.comparison-table td .text-button {
  display: block;
  margin-top: 10px;
}

.location-group + .location-group {
  border-top: 1px solid var(--line);
  margin-top: 48px;
  padding-top: 48px;
}

.location-group h2 {
  background: var(--green);
  border-radius: 9px;
  color: var(--white);
  display: inline-flex;
  font-size: 1rem;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
  min-width: 48px;
  padding: 8px 13px;
  text-align: center;
}

.site-messages {
  padding-block: 12px;
}

.site-message {
  background: #fff8df;
  border: 1px solid #f0d68a;
  border-left: 4px solid var(--lime-dark);
  border-radius: var(--radius-sm);
  margin: 0;
  padding: 12px 16px;
}

.site-message.success {
  background: #edf7f2;
  border-color: #c4e3d4;
  border-left-color: var(--success);
  color: #24543e;
}

.job-tool-status {
  background: var(--ink);
  border-radius: 999px;
  bottom: 20px;
  box-shadow: var(--shadow-lg);
  color: var(--white);
  left: 50%;
  margin: 0;
  max-width: calc(100% - 32px);
  padding: 11px 18px;
  position: fixed;
  transform: translateX(-50%);
  z-index: 60;
}

.job-tool-status:empty {
  display: none;
}

.bot-field {
  height: 1px;
  left: -10000px;
  overflow: hidden;
  position: absolute;
  top: auto;
  width: 1px;
}

footer {
  background:
    radial-gradient(circle at 88% 10%, rgba(60, 126, 220, 0.2), transparent 22rem),
    #0d1f36;
  color: var(--white);
  margin-top: auto;
  padding: 52px 0;
}

.footer-grid {
  align-items: start;
  display: grid;
  gap: 48px;
  grid-template-columns: minmax(260px, 1.2fr) minmax(360px, 1fr);
}

.footer-grid > div {
  max-width: 560px;
}

.footer-grid > div > strong {
  font-size: 1.18rem;
}

.footer-grid p {
  color: #b9c7d9;
  font-size: 0.88rem;
  margin-bottom: 0;
}

.footer-grid nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  justify-content: flex-end;
}

.footer-grid a {
  color: #e7eef7;
  font-size: 0.9rem;
  font-weight: 650;
  text-decoration-color: rgba(231, 238, 247, 0.35);
}

@media (max-width: 1060px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
    gap: 9px;
    padding-block: 14px 12px;
  }

  .nav nav {
    -ms-overflow-style: none;
    mask-image: linear-gradient(to right, #000 91%, transparent 100%);
    max-width: 100%;
    overflow-x: auto;
    padding-bottom: 3px;
    padding-right: 28px;
    scrollbar-width: none;
    width: 100%;
  }

  .nav nav::-webkit-scrollbar {
    display: none;
  }

  .site-header {
    position: static;
  }

  .search-layout > aside,
  .facts {
    top: 24px;
  }
}

@media (max-width: 860px) {
  .category-grid,
  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .search-layout,
  .job-layout,
  .job-hero-grid {
    grid-template-columns: 1fr;
  }

  .search-layout > aside,
  .facts {
    position: static;
  }

  .search-layout {
    gap: 24px;
  }

  .filter-disclosure > summary {
    align-items: center;
    color: var(--ink);
    cursor: pointer;
    display: flex;
    font-weight: 800;
    justify-content: space-between;
    list-style: none;
  }

  .filter-disclosure > summary::-webkit-details-marker {
    display: none;
  }

  .filter-disclosure > summary::after {
    color: var(--green);
    content: "+";
    font-size: 1.3rem;
    line-height: 1;
  }

  .filter-disclosure[open] > summary::after {
    content: "–";
  }

  .filter-disclosure[open] > summary {
    border-bottom: 1px solid var(--line);
    margin-bottom: 20px;
    padding-bottom: 16px;
  }

  .job-hero-grid {
    align-items: start;
  }

  .apply-panel {
    max-width: 620px;
  }

  .facts {
    display: grid;
    gap: 10px 28px;
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid nav {
    justify-content: flex-start;
  }
}

@media (max-width: 620px) {
  .wrap {
    padding-inline: 18px;
  }

  .brand-mark {
    height: 34px;
    width: 34px;
  }

  .brand-wordmark {
    font-size: 1.05rem;
  }

  .nav nav a {
    font-size: 0.84rem;
    padding: 8px 10px;
  }

  .hero {
    padding-block: 54px 62px;
  }

  .hero h1 {
    font-size: clamp(2.7rem, 13vw, 4rem);
  }

  .hero-search > div {
    background: transparent;
    border: 0;
    box-shadow: none;
    display: grid;
    gap: 10px;
    overflow: visible;
  }

  .hero-search input,
  .hero-search button {
    border-radius: 10px;
    min-height: 52px;
    width: 100%;
  }

  .page-head h1,
  .prose h1 {
    font-size: clamp(2.45rem, 12vw, 3.7rem);
    overflow-wrap: break-word;
    word-break: break-word;
  }

  .job-hero h1 {
    font-size: clamp(2.15rem, 8.8vw, 3.3rem);
    overflow-wrap: anywhere;
    word-break: normal;
  }

  .section-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .category-grid,
  .cards {
    grid-template-columns: 1fr;
  }

  .category {
    min-height: 112px;
  }

  .job-card,
  .search-layout > aside,
  .facts,
  .apply-panel {
    padding: 20px;
  }

  .job-layout > article {
    border-inline: 0;
    border-radius: 0;
    margin-inline: -18px;
  }

  .stacked-form button,
  .stacked-form button + a {
    margin: 10px 0 0;
    text-align: center;
    width: 100%;
  }

  .footer-grid {
    gap: 30px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

@media print {
  .site-header,
  footer,
  .apply-panel,
  .related,
  .job-card-actions,
  .job-detail-actions {
    display: none;
  }

  body,
  .job-hero,
  .page-head {
    background: #fff;
  }

  .job-layout {
    display: block;
  }

  .job-layout > article,
  .facts {
    border: 0;
    box-shadow: none;
    padding: 0;
  }
}
