@font-face {
  font-family: "Geist";
  src: url("/opener/assets/fonts/geist-300.woff2") format("woff2");
  font-style: normal;
  font-weight: 300;
  font-display: swap;
}

@font-face {
  font-family: "Geist";
  src: url("/opener/assets/fonts/geist-400.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Geist";
  src: url("/opener/assets/fonts/geist-600.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

:root {
  --black: #000;
  --off-black: #222;
  --gray: #696969;
  --line: #dedede;
  --soft: #f5f7f9;
  --white: #fff;
  --blue: #09f;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--black);
  background: var(--white);
  font-family: "Geist", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.site-header,
footer {
  display: grid;
  width: min(1224px, calc(100vw - 56px));
  margin: 0 auto;
}

.site-header {
  position: relative;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 74px;
  border-bottom: 1px solid var(--line);
}

.wordmark {
  display: inline-flex;
  grid-column: 2;
  align-items: center;
  justify-self: center;
}

.wordmark img {
  display: block;
  width: 131px;
  height: auto;
}

.header-link {
  display: inline-flex;
  grid-column: 3;
  gap: 14px;
  align-items: center;
  justify-self: end;
  font-size: 12px;
  text-decoration: none;
}

main {
  width: min(1224px, calc(100vw - 56px));
  margin: 0 auto;
}

.hero {
  min-height: 660px;
  padding: 128px 0 100px;
}

.eyebrow {
  margin: 0 0 28px;
  color: var(--gray);
  font-size: 11px;
  letter-spacing: 0.08em;
}

.hero h1 {
  max-width: 1050px;
  margin: 0;
  font-size: clamp(64px, 7.5vw, 104px);
  font-weight: 300;
  letter-spacing: -0.065em;
  line-height: 0.95;
}

.hero-copy {
  max-width: 710px;
  margin: 46px 0 0;
  color: #414141;
  font-size: 20px;
  font-weight: 300;
  line-height: 1.55;
}

.jobs {
  padding: 110px 0 130px;
  border-top: 1px solid var(--line);
}

.section-head {
  display: grid;
  grid-template-columns: 1fr 0.55fr;
  gap: 50px;
  align-items: end;
  margin-bottom: 56px;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(48px, 5vw, 68px);
  font-weight: 300;
  letter-spacing: -0.055em;
  line-height: 1;
}

.section-head > p {
  max-width: 340px;
  margin: 0 0 5px;
  color: var(--gray);
  font-size: 15px;
  font-weight: 300;
  line-height: 1.6;
}

.job-card {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 1fr auto;
  gap: 55px;
  align-items: end;
  min-height: 340px;
  padding: 46px;
  overflow: hidden;
  color: var(--white);
  background: var(--off-black);
  border-radius: 14px;
  text-decoration: none;
  transition: transform 180ms ease, background 180ms ease;
}

.job-card::before {
  position: absolute;
  top: -120px;
  right: -80px;
  width: 330px;
  height: 330px;
  background: radial-gradient(circle, rgba(0, 153, 255, 0.4), rgba(0, 153, 255, 0) 68%);
  content: "";
  pointer-events: none;
}

.job-card:hover {
  background: #181818;
  transform: translateY(-3px);
}

.job-main p {
  margin: 0 0 24px;
  color: #aaa;
  font-size: 10px;
  letter-spacing: 0.08em;
}

.job-main h3 {
  margin: 0;
  font-size: clamp(38px, 4vw, 56px);
  font-weight: 300;
  letter-spacing: -0.055em;
  line-height: 1;
}

.job-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin: 0;
}

.job-facts div {
  min-width: 105px;
}

.job-facts dt {
  margin-bottom: 7px;
  color: #949494;
  font-size: 10px;
}

.job-facts dd {
  margin: 0;
  font-size: 14px;
}

.job-arrow {
  position: relative;
  z-index: 1;
  display: grid;
  width: 58px;
  height: 58px;
  color: var(--black);
  background: var(--blue);
  border-radius: 50%;
  font-size: 22px;
  place-items: center;
}

footer {
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  min-height: 110px;
  border-top: 1px solid var(--line);
}

footer .wordmark {
  grid-column: 1;
  justify-self: start;
}

footer p {
  margin: 0;
  color: var(--gray);
  font-size: 11px;
  text-align: center;
}

footer nav {
  display: flex;
  gap: 22px;
  justify-self: end;
}

footer nav a {
  color: var(--gray);
  font-size: 11px;
  text-decoration: none;
}

@media (max-width: 800px) {
  .site-header,
  main,
  footer {
    width: calc(100vw - 28px);
  }

  .site-header {
    min-height: 62px;
  }

  .header-link {
    display: none;
  }

  .hero {
    min-height: 560px;
    padding: 86px 0 72px;
  }

  .hero h1 {
    font-size: clamp(52px, 14vw, 70px);
  }

  .hero-copy {
    margin-top: 34px;
    font-size: 17px;
  }

  .jobs {
    padding: 76px 0 88px;
  }

  .section-head {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 36px;
  }

  .section-head > p {
    max-width: 100%;
  }

  .job-card {
    grid-template-columns: 1fr auto;
    gap: 34px 18px;
    min-height: 430px;
    padding: 28px;
  }

  .job-main {
    grid-column: 1 / -1;
  }

  .job-facts {
    grid-template-columns: 1fr;
    gap: 13px;
  }

  .job-arrow {
    align-self: end;
  }

  footer {
    grid-template-columns: 1fr;
    gap: 20px;
    justify-items: center;
    padding: 34px 0;
  }

  footer .wordmark,
  footer nav {
    grid-column: auto;
    justify-self: center;
  }
}

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

  .job-card {
    transition: none;
  }
}
