:root {
  color-scheme: light;
  --ink: #152128;
  --muted: #4b5c66;
  --dark: #111920;
  --surface: #fff;
  --paper: #f4f4ef;
  --line: #d6ddd9;
  --accent: #edbb78;
  --teal: #1b554d;
  --error: #8e2421;
  font: 16px/1.5 'Aptos', 'Segoe UI', system-ui, sans-serif;
}
* { box-sizing: border-box; }
body { min-width: 260px; margin: 0; color: var(--ink); background: var(--paper); }
a { color: var(--teal); text-underline-offset: .2em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid #11655c; outline-offset: 4px; }
.hero :focus-visible, .site-footer :focus-visible { outline-color: var(--accent); }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.1; letter-spacing: -.035em; }
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); font-weight: 760; }
h2 { font-size: clamp(1.7rem, 3.3vw, 2.8rem); }
h3 { font-size: 1.35rem; }
.wrap { width: min(100% - 80px, 1232px); margin-inline: auto; }
.compact { max-width: 960px; min-height: 59vh; padding-block: 54px 82px; }
.compact > h1 { margin-bottom: 14px; }
.compact > p { margin-block: 12px; }
.skip { position: absolute; z-index: 3; left: 12px; top: 10px; transform: translateY(-300%); padding: 10px; background: white; }
.skip:focus { transform: translateY(0); }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.preview { background: #eddfc4; padding: 8px 12px; text-align: center; font-size: .76rem; font-weight: 700; letter-spacing: .045em; }
.site-header { background: #fbfaf6; border-bottom: 1px solid #dbddd6; }
.header-inner { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: inline-flex; width: max-content; align-items: center; gap: 13px; text-decoration: none; color: inherit; }
.brand-logo { display: block; width: auto; height: auto; max-width: min(190px, 36vw); max-height: 65px; }
.brand-name { line-height: 1.12; text-transform: uppercase; font-size: .78rem; letter-spacing: .07em; font-weight: 800; }
.header-inner nav, .footer-links { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.header-inner nav a { text-decoration: none; font-size: .9rem; font-weight: 700; color: var(--ink); }
.header-inner nav a:hover { text-decoration: underline; }
.language { border-left: 1px solid var(--line); padding-left: 22px; }
.hero { background: var(--dark); color: white; }
.hero-grid { display: grid; grid-template-columns: .97fr 1fr; min-height: 400px; }
.hero-content { align-self: center; padding: 55px 3.5vw 62px 0; position: relative; z-index: 1; }
.eyebrow { display: block; color: var(--accent); font-size: .75rem; letter-spacing: .17em; font-weight: 800; text-transform: uppercase; margin-bottom: 16px; }
.eyebrow.ink { color: #4c5c54; }
.hero h1 { font-size: clamp(2.75rem, 5.55vw, 5.5rem); line-height: .98; letter-spacing: -.065em; }
.hero h1 span { color: var(--accent); }
.hero-content p { color: #d4dbd9; max-width: 365px; margin: 24px 0 26px; font-size: 1.08rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-apply { color: #fff; border-color: #b9c6c2; }
.hero-apply:hover { background: #2b3e47; }
.hero-photo { position: relative; isolation: isolate; min-width: 0; margin-right: max(-40px, calc((1232px - 100vw) / 2)); background: linear-gradient(115deg,#27343a,#354149 60%,#57595b); overflow: hidden; }
.hero-photo::before { position: absolute; inset: 0; content: ''; background: linear-gradient(90deg, #111920 0%, transparent 25%), linear-gradient(0deg, #11192044, transparent 45%), url(manufacturing.jpg) center 45% / cover no-repeat; }
.button { display: inline-flex; min-height: 45px; align-items: center; justify-content: center; gap: 13px; border: 1px solid transparent; padding: 10px 17px; border-radius: 3px; font: inherit; font-size: .95rem; line-height: 1.2; text-decoration: none; cursor: pointer; font-weight: 750; }
.primary { background: var(--accent); color: #20221d; }
.primary:hover { background: #f6ca91; }
.dark { background: var(--dark); color: white; }
.dark:hover { background: #2b3e47; }
.secondary { background: var(--surface); color: var(--ink); border-color: #778781; }
.secondary:hover { background: #f1f4f0; }
.openings { scroll-margin-top: 18px; padding-block: 45px 52px; }
.section-title { display: flex; align-items: end; justify-content: space-between; gap: 12px; margin-bottom: 23px; }
.section-title .eyebrow { margin-bottom: 7px; }
.section-title p, .intro { color: var(--muted); }
.filter { display: grid; align-items: end; grid-template-columns: 1.35fr 1fr 1.05fr .9fr auto; gap: 12px; border: 1px solid var(--line); padding: 17px; background: white; border-radius: 4px; }
label { font-size: .88rem; min-width: 0; display: grid; gap: 6px; color: #263940; font-weight: 700; }
input, select, textarea { width: 100%; min-width: 0; min-height: 45px; padding: 10px 11px; border: 1px solid #a9b6b1; border-radius: 3px; color: var(--ink); background: white; font: inherit; font-weight: 400; }
input::placeholder { color: #586365; opacity: 1; }
textarea { resize: vertical; }
.results { display: flex; justify-content: space-between; margin: 22px 0 10px; color: var(--muted); font-size: .91rem; }
.open-filter { grid-column: 1 / -1; width: fit-content; padding-block: 3px; }
.role-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; list-style: none; margin: 0; padding: 0; }
.role-card { height: 100%; background: var(--surface); border: 1px solid var(--line); border-radius: 9px; }
.role-card a { display: grid; min-height: 158px; height: 100%; grid-template-rows: auto auto 1fr auto; gap: 7px; padding: 16px 17px; color: var(--ink); border-radius: inherit; text-decoration: none; }
.role-card:hover, .role-card:focus-within { border-color: #588377; box-shadow: 0 3px 12px #15212812; }
.role-card a:hover h3 { text-decoration: underline; }
.role-card-top { display: flex; align-items: start; justify-content: space-between; gap: 10px; }
.role-card-top > span:last-child { color: var(--teal); font-size: 1rem; line-height: 1; }
.role-card h3 { font-size: 1.17rem; line-height: 1.2; overflow-wrap: anywhere; }
.hiring-status { display: inline-flex; align-items: center; justify-self: start; gap: 6px; max-width: fit-content; padding: 4px 9px; color: #435158; background: #ecefed; border-radius: 18px; font-size: .78rem; font-weight: 750; }
.hiring-status.accepting { color: #174f38; background: #e4f1e6; }
.hiring-status::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.compact > .hiring-status { margin-bottom: 10px; }
.description-link { margin-top: 10px; }
.resume-upload input { background: #fbfcfa; }
.job-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 9px; }
.job { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 19px 22px; background: white; border: 1px solid var(--line); border-left: 3px solid #9aafa1; border-radius: 3px; }
.job:hover { border-left-color: #196357; }
.job-department { text-transform: uppercase; color: var(--teal); font-size: .69rem; letter-spacing: .1em; font-weight: 800; }
.job h3, .admin-jobs h2 { font-size: 1.25rem; margin: 3px 0 6px; }
.job h3 a, .admin-jobs h2 a { color: inherit; text-decoration: none; }
.job h3 a:hover, .admin-jobs h2 a:hover { text-decoration: underline; }
.job-meta { color: var(--muted); font-size: .88rem; }
.job-meta span { margin: 0 5px; color: #536c62; }
.job-link { font-weight: 750; font-size: .88rem; flex-shrink: 0; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.job-link span { font-size: 1.1rem; }
.job-link:hover { text-decoration: underline; }
.empty, .candidate-help, .paper { padding: clamp(18px, 4vw, 35px); border: 1px solid var(--line); background: white; border-radius: 4px; }
.empty p, .candidate-help p { color: var(--muted); margin: 7px 0 0; }
.empty .text-link { display: inline-block; margin-top: 10px; }
.candidate-help { margin-top: 29px; display: flex; justify-content: space-between; align-items: center; gap: 16px; background: #e5ede6; padding-block: 21px; overflow-wrap: anywhere; }
.location-shortcuts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.location-shortcuts a { display: inline-flex; gap: 8px; align-items: center; min-height: 38px; padding: 6px 11px; border-radius: 4px; border: 1px solid var(--line); background: var(--surface); font-size: .85rem; text-decoration: none; font-weight: 700; }
.location-shortcuts a:hover { border-color: var(--teal); text-decoration: underline; }
.location-shortcuts span { color: var(--muted); font-size: .76rem; }
.application-guide { margin-top: 26px; }
.application-guide .form-actions { align-items: center; }
.application-guide .form-note { margin: 12px 0 0; overflow-wrap: anywhere; }
.apply-reference { display: inline-block; padding: 8px 11px; background: #e5ede6; font-weight: 750; }
.locations-section { border-top: 1px solid var(--line); padding-block: 43px 52px; }
.locations-section .section-title p { margin-top: 7px; }
.location-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 12px; list-style: none; padding: 0; margin: 0; }
.location-card { display: grid; grid-template-columns: 1fr auto; align-content: start; gap: 9px; padding: 15px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 4px; }
.location-card h3 { align-self: center; font-size: 1.06rem; }
.location-card a { font-size: .85rem; font-weight: 650; }
.location-card ul { grid-column: 1 / -1; list-style: none; padding: 0; margin: 0; }
.location-card li { display: grid; gap: 2px; padding-block: 8px; border-top: 1px solid var(--line); }
.location-card li span { font-size: .78rem; color: var(--muted); }
.work-preview { background: #e5ede6; padding-block: 36px; }
.work-preview .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.work-preview h2 { font-size: clamp(1.6rem, 3.2vw, 2.15rem); }
.work-preview p { color: var(--muted); margin-top: 8px; }
.site-footer { color: #dce6df; background: var(--dark); padding-block: 35px; }
.footer-inner { display: grid; grid-template-columns: 1fr 1.3fr; gap: 24px; }
.site-footer a:not(.brand) { color: var(--accent); }
.site-footer p { margin: 7px 0; font-size: .88rem; overflow-wrap: anywhere; }
.footer-links { font-size: .85rem; gap: 13px 20px; }
.back { display: block; margin: 0 0 24px; font-weight: 700; }
.facts { display: flex; flex-wrap: wrap; gap: 15px 34px; margin: 25px 0; }
.facts dt { color: var(--muted); font-size: .83rem; }
.facts dd { margin: 2px 0 0; font-weight: 750; overflow-wrap: anywhere; }
.description { border-top: 1px solid var(--line); padding-block: 24px; }
.description h2, .paper h2 { font-size: 1.6rem; margin-bottom: 9px; }
.prose { white-space: pre-wrap; overflow-wrap: anywhere; max-width: 77ch; }
.paper { margin-top: 12px; }
.paper > p, .login h1, .confirmation h1 { margin-block: 0 12px; }
.login { max-width: 545px; margin-inline: auto; }
.login h1, .confirmation h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
.stack { display: grid; gap: 15px; }
.stack > .button { justify-self: start; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 15px; }
.form-note { color: var(--muted); font-size: .84rem; }
.check { display: flex; align-items: start; gap: 10px; line-height: 1.4; font-weight: 500; }
.check input { width: 17px; min-height: 17px; margin: 1px 0 0; flex-shrink: 0; }
.trap { display: none; }
.message { padding: 11px 13px; border-left: 3px solid #4e7569; background: #e8f0e9; margin-block: 10px; }
.message.error { border-color: var(--error); background: #f8e8e2; color: var(--error); }
.admin-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 17px; }
.admin-bar h1 { margin-bottom: 8px; }
.tab-row, .form-actions, .job-actions { display: flex; flex-wrap: wrap; align-items: end; gap: 12px 16px; }
.tab-row { margin: 14px 0; align-items: center; }
.tab-row a { padding: 6px 8px; }
.tab-row a[aria-current] { font-weight: 750; background: #e0eae3; border-radius: 3px; }
.tab-row form { margin-left: auto; }
.plain { border: 0; padding: 8px; font: inherit; color: var(--teal); background: transparent; text-decoration: underline; cursor: pointer; }
.badge { display: inline-block; text-transform: capitalize; padding: 2px 7px; background: #dfeae3; border-radius: 3px; font-size: .76rem; font-weight: 700; }
summary { color: var(--teal); font-weight: 750; cursor: pointer; }
.detail-fields { padding-top: 13px; }
code { overflow-wrap: anywhere; }
@media (max-width: 940px) {
  .wrap { width: min(100% - 46px, 1232px); }
  .hero-photo { margin-right: -23px; }
  .hero-grid { min-height: 405px; }
  .filter { grid-template-columns: 1.2fr 1fr 1fr; }
  .role-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .wrap { width: calc(100% - 32px); }
  .compact { padding-block: 32px 54px; }
  .header-inner { min-height: 63px; }
  .header-inner nav { gap: 8px; justify-content: end; }
  .header-inner nav a { font-size: .79rem; }
  .language { padding-left: 8px; }
  .brand { gap: 8px; }
  .brand-logo { max-height: 49px; }
  .brand-name { font-size: .64rem; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-content { padding: 36px 0 30px; }
  .hero h1 { font-size: clamp(2.6rem, 10.5vw, 4.2rem); overflow-wrap: anywhere; }
  .hero-content p { margin: 16px 0 19px; }
  .hero-photo { margin-inline: -16px; height: 160px; }
  .hero-photo::before { background: linear-gradient(180deg, #111920 0%, transparent 20%), url(manufacturing.jpg) center 41% / cover no-repeat; }
  .openings { padding-block: 34px 49px; }
  .section-title, .candidate-help { align-items: start; flex-direction: column; }
  .filter { grid-template-columns: repeat(2,minmax(0,1fr)); padding: 12px; gap: 10px; }
  .filter label:first-of-type { grid-column: 1 / -1; }
  .role-grid { grid-template-columns: 1fr; gap: 9px; }
  .role-card a { min-height: 128px; padding: 13px 14px; }
  .job { padding: 12px; gap: 8px; }
  .job h3, .admin-jobs h2 { font-size: 1.13rem; }
  .job-meta { font-size: .81rem; }
  .job-link { font-size: .76rem; }
  .footer-inner, .form-row { grid-template-columns: 1fr; }
  .admin-bar { align-items: start; flex-direction: column; }
}
@media (max-width: 340px) {
  .jobs-nav { display: none; }
  .job { flex-direction: column; align-items: start; }
}
