@font-face { font-family: "Barlow Condensed"; src: url(/fonts/barlow-condensed-latin-700-normal.woff2) format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url(/fonts/barlow-condensed-latin-800-normal.woff2) format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Inter"; src: url(/fonts/inter-latin-400-normal.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url(/fonts/inter-latin-600-normal.woff2) format("woff2"); font-weight: 500 600; font-display: swap; }
@font-face { font-family: "Inter"; src: url(/fonts/inter-latin-700-normal.woff2) format("woff2"); font-weight: 700 800; font-display: swap; }

:root {
  --bg: #f7f5f2;
  --surface: #ffffff;
  --ink: #1b1815;
  --muted: #6b645c;
  --line: #e5e0d9;
  --accent: #e08a14;
  --accent-ink: #1b1815;
  --accent-soft: #fdf1df;
  --hero: #14110f;
  --hero-ink: #f6f1ea;
  --hero-muted: #b9afa3;
  --link: #9a5a00;
  --radius: 10px;
  --shadow: 0 1px 2px rgba(20, 17, 15, .06), 0 4px 16px rgba(20, 17, 15, .05);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #12100e;
    --surface: #1c1916;
    --ink: #f2ede6;
    --muted: #a39a8f;
    --line: #2e2924;
    --accent: #f2a83b;
    --accent-soft: #2c2114;
    --hero: #0b0908;
    --link: #f2b65e;
    --shadow: none;
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.55 Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}
a { color: var(--link); }
h1, h2, h3 { line-height: 1.05; font-family: "Barlow Condensed", Inter, system-ui, sans-serif; font-weight: 800; letter-spacing: .005em; }
h2 { font-size: 28px; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.section { padding: 40px 16px; }
.wrap.section { padding-left: 16px; padding-right: 16px; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.sample-banner { background: var(--accent); color: var(--accent-ink); text-align: center; font-size: 14px; padding: 6px 16px; font-weight: 600; }

/* header */
.site-header { background: var(--hero); color: var(--hero-ink); position: sticky; top: 0; z-index: 10; border-bottom: 1px solid #2a2520; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--hero-ink); text-decoration: none; font-size: 18px; white-space: nowrap; }
.brand svg { color: var(--accent); }
.brand b, .brand-foot b { color: var(--accent); }
.nav { display: flex; align-items: center; gap: 20px; }
.nav a { color: var(--hero-ink); text-decoration: none; font-size: 15px; }
.nav a:hover { color: var(--accent); }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--accent); color: var(--accent-ink) !important; border: 0; border-radius: 8px;
  padding: 12px 20px; font: inherit; font-weight: 650; text-decoration: none; cursor: pointer; white-space: nowrap;
}
.btn:hover { filter: brightness(1.06); }
.btn-small { padding: 7px 14px; font-size: 14px; }
.btn-ghost { background: transparent; color: var(--ink) !important; border: 1px solid var(--line); }
.btn-block { width: 100%; }

/* hero */
.hero {
  background:
    radial-gradient(1200px 400px at 85% 120%, rgba(224, 138, 20, .35), transparent 60%),
    linear-gradient(180deg, #14110f, #1d1712);
  color: var(--hero-ink);
  padding: 56px 0 44px;
}
.eyebrow { color: var(--accent); font-weight: 600; font-size: 14px; letter-spacing: .04em; margin: 0 0 12px; }
.hero h1 { font-size: clamp(34px, 6vw, 58px); margin: 0 0 16px; font-weight: 800; }
.lede { color: var(--hero-muted); font-size: 18px; max-width: 620px; margin: 0 0 28px; }
.stats { display: flex; flex-wrap: wrap; gap: 12px 40px; margin-top: 28px; }
.stats div { display: flex; flex-direction: column; }
.stats b { font-size: 26px; color: var(--hero-ink); }
.stats span { color: var(--hero-muted); font-size: 14px; }

/* search form */
.search {
  display: grid; grid-template-columns: 1.4fr 1fr auto; gap: 8px;
  background: var(--surface); padding: 8px; border-radius: 12px; box-shadow: 0 10px 30px rgba(0, 0, 0, .25); max-width: 820px;
}
.search-compact { box-shadow: var(--shadow); border: 1px solid var(--line); max-width: none; margin-bottom: 24px; }
.field { display: flex; align-items: center; gap: 8px; padding: 0 12px; border-radius: 8px; background: var(--bg); }
.field svg { width: 20px; height: 20px; color: var(--muted); flex: none; }
.field input, .field select { border: 0; background: transparent; color: var(--ink); font: inherit; padding: 12px 0; width: 100%; outline: none; min-width: 0; }
.field:focus-within { outline: 2px solid var(--accent); }

/* sections */
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 16px; }
.section-head h2 { margin: 0; font-size: 24px; }
.section-head a { text-decoration: none; font-weight: 600; white-space: nowrap; }
.page-title { font-size: clamp(28px, 4vw, 40px); margin: 8px 0 12px; }
.intro { color: var(--muted); max-width: 760px; margin: 0 0 20px; }
.group-title { font-size: 18px; margin: 28px 0 12px; color: var(--muted); }

.tile-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(150px, 100%), 1fr)); gap: 10px; }
.tile { display: flex; flex-direction: column; gap: 2px; padding: 14px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); height: 100%; }
.tile span { font-weight: 650; }
.tile small { color: var(--muted); }
.tile:hover { border-color: var(--accent); }

.chip-list { list-style: none; padding: 0; margin: 0 0 20px; display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-block; padding: 6px 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--ink); text-decoration: none; font-size: 14px; }
.chip small { color: var(--muted); margin-left: 4px; }
.chip:hover { border-color: var(--accent); }

/* job list */
.job-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.job-card a { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); box-shadow: var(--shadow); }
.job-card a:hover { border-color: var(--accent); }
.job-title { font-weight: 700; font-size: 17px; }
.job-meta { color: var(--muted); font-size: 15px; }
.job-meta .company { color: var(--ink); font-weight: 550; }
.dot { margin: 0 6px; color: var(--muted); }
.job-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 4px; }
.tag { display: inline-block; font-size: 12.5px; font-weight: 600; padding: 2px 9px; border-radius: 999px; background: var(--accent-soft); color: var(--link); text-decoration: none; }
.tag-quiet { background: transparent; border: 1px solid var(--line); color: var(--muted); }
.posted { font-size: 13px; color: var(--muted); margin-left: auto; }
.empty { color: var(--muted); padding: 20px; background: var(--surface); border: 1px dashed var(--line); border-radius: var(--radius); list-style: none; }

/* search page */
.search-layout { display: grid; grid-template-columns: 240px 1fr; gap: 24px; align-items: start; }
.filters { display: grid; gap: 14px; position: sticky; top: 76px; }
.filters label { display: grid; gap: 4px; font-size: 14px; font-weight: 600; }
.filters select { font: inherit; font-weight: 400; padding: 9px 10px; border-radius: 8px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); }
.result-count { margin: 0 0 12px; font-weight: 600; }
.more { margin-top: 16px; width: 100%; }

/* job page */
.crumbs { font-size: 14px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs a { color: var(--muted); }
.job-layout { display: grid; grid-template-columns: 1fr 320px; gap: 32px; align-items: start; }
.job-page h1 { font-size: clamp(26px, 4vw, 36px); margin: 12px 0 6px; }
.job-sub { color: var(--muted); margin: 0 0 8px; font-size: 17px; }
.job-sub a { color: var(--ink); font-weight: 600; text-decoration: none; }
.job-body { margin-top: 24px; max-width: 72ch; overflow-wrap: anywhere; }
.job-body h2, .job-body h3, .job-body h4 { font-size: 18px; margin: 24px 0 8px; }
.apply-box { position: sticky; top: 76px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 20px; box-shadow: var(--shadow); }
.apply-box dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 14px; margin: 18px 0; font-size: 15px; }
.apply-box dt { color: var(--muted); }
.apply-box dd { margin: 0; }
.apply-box a:not(.btn) { color: var(--ink); }

/* companies */
.company-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 10px; }
.company-card { display: flex; flex-direction: column; gap: 2px; padding: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); height: 100%; }
.company-card small { color: var(--muted); }
.company-card .count { margin-top: 8px; font-size: 14px; font-weight: 600; color: var(--link); }
.company-card .count-zero { color: var(--muted); font-weight: 400; }
.company-card:hover { border-color: var(--accent); }
.company-links { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }

/* misc */
.employer-cta { display: flex; justify-content: space-between; align-items: center; gap: 24px; background: var(--hero); color: var(--hero-ink); border-radius: 14px; padding: 32px; margin-top: 16px; margin-bottom: 16px; }
.employer-cta h2 { margin: 0 0 8px; }
.employer-cta p { margin: 0; color: var(--hero-muted); max-width: 560px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 18px; margin-bottom: 8px; }
.faq summary { font-weight: 650; cursor: pointer; }
.faq p { color: var(--muted); margin: 10px 0 0; }
.prose { max-width: 760px; }
.prose h1 { font-size: 36px; }

/* footer */
.site-footer { border-top: 1px solid var(--line); margin-top: 40px; padding: 40px 0 24px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 24px; }
.footer-grid h3 { font-size: 14px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin: 0 0 10px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.footer-grid a { color: var(--ink); text-decoration: none; }
.footer-grid a:hover { color: var(--link); }
.brand-foot { font-size: 18px; margin: 0 0 8px; }
.copyright { margin-top: 24px; font-size: 14px; }

@media (max-width: 860px) {
  .search-layout, .job-layout { grid-template-columns: 1fr; }
  .filters, .apply-box { position: static; }
  .filters { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .nav a:not(.btn):not(:first-child) { display: none; }
  .search { grid-template-columns: 1fr; }
  .hero { padding: 36px 0 32px; }
  .employer-cta { flex-direction: column; align-items: flex-start; padding: 24px; }
  .filters { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .posted { margin-left: 0; }
}
.related { margin-top: 48px; }
.tag-pay { background: #e3f4e8; color: #17663a; }
.tag-hitch, .tag-cdl { background: #e6eefb; color: #1e4f9c; }
.tag-entry { background: #f3e8fb; color: #6b2a99; }
.tag-perk { background: #fdecec; color: #9b2c2c; }
@media (prefers-color-scheme: dark) {
  .tag-pay { background: #173323; color: #8fd9a8; }
  .tag-hitch, .tag-cdl { background: #182640; color: #9cbcf0; }
  .tag-entry { background: #2c1d3a; color: #d1a8f0; }
  .tag-perk { background: #3a1d1d; color: #f0a8a8; }
}
.checks { border: 0; padding: 0; margin: 0; display: grid; gap: 6px; }
.checks legend { font-size: 14px; font-weight: 600; margin-bottom: 4px; padding: 0; }
.checks label { display: flex; align-items: center; gap: 8px; font-weight: 400; font-size: 14px; }
.checks input { accent-color: var(--accent); width: 16px; height: 16px; }
.filters select { width: 100%; min-width: 0; }
.search-layout > * { min-width: 0; }

/* brand */
.brand { gap: 12px; }
.mark { display: inline-flex; width: 42px; height: 42px; flex: none; object-fit: contain; }
.mark svg { width: 100%; height: 100%; }
.wordmark { display: inline-flex; flex-direction: column; line-height: .92; font-family: "Barlow Condensed", Inter, sans-serif; text-transform: uppercase; }
.wordmark span { font-weight: 800; font-size: 20px; letter-spacing: .03em; }
.wordmark b { font-weight: 700; font-size: 11.5px; letter-spacing: .45em; color: var(--accent); }
.brand-foot { display: flex; align-items: center; gap: 12px; color: var(--ink); }

/* hero, upgraded */
.hero { position: relative; overflow: hidden; }
.hero::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 120px; pointer-events: none; opacity: .5;
  background: repeating-linear-gradient(180deg, transparent 0 14px, rgba(242, 168, 59, .18) 14px 16px);
  -webkit-mask: linear-gradient(180deg, transparent, #000); mask: linear-gradient(180deg, transparent, #000);
}
.hero .wrap { position: relative; z-index: 1; }
.hero h1 { font-size: clamp(44px, 7.5vw, 84px); text-transform: uppercase; letter-spacing: .01em; line-height: .95; }
.hero h1 em { font-style: normal; color: var(--accent); }
.quick { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 16px; font-size: 14px; }
.quick span { color: var(--hero-muted); }
.quick a { color: var(--hero-ink); text-decoration: none; border: 1px solid rgba(246, 241, 234, .22); border-radius: 999px; padding: 5px 12px; background: rgba(255, 255, 255, .04); }
.quick a:hover { border-color: var(--accent); color: var(--accent); }
.stats b { font-family: "Barlow Condensed", Inter, sans-serif; font-size: 34px; font-weight: 800; }

/* why */
.why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.why > div { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 22px; }
.why-icon { display: inline-flex; width: 42px; height: 42px; border-radius: 10px; align-items: center; justify-content: center; background: var(--accent-soft); color: var(--link); }
.why-icon svg { width: 22px; height: 22px; }
.why h3 { font-size: 22px; margin: 10px 0 6px; }
.why p { margin: 0; color: var(--muted); font-size: 15px; }

/* job card with company avatar */
.job-card a { display: grid; grid-template-columns: 44px 1fr; column-gap: 14px; row-gap: 3px; align-items: start; }
.job-card a > :not(.avatar) { grid-column: 2; }
.avatar { grid-row: span 3; width: 44px; height: 44px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font: 800 17px "Barlow Condensed", Inter, sans-serif; letter-spacing: .03em; color: hsl(var(--h) 55% 28%); background: hsl(var(--h) 70% 92%); }
@media (prefers-color-scheme: dark) { .avatar { color: hsl(var(--h) 70% 82%); background: hsl(var(--h) 35% 20%); } }
.page-title { text-transform: uppercase; }
@media (max-width: 860px) { .why { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .wordmark span { font-size: 17px; } .mark { width: 32px; height: 32px; } }

.hero-grid { display: grid; grid-template-columns: 1fr; }
.hero-logo { width: min(520px, 100%); height: auto; margin: -12px 0 8px -10px; filter: drop-shadow(0 8px 30px rgba(224, 138, 20, .28)); }
@media (min-width: 1100px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr) 470px; align-items: center; column-gap: 40px; }
  .hero-logo { grid-column: 2; grid-row: 1; width: 100%; margin: 0; }
  .hero-main { grid-column: 1; grid-row: 1; }
}
@media (min-width: 1100px) { .hero h1 { font-size: 68px; } .hero-grid { grid-template-columns: minmax(0, 1fr) 440px; } }

/* guide */
.guide { max-width: 820px; }
.guide h1 { font-size: clamp(36px, 5vw, 54px); text-transform: uppercase; margin: 6px 0 16px; }
.guide h2 { font-size: 30px; margin: 40px 0 12px; }
.guide h3 { font-family: Inter, system-ui, sans-serif; font-size: 18px; font-weight: 700; margin: 22px 0 6px; }
.guide .lead { font-size: 19px; color: var(--muted); }
.guide ol li { margin-bottom: 10px; }
.eyebrow-dark { color: var(--link); font-weight: 600; font-size: 14px; margin: 0; }
.guide-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 24px 0; }
.guide-stats div { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 14px; }
.guide-stats b { display: block; font: 800 32px "Barlow Condensed", Inter, sans-serif; }
.guide-stats span { color: var(--muted); font-size: 14px; }
.guide-list { list-style: none; padding: 0; display: grid; gap: 6px; }
.guide-list li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; }
.guide-list a { font-weight: 600; text-decoration: none; }
.guide-list span { color: var(--muted); font-size: 14px; text-align: right; }
.guide-cta { margin-top: 32px; }
.seo-intro p { color: var(--muted); max-width: 820px; }
@media (max-width: 640px) { .guide-stats { grid-template-columns: 1fr 1fr; } .guide-list li { flex-direction: column; gap: 2px; } .guide-list span { text-align: left; } .nav a[href="/delaware-basin-jobs/"] { display: none; } }

/* job alerts */
.alert-box { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 20px 32px; align-items: center; background: var(--accent-soft); border: 1px solid var(--line); border-radius: 14px; padding: 24px; margin: 28px 0; }
.alert-box h2 { margin: 0 0 6px; font-size: 24px; }
.alert-box p { margin: 0; color: var(--muted); }
.alert-fields { display: flex; flex-wrap: wrap; gap: 10px; }
.alert-fields label { flex: 1 1 160px; }
.alert-fields input, .alert-fields select { width: 100%; font: inherit; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 11px 12px; }
.alert-fields input:focus, .alert-fields select:focus { outline: 2px solid var(--accent); border-color: transparent; }
.alert-fields .btn { flex: 1 1 100%; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; }
.alert-error { background: #fde8e8; color: #9b1c1c; border-radius: 8px; padding: 10px 14px; }
.perk-list { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.perk-list li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; }
.prose .alert-box h2 { margin-top: 0; }
@media (max-width: 760px) { .alert-box { grid-template-columns: 1fr; padding: 20px; } }

/* share buttons */
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 16px 0 8px; }
.share span { width: 100%; font-size: 13px; color: var(--muted); }
.share a, .share button { font: inherit; font-size: 14px; color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; text-decoration: none; cursor: pointer; }
.share a:hover, .share button:hover { border-color: var(--accent); color: var(--accent); }
