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

@font-face {
  font-family: 'Gill Sans MT Pro';
  src: url('/fonts/GillSansMTPro-Book.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Gill Sans MT Pro';
  src: url('/fonts/GillSansMTPro-BookItalic.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Gill Sans MT Pro';
  src: url('/fonts/GillSansMTPro-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Gill Sans MT Pro';
  src: url('/fonts/GillSansMTPro-Medium.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Gill Sans MT Pro';
  src: url('/fonts/GillSansMTPro-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Gill Sans MT Pro';
  src: url('/fonts/GillSansMTPro-BoldItalic.woff2') format('woff2');
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

:root {
  --ink: #2b2420;
  --ink-mid: #5c5048;
  --ink-soft: #837567;
  --bg: #fdfcfb;
  --bg-subtle: #ffffff;
  --border: #e3d6c4;
  --accent: #3266ff;
  --accent-dark: #2f56c2;
  --accent-soft: rgba(50,102,255,0.12);
  --tag-city: #417284;
  --tag-city-soft: rgba(87,192,232,0.16);
  --tag-city-border: rgba(87,192,232,0.32);
  --tag-blue-2: #57c0e8;
  --tag-blue-2-soft: rgba(87,192,232,0.16);
  --tag-blue-2-border: rgba(87,192,232,0.32);
  --badge-new: #10789e;
  --badge-new-soft: rgba(84,197,238,0.18);
  --header-bg: #000000;
  --header-border: rgba(255,255,255,0.15);
  --brand-light: #bcbbba;
  --brand-dark: #3d3834;
  --sans: 'Gill Sans MT Pro', 'Gill Sans MT', 'Gill Sans', system-ui, -apple-system, sans-serif;
  --radius: 12px;
  --radius-sm: 8px;
  --radius-pill: 999px;
  --max-w: 1040px;
}

html { scroll-behavior: auto; }

body {
  background: #ffffff;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* HEADER */
.site-header {
  padding: 22px 24px;
  background: var(--header-bg);
}

.site-header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  width: 100%;
}

.site-logo { justify-self: start; }

.site-name { justify-self: center; }

.site-logo {
  display: inline-flex;
}

.site-logo img {
  height: 100px;
  width: auto;
  display: block;
}

.site-name {
  font-family: var(--sans);
  font-size: 26px;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  letter-spacing: -0.02em;
}

.site-name:hover { opacity: 0.8; }

/* MAIN LAYOUT */
.main {
  flex: 1;
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 32px 24px 8px;
}

/* BACK LINK */
.back-link {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  margin-bottom: 28px;
  padding: 7px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-subtle);
  transition: border-color 0.15s ease, background 0.15s ease;
}

.back-link:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
}

/* JOB DETAIL */
.job-detail {
  padding: 8px 0 32px;
}

.job-title-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}

.job-title {
  font-size: 26px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.job-salary {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  background: var(--tag-blue-2-soft);
  border: 1px solid var(--tag-blue-2-border);
  padding: 6px 16px;
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
  text-decoration: none;
}

.job-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
}

.job-section {
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  margin-bottom: 12px;
  box-shadow: 0 1px 3px rgba(43,36,32,0.06), 0 1px 2px rgba(43,36,32,0.04);
  scroll-margin-top: 64px;
}

.job-section h2 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--tag-blue-2);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

/* SHARED PROSE STYLES */
.post-body {
  font-size: 15px;
  color: var(--ink);
  line-height: 1.85;
}

.post-body p { margin-bottom: 16px; }

.post-body h3 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 20px 0 8px;
}

.post-body h3:first-child { margin-top: 0; }

.post-body ul,
.post-body ol {
  margin: 0 0 16px;
  padding-left: 20px;
}

.post-body li { margin-bottom: 4px; }

.post-body a {
  color: var(--accent-dark);
  text-decoration: underline;
}

.post-body strong { color: var(--ink); font-weight: 600; }

.post-body blockquote {
  border-left: 3px solid var(--border);
  padding-left: 16px;
  margin: 0 0 20px;
  color: var(--ink-soft);
  font-style: italic;
}

.post-body code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.9em;
  background: var(--bg);
  padding: 2px 6px;
  border-radius: var(--radius-sm);
}

.post-body pre {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  overflow-x: auto;
  margin: 0 0 20px;
}

.post-body pre code {
  background: none;
  padding: 0;
}

.post-body img {
  max-width: 100%;
  border-radius: var(--radius);
  margin: 20px 0;
}

/* BENEFITS */
.job-benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.job-benefit-pill {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-dark);
  background: var(--accent-soft);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
}

/* SELECTION PROCESS */
.job-process {
  list-style: none;
  counter-reset: step;
  padding-left: 0;
  margin-bottom: 0;
}

.job-process li {
  position: relative;
  counter-increment: step;
  padding-left: 40px;
  margin-bottom: 14px;
  font-size: 15px;
  color: var(--ink-mid);
  line-height: 1.6;
}

.job-process li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* CONTACT CTA */
.contact-cta {
  margin: 40px 0 32px;
  background: var(--header-bg);
  border: 1px solid var(--header-border);
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
}

.contact-cta-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.25);
  margin: 0 auto 10px;
}

.contact-cta-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.contact-cta-name {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 2px;
}

.contact-cta-role {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 14px;
}

.contact-cta-text {
  font-size: 15px;
  color: rgba(255,255,255,0.75);
  margin-bottom: 18px;
}

.contact-cta-link {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  background: var(--accent);
  text-decoration: none;
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  transition: opacity 0.15s ease;
}

.contact-cta-link:hover { opacity: 0.88; }

.contact-cta-link--secondary {
  color: #fff;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.35);
  margin-top: 10px;
}

/* HERO */
.hero {
  background: transparent;
}

.hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 48px 24px 12px;
}

.hero-tagline {
  font-family: var(--sans);
  font-size: clamp(17px, 1.6vw, 19px);
  font-weight: 500;
  color: var(--ink);
  line-height: 1.6;
  max-width: 560px;
  padding-left: 16px;
  border-left: 3px solid var(--accent);
  white-space: pre-line;
}

.btn {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  padding: 9px 18px;
  border-radius: var(--radius-sm);
  transition: opacity 0.15s ease;
}

.btn:hover { opacity: 0.85; }

.btn-primary { color: #fff; background: var(--accent); }

.btn-secondary {
  color: var(--ink);
  background: var(--bg-subtle);
  border: 1px solid var(--border);
}

/* JOBS SECTION */
.jobs-section { margin-bottom: 8px; }

.jobs-heading {
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
  margin-bottom: 16px;
}

.jobs-count { color: var(--ink-soft); font-weight: 500; }

.job-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.job-card {
  display: block;
  padding: 14px 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  background: var(--bg-subtle);
  box-shadow: 0 1px 3px rgba(43,36,32,0.06), 0 1px 2px rgba(43,36,32,0.04);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.job-card:hover {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px rgba(50,102,255,0.2), 0 8px 20px rgba(50,102,255,0.12), 0 2px 6px rgba(43,36,32,0.06);
  transform: translateY(-2px);
}

.job-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 4px;
}

.job-card-teaser {
  font-size: 13px;
  color: var(--tag-blue-2);
  line-height: 1.4;
  margin-bottom: 10px;
}

.job-card-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}

.job-card-new {
  font-size: 11px;
  font-weight: 700;
  color: var(--badge-new);
  background: var(--badge-new-soft);
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}

.job-card-footer {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.job-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  min-width: 0;
}

.job-card-tag {
  font-size: 12px;
  font-weight: 500;
  color: var(--accent-dark);
  background: var(--accent-soft);
  border: 1px solid var(--accent-soft);
  padding: 3px 10px;
  border-radius: var(--radius-pill);
}

.job-card-tag--meta {
  color: var(--tag-city);
  background: var(--tag-city-soft);
  border-color: var(--tag-city-border);
}

.job-card-tag--blue-2 { color: var(--ink); background: var(--tag-blue-2-soft); border-color: var(--tag-blue-2-border); }

.job-card-salary {
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
  background: var(--tag-blue-2-soft);
  border: 1px solid var(--tag-blue-2-border);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}

.job-card-recruiter {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.job-card-recruiter-avatar {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}

.job-card-recruiter-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.job-card-recruiter-info {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.job-card-recruiter-name {
  font-size: 12px;
  color: var(--ink-soft);
  font-weight: 500;
}

.job-card-recruiter-role {
  font-size: 11px;
  color: var(--ink-soft);
  opacity: 0.75;
}

/* FOOTER */
footer {
  padding: 32px 24px;
  text-align: center;
}

.footer-copyright {
  color: var(--ink);
}

.footer-subtext {
  font-size: 12px;
  font-style: italic;
  color: var(--ink);
  margin-top: 6px;
  white-space: pre-line;
}

/* EXPLORE FURTHER FOOTER */
.explore-footer {
  background: var(--header-bg);
  border-top: 1px solid var(--header-border);
  padding: 16px 24px;
}

.explore-footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  text-align: center;
}

.explore-footer-heading {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 8px;
}

.explore-footer-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.explore-footer-col h3 {
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 5px;
}

.explore-footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
}

.explore-footer-col a {
  font-size: 11px;
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  line-height: 1.25;
}

.explore-footer-col a:hover {
  color: #fff;
  text-decoration: underline;
}

/* FILTER BAR */
.jobs-heading-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.jobs-heading { margin-bottom: 0; }

.filter-bar {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.filter-btn {
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-soft);
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 3px 10px;
  cursor: pointer;
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.filter-btn:hover { color: var(--ink); border-color: var(--accent); }

.filter-btn.active {
  color: #fff;
  background: var(--accent);
  border-color: var(--accent);
}

/* POSTED DATE */
.job-card-meta-right {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.job-card-date {
  font-size: 11px;
  color: var(--ink-soft);
}

/* MORE TAGS */
.job-card-tag--more {
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-soft);
  background: transparent;
  border: 1px solid var(--border);
  padding: 3px 10px;
  border-radius: var(--radius-pill);
}

/* SINGLE COLUMN */
.job-list--single { grid-template-columns: 1fr; }

/* EMPTY STATE */
.empty-state {
  text-align: center;
  padding: 64px 24px;
}

.empty-state-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
}

.empty-state-text {
  font-size: 14px;
  color: var(--ink-soft);
  margin-bottom: 24px;
}

/* JOB DETAIL TOPBAR */
.job-detail-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}

/* SHARE BUTTON */
.share-btn {
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  background: var(--accent);
  border: 1px solid var(--accent);
  border-radius: var(--radius-sm);
  padding: 7px 14px;
  cursor: pointer;
  transition: opacity 0.15s ease;
}

.share-btn:hover { opacity: 0.85; }

/* TOC */
.job-toc {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.job-toc-link {
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-soft);
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 4px 12px;
  text-decoration: none;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.job-toc-link:hover { color: var(--ink); border-color: var(--accent); }

/* MOBILE STICKY CTA */
.mobile-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px 24px;
  background: var(--header-bg);
  border-top: 1px solid var(--header-border);
  z-index: 50;
}

.mobile-cta-btn {
  display: block;
  text-align: center;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  background: var(--accent);
  text-decoration: none;
  padding: 12px;
  border-radius: var(--radius-sm);
}

/* MOBILE */
@media (max-width: 600px) {
  .job-title { font-size: 22px; }
  .hero-inner { padding: 32px 24px 8px; }
  .job-list { grid-template-columns: 1fr; }
  .jobs-heading-row { flex-direction: column; align-items: flex-start; }
  .site-header { padding: 16px 20px; }
  .site-logo img { height: 64px; }
  .site-name { font-size: 18px; letter-spacing: -0.01em; }
  .explore-footer-columns { grid-template-columns: 1fr; gap: 28px; }
}
