:root {
  --paper-0: #ffffff;
  --paper-50: #fbf9f4;
  --paper-100: #f4f3ee;
  --paper-200: #ebe9e2;
  --ink-900: #2c2c2a;
  --ink-700: #444441;
  --ink-500: #5f5e5a;
  --line: #d8d5cc;
  --line-strong: #d3d1c7;
  --navy-900: #0e2440;
  --navy-700: #183e6b;
  --navy-500: #2e5a93;
  --navy-200: #b9cbe3;
  --navy-50: #e9eff6;
  --danger: #993c1d;
  --font-headline: "Fraunces", Georgia, "Times New Roman", serif;
  --font-sans: "Hanken Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-pill: 999px;
  --shadow-sm: 0 1px 2px rgba(20, 20, 18, .06);
  --shadow-md: 0 4px 16px rgba(20, 20, 18, .08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink-900);
  background: var(--paper-50);
  font: 400 16px/1.5 var(--font-sans);
  -webkit-font-smoothing: antialiased;
}
body.dialog-open { overflow: hidden; }
button, input, select { font: inherit; }
button, select { cursor: pointer; }
a { color: inherit; }
svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
[hidden] { display: none !important; }

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

:focus-visible {
  outline: 3px solid var(--navy-500);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 12px 18px;
  color: #fff;
  background: var(--navy-900);
  border-radius: var(--radius-md);
  transform: translateY(-160%);
}
.skip-link:focus { transform: none; }

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}
.header-inner {
  width: min(100% - 48px, 1240px);
  min-height: 84px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 20px;
}
.brand {
  width: 168px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
.brand img { display: block; width: 100%; height: auto; }
.product-name {
  padding-left: 20px;
  border-left: 1px solid var(--line);
  color: var(--ink-500);
  font-size: 15px;
  font-weight: 600;
}
.desktop-nav { display: flex; align-self: stretch; align-items: center; gap: 8px; margin-left: auto; }
.desktop-nav a, .nav-action {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  color: var(--ink-700);
  background: transparent;
  border: 0;
  border-radius: var(--radius-pill);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}
.desktop-nav a:hover, .nav-action:hover { background: var(--paper-100); }
.desktop-nav .active { color: var(--navy-700); background: var(--navy-50); }
.count-badge {
  min-width: 24px;
  height: 24px;
  display: inline-grid;
  place-items: center;
  padding: 0 7px;
  color: var(--navy-700);
  background: var(--navy-50);
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 700;
}
.account-actions { display: flex; align-items: center; gap: 8px; }
.mobile-safety-link { display: none; }

.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  transition: background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}
.button:hover { transform: translateY(-1px); }
.button-primary { color: #fff; background: var(--navy-700); box-shadow: 0 8px 18px rgba(14, 36, 64, .14); }
.button-primary:hover { background: var(--navy-900); }
.button-secondary { color: var(--navy-700); background: var(--paper-0); border-color: var(--line-strong); }
.button-secondary:hover { background: var(--navy-50); border-color: var(--navy-500); }
.button-ghost { color: var(--navy-700); background: transparent; }
.button-ghost:hover { background: var(--navy-50); }
.full-width { width: 100%; }

main { width: min(100% - 48px, 1240px); margin: 0 auto; }
.intro {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
  align-items: center;
  gap: 64px;
  min-height: 500px;
  padding: 72px 0 100px;
  color: var(--paper-0);
}
.intro::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  bottom: 0;
  left: calc(50% - 50vw);
  width: 100vw;
  background-color: var(--navy-900);
  background-image:
    radial-gradient(circle at 86% 18%, rgba(46, 90, 147, .46), transparent 34%),
    radial-gradient(circle, rgba(185, 203, 227, .22) 1px, transparent 1.2px);
  background-size: auto, 30px 30px;
}
.section-label {
  margin: 0 0 10px;
  color: var(--navy-500);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .1em;
}
.intro h1 {
  max-width: 760px;
  margin: 0;
  color: var(--paper-0);
  font-family: var(--font-headline);
  font-size: clamp(56px, 6.4vw, 88px);
  font-weight: 400;
  line-height: .96;
  letter-spacing: -.045em;
}
.intro .section-label { color: var(--navy-200); }
.intro-copy { max-width: 650px; margin: 24px 0 0; color: rgba(255, 255, 255, .78); font-size: 18px; line-height: 1.6; }
.employer-callout {
  min-height: 236px;
  align-self: center;
  padding: 32px;
  color: var(--paper-0);
  background: rgba(3, 20, 40, .54);
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: var(--radius-lg);
}
.employer-callout .callout-label {
  margin: 0;
  color: var(--navy-200);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.employer-callout h2 {
  margin: 14px 0 10px;
  color: var(--paper-0);
  font-family: var(--font-headline);
  font-size: 36px;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -.025em;
}
.employer-callout > p:last-of-type {
  margin: 0;
  color: rgba(255, 255, 255, .76);
  font-size: 16px;
  line-height: 1.55;
}
.employer-callout a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 28px;
  margin-top: 18px;
  padding: 0 2px;
  color: var(--paper-0);
  border-bottom: 1px solid var(--navy-200);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .08em;
  text-decoration: none;
  text-transform: uppercase;
}
.employer-callout a:hover { border-color: var(--paper-0); }
.employer-callout a span { font-size: 20px; transition: transform 160ms ease; }
.employer-callout a:hover span { transform: translateX(4px); }

.search-panel {
  position: relative;
  z-index: 2;
  margin-top: -44px;
  padding: 24px;
  background: var(--paper-0);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.search-row {
  display: grid;
  grid-template-columns: minmax(300px, 1.6fr) minmax(210px, .7fr) auto auto;
  align-items: end;
  gap: 12px;
}
.field { display: grid; gap: 8px; }
.field > span:first-child, .sort-field > span {
  color: var(--ink-700);
  font-size: 14px;
  font-weight: 700;
}
.input-shell { position: relative; display: block; }
.input-shell svg { position: absolute; left: 16px; top: 50%; color: var(--ink-500); transform: translateY(-50%); pointer-events: none; }
.field input[type="search"] {
  width: 100%;
  min-height: 52px;
  padding: 0 16px;
  color: var(--ink-900);
  background: var(--paper-0);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-md);
  font-size: 16px;
}
.field input[type="search"] { padding-left: 48px; }
.field input::placeholder { color: var(--ink-500); opacity: 1; }
.field input:focus {
  border-color: var(--navy-500);
  outline: 0;
  box-shadow: 0 0 0 3px rgba(46, 90, 147, .18);
}
.search-panel .button { min-height: 52px; white-space: nowrap; }
.filter-button .count-badge { color: #fff; background: var(--navy-700); }

.custom-select { position: relative; }
.select-trigger {
  width: 100%;
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 18px;
  color: var(--ink-900);
  background: var(--paper-0);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-md);
  font-size: 16px;
  text-align: left;
}
.select-trigger:hover { border-color: var(--navy-500); }
.select-trigger[aria-expanded="true"] {
  border-color: var(--navy-500);
  box-shadow: 0 0 0 3px rgba(46, 90, 147, .18);
}
.select-trigger[aria-expanded="true"] .select-chevron { transform: rotate(180deg); }
.select-chevron {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  margin-left: auto;
  transition: transform 160ms ease;
}
.select-menu {
  position: absolute;
  z-index: 50;
  top: calc(100% + 8px);
  left: 0;
  width: max(100%, 240px);
  max-height: 320px;
  overflow-y: auto;
  padding: 8px;
  background: var(--paper-0);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}
.select-menu-right { right: 0; left: auto; }
.select-menu [role="option"] {
  width: 100%;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 12px;
  color: var(--ink-900);
  background: transparent;
  border: 0;
  border-radius: var(--radius-sm);
  font-size: 15px;
  line-height: 1.35;
  text-align: left;
  cursor: pointer;
}
.select-menu [role="option"]:hover,
.select-menu [role="option"]:focus-visible { background: var(--paper-100); }
.select-menu [role="option"][aria-selected="true"] {
  color: var(--navy-700);
  background: var(--navy-50);
  font-weight: 700;
}
.select-menu [role="option"] svg { flex: 0 0 20px; opacity: 0; }
.select-menu [role="option"][aria-selected="true"] svg { opacity: 1; }

.filter-summary {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.filter-summary-title {
  flex: 0 0 auto;
  color: var(--ink-700);
  font-size: 14px;
  font-weight: 700;
}
.active-filters {
  min-height: 44px;
  display: flex;
  flex: 1 1 auto;
  flex-wrap: wrap;
  gap: 8px;
}
.filter-chip {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 0 0 16px;
  color: var(--navy-700);
  background: var(--navy-50);
  border: 1px solid var(--navy-200);
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 700;
}
.filter-chip button {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  display: grid;
  place-items: center;
  padding: 0;
  color: var(--navy-700);
  background: transparent;
  border: 0;
  border-radius: 50%;
  font-size: 22px;
}
.filter-chip button:hover { background: rgba(24, 62, 107, .08); }
.clear-active-filters {
  min-height: 44px;
  flex: 0 0 auto;
  padding: 0 12px;
  color: var(--navy-700);
  background: transparent;
  border: 0;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.clear-active-filters:hover { background: var(--navy-50); }

.jobs-section { padding: 80px 0 96px; scroll-margin-top: 90px; }
.results-header { display: flex; align-items: end; justify-content: space-between; gap: 32px; }
.results-header h2 { margin: 0; color: var(--navy-900); font-size: 30px; line-height: 1.2; }
.results-tools { display: flex; align-items: end; gap: 18px; }
.view-switch {
  min-height: 54px;
  display: flex;
  padding: 4px;
  background: var(--paper-100);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
}
.view-button {
  min-height: 44px;
  padding: 0 16px;
  color: var(--ink-700);
  background: transparent;
  border: 0;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 700;
}
.view-button.active { color: #fff; background: var(--navy-700); }
.sort-field { display: grid; gap: 7px; min-width: 190px; }
.sort-field .select-trigger { min-height: 48px; }

.jobs-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  margin-top: 32px;
}
.job-list { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.job-card {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  padding: 20px;
  background: var(--paper-0);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}
.job-card:hover { border-color: var(--navy-200); box-shadow: var(--shadow-sm); transform: translateY(-1px); }
.job-card.selected { background: var(--navy-50); border-color: var(--navy-500); box-shadow: inset 0 0 0 1px var(--navy-500); }
.job-card-main {
  min-width: 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 16px;
  padding: 0;
  color: inherit;
  background: transparent;
  border: 0;
  text-align: left;
}
.job-card-main:focus-visible { outline-offset: 7px; }
.job-card-copy {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(220px, .9fr) minmax(300px, 1.35fr) minmax(160px, .55fr);
  grid-template-areas:
    "title summary pay"
    "company summary pay"
    "meta summary pay";
  align-items: center;
  column-gap: 32px;
  row-gap: 4px;
}
.job-card-top { grid-area: title; display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.job-card-title { color: var(--navy-900); font-size: 18px; font-weight: 700; line-height: 1.25; }
.posted-time { flex: 0 0 auto; color: var(--ink-500); font-size: 13px; }
.company { grid-area: company; color: var(--navy-500); font-size: 14px; font-weight: 700; }
.card-summary { grid-area: summary; color: var(--ink-700); font-size: 16px; line-height: 1.5; }
.job-meta { grid-area: meta; display: flex; flex-wrap: wrap; gap: 7px; }
.meta-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--ink-700);
  font-size: 14px;
}
.meta-item + .meta-item::before { content: "·"; margin-right: 2px; color: var(--line-strong); }
.pay { grid-area: pay; justify-self: end; color: var(--ink-900); font-size: 16px; font-weight: 700; text-align: right; }
.company-logo {
  display: inline-grid;
  flex: 0 0 auto;
  place-items: center;
  overflow: hidden;
  color: #fff;
  border: 1px solid rgba(14, 36, 64, .12);
  border-radius: var(--radius-md);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -.02em;
}
.company-logo img { width: 68%; height: 68%; object-fit: contain; }
.logo-standard { width: 56px; height: 56px; }
.logo-large { width: 68px; height: 68px; font-size: 19px; }
.logo-ocean { background: #183e6b; }
.logo-slate { background: #34475c; }
.logo-clay { background: #8a4a2f; }
.logo-teal { background: #12645f; }
.logo-sun { color: var(--navy-900); background: #f2c56b; }
.logo-neutral { color: var(--navy-700); background: var(--navy-50); }
.logo-stingray { background: var(--paper-0); }
.save-button {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  padding: 0;
  color: var(--navy-700);
  background: var(--paper-0);
  border: 1px solid var(--line-strong);
  border-radius: 50%;
}
.save-button:hover { background: var(--navy-50); border-color: var(--navy-500); }
.save-button.saved { color: #fff; background: var(--navy-700); border-color: var(--navy-700); }
.save-button svg { width: 21px; height: 21px; }

.job-detail {
  position: fixed;
  z-index: 100;
  top: 50%;
  left: 50%;
  width: min(940px, calc(100% - 40px));
  max-height: min(90vh, 900px);
  overflow-y: auto;
  overscroll-behavior: contain;
  background: var(--paper-0);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transform: translate(-50%, -50%);
}
.detail-header { position: relative; padding: 32px 32px 24px; border-bottom: 1px solid var(--line); }
.detail-utility { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 24px; padding: 0 60px 16px 0; border-bottom: 1px solid var(--line); }
.detail-close {
  position: absolute;
  top: 32px;
  right: 32px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  padding: 0;
  color: var(--navy-700);
  background: var(--paper-0);
  border: 1px solid var(--line-strong);
  border-radius: 50%;
}
.detail-close svg { width: 20px; height: 20px; }
.detail-close:hover { background: var(--navy-50); border-color: var(--navy-500); }
.detail-post-meta { display: flex; align-items: center; justify-content: flex-start; flex-wrap: wrap; gap: 4px 8px; color: var(--ink-500); font-size: 13px; }
.detail-post-meta > span:not(.share-label) + span::before,
.detail-post-meta time + span::before { content: "·"; margin-right: 8px; color: var(--line-strong); }
.detail-post-meta a { min-height: 44px; display: inline-flex; align-items: center; padding: 0 8px; color: var(--navy-700); border-radius: var(--radius-sm); font-weight: 700; text-decoration: none; }
.detail-post-meta a:hover { background: var(--navy-50); }
.detail-title-row { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 20px; }
.detail-header h2 { margin: 6px 0 10px; color: var(--navy-900); font-family: var(--font-sans); font-size: 30px; font-weight: 700; line-height: 1.1; letter-spacing: -.02em; }
.detail-company { margin: 0; color: var(--ink-700); font-size: 16px; }
.detail-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.detail-actions .button { min-height: 48px; }
.detail-body { padding: 24px 32px 32px; }
.worc-box { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 24px; padding: 16px; background: var(--navy-50); border-radius: var(--radius-md); }
.worc-box span { display: block; color: var(--ink-500); font-size: 13px; }
.worc-box strong { font: 600 16px var(--font-mono); }
.worc-box svg { flex: 0 0 auto; color: var(--navy-500); }
.detail-summary { margin: 0 0 24px; color: var(--ink-700); font-size: 17px; line-height: 1.65; }
.detail-section { padding-top: 24px; border-top: 1px solid var(--line); }
.detail-section + .detail-section { margin-top: 24px; }
.detail-section h3 { margin: 0 0 12px; color: var(--navy-900); font-size: 18px; }
.detail-overview p { margin: 0; color: var(--ink-700); font-size: 16px; line-height: 1.65; }
.detail-overview p + p { margin-top: 12px; }
.detail-section ul { display: grid; gap: 8px; margin: 0; padding-left: 24px; }
.detail-section li { padding-left: 4px; color: var(--ink-700); font-size: 16px; line-height: 1.55; }
.detail-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 0; }
.detail-facts div { padding: 12px 16px; background: var(--paper-100); border-radius: var(--radius-md); }
.detail-facts dt { color: var(--ink-500); font-size: 13px; }
.detail-facts dd { margin: 4px 0 0; color: var(--ink-900); font-size: 16px; font-weight: 700; }
.employer-profile { padding-bottom: 0; }
.employer-profile-row { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.employer-profile-row strong { display: block; color: var(--navy-900); font-size: 18px; }
.employer-profile-row > div > span { display: block; margin-top: 3px; color: var(--ink-500); font-size: 14px; }
.safety-card {
  min-height: 96px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
  padding: 20px;
  color: var(--navy-900);
  background: var(--navy-50);
  border: 1px solid var(--navy-200);
  border-radius: var(--radius-md);
  text-decoration: none;
}
.safety-card:hover { border-color: var(--navy-500); box-shadow: var(--shadow-sm); }
.safety-card > svg { width: 30px; height: 30px; color: var(--navy-500); }
.safety-card strong { display: block; font-size: 17px; }
.safety-card small { display: block; margin-top: 3px; color: var(--ink-700); font-size: 14px; line-height: 1.45; }
.safety-card > span:last-child { font-size: 22px; }
.detail-updated { margin: 20px 0 0; color: var(--ink-500); font-size: 14px; }

.pagination { min-height: 52px; display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 24px; }
.page-button { min-width: 44px; min-height: 44px; padding: 0 13px; color: var(--navy-700); background: var(--paper-0); border: 1px solid var(--line-strong); border-radius: var(--radius-md); font-size: 15px; font-weight: 700; }
.page-button:hover { background: var(--navy-50); }
.page-button.current { color: #fff; background: var(--navy-700); border-color: var(--navy-700); }
.page-button[disabled] { color: var(--ink-500); background: var(--paper-100); cursor: not-allowed; }
.empty-state { padding: 52px 28px; text-align: center; background: var(--paper-0); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.empty-state > svg { width: 44px; height: 44px; color: var(--navy-500); }
.empty-state h3 { margin: 18px 0 8px; font-size: 22px; }
.empty-state p { margin: 0 0 22px; color: var(--ink-500); }

.dialog-backdrop { position: fixed; z-index: 90; inset: 0; background: rgba(14, 36, 64, .58); backdrop-filter: blur(3px); }
.filter-dialog {
  position: fixed;
  z-index: 100;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(620px, 100%);
  display: grid;
  grid-template-rows: auto 1fr auto;
  background: var(--paper-50);
  box-shadow: var(--shadow-md);
}
.dialog-header { display: flex; justify-content: space-between; gap: 24px; padding: 28px 30px 24px; background: var(--paper-0); border-bottom: 1px solid var(--line); }
.dialog-header h2 { margin: 0; color: var(--navy-900); font-size: 30px; }
.dialog-header p:last-child { margin: 8px 0 0; color: var(--ink-500); font-size: 15px; }
.icon-button { width: 44px; height: 44px; flex: 0 0 auto; display: grid; place-items: center; padding: 0; color: var(--navy-700); background: var(--paper-0); border: 1px solid var(--line-strong); border-radius: 50%; }
.icon-button:hover { background: var(--navy-50); }
.filter-content { overflow: auto; padding: 8px 30px 30px; }
.filter-group { margin: 0; padding: 24px 0; border: 0; border-bottom: 1px solid var(--line); }
.filter-group legend { width: 100%; padding: 0; color: var(--navy-900); font-size: 18px; font-weight: 700; }
.option-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.option-grid label { min-height: 48px; display: flex; align-items: center; gap: 11px; padding: 10px 12px; background: var(--paper-0); border: 1px solid var(--line); border-radius: var(--radius-md); color: var(--ink-700); font-size: 15px; cursor: pointer; }
.option-grid label:hover { border-color: var(--navy-500); }
.option-grid input { width: 20px; height: 20px; flex: 0 0 auto; accent-color: var(--navy-700); }
.option-grid input:focus-visible { outline-offset: 2px; }
.option-grid label:has(input:checked) { color: var(--navy-700); background: var(--navy-50); border-color: var(--navy-500); font-weight: 600; }
.dialog-footer { display: grid; grid-template-columns: 1fr 1.5fr; gap: 12px; padding: 18px 30px max(18px, env(safe-area-inset-bottom)); background: var(--paper-0); border-top: 1px solid var(--line); }
.dialog-footer .button { min-height: 50px; }

.sign-in-dialog {
  position: fixed;
  z-index: 100;
  top: 50%;
  left: 50%;
  width: min(480px, calc(100% - 32px));
  padding: 38px;
  background: var(--paper-0);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transform: translate(-50%, -50%);
}
.dialog-close { position: absolute; top: 18px; right: 18px; }
.stingray-mark { width: 82px; height: auto; margin-bottom: 22px; }
.sign-in-dialog h2 { margin: 0 0 12px; color: var(--navy-900); font-size: 30px; line-height: 1.18; }
.sign-in-dialog > p:not(.section-label) { margin: 0 0 24px; color: var(--ink-500); font-size: 16px; }
.sign-in-dialog .button + .button { margin-top: 8px; }

@media (max-width: 1100px) {
  .desktop-nav { display: none; }
  .account-actions { margin-left: auto; }
  .mobile-safety-link {
    min-width: 44px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 10px;
    color: var(--navy-700);
    border-radius: var(--radius-pill);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
  }
  .mobile-safety-link:hover { background: var(--navy-50); }
  .search-row { grid-template-columns: 1fr 1fr; }
  .search-panel .button { width: 100%; }
  .job-card-copy {
    grid-template-columns: minmax(0, 1fr) minmax(160px, auto);
    grid-template-areas:
      "title pay"
      "company pay"
      "summary summary"
      "meta meta";
    column-gap: 24px;
    row-gap: 6px;
  }
}

@media (max-width: 760px) {
  .header-inner, main { width: min(100% - 32px, 1240px); }
  .header-inner { min-height: 68px; gap: 12px; }
  .product-name { padding-left: 12px; font-size: 14px; }
  .account-actions .button-ghost { display: none; }
  .post-job-button { min-height: 44px; padding-inline: 14px; font-size: 14px; }
  .intro { grid-template-columns: 1fr; gap: 24px; min-height: 0; padding: 56px 0 88px; }
  .intro h1 { font-size: 48px; }
  .intro-copy { font-size: 17px; }
  .employer-callout { min-height: 0; padding: 28px; }
  .search-panel { margin-top: -36px; padding: 20px; }
  .search-row { grid-template-columns: 1fr; }
  .field input[type="search"] { min-height: 52px; }
  .filter-summary { align-items: flex-start; flex-wrap: wrap; }
  .filter-summary-title { width: 100%; }
  .active-filters { flex-basis: calc(100% - 86px); }
  .results-header { align-items: stretch; flex-direction: column; }
  .results-tools { align-items: stretch; flex-direction: column; }
  .view-switch { width: 100%; }
  .view-button { flex: 1; min-height: 44px; }
  .sort-field { width: 100%; }
  .job-card { padding: 16px; }
  .job-card-copy {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "title" "company" "summary" "meta" "pay";
    gap: 8px;
  }
  .job-card-top { display: flex; }
  .posted-time { order: 0; }
  .pay { justify-self: start; text-align: left; }
  .job-detail {
    top: 0;
    left: 0;
    bottom: 0;
    width: 100%;
    max-height: 100dvh;
    border: 0;
    border-radius: 0;
    transform: none;
  }
  .detail-utility { align-items: flex-start; }
  .detail-post-meta { justify-content: flex-start; }
  .detail-header, .detail-body { padding-inline: 20px; }
  .detail-header { padding-top: max(24px, env(safe-area-inset-top)); }
  .detail-close { top: max(24px, env(safe-area-inset-top)); right: 20px; }
  .detail-body { padding-bottom: max(34px, env(safe-area-inset-bottom)); }
  .detail-actions .button { flex: 1 1 calc(50% - 10px); }
  .detail-facts { grid-template-columns: 1fr; }
  .dialog-header, .filter-content, .dialog-footer { padding-left: 20px; padding-right: 20px; }
  .option-grid { grid-template-columns: 1fr; }
  .sign-in-dialog { padding: 32px 24px 24px; }
}

@media (max-width: 430px) {
  .header-inner, main { width: min(100% - 24px, 1240px); }
  .brand { width: 150px; }
  .product-name { display: none; }
  .intro h1 { font-size: 42px; }
  .post-job-button { padding-inline: 12px; }
  .jobs-section { padding-top: 50px; }
  .active-filters { flex-basis: 100%; }
  .clear-active-filters { margin-left: auto; }
  .job-card-main {
    grid-template-columns: 48px minmax(0, 1fr);
    grid-template-areas:
      "logo title"
      "logo company"
      "summary summary"
      "meta meta"
      "pay pay";
    gap: 8px 12px;
  }
  .job-card-main > .company-logo { grid-area: logo; }
  .job-card-copy { display: contents; }
  .job-card-top { display: grid; gap: 4px; }
  .posted-time { order: -1; }
  .logo-standard { width: 48px; height: 48px; font-size: 14px; }
  .detail-title-row { grid-template-columns: minmax(0, 1fr); }
  .detail-actions .button { flex-basis: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
