html {
  scroll-behavior: smooth;
}

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

body {
  margin: 0;
  background: #fff;
  color: #212529;
  font: 300 16px/24px "Raleway", Verdana, Arial, Helvetica, sans-serif;
}

img {
  max-width: 100%;
  height: auto;
  border: 0;
}

p {
  margin: 0 0 1rem;
}

h1,
h2,
.title-xl {
  margin: 0 0 15px;
  font-weight: 200;
  font-size: 2.5em;
  line-height: 1;
}

strong {
  font-weight: 600;
}

a {
  color: #333;
  text-decoration: none;
}

a:hover {
  color: #333;
}

:focus {
  outline: none;
}

:focus-visible {
  outline: 2px solid #386274;
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 12px;
  top: 12px;
  z-index: 100;
  padding: 8px 12px;
  background: #fff;
  transform: translateY(-150%);
}

.skip:focus {
  transform: none;
}

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 15px;
}

header {
  position: relative;
  z-index: 20;
  padding: 15px 0;
  background: #fff;
}

.header-inner {
  display: flex;
  align-items: center;
}

.logo {
  display: inline-block;
  width: 80px;
  flex: 0 0 auto;
  line-height: 0;
}

nav {
  margin-left: 1rem;
}

nav ul {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

nav a {
  position: relative;
  display: inline-block;
  padding: 0 1rem;
  color: #333;
  font-size: 14px;
  font-weight: 500;
  line-height: 24px;
  text-transform: uppercase;
}

nav a::before {
  content: "•";
  position: absolute;
  top: 50%;
  left: 0;
  color: #386274;
  font-size: 24px;
  font-weight: 400;
  line-height: 1;
  transform: translateY(-54%);
}

nav a[aria-current="true"] {
  font-weight: 700;
}

.has-menu {
  position: relative;
}

.submenu {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 30;
  display: none;
  min-width: 320px;
  padding: 12px 0 8px;
  background: #fff;
  box-shadow: 0 5px 11px -5px rgba(0, 0, 0, 0.12);
  text-align: left;
}

.has-menu:hover > .submenu,
.has-menu:focus-within > .submenu {
  display: block;
}

.submenu a {
  display: block;
  padding: 10px 18px 10px 28px;
  font-size: 12px;
  line-height: 1.35;
}

.contact-hd {
  display: flex;
  align-items: center;
  margin-left: auto;
  gap: 10px;
}

.contact-pill {
  display: inline-block;
  padding: 0 2rem;
  border: 1px solid #386274;
  border-radius: 15px;
  background: #386274;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 28px;
}

.contact-pill:hover,
.contact-pill:focus-visible {
  background: #fff;
  color: #000;
}

.social {
  display: flex;
  align-items: center;
  gap: 6px;
}

.social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border: 1px solid #386274;
  border-radius: 50%;
  background: #386274;
  color: #fff;
}

.social a:hover,
.social a:focus-visible {
  background: #fff;
  color: #000;
}

.social svg {
  display: block;
  width: 13px;
  height: 13px;
  fill: currentColor;
}

.menu-toggle {
  display: none;
  padding: 0;
  border: 0;
  background: transparent;
  color: #333;
  cursor: pointer;
}

.bars,
.bars::before,
.bars::after {
  display: block;
  width: 22px;
  height: 2px;
  background: #222;
}

.bars {
  position: relative;
  margin: 0 auto;
}

.bars::before,
.bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.bars::before {
  top: -6px;
}

.bars::after {
  top: 6px;
}

.menu-label {
  display: block;
  margin-top: 7px;
  color: #8a8a8a;
  font: 500 10px/1 "Raleway", Verdana, sans-serif;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.mobile-only {
  display: none;
}

.hero {
  margin: 0 0 30px;
}

.hero img {
  display: block;
  width: 100%;
}

.intro {
  margin: 0 auto 3em;
  text-align: center;
}

.band {
  margin: 0 0 3em;
  padding: 3em 0;
  background: #73919d;
  color: #fff;
  text-align: center;
}

.band .title-xl,
.band p,
.band strong {
  color: #fff;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2em 1.75em;
  margin-top: 0.5em;
}

.job-title {
  display: block;
  margin: 0 0 15px;
  font-size: 1.5em;
  font-weight: 700;
  line-height: 1.2;
  hyphens: auto;
  overflow-wrap: break-word;
}

.btn {
  position: relative;
  display: inline-block;
  margin: 0 18px;
  padding: 5px 15px;
  border: 0;
  background: #386274;
  color: #fff;
  font: 700 16px/24px "Raleway", Verdana, Arial, Helvetica, sans-serif;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
}

.btn::before,
.btn::after {
  content: "";
  position: absolute;
  top: 0;
  width: 0;
  height: 0;
  border-style: solid;
}

.btn::before {
  left: -17px;
  border-width: 0 0 34px 17px;
  border-color: transparent transparent #386274 transparent;
}

.btn::after {
  right: -17px;
  border-width: 34px 0 0 17px;
  border-color: transparent transparent transparent #386274;
}

.btn:hover,
.btn:focus-visible {
  background: #386274;
  color: #fff;
  opacity: 0.75;
}

.band .btn {
  background: #fff;
  color: #73919d;
}

.band .btn::before {
  border-color: transparent transparent #fff transparent;
}

.band .btn::after {
  border-color: transparent transparent transparent #fff;
}

.band .btn:hover,
.band .btn:focus-visible {
  background: #fff;
  color: #73919d;
}

.band :focus-visible,
footer :focus-visible {
  outline-color: #fff;
}

.split {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  margin-bottom: 3em;
}

.split figure {
  flex: 1.7;
  margin: 0;
}

.split .text {
  flex: 1;
}

.page-block {
  margin: 0 0 3em;
}

.prose ul {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
}

.prose li {
  margin: 0 0 0.35rem;
}

.prose li ul {
  margin-top: 0.35rem;
}

.roles {
  list-style-type: square;
}

.contract-label {
  text-decoration: underline;
}

.prose a:not(.btn) {
  text-decoration: underline;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 240px));
  gap: 0.5rem 2rem;
  margin-bottom: 1.25rem;
}

.job-detail {
  display: none;
  margin: 0 0 3em;
  scroll-margin-top: 16px;
}

.job-detail:target {
  display: block;
}

.back {
  text-decoration: underline;
}

footer {
  margin-top: 3em;
  padding: 4em 0;
  background: #386274 url("../img/bg-footer.png") no-repeat center center;
  color: #fff;
}

footer p,
footer a,
footer h2,
footer .title-xl {
  color: #fff;
}

footer a:hover,
footer a:focus-visible {
  color: #fff;
  text-decoration: underline;
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1.5em;
}

.logo-ft {
  display: block;
  width: 100%;
  max-width: 350px;
  line-height: 0;
}

.follow {
  display: flex;
  align-items: center;
  gap: 12px;
}

.follow .title-xl {
  margin: 0;
}

.social-ft a {
  background: #fff;
  border-color: #fff;
  color: #386274;
}

.social-ft a:hover,
.social-ft a:focus-visible {
  background: transparent;
  color: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 0.85fr 1fr;
  gap: 1.5rem 2rem;
}

footer h2 {
  margin: 0 0 10px;
  font-size: 0.875em;
  font-weight: 700;
  line-height: 1.3;
  text-transform: uppercase;
}

.contact-mini {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.subfooter {
  padding: 15px 0;
  text-align: center;
}

.subfooter p {
  margin: 5px 0 15px;
}

.cookie {
  display: none;
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 40;
  padding: 14px 0;
  border-top: 1px solid #e1e1e1;
  background: #f9f9f9;
}

.has-cookie .cookie {
  display: block;
}

.cookie-title {
  margin: 0 0 5px;
  font-size: 1.5em;
  font-weight: 700;
  line-height: 1;
}

.cookie p,
.cookie a {
  font-size: 12px;
  line-height: 22px;
}

.cookie-row {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.cookie-row p {
  margin: 0;
}

.cookie a:not(.btn) {
  text-decoration: underline;
}

.cookie-action {
  flex: 0 0 auto;
  margin-left: auto;
}

.crumb {
  margin: 0 0 1.25rem;
  text-align: center;
}

.crumb span {
  opacity: 0.5;
}

.legal {
  margin: 1.5em auto 3em;
}

.legal h1 {
  margin-bottom: 1rem;
}

@media (max-width: 1199px) {
  .container {
    max-width: 960px;
  }
}

@media (max-width: 991px) {
  .container {
    max-width: 720px;
  }

  nav {
    margin-left: 0.5rem;
  }

  nav a {
    padding: 0 0.75rem;
    font-size: 13px;
  }

  .contact-pill {
    padding: 0 0.9rem;
  }

  .cards {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 767px) {
  .container {
    max-width: 480px;
  }

  .menu-toggle {
    display: block;
    position: absolute;
    top: 50%;
    left: 15px;
    transform: translateY(-50%);
  }

  .header-inner {
    position: relative;
    justify-content: center;
    min-height: 46px;
  }

  .contact-hd {
    position: absolute;
    top: 50%;
    right: 0;
    margin: 0;
    transform: translateY(-50%);
  }

  .contact-pill {
    display: none;
  }

  #hoofdmenu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    margin: 0;
    padding: 8px 0 14px;
    background: #fff;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
  }

  #hoofdmenu.is-open {
    display: block;
  }

  #hoofdmenu ul,
  .submenu {
    display: block;
    position: static;
    min-width: 0;
    padding: 0;
    box-shadow: none;
  }

  #hoofdmenu a {
    display: block;
    padding: 11px 18px 11px 34px;
  }

  .submenu a {
    padding-left: 48px;
    font-weight: 400;
  }

  .mobile-only {
    display: block;
  }

  .cards,
  .split,
  .contact-grid,
  .footer-top,
  .footer-grid,
  .contact-mini,
  .cookie-row {
    display: block;
  }

  .split figure,
  .cards {
    margin-bottom: 1.25rem;
  }

  .cookie-action {
    margin: 12px 0 0;
    text-align: right;
  }

  .follow {
    margin-top: 1rem;
  }

  .footer-grid > div {
    margin-bottom: 1.25rem;
  }
}

@media (max-width: 575px) {
  .container {
    max-width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
