@font-face { font-family: Haffer; src: url("assets/fonts/Haffer-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: Haffer; src: url("assets/fonts/Haffer-SemiBold.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: Haffer; src: url("assets/fonts/Haffer-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  color-scheme: light;
  --navy: #102e59; --blue: #174a91; --ink: #152d48; --muted: #495e76;
  --line: #cedbe9; --pale: #edf4fc; --white: #fff; --focus: #2b6fce;
  --site-font: Haffer, "Helvetica Neue", Arial, sans-serif;
  font: 1rem/1.55 var(--site-font);
  color: var(--ink); background: #f6f9fd;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
.wrap { width: min(72rem, calc(100% - 3rem)); margin-inline: auto; }
header { background: white; }
.masthead { min-height: 5rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: .65rem; }
.brand span { display: block; }
.brand strong { color: var(--navy); font-size: 1.12rem; }
.brand span { font-size: .82rem; color: var(--muted); }
.brand img { display: none; max-width: 100%; max-height: 54px; width: auto; height: auto; }
.brand.has-logo img { display: block; }
.brand.has-logo .brand-text { display: none; }
.partner { padding-inline-start: 1rem; border-inline-start: 1px solid var(--line); }
.intro { background: var(--navy); color: white; padding: 2.8rem 0 4.3rem; }
.intro p { max-width: 55ch; margin-bottom: 0; color: #d9e8fd; }
.intro .location { font-size: .91rem; margin-top: 0; margin-bottom: 1rem; }
h1, h2, h3 { line-height: 1.14; letter-spacing: -.025em; margin: 0; }
h1 { font-size: clamp(2.55rem, 6vw, 4.55rem); font-weight: 750; }
h2 { font-size: clamp(1.25rem, 3vw, 1.6rem); color: var(--navy); }
h3 { font-size: 1.28rem; color: var(--navy); }
.search { position: relative; margin-top: -2rem; background: white; border: 1px solid var(--line); border-radius: 14px; padding: clamp(1rem, 3vw, 1.6rem); }
.search h2 { margin-bottom: 1rem; }
label { display: block; font-size: .92rem; font-weight: 650; }
input, select, textarea { width: 100%; font: inherit; font-weight: 400; border: 1px solid #8199b3; border-radius: 7px; padding: .64rem .75rem; margin-top: .3rem; background: white; color: var(--ink); min-height: 44px; }
input::placeholder { color: var(--muted); }
textarea { resize: vertical; }
.filters { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; margin-block: .85rem .4rem; }
.workspace { display: grid; grid-template-columns: minmax(0, 2.2fr) minmax(15rem, 1fr); gap: clamp(1rem, 4vw, 2.5rem); padding-block: 2.15rem 3rem; align-items: start; }
.muted, .meta { color: var(--muted); font-size: .89rem; }
.results-head p, #count { margin: .45rem 0; }
#count { margin-bottom: 1rem; }
.offer { border: 1px solid var(--line); border-radius: 12px; margin-bottom: .8rem; background: white; }
.offer-title { display: inline; color: var(--navy); font-size: 1.2rem; font-weight: 720; }
.offer .meta { margin-top: .25rem; }
.offer-content { padding: 1rem 1.2rem 1.3rem; }
.offer-content h4 { margin: 1.1rem 0 .3rem; }
.offer-content p { margin: .4rem 0 .75rem; }
dl { display: grid; grid-template-columns: minmax(8rem, .75fr) minmax(0, 1.25fr); gap: .4rem 1rem; margin-block: 1rem; font-size: .93rem; }
dt { font-weight: 650; }
dd { margin: 0; overflow-wrap: anywhere; }
.actions { display: flex; flex-wrap: wrap; gap: .55rem; margin-block: 1rem; }
button, .action { padding: .6rem .85rem; border: 1px solid var(--blue); border-radius: 7px; background: var(--blue); color: white; display: inline-flex; align-items: center; min-height: 44px; font: inherit; font-size: .92rem; font-weight: 650; cursor: pointer; text-decoration: none; }
button:hover, .action:hover { background: var(--navy); color: white; }
.quiet { background: transparent; color: var(--blue); border-color: transparent; padding-inline: .15rem; text-decoration: underline; }
.quiet:hover { color: var(--navy); background: var(--pale); }
a { color: var(--blue); text-underline-offset: .17em; overflow-wrap: anywhere; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
::selection { background: #c8e0ff; color: var(--navy); }
aside { background: var(--pale); padding: 1.25rem; border-radius: 12px; }
aside h3 { font-size: 1rem; margin-top: 1rem; }
aside p, aside li { font-size: .92rem; }
aside ol, aside ul, .offer ul { padding-inline-start: 1.35rem; }
aside li { margin-block: .4rem; }
.sources, .tool { border-top: 1px solid var(--line); padding-block: .8rem; }
.sources summary, .tool summary { cursor: pointer; font-weight: 700; color: var(--navy); }
.tool label { margin-block: .8rem; }
.tool output { display: block; }
footer { border-top: 1px solid var(--line); background: white; padding-block: 1.5rem 2rem; }
footer p { margin-block: .3rem; }
.skip { position: absolute; left: 1rem; top: .5rem; padding: .5rem; background: white; z-index: 1; }
.skip:not(:focus) { clip-path: inset(50%); }
@media (max-width: 48rem) { .workspace { grid-template-columns: 1fr; } }
@media (max-width: 34rem) {
  .wrap { width: calc(100% - 1.6rem); }
  .filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .intro { padding-top: 2.2rem; }
  dl { grid-template-columns: 1fr; gap: .15rem; } dd { margin-bottom: .55rem; }
}

.offer-heading { padding: 1rem 1.15rem 0; }
.offer-heading p { margin: .3rem 0; }
.offer-heading .offer-title { display: block; }
.employer-logo { display: block; width: auto; height: auto; max-width: min(10rem, 100%); max-height: 3rem; object-fit: contain; margin-bottom: .65rem; }
.offer-actions { margin: .85rem 1.15rem; }
.action.share { background: white; color: var(--blue); }
.action.share:hover { background: var(--pale); }
.offer > details > summary { padding: .7rem 1.15rem; border-top: 1px solid var(--line); color: var(--blue); cursor: pointer; font-weight: 650; }
.offer > details[open] > summary { background: var(--pale); }
#pagination { align-items: center; justify-content: space-between; }
[hidden] { display: none !important; }
button:disabled { opacity: .55; cursor: default; }

:root { --cream: #faf6ef; --sand: #ede7dc; background: var(--cream); }
.navigation {
  position: sticky; top: 0; z-index: 5;
  min-height: 4.2rem; display: flex; align-items: center; justify-content: space-between;
  gap: clamp(.65rem, 2vw, 1.5rem); overflow-x: auto; white-space: nowrap;
  background: var(--sand); padding: .65rem max(1rem, calc((100% - 84rem) / 2));
  border-bottom: 1px solid var(--line);
}
.navigation > * { flex: none; }
.navigation .brand img { display: block; width: clamp(8rem, 13vw, 12.5rem); height: auto; max-height: none; mix-blend-mode: multiply; }
.navigation nav { display: flex; align-items: center; gap: clamp(.85rem, 1.6vw, 1.4rem); }
.navigation :focus-visible { outline-offset: 0; }
html { scroll-padding-top: 5.4rem; }
.skip { z-index: 6; }
.navigation a { text-decoration: none; color: var(--ink); }
.navigation nav a:hover { text-decoration: underline; }
.language { border: 1px solid #6e7d90; border-radius: 100vw; padding: .45rem .9rem; }
.intro { background: var(--cream); color: var(--navy); text-align: center; padding: 3rem 0 2rem; overflow: hidden; }
.intro h1 { font: 600 clamp(2.65rem, 7vw, 5.5rem)/1.02 var(--site-font); letter-spacing: -.035em; max-width: 16ch; margin: auto; text-wrap: balance; }
.intro p { color: var(--ink); margin: 1.2rem auto; font-size: clamp(1rem, 2vw, 1.2rem); }
.hero-action { border-radius: 100vw; padding-inline: 1.4rem; }
.portrait-collage { display: block; width: min(100%, 44rem); height: auto; margin: 1.5rem auto 0; border-radius: clamp(12px, 2vw, 24px); }
.search { margin-top: 0; }
.editorial { padding: clamp(2rem, 5vw, 4rem) 0; border-top: 1px solid var(--line); background: white; }
.editorial + .editorial { background: var(--cream); }
.editorial h2, footer h2 { font: 600 clamp(1.85rem, 4vw, 3rem)/1.1 var(--site-font); }
.editorial-grid, .contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1rem, 4vw, 3rem); margin-top: 1.5rem; }
.editorial li { margin-block: .5rem; }
.feature { background: var(--pale); border-radius: 14px; padding: 1.4rem; }
.contact-layout { align-items: center; }
.contact-layout address { font-style: normal; }
.funders { display: block; width: 100%; height: auto; }
.offer-apply { margin: .65rem 1.15rem 1rem; font-size: .91rem; color: var(--muted); overflow-wrap: anywhere; }
.export-status:empty { display: none; }
@media (max-width: 44rem) {
 .editorial-grid, .contact-layout { grid-template-columns: 1fr; }
 .intro { padding-top: 2rem; }
}

#apropos { margin-bottom: clamp(1.5rem, 3vw, 3rem); }
.about-intro { max-width: 68ch; margin-top: 1.4rem; }
#apropos .editorial-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
.about-services { border-top: 1px solid var(--line); padding-top: 1.25rem; }
.about-services ul { padding-inline-start: 1.25rem; }
.about-funding { margin-top: 2rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.employer-actions { align-items: center; gap: .75rem 1rem; }
@media (max-width: 44rem) {
  #apropos .editorial-grid { grid-template-columns: 1fr; }
}

.career-browser { margin-bottom: 1.5rem; }
.career-browser h2 { margin-bottom: .9rem; }
.career-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; }
.career-tile { display: grid; align-content: center; justify-items: start; gap: .2rem; min-height: 7rem; text-align: left; border-radius: 14px; padding: .85rem 1rem; color: var(--navy); background: var(--pale); border-color: var(--line); }
.career-tile:nth-child(3n+1) { background: var(--sand); }
.career-tile:nth-child(3n) { background: white; }
.career-tile strong { font-size: clamp(.95rem, 2vw, 1.25rem); line-height: 1.2; }
.career-location { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; }
.career-count { font-size: .82rem; font-weight: 500; }
.career-tile:hover, .career-tile[aria-pressed="true"] { background: var(--navy); color: white; border-color: var(--navy); }
.advanced-filters { margin-top: .9rem; }
.advanced-filters summary { cursor: pointer; color: var(--blue); font-weight: 650; }
#search-title, #results-title { scroll-margin-top: 1rem; }
.offer-actions button, .offer-actions .action { background: white; color: var(--blue); border-color: var(--blue); }
.offer-actions button:first-child { background: var(--blue); color: white; }
.offer-actions button:hover, .offer-actions .action:hover { background: var(--navy); color: white; }
select { min-width: 0; }
@media (max-width: 42rem) {
 .career-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; }
 .career-tile { padding: .7rem; }
}

.stream-tag { display: inline-block; margin-bottom: .55rem; padding: .2rem .6rem; border: 1px solid var(--line); border-radius: 100vw; background: var(--pale); color: var(--navy); font-size: .82rem; font-weight: 700; }

.linkedin-draft { margin: .85rem 1.15rem; padding: 1rem; border: 1px solid var(--line); border-radius: 12px; background: var(--pale); }
.linkedin-draft h4 { margin: 0 0 .8rem; color: var(--navy); }
.linkedin-draft textarea { min-height: 12rem; }
.linkedin-photo { display: block; width: min(100%, 18rem); height: auto; border-radius: 8px; }

.cv-note { background: var(--pale); padding: 1rem; border-radius: 10px; }
.cv-workspace { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 2rem; margin-top: 1.5rem; }
#cv-text { margin-bottom: .5rem; }
#cv-file { margin-bottom: 1rem; }
#cv-results { padding-inline-start: 1.4rem; }
#cv-results li { padding-bottom: .7rem; border-bottom: 1px solid var(--line); }
#cv-results p { margin: .25rem 0; }
@media (max-width: 48rem) { .cv-workspace { grid-template-columns: 1fr; gap: 1rem; } }

.employer-directory-controls { display: flex; align-items: end; flex-wrap: wrap; gap: .75rem; margin-top: 1.25rem; }
.employer-directory-controls label { flex: 1 1 16rem; }
.employer-form { margin-block: 1rem; }
.employer-form label { margin-block: .55rem; }
#employer-fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); gap: 0 1rem; margin-top: .6rem; }
.employer-notes { grid-column: 1 / -1; }
.directory-card { padding: 1.15rem; overflow-wrap: anywhere; }
.directory-contact { display: flex; align-items: center; flex-wrap: wrap; gap: .75rem; margin-top: .6rem; }
.directory-contact p { margin: 0; }
.directory-notes { white-space: pre-wrap; }

.directory-recruitment { margin: 0; padding-inline-start: 1.15rem; }

#employer-email-only { width: auto; min-height: auto; margin-inline-end: .45rem; }
.offer-freshness { display: inline-block; font-weight: 600; }

.hero-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 3.5fr) minmax(0, 1fr); gap: clamp(.75rem, 2vw, 1.6rem); align-items: center; width: min(90rem, calc(100% - 3rem)); }
.hero-center { grid-area: 1 / 2; }
.worker-banner { aspect-ratio: 1 / 3; border-radius: clamp(10px, 2vw, 22px); background: var(--sand) url("assets/workers-banners.jpg") left center / 200% 100% no-repeat; overflow: hidden; }
.worker-banner-left { grid-area: 1 / 1; }
.worker-banner-right { grid-area: 1 / 3; background-position: right center; }
@media (max-width: 46rem) {
 .hero-layout { grid-template-columns: repeat(2, minmax(0, 1fr)); width: min(100% - 1.6rem, 36rem); }
 .hero-center { grid-area: 1 / 1 / 2 / 3; }
 .worker-banner-left { grid-area: 2 / 1; }
 .worker-banner-right { grid-area: 2 / 2; }
 .worker-banner { width: min(100%, 11rem); justify-self: center; }
}

@media (min-width: 52rem) {
  .job-browser {
    width: min(84rem, calc(100% - 3rem));
    display: grid;
    grid-template-columns: minmax(13rem, 16rem) minmax(0, 1fr);
    align-items: start;
    gap: clamp(1rem, 2vw, 2rem);
  }
  .career-browser {
    position: sticky;
    top: 5.4rem;
    max-height: calc(100vh - 6.4rem);
    overflow-y: auto;
    padding: .25rem .5rem .5rem .25rem;
  }
  .career-browser .career-grid { grid-template-columns: minmax(0, 1fr); }
  .career-browser .career-tile { min-height: 5rem; }
  .job-browser-content { min-width: 0; }
}
@media (min-width: 52rem) and (max-width: 69rem) {
  .job-browser .workspace { grid-template-columns: minmax(0, 1fr); }
}

#mobile-menu-toggle { display: none; }
@media (max-width: 68rem) {
  .navigation {
    overflow: visible;
    gap: .5rem;
    min-height: 4rem;
    padding-inline: .8rem;
    background: var(--white);
  }
  .navigation .brand { flex: 1; min-width: 0; }
  .navigation .brand img { width: min(100%, 8rem); }
  .navigation .language, #mobile-menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: .4rem .7rem;
    border-radius: 10px;
    font-size: .88rem;
  }
  #mobile-menu-toggle { color: white; background: var(--navy); }
  .navigation nav {
    display: none;
    position: absolute;
    inset: 100% 0 auto;
    padding: .4rem .8rem .75rem;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 24px #102e591a;
    max-height: 70vh;
    overflow-y: auto;
    white-space: normal;
  }
  #mobile-menu-toggle[aria-expanded="true"] + nav { display: grid; gap: 0; }
  .navigation nav a {
    padding: .65rem .5rem;
    min-height: 44px;
    border-bottom: 1px solid var(--pale);
  }
}

@media (max-width: 46rem) {
  .intro {
    background: var(--navy);
    color: white;
    text-align: left;
    padding: 1.65rem 0 1rem;
  }
  .hero-layout { width: min(36rem, calc(100% - 2rem)); gap: .55rem; }
  .intro h1 {
    font-size: clamp(2rem, 7.6vw, 3.35rem);
    line-height: 1.05;
    max-width: 19ch;
    margin: 0;
  }
  .intro p { color: var(--pale); margin: .85rem 0 1rem; max-width: 46ch; }
  .intro .hero-action {
    background: white;
    border-color: white;
    color: var(--navy);
    border-radius: 10px;
  }
  .intro .hero-action:hover { background: var(--pale); }
  .portrait-collage { margin: 1.1rem 0 0; border-radius: 14px; }
  .worker-banner {
    width: 100%;
    aspect-ratio: 2.7;
    background-size: 200% auto;
    background-position-y: top;
  }
}

.navigation .brand {
  display: flex;
  align-items: center;
  gap: clamp(.25rem, 1vw, .75rem);
}
.navigation .brand .jobdev-logo {
  width: clamp(2.5rem, 4vw, 3.5rem);
  flex: none;
  mix-blend-mode: normal;
}
@media (max-width: 68rem) {
  .navigation .brand img:first-child {
    min-width: 0;
    width: auto;
    max-width: min(8rem, 65%);
  }
}

#candidate-open { min-height: 44px; white-space: normal; }
.offer-actions button:first-child { min-width: 7rem; }
#candidate-dialog {
  width: min(35rem, calc(100% - 1.5rem));
  max-height: min(48rem, calc(100% - 1.5rem));
  padding: clamp(1rem, 4vw, 1.8rem);
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 18px 64px #102e5940;
  overflow-wrap: anywhere;
  overscroll-behavior: contain;
}
#candidate-dialog::backdrop { background: #102e5977; }
.candidate-header { display: flex; align-items: flex-start; justify-content: space-between; gap: .75rem; }
.candidate-header h2 { margin: 0; }
#candidate-status:empty { display: none; }
#candidate-status { background: var(--pale); padding: .65rem .85rem; border-radius: 8px; }
#candidate-body { margin-top: 1rem; }
#candidate-body > button { margin: .5rem .5rem 0 0; }
.candidate-form { display: grid; gap: .75rem; margin-block: .8rem; }
.candidate-form button { justify-self: start; }
.candidate-form input:not([type="checkbox"]), .candidate-form textarea { width: 100%; }
.candidate-consent { display: flex; align-items: flex-start; gap: .65rem; }
.candidate-consent input { width: 1.2rem; height: 1.2rem; min-height: 0; flex: none; margin: .2rem 0; }
.candidate-history { padding-inline-start: 1.25rem; }
.candidate-history li { padding-block: .6rem; border-bottom: 1px solid var(--line); }
.candidate-history p { margin: .3rem 0; }
@media (min-width: 68.01rem) and (max-width: 80rem) {
  .navigation nav { gap: .65rem; font-size: .90rem; }
  #candidate-open { font-size: .85rem; }
}
@media (max-width: 68rem) {
  #candidate-open { justify-self: start; margin-block: .45rem; }
}

.specialized-filter { display: block; max-width: 22rem; }
.specialized-filter select { width: 100%; }
.specialized-group + .specialized-group { margin-top: 2rem; }
.specialized-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
  gap: .85rem;
}
.specialized-offer {
  min-width: 0;
  padding: 1rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow-wrap: anywhere;
}
.specialized-offer h4 { margin: 0 0 .35rem; font-size: 1.08rem; }
.specialized-offer p { margin: .25rem 0; }
.specialized-offer .actions { margin-top: .6rem; }
.specialized-group > button { margin-top: .8rem; }
@media (min-width: 68.01rem) and (max-width: 87rem) {
  .navigation nav { gap: .6rem; font-size: .85rem; }
  .navigation .brand img:first-child { width: 8rem; }
  #candidate-open { font-size: .85rem; }
}

.resume-tailor { margin-top: 2rem; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.resume-tailor-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.resume-tailor h4 { margin-bottom: .45rem; }
.resume-tailor textarea { display: block; width: 100%; margin-block: .45rem .85rem; }
.resume-tailor input[type="file"] { max-width: 100%; }
#tailor-filename { overflow-wrap: anywhere; }
#tailor-result { border-top: 1px solid var(--line); }
#tailor-review { margin-block: .85rem; }
#tailor-progress { max-width: 100%; vertical-align: middle; }
@media (max-width: 48rem) {
  .resume-tailor-grid { grid-template-columns: 1fr; gap: 0; }
}
