@font-face {
  font-family: "Cera Pro";
  src: url("assets/fonts/cera-pro-regular-webfont.b63e54f568418b55.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Cera Pro";
  src: url("assets/fonts/cera-pro-medium-webfont.c0f79f23ce171460.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Rival Slab";
  src: url("assets/fonts/mostardesign_-_rival_slab_light-webfont.6a5dfb9e39f71df4.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Rival Slab";
  src: url("assets/fonts/mostardesign_-_rival_slab_medium-webfont.1ffe2799d5cd1d66.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Rival Slab";
  src: url("assets/fonts/mostardesign_-_rival_slab_black-webfont.5ac79d3355f19374.woff2") format("woff2");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --red: #e30613;
  --red-dark: #b1050f;
  --teal: #0b3f50;
  --ink: #181818;
  --muted: #5b5b5b;
  --soft: #e9e9e9;
  --blue-grey: #a6bbcd;
  --blue-grey-dark: #95a8b8;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: "Cera Pro", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  overflow-x: hidden;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
}

h1,
h2,
h3 {
  max-width: 100%;
  margin: 0 0 1rem;
  font-family: "Rival Slab", Georgia, serif;
  font-weight: 500;
  line-height: 1.2;
  overflow-wrap: break-word;
}

p {
  margin: 0 0 1rem;
}

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

.site-nav {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  color: #fff;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
}

.logo img,
.logo svg {
  display: block;
  width: 75px;
  height: 75px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  display: block;
  padding: .5rem;
  border-bottom: 1px solid transparent;
  color: #fff;
  font-weight: 500;
  text-decoration: none;
  transition: border-color .2s ease, opacity .2s ease;
}

.nav-links a:hover {
  border-bottom-color: rgba(255, 255, 255, .5);
}

.hero {
  position: relative;
  min-height: 356px;
  overflow: hidden;
  padding: 180px 0 100px;
  background: var(--teal);
  color: #fff;
}

.hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero h1 {
  max-width: 900px;
  margin-bottom: 1.5rem;
  font-size: 51px;
  line-height: 1.2;
  text-shadow:
    0 3px 18px rgba(0, 0, 0, .78),
    0 1px 2px rgba(0, 0, 0, .9);
  -webkit-text-stroke: .45px rgba(5, 33, 48, .75);
}

.hero p {
  margin: 0;
  font-size: 18px;
  line-height: 1.63;
}

.narrative {
  padding: 6px 0;
}

.narrative:first-of-type {
  padding-top: 96px;
}

.office {
  background: #f8f9fa;
}

.two-column {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 60px;
}

.two-column > * {
  width: calc(50% - 30px);
}

.copy h2,
.section-heading h2,
.cta h2 {
  font-size: 38px;
  line-height: 1.2;
  min-width: 0;
}

.copy p,
.copy address {
  color: var(--muted);
}

.copy address {
  margin: 1.5rem 0 1rem;
  font-style: normal;
  line-height: 1.75;
}

.copy a:not(.primary-btn):not(.secondary-btn) {
  color: var(--ink);
}

.media-link {
  overflow: hidden;
}

.media-link img {
  width: 100%;
  object-fit: cover;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem;
  margin-top: 2rem;
}

.primary-btn,
.secondary-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  padding: 14.4px 16px;
  border: 1px solid transparent;
  font-weight: 500;
  line-height: 1.2;
  text-decoration: none;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}

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

.primary-btn:hover {
  background: var(--red-dark);
}

.secondary-btn {
  background: var(--blue-grey);
  color: #1f2c37;
}

.secondary-btn:hover {
  border-color: var(--blue-grey-dark);
  background: var(--blue-grey-dark);
}

.btn-arrow,
.card-arrow::before,
.slider-arrows span {
  width: 12px;
  height: 13px;
  background: currentColor;
  clip-path: polygon(0 12%, 15% 0, 100% 50%, 15% 100%, 0 88%, 73% 50%);
}

.btn-arrow {
  color: #e9e9e9;
  flex: 0 0 auto;
}

.btn-arrow.dark {
  color: #1f2c37;
}

.testimonials {
  padding: 96px 0;
  background: #fff;
}

.testimonial-card {
  position: relative;
  margin: 0;
  padding: 1.5rem 3rem;
  border: 5px solid var(--red);
  background: #fff;
}

.testimonial-card::before,
.testimonial-card::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 95%;
  height: 20px;
  transform: translateX(-50%);
  background: #fff;
}

.testimonial-card::before {
  top: -10px;
}

.testimonial-card::after {
  bottom: -10px;
}

.testimonial-card blockquote {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--ink);
  font-family: "Rival Slab", Georgia, serif;
  font-size: 28px;
  font-style: italic;
  font-weight: 300;
  line-height: 1.3;
}

.testimonial-card figcaption {
  position: relative;
  z-index: 1;
  margin-top: 1.5rem;
  color: var(--teal);
  font-weight: 500;
  line-height: 1.84;
}

.latest {
  padding: 96px 0;
  background: var(--soft);
}

.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 1.5rem;
}

.section-heading h2 {
  margin: 0;
}

.slider-arrows {
  display: flex;
  gap: 1.5rem;
  opacity: .2;
}

.slider-arrows span:first-child {
  transform: scaleX(-1);
}

.job-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.job-card {
  position: relative;
  min-height: 210px;
  padding: 1rem 1rem 1.2rem;
  border: 3px solid var(--soft);
  background: #fff;
  transition: border-color .2s ease, transform .2s ease;
}

.job-card:hover,
.news-card:hover {
  border-color: var(--red);
}

.job-card .meta,
.job-card .salary {
  min-height: 14px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.2;
}

.job-card h3 {
  min-height: 55px;
  margin: 0 0 3rem;
  font-size: 21px;
  line-height: 1.3;
}

.job-card h3 a {
  text-decoration: underline;
}

.job-card:hover h3 a,
.news-card:hover h3 a {
  color: var(--red);
}

.job-card .salary {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  margin: 0;
}

.card-arrow {
  position: absolute;
  z-index: 2;
  top: 0;
  right: 0;
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  background: var(--red);
  color: #e9e9e9;
}

.card-arrow::before {
  content: "";
}

.centered {
  margin-top: 3rem;
  text-align: center;
}

.cta {
  position: relative;
  overflow: hidden;
  background: var(--teal);
  color: #fff;
}

.cta-content {
  position: relative;
  z-index: 1;
  max-width: 1320px;
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.cta-content > * {
  max-width: 390px;
}

.cta h2 {
  margin-bottom: 1rem;
}

.cta p {
  margin-bottom: 1.5rem;
  line-height: 1.4;
}

.cta-image {
  position: absolute;
  inset: 0 0 0 50%;
}

.cta-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact-section {
  padding: 96px 0;
  background: #fff;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 420px) minmax(0, 1fr);
  gap: 60px;
  align-items: start;
}

.eyebrow {
  margin-bottom: .75rem;
  color: var(--red);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.contact-copy h2 {
  font-size: 38px;
}

.contact-copy p:not(.eyebrow) {
  color: var(--muted);
}

.contact-form {
  display: grid;
  gap: 1rem;
  padding: 2rem;
  border: 3px solid var(--soft);
  background: #fff;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.contact-form label {
  display: grid;
  gap: .35rem;
  color: var(--ink);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid #d7d7d7;
  border-radius: 0;
  padding: .75rem;
  background: #fff;
  color: var(--ink);
  font: 400 16px/1.4 "Cera Pro", Arial, sans-serif;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form .primary-btn {
  justify-self: start;
  cursor: pointer;
}

.job-detail-main {
  background: var(--soft);
}

.policy-main {
  background: #fff;
}

.policy-hero {
  padding: 160px 0 72px;
  background: var(--teal);
  color: #fff;
}

.policy-hero h1 {
  max-width: 900px;
  font-size: 52px;
}

.policy-hero p {
  max-width: 720px;
  color: rgba(255, 255, 255, .86);
  font-size: 18px;
}

.policy-section {
  padding: 72px 0 96px;
}

.policy-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 80px;
  align-items: start;
}

.policy-meta {
  position: sticky;
  top: 120px;
  padding: 1.5rem;
  border-top: 5px solid var(--red);
  background: var(--soft);
}

.policy-meta p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.policy-content {
  max-width: 860px;
}

.policy-content h2 {
  margin-top: 2.5rem;
  font-size: 30px;
}

.policy-content h2:first-child {
  margin-top: 0;
}

.policy-content p,
.policy-content li {
  color: var(--muted);
}

.policy-content ul {
  margin: 0 0 1.5rem;
  padding-left: 1.25rem;
}

.job-detail-hero {
  padding: 170px 0 70px;
  background:
    linear-gradient(135deg, rgba(11, 63, 80, .96), rgba(0, 94, 184, .88)),
    url("assets/images/hero-quantum-labs.png") center/cover;
  color: #fff;
}

.return-page {
  display: inline-flex;
  align-items: center;
  margin-bottom: 1.5rem;
  color: #fff;
  font-weight: 500;
  text-decoration: underline;
}

.job-detail-hero h1 {
  max-width: 860px;
  font-size: 48px;
  text-shadow: 0 3px 18px rgba(0, 0, 0, .42);
}

.job-shell {
  padding: 48px 0 96px;
}

.job-info-panel {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr)) auto;
  gap: 1.5rem;
  align-items: end;
  padding: 1.5rem;
  background: #fff;
}

.post-info-title {
  margin-bottom: .35rem;
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.2;
}

.post-info-content {
  color: var(--ink);
  font-family: "Rival Slab", Georgia, serif;
  font-size: 22px;
  line-height: 1.2;
}

.job-content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 24px;
  align-items: start;
  margin-top: 24px;
}

.job-post-content,
.job-side-card {
  padding: 2rem;
  background: #fff;
}

.job-post-content h2,
.job-side-card h2 {
  font-size: 28px;
}

.job-post-content h3 {
  margin-top: 2rem;
  font-family: "Cera Pro", Arial, sans-serif;
  font-size: 16px;
  font-weight: 500;
}

.job-post-content ul {
  margin: 0 0 1.5rem;
  padding-left: 1.25rem;
  color: var(--muted);
}

.job-post-content li {
  margin-bottom: .65rem;
}

.job-side-card {
  border-top: 5px solid var(--red);
}

.job-side-card p {
  color: var(--muted);
}

.apply-section {
  margin-top: 24px;
  background: #fff;
}

.apply-section .contact-form {
  border: 0;
  padding: 2rem;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: repeat(6, 1fr);
  gap: 20px;
}

.news-card {
  position: relative;
  display: flex;
  border: 3px solid var(--soft);
  background: #fff;
  overflow: hidden;
  transition: border-color .2s ease;
}

.news-card.feature {
  grid-area: 1 / 1 / 7 / 4;
  display: block;
}

.news-card:nth-child(2) {
  grid-area: 1 / 4 / 3 / 7;
}

.news-card:nth-child(3) {
  grid-area: 3 / 4 / 5 / 7;
}

.news-card:nth-child(4) {
  grid-area: 5 / 4 / 7 / 7;
}

.news-image {
  position: relative;
  flex: 0 0 25%;
  overflow: hidden;
}

.news-card.feature .news-image {
  width: 100%;
  height: 245px;
}

.news-image span {
  position: absolute;
  z-index: 1;
  top: 15px;
  left: 15px;
  padding: 3px 6px;
  border-radius: 25px;
  background: #fff;
  color: var(--ink);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.2;
}

.news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .2s ease;
}

.news-card:hover .news-image img {
  transform: scale(1.1);
}

.news-copy {
  padding: 1.5rem;
}

.news-card.feature .news-copy {
  padding: 1.5rem;
}

.news-copy h3 {
  display: -webkit-box;
  overflow: hidden;
  height: 46px;
  margin: 0 0 1.5rem;
  font-size: 18px;
  line-height: 1.3;
  text-overflow: ellipsis;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.news-card.feature .news-copy h3 {
  height: 36px;
  font-size: 28px;
  -webkit-line-clamp: 1;
}

.news-copy h3 a {
  text-decoration: none;
}

.news-copy p {
  display: -webkit-box;
  overflow: hidden;
  height: 62px;
  margin: 0;
  color: var(--muted);
  line-height: 1.3;
  text-overflow: ellipsis;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.footer {
  background: #fff;
  color: var(--ink);
}

.footer-top {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 80px;
  align-items: start;
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.footer-logo img,
.footer-logo svg {
  display: block;
  width: 130px;
  height: 130px;
}

.footer h2 {
  margin: 0 0 .5rem;
  color: var(--muted);
  font-family: "Cera Pro", Arial, sans-serif;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.4;
}

.footer a {
  display: block;
  margin-bottom: .5rem;
  font-weight: 500;
  text-decoration: none;
}

.footer a:hover {
  text-decoration: underline;
}

.footer-policies {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem 2rem;
  align-items: center;
  padding-top: .5rem;
}

.footer-policies h2 {
  flex-basis: 100%;
}

.footer-policies a {
  margin-bottom: 0;
}

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

  .two-column,
  .footer-top {
    gap: 40px;
  }

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

}

@media (max-width: 991px) {
  .hero {
    padding: 150px 0 60px;
  }

  .hero h1 {
    font-size: 42px;
  }

  .two-column {
    flex-direction: column;
    align-items: stretch;
  }

  .two-column > * {
    width: 100%;
  }

  .copy h2,
  .section-heading h2,
  .cta h2 {
    font-size: 32px;
  }

  .job-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cta-image {
    opacity: .2;
    inset: 0;
  }

  .contact-layout,
  .job-content-grid,
  .policy-layout {
    grid-template-columns: 1fr;
  }

  .policy-meta {
    position: static;
  }

  .job-info-panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .news-grid {
    display: block;
  }

  .news-card,
  .news-card.feature {
    display: flex;
    margin-bottom: 1rem;
  }

  .news-image,
  .news-card.feature .news-image {
    flex: 0 0 25%;
    width: auto;
    height: auto;
  }

  .news-copy {
    flex: 1 1 auto;
  }

  .news-card.feature .news-copy h3 {
    height: 46px;
    font-size: 18px;
    -webkit-line-clamp: 2;
  }
}

@media (max-width: 767px) {
  .nav-inner {
    padding: .75rem;
  }

  .logo img,
  .logo svg {
    width: 60px;
    height: 60px;
  }

  .hero {
    padding: 130px 0 50px;
  }

  .hero h1 {
    font-size: 34px;
  }

  .hero p {
    font-size: 16px;
  }

  .narrative,
  .testimonials,
  .latest,
  .contact-section {
    padding: 60px 0;
  }

  .contact-form,
  .apply-section .contact-form {
    padding: 1.25rem;
  }

  .form-grid,
  .job-info-panel {
    grid-template-columns: 1fr;
  }

  .job-detail-hero {
    padding: 140px 0 48px;
  }

  .job-detail-hero h1 {
    font-size: 34px;
  }

  .policy-hero {
    padding: 130px 0 48px;
  }

  .policy-hero h1 {
    font-size: 36px;
  }

  .policy-section {
    padding: 48px 0 60px;
  }

  .job-shell {
    padding: 32px 0 60px;
  }

  .testimonial-card {
    padding: 1.5rem;
  }

  .testimonial-card blockquote {
    font-size: 20px;
  }

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

  .section-heading {
    align-items: flex-start;
  }

  .slider-arrows {
    display: none;
  }

  .footer-top {
    display: block;
  }

  .footer-top {
    padding-top: 2rem;
  }

  .footer-logo img,
  .footer-logo svg {
    width: 100px;
    height: 100px;
    margin-bottom: 2rem;
  }

  .footer-policies {
    margin-bottom: 1.5rem;
  }
}
