@charset "UTF-8";
@-webkit-keyframes wave {
  0% {
    -webkit-filter: brightness(100%) hue-rotate(0deg);
            filter: brightness(100%) hue-rotate(0deg); }
  90% {
    -webkit-filter: brightness(100%) hue-rotate(0deg);
            filter: brightness(100%) hue-rotate(0deg);
    -webkit-animation-timing-function: ease-in-out;
            animation-timing-function: ease-in-out; }
  100% {
    -webkit-filter: brightness(150%) hue-rotate(180deg);
            filter: brightness(150%) hue-rotate(180deg); } }

@keyframes wave {
  0% {
    -webkit-filter: brightness(100%) hue-rotate(0deg);
            filter: brightness(100%) hue-rotate(0deg); }
  90% {
    -webkit-filter: brightness(100%) hue-rotate(0deg);
            filter: brightness(100%) hue-rotate(0deg);
    -webkit-animation-timing-function: ease-in-out;
            animation-timing-function: ease-in-out; }
  100% {
    -webkit-filter: brightness(150%) hue-rotate(180deg);
            filter: brightness(150%) hue-rotate(180deg); } }

@-webkit-keyframes hover {
  0% {
    -webkit-filter: brightness(100%) hue-rotate(0deg);
            filter: brightness(100%) hue-rotate(0deg); }
  50% {
    -webkit-filter: brightness(100%) hue-rotate(360deg);
            filter: brightness(100%) hue-rotate(360deg);
    -webkit-animation-timing-function: ease-in-out;
            animation-timing-function: ease-in-out; }
  100% {
    -webkit-filter: brightness(100%) hue-rotate(0deg);
            filter: brightness(100%) hue-rotate(0deg); } }

@keyframes hover {
  0% {
    -webkit-filter: brightness(100%) hue-rotate(0deg);
            filter: brightness(100%) hue-rotate(0deg); }
  50% {
    -webkit-filter: brightness(100%) hue-rotate(360deg);
            filter: brightness(100%) hue-rotate(360deg);
    -webkit-animation-timing-function: ease-in-out;
            animation-timing-function: ease-in-out; }
  100% {
    -webkit-filter: brightness(100%) hue-rotate(0deg);
            filter: brightness(100%) hue-rotate(0deg); } }

h1,
h2,
h3,
h4,
h5,
ul,
li {
  margin: 0;
  padding: 0;
  list-style: none; }

.hidden {
  display: none; }

body {
  font-family: 'Libre Caslon Text', serif;
  font-size: 18px;
  font-weight: normal;
  font-style: normal;
  font-stretch: normal;
  margin: 0;
  word-wrap: break-word;
  color: #4b5866;
  background: -webkit-gradient(linear, left top, right top, from(rgba(255, 255, 255, 0.5)), color-stop(2em, rgba(255, 255, 255, 0.9)), color-stop(37.5em, rgba(255, 255, 255, 0.9)), color-stop(45em, rgba(255, 255, 255, 0.8))), url("/images/seamless_paper_texture.png");
  background: linear-gradient(to right, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.9) 2em, rgba(255, 255, 255, 0.9) 37.5em, rgba(255, 255, 255, 0.8) 45em), url("/images/seamless_paper_texture.png");
  -webkit-font-smoothing: antialiased;
  font-display: optional;
  text-rendering: optimizeLegibility;
  font-variant-caps: normal; }
  @media only screen and (max-width: 45em) {
    body {
      font-size: 16px;
      color: #4b5866; } }
a {
  text-decoration: none;
  color: #4779ae; }
  @media (any-hover) {
    a:hover {
      text-decoration: underline;
      -webkit-animation: hover 3s alternate infinite;
      animation: hover 3s alternate infinite; } }

header {
  position: sticky;
  z-index: 1;
  top: 0;
  padding-right: 1.5em;
  border-bottom: solid 1px #e0e0e0;
  background: -webkit-gradient(linear, left top, right top, from(rgba(255, 255, 255, 0.8)), color-stop(2.25em, rgba(255, 255, 255, 0.95)), color-stop(37.5em, rgba(255, 255, 255, 0.95)), color-stop(45em, rgba(255, 255, 255, 0.7)));
  background: linear-gradient(to right, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.95) 2.25em, rgba(255, 255, 255, 0.95) 37.5em, rgba(255, 255, 255, 0.7) 45em); }
  @media only screen and (max-width: 45em) {
    header {
      padding-right: 1em; } }
  header h1 {
    font-size: 1.33em;
    font-weight: 400;
    display: inline-block;
    margin-left: 1.125em;
    margin-right: .5em;
    line-height: 2.5em; }
    @media only screen and (max-width: 45em) {
      header h1 {
        font-size: 1.125em;
        line-height: 2.875em;
        margin-left: .75em;
        margin-bottom: -.5em; } }
    header h1 a {
      margin-left: .125em; }
  header nav {
    margin-left: .875em;
    margin-top: -.25em;
    display: inline-block;
    vertical-align: middle; }
    header nav a {
      margin-right: .5em;
      font-size: 1.125em;
      line-height: 2.8125em;
      vertical-align: middle;
      padding-bottom: .8125em; }
      @media only screen and (max-width: 45em) {
        header nav a {
          font-size: 1em;
          line-height: 2.875em;
          margin-bottom: -.5em; } }
      header nav a:last-of-type {
        margin-right: 0; }
      header nav a.selected {
        text-decoration: none;
        color: #4b5866;
        border-bottom: 2px solid #4b5866;
        font-weight: 700; }

section {
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: reverse;
     -moz-box-orient: vertical;
     -moz-box-direction: reverse;
      -ms-flex-direction: column-reverse;
          flex-direction: column-reverse;
  line-height: 1.4em;
  margin-top: 1em;
  margin-right: 1.5em;
  margin-left: 1.5em; }
  @media only screen and (max-width: 45em) {
    section {
      margin-top: 1em;
      width: auto;
      margin-left: 1em;
      margin-right: 1em; } }
#resume {
  margin-top: .25em;
  width: 37.5em;
  max-width: 100%;
  padding-bottom: 4em; }
  #resume h5 a,
  #resume ul a,
  #resume p a {
    -webkit-animation: wave 10s alternate infinite;
    animation: wave 10s alternate infinite; }
    #resume h5 a:hover,
    #resume ul a:hover,
    #resume p a:hover {
      -webkit-animation: hover 3s alternate infinite;
      animation: hover 3s alternate infinite; }
  #resume h5:nth-of-type(10n + 0) a,
  #resume ul:nth-of-type(10n + 0) a,
  #resume p:nth-of-type(10n + 0) a {
    -webkit-animation-delay: 0s;
            animation-delay: 0s; }
  #resume h5:nth-of-type(10n + 1) a,
  #resume ul:nth-of-type(10n + 1) a,
  #resume p:nth-of-type(10n + 1) a {
    -webkit-animation-delay: .2s;
            animation-delay: .2s; }
  #resume h5:nth-of-type(10n + 2) a,
  #resume ul:nth-of-type(10n + 2) a,
  #resume p:nth-of-type(10n + 2) a {
    -webkit-animation-delay: .4s;
            animation-delay: .4s; }
  #resume h5:nth-of-type(10n + 3) a,
  #resume ul:nth-of-type(10n + 3) a,
  #resume p:nth-of-type(10n + 3) a {
    -webkit-animation-delay: .6s;
            animation-delay: .6s; }
  #resume h5:nth-of-type(10n + 4) a,
  #resume ul:nth-of-type(10n + 4) a,
  #resume p:nth-of-type(10n + 4) a {
    -webkit-animation-delay: .8s;
            animation-delay: .8s; }
  #resume h5:nth-of-type(10n + 5) a,
  #resume ul:nth-of-type(10n + 5) a,
  #resume p:nth-of-type(10n + 5) a {
    -webkit-animation-delay: 1s;
            animation-delay: 1s; }
  #resume h5:nth-of-type(10n + 6) a,
  #resume ul:nth-of-type(10n + 6) a,
  #resume p:nth-of-type(10n + 6) a {
    -webkit-animation-delay: 1.2s;
            animation-delay: 1.2s; }
  #resume h5:nth-of-type(10n + 7) a,
  #resume ul:nth-of-type(10n + 7) a,
  #resume p:nth-of-type(10n + 7) a {
    -webkit-animation-delay: 1.4s;
            animation-delay: 1.4s; }
  #resume h5:nth-of-type(10n + 8) a,
  #resume ul:nth-of-type(10n + 8) a,
  #resume p:nth-of-type(10n + 8) a {
    -webkit-animation-delay: 1.6s;
            animation-delay: 1.6s; }
  #resume h5:nth-of-type(10n + 9) a,
  #resume ul:nth-of-type(10n + 9) a,
  #resume p:nth-of-type(10n + 9) a {
    -webkit-animation-delay: 1.8s;
            animation-delay: 1.8s; }
  #resume h5:nth-of-type(10n + 10) a,
  #resume ul:nth-of-type(10n + 10) a,
  #resume p:nth-of-type(10n + 10) a {
    -webkit-animation-delay: 2s;
            animation-delay: 2s; }
  @media (any-hover) {
    #resume a:hover {
      -webkit-animation: none;
              animation: none; } }
  #resume h2 {
    font-size: 1.125em;
    font-weight: 700;
    line-height: 1.125em;
    width: 100%;
    margin-top: 2.5em;
    margin-bottom: 0;
    padding-bottom: .25em;
    letter-spacing: .5px;
    border-bottom: solid 1px #999999; }
    @media only screen and (max-width: 45em) {
      #resume h2 {
        font-size: 1em; } }
    #resume h2:first-of-type {
      margin-top: 0;
      margin-bottom: 0;
      border-bottom: none; }
      #resume h2:first-of-type + p {
        margin-left: 0; }
        #resume h2:first-of-type + p + p {
          margin-left: 0; }
          #resume h2:first-of-type + p + p + p {
            margin-left: 0; }
  #resume h2 + h3 {
    margin-top: .75em; }
  #resume h3 {
    font-size: 1em;
    font-weight: 700;
    margin-top: 2em;
    margin-bottom: .5em; }
    @media only screen and (max-width: 45em) {
      #resume h3 {
        font-size: .875em; } }
    #resume h3 em {
      font-size: .875em;
      font-weight: 400;
      white-space: nowrap; }
      #resume h3 em:before {
        padding-right: .5em;
        content: '';
        white-space: normal; }
  #resume h3 + h3 {
    margin-top: -.5em; }
  #resume h3 + p {
    margin-top: 0; }
    #resume h3 + p a {
      color: #4b5866; }
      #resume h3 + p a:hover {
        color: #7eb5e5; }
  #resume h4 {
    font-size: .75em;
    margin-top: 2em;
    margin-bottom: -2em;
    margin-left: 2em;
    font-weight: 400;
    color: #8998a8; }
    #resume h4:after {
      content: ':'; }
  #resume h5 {
    margin-top: 2em;
    margin-bottom: -.25em;
    margin-left: 2em; }
  #resume p {
    font-size: .875em;
    margin-top: .5em;
    margin-left: 2em; }
  #resume h3 + p,
  #resume h3 + p + p,
  #resume h3 + p + p + p,
  #resume h3 + p + p + p + p {
    margin-left: 0; }
  #resume h2 + p {
    margin-left: 0; }
  #resume ul {
    font-size: .875em;
    margin-left: 2em;
    margin-top: .75em; }
    @media only screen and (max-width: 45em) {
      #resume ul {
        margin-left: 1em; } }
  #resume li {
    line-height: 1.5em;
    padding-left: .75em;
    text-indent: -.75em;
    margin-top: .5em; }
    #resume li:before {
      content: '• '; }
  #resume li > ul,
  #resume li > ul a {
    font-size: 1em;
    margin-top: 0; }
    #resume li > ul::before,
    #resume li > ul a::before {
      content: none; }
  #resume li > ul > li {
    padding-left: 1.125em;
    list-style: none; }
    #resume li > ul > li:before {
      content: none; }
  #resume li > em {
    margin-left: 0;
    margin-left: .25em; }
    #resume li > em:before {
      content: ' – ';
      text-decoration: none; }

#portfolio {
  display: grid;
  cursor: pointer;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
  grid-gap: .33em;
  grid-template-columns: repeat(auto-fill, minmax(24%, 1fr));
  margin-top: .25em;
  -webkit-box-pack: space-evenly;
     -moz-box-pack: space-evenly;
      -ms-flex-pack: space-evenly;
          justify-content: space-evenly;
  margin-bottom: 1em; }
  @media (max-aspect-ratio: 70/100) {
    #portfolio {
      grid-template-columns: repeat(auto-fill, minmax(32%, 1fr)); } }
  @media (min-aspect-ratio: 110/100) {
    #portfolio {
      grid-template-columns: repeat(auto-fill, minmax(19%, 1fr)); } }
  @media (any-hover) {
    #portfolio a:hover:after {
      font-size: .66em;
      position: relative;
      float: left;
      margin-top: calc(-50% - 2em);
      margin-left: calc(50% - 1.5em);
      content: '';
      cursor: pointer;
      pointer-events: none;
      opacity: 1;
      border-width: 2em 0 2em 3.5em;
      border-style: solid;
      border-color: transparent transparent transparent white; } }
  #portfolio img {
    cursor: pointer;
    width: 100%;
    margin-bottom: -.33em;
    border-radius: 3%;
    -webkit-transition: -webkit-filter .33s;
    transition: -webkit-filter .33s;
    transition: filter .33s;
    transition: filter .33s, -webkit-filter .33s;
    -webkit-filter: saturate(90%) brightness(90%) grayscale(10%);
            filter: saturate(90%) brightness(90%) grayscale(10%); }
    @media (any-hover) {
      #portfolio img:hover {
        -webkit-box-shadow: 0 0 0.25em 0.125em rgba(0, 0, 0, 0.2);
                box-shadow: 0 0 0.25em 0.125em rgba(0, 0, 0, 0.2);
        -webkit-filter: saturate(110%) brightness(110%) grayscale(0%);
                filter: saturate(110%) brightness(110%) grayscale(0%); } }
a {
  color: #1f5186 !important; }

#home,
#portfolio,
#portfolio-filters,
#resume-filters {
  display: none !important; }

/* Disable all page-break avoidance — * catches UA stylesheet on headings */
* {
  page-break-before: auto !important;
  page-break-after: auto !important;
  page-break-inside: auto !important;
  break-before: auto !important;
  break-after: auto !important;
  break-inside: auto !important; }

body {
  background: none;
  font-size: 14px;
  orphans: 1;
  widows: 1; }

/* block layout for correct print pagination — flex causes gaps in Chromium */
section {
  display: block;
  margin-left: 0;
  margin-right: 0;
  margin-top: 0; }

#resume {
  padding-bottom: 0; }

header {
  border: none;
  position: relative;
  padding-right: 0;
  margin-bottom: 2em;
  background: none; }
  header nav {
    display: block;
    margin-left: 0;
    margin-top: 0; }
  header nav a {
    display: none; }
  header nav a.contact {
    display: block;
    font-size: 1.5em;
    font-weight: 700;
    color: #4b5866 !important;
    text-decoration: none;
    line-height: 1.4em; }

header #resume-contact-print {
  font-size: .875em;
  color: #4b5866;
  margin-top: .25em; }
  header #resume-contact-print a {
    color: #4b5866 !important;
    text-decoration: none; }

.resume-employer {
  margin-top: 2.5em; }
  .resume-employer:first-of-type {
    margin-top: 0; }
