/*
@media (prefers-color-scheme: dark) {
    $main-text: #fff;
    $background: #525f7f;
}
*/
/**
 * See https://meta.stackexchange.com/q/364048/252139
 * and https://systemfontstack.com/
 */
h1,
h2,
h3,
h4,
h5,
h6 {
  color: #0f1011;
  margin-top: 1em;
  padding-top: 1em;
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.4;
  font-family: Libre Baskerville, Iowan Old Style, Apple Garamond, Baskerville, Times New Roman, Droid Serif, Times, Source Serif Pro, serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol; }
  @media screen and (max-width: 991px) {
    h1,
    h2,
    h3,
    h4,
    h5,
    h6 {
      margin-top: .75em;
      padding-top: .75em; } }
  @media screen and (max-width: 767px) {
    h1,
    h2,
    h3,
    h4,
    h5,
    h6 {
      margin-top: .5em;
      padding-top: .5em; } }
  h1 svg,
  h2 svg,
  h3 svg,
  h4 svg,
  h5 svg,
  h6 svg {
    vertical-align: -0.15em;
    margin-right: 0.25em;
    color: #5865f1; }
  h1 strong,
  h2 strong,
  h3 strong,
  h4 strong,
  h5 strong,
  h6 strong {
    color: inherit; }

h1 {
  letter-spacing: 0; }

h2 {
  letter-spacing: -0.020em; }

h1,
h2 {
  font-size: 2rem;
  font-weight: 600; }
  @media print {
    h1,
    h2 {
      font-size: 1rem; } }
h3 {
  font-size: 1.6rem; }
  @media print {
    h3 {
      font-size: 1rem; } }
.blog-year {
  font-size: inherit;
  font-weight: inherit;
  color: inherit; }

html {
  font-family: -apple-system, BlinkMacSystemFont, avenir next, avenir, segoe ui, helvetica neue, helvetica, Ubuntu, roboto, noto, arial, sans-serif;
  font-size: 1em;
  text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scrollbar-gutter: stable; }
  @media print {
    html {
      font-size: 1em; } }
body {
  margin: 0;
  line-height: 1.6;
  letter-spacing: 0.015em;
  color: #0f1011;
  background-color: #fff; }
  @media print {
    body {
      line-height: 1.2; } }
main {
  width: 100%;
  margin: 0 auto;
  overflow: hidden; }
  main > section:last-of-type,
  main > article:last-of-type {
    padding-bottom: 12rem; }
    @media print {
      main > section:last-of-type,
      main > article:last-of-type {
        padding-bottom: 0; } }
  @media print {
    main {
      max-width: none;
      margin: 0; } }
[disabled] {
  cursor: not-allowed;
  opacity: 0.5; }

a {
  color: #5865f1; }
  a:active > span, a:focus > span, a:active, a:focus {
    color: white;
    background-color: #5865f1;
    outline: 2px solid #5865f1; }
    a:active > span code, a:focus > span code, a:active code, a:focus code {
      background: transparent;
      border-color: transparent; }
  a[disabled] {
    pointer-events: none; }
  a.is-text {
    text-decoration: none;
    outline: none; }
  @media print {
    a {
      color: inherit;
      text-decoration: none; }
      a[href^="http"]:after {
        content: " [link: " attr(href) "]"; }
      a[href^="/"]:after {
        content: " [link: https://karltarvas.com" attr(href) "]"; } }
.is-external:after,
a[target="_blank"]:not(.ref):after {
  content: "";
  width: 11px;
  height: 11px;
  display: inline-block;
  background: center/contain no-repeat url("external-link.svg");
  opacity: 1;
  margin-left: 2px; }
  @media print {
    .is-external:after,
    a[target="_blank"]:not(.ref):after {
      display: none; } }
.is-external code + :after,
a[target="_blank"]:not(.ref) code + :after {
  margin-left: 0; }

.is-external:active:after, .is-external:focus:after,
a[target="_blank"]:not(.ref):active:after,
a[target="_blank"]:not(.ref):focus:after {
  background: center/contain no-repeat url("external-link-active.svg"); }

code,
pre,
blockquote {
  overflow: auto;
  font-size: 0.95em; }
  @media print {
    code,
    pre,
    blockquote {
      overflow: hidden;
      line-break: anywhere;
      white-space: normal; } }
code {
  color: inherit;
  padding: 3px 5px;
  border: 1px solid #d8dee9;
  border-radius: 3px;
  margin: 0px 3px;
  vertical-align: 1px;
  background-color: #f0f3f7; }
  code + code {
    margin-left: 3px; }
  @media print {
    code {
      overflow: hidden;
      line-break: anywhere;
      white-space: normal; } }
pre code {
  padding: 0;
  margin: 0;
  border: none;
  font-size: 1em;
  word-break: keep-all; }

.label {
  background: #2d2d2d;
  color: #fdfdfd;
  display: inline-block;
  font-size: 0.6em;
  border-radius: 3px;
  padding: 2px 10px; }

pre,
blockquote {
  padding: 1em;
  margin: 1em 0 2em; }
  pre + pre, pre + blockquote,
  blockquote + pre,
  blockquote + blockquote {
    margin-top: -1em; }

.highlighter-rouge + .highlighter-rouge {
  margin-top: -1em; }

blockquote p:first-child {
  margin-top: 0; }

blockquote p:last-child {
  margin-bottom: 0; }

hr {
  border: none;
  background: center/contain no-repeat url("separator.svg");
  height: 24px;
  opacity: 0.25; }
  @media print {
    hr {
      background: none;
      height: 1em;
      opacity: 0; } }
button {
  align-items: normal;
  appearance: none;
  background: #000;
  border-radius: 3px;
  border: none;
  box-sizing: border-box;
  color: #fff;
  cursor: pointer;
  display: inline;
  font: inherit;
  line-height: inherit;
  outline: none;
  padding: 0.5em 2em;
  text-decoration: none;
  transition: all 0.2s ease;
  user-select: text; }
  @media (prefers-reduced-motion) {
    button {
      transition-duration: 0s !important; } }
  button:hover, button:focus {
    transform: translateY(-1px) scale(1.02);
    box-shadow: 0px 10px 10px -10px rgba(45, 45, 45, 0.75), 0px 6px 14px -3px #af499d; }
  button:active {
    transform: translateY(1px) scale(1.02);
    box-shadow: none;
    transition-duration: 0.1s; }
  button.is-text {
    background: transparent;
    border-radius: 0;
    color: inherit;
    padding: 0;
    text-align: start;
    text-decoration: underline;
    transition: none; }
    button.is-text:hover, button.is-text:focus, button.is-text:active {
      transform: none;
      box-shadow: none; }
    button.is-text.is-action {
      cursor: pointer; }

input,
textarea {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  display: block;
  font: inherit;
  border-radius: 3px;
  padding: 0.5em 1.5em;
  border: 1px solid #d8dee9;
  width: 100%;
  box-sizing: border-box;
  transition: all 0.2s ease; }
  input:focus,
  textarea:focus {
    outline: none;
    border-color: #000;
    box-shadow: 0 0 0 1px #000; }

textarea {
  resize: vertical; }

iframe {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none; }

ol,
ul {
  margin-top: 1rem;
  margin-bottom: 2rem;
  padding-left: 2rem; }
  ol > p,
  ul > p {
    margin-left: -2rem; }
  ol ol,
  ol ul,
  ul ol,
  ul ul {
    margin-top: 1rem;
    margin-bottom: 1rem; }
  ol li,
  ul li {
    margin: 0.5em 0; }
    ol li.is-block,
    ul li.is-block {
      margin-left: -1rem; }
  ol.is-large,
  ul.is-large {
    line-height: 1.8;
    font-size: 1.3rem;
    display: inline-block;
    vertical-align: top;
    margin-right: 4rem; }
    @media screen and (max-width: 991px) {
      ol.is-large,
      ul.is-large {
        margin: 0.75rem 1rem 0.75rem 0; } }
    @media screen and (max-width: 767px) {
      ol.is-large,
      ul.is-large {
        margin: 0; } }
  ol.is-flat,
  ul.is-flat {
    list-style: none;
    margin: 3rem 0 0;
    padding: 0;
    font-size: 0.9rem;
    color: #fff; }
    @media screen and (max-width: 991px) {
      ol.is-flat,
      ul.is-flat {
        margin: 2.5rem 0 0; } }
    @media screen and (max-width: 767px) {
      ol.is-flat,
      ul.is-flat {
        margin: 2rem 0 0; } }
    ol.is-flat li,
    ul.is-flat li {
      display: inline-block;
      padding: 0.5rem 1.5rem;
      border-right: 1px solid rgba(45, 45, 45, 0.1); }
      ol.is-flat li:last-of-type,
      ul.is-flat li:last-of-type {
        border-right: none; }
      @media screen and (max-width: 767px) {
        ol.is-flat li,
        ul.is-flat li {
          display: block;
          border: none; } }
    ol.is-flat a,
    ul.is-flat a {
      color: inherit; }

img {
  max-width: 100%;
  height: auto !important; }
  article img {
    display: block;
    max-width: 85%;
    box-sizing: content-box;
    margin: 0 auto;
    border: 5px solid #d8dee9; }

p.image-annotation {
  margin: 2rem 0;
  font-style: italic;
  text-align: center; }
  p.image-annotation img {
    margin-bottom: 0.5rem; }

abbr {
  text-decoration: none; }

table {
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
  border: none; }
  table th,
  table td {
    font-weight: inherit;
    border: 1px solid #d8dee9;
    padding: 0.2em 0.4em; }

.gradient-left {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0;
  background: linear-gradient(90deg, #fff, rgba(255, 255, 255, 0.6) 26%, rgba(255, 255, 255, 0.1) 86%, rgba(255, 255, 255, 0) 100%);
  z-index: 1; }

.gradient-right {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 0;
  background: linear-gradient(270deg, #fff, rgba(255, 255, 255, 0.6) 26%, rgba(255, 255, 255, 0.1) 86%, rgba(255, 255, 255, 0) 100%);
  z-index: 1; }

.is-limited-width {
  display: block;
  max-width: 950px;
  padding-left: 1rem;
  padding-right: 1rem;
  margin-left: auto;
  margin-right: auto; }
  @media print {
    .is-limited-width {
      max-width: none;
      margin: 0;
      padding: 0; } }
.is-block {
  display: block; }

.is-centered {
  text-align: center; }

.is-hidden {
  display: none; }

/* Components */
ul.paths {
  margin: 0;
  padding: 0;
  font-size: 0.8rem; }
  ul.paths li {
    display: inline-block;
    margin-right: 2rem; }
    @media screen and (max-width: 991px) {
      ul.paths li {
        margin-right: 1.5rem; } }
    @media screen and (max-width: 767px) {
      ul.paths li {
        margin-right: 1rem; } }
    ul.paths li:last-child {
      margin-right: 0; }
  ul.paths a {
    text-decoration: none;
    color: #2d2d2d; }

#site-header .paths {
  text-transform: uppercase;
  text-align: right;
  padding: 2rem 0 2rem; }
  @media screen and (max-width: 991px) {
    #site-header .paths {
      padding: 2rem 0 1rem; } }
  @media screen and (max-width: 767px) {
    #site-header .paths {
      padding: 2rem 0 0; } }
@media print {
  #site-header {
    display: none; } }

.box {
  color: #2d2d2d;
  display: inline-block;
  margin: 4rem 1rem 0;
  padding: 2rem;
  background: #fff;
  border-radius: 3px;
  box-shadow: 0px 20px 30px -10px rgba(45, 45, 45, 0.75);
  box-sizing: border-box;
  min-width: 500px; }
  @media screen and (max-width: 991px) {
    .box {
      margin: 3rem 0.5rem 0;
      padding: 1.75rem; } }
  @media screen and (max-width: 767px) {
    .box {
      margin: 2rem 0 0;
      padding: 1.5rem 1rem;
      min-width: 0;
      width: 100%; }
      .box br {
        display: none; } }
  .box h1, .box h2, .box h3, .box p {
    color: inherit !important;
    margin: 0 0 1rem;
    padding: 0; }
    @media screen and (max-width: 991px) {
      .box h1, .box h2, .box h3, .box p {
        margin-bottom: 0.9rem; } }
    @media screen and (max-width: 767px) {
      .box h1, .box h2, .box h3, .box p {
        margin-bottom: 0.8rem; } }
  .box p:last-child {
    margin-bottom: 0; }

body {
  counter-reset: refs; }

.ref {
  padding: 20px;
  margin: -20px -18px -20px -17px;
  overflow: visible;
  display: inline-block;
  text-decoration: none; }
  .ref sup {
    display: block;
    height: 20px;
    line-height: 1;
    background: #d2d6fb;
    color: #5865f1;
    transform: translateY(-15px);
    white-space: nowrap; }
    .ref sup:before {
      counter-increment: refs;
      padding: 0 4px;
      content: counter(refs);
      font-size: 0.56rem; }
  .ref span {
    position: absolute;
    top: 0;
    height: 100%;
    overflow: hidden;
    background: #d2d6fb;
    font-size: 0.56rem;
    line-height: 2em;
    text-decoration: underline;
    max-width: 0;
    transition: max-width 0.3s ease;
    z-index: 1; }
  .ref:focus, .ref:active {
    outline: none;
    background: none; }
    .ref:focus sup,
    .ref:focus span, .ref:active sup,
    .ref:active span {
      color: white;
      background-color: #5865f1; }
  .ref:hover, .ref:focus, .ref:active {
    position: relative;
    z-index: 1; }
    .ref:hover span, .ref:focus span, .ref:active span {
      max-width: 300px; }

.honeypot {
  position: absolute !important;
  top: -10000px !important;
  clip: rect(1px, 1px, 1px, 1px) !important;
  clip-path: inset(50%) !important;
  height: 1px !important;
  width: 1px !important;
  margin: -1px !important;
  overflow: hidden !important;
  padding: 0 !important; }

img.interactive {
  cursor: pointer; }

body.has-lightbox {
  overflow: hidden; }

#lightbox {
  position: fixed;
  background: rgba(0, 0, 0, 0.5);
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: auto;
  opacity: 0;
  pointer-events: none;
  padding: 2rem; }
  #lightbox.is-open {
    opacity: 1;
    pointer-events: auto;
    cursor: pointer; }
  #lightbox img {
    display: block;
    margin: 0 auto; }

/* Pages */
@keyframes fadeIn {
  0% {
    opacity: 0; }
  75% {
    opacity: 0.9; }
  100% {
    opacity: 1; } }

.has-js #lead-title {
  opacity: 0;
  animation: fadeIn 0.2s ease-in 1s forwards; }

.has-js.has-fonts #lead-title {
  animation: fadeIn 0.2s ease-in forwards; }

@media (prefers-reduced-motion) {
  #lead-title {
    opacity: 1 !important;
    animation: none !important; } }

#home {
  padding-bottom: 0; }
  #home .section:last-of-type {
    padding-bottom: 12rem; }
  #home #lead-container {
    display: flex;
    flex-direction: column;
    width: 100%;
    min-height: 90vh;
    align-items: center; }
  #home #lead-title {
    font-size: clamp(3rem, calc(3rem + 2 * ((100vw - 40rem) / 70)), 3.5rem);
    color: #15263e;
    letter-spacing: -0.022em;
    font-weight: 600;
    padding-top: 2em;
    padding-bottom: 2.5em;
    margin: auto; }
  #home #lead-img-overflow {
    position: relative;
    width: 100%;
    max-width: 3360px;
    overflow: hidden; }
    #home #lead-img-overflow .filler {
      position: absolute;
      z-index: 1;
      width: 3360px;
      left: 50%;
      transform: translateX(-50%);
      height: 100%; }
    #home #lead-img-overflow .gradient-left,
    #home #lead-img-overflow .gradient-right {
      width: 400px; }
  #home #lead-img {
    position: relative;
    margin: 0 auto;
    height: 508px;
    width: 100%;
    max-height: 1026px;
    max-width: 3360px;
    background-image: url("/assets/lake/lake-3360.jpg");
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat; }
    @media screen and (max-width: 991px) {
      #home #lead-img {
        height: 424px; } }
    @media screen and (max-width: 767px) {
      #home #lead-img {
        height: 340px; } }
@media screen and (-webkit-max-device-pixel-ratio: 1) and (max-width: 1680px), screen and (max-resolution: 96dpi) and (max-width: 1680px), screen and (max-resolution: 1dppx) and (max-width: 1680px) {
  #home #lead-img {
    background-image: url("/assets/lake/lake-1680.jpg"); } }

@media screen and (-webkit-max-device-pixel-ratio: 1) and (max-width: 840px), screen and (max-resolution: 96dpi) and (max-width: 840px), screen and (max-resolution: 1dppx) and (max-width: 840px) {
  #home #lead-img {
    background-image: url("/assets/lake/lake-840.jpg"); } }

@media screen and (-webkit-max-device-pixel-ratio: 1) and (max-width: 420px), screen and (max-resolution: 96dpi) and (max-width: 420px), screen and (max-resolution: 1dppx) and (max-width: 420px) {
  #home #lead-img {
    background-image: url("/assets/lake/lake-420.jpg"); } }
  #home #scroll-to-target {
    position: absolute;
    margin-top: -150px; }
  #home .circle-wrapper {
    position: relative; }
  #home #circle1,
  #home #circle2 {
    position: absolute;
    top: 0;
    left: 50%;
    display: block;
    width: 150vw;
    height: 150vw; }
  #home #circle1 {
    transform: translate(-50%, -50%) rotate(0deg); }
  #home #circle2 {
    transform: translate(-50%, -50%) rotate(180deg);
    z-index: -1; }
  #home #synopsis {
    color: #fff; }
    #home #synopsis h2 {
      color: inherit; }
    #home #synopsis .is-only-expanded {
      display: none; }
    @media screen and (max-width: 767px) {
      #home #synopsis #show-more {
        text-decoration: none;
        pointer-events: none; } }
    #home #synopsis.is-expanded #show-more {
      visibility: hidden; }
    #home #synopsis.is-expanded .is-only-expanded {
      display: inline-block; }
  #home #companies-section {
    padding-bottom: 0; }
  #home #companies-overflow {
    display: flex;
    flex-wrap: nowrap;
    position: relative;
    overflow: hidden;
    margin: 0 auto;
    padding: 3rem 0 6rem;
    max-height: 300px; }
    #home #companies-overflow .gradient-left,
    #home #companies-overflow .gradient-right {
      width: 150px; }
    #home #companies-overflow + section > .separator {
      z-index: 1; }

@keyframes marquee {
  from {
    transform: translateX(0%); }
  to {
    transform: translateX(-50%); } }
  #home #companies {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    list-style: none;
    padding: 0;
    margin: 0;
    animation: 300s marquee infinite linear; }
    @media (prefers-reduced-motion) {
      #home #companies {
        animation: none !important; } }
    #home #companies li {
      padding: 1em 2em;
      display: flex;
      align-items: center;
      margin: 0;
      box-sizing: content-box;
      flex: 0 0 auto; }
    #home #companies #assa-abloy {
      margin-bottom: 0.2em; }
    #home #companies #value-space {
      width: 244px; }
      #home #companies #value-space > img {
        padding: 14px 20px;
        background: #00020f; }
  #home .separator {
    position: relative;
    display: block;
    width: 100%;
    height: 10px;
    top: -5px;
    height: 1vw;
    top: -0.5vw;
    height: calc(max(1vw, 36px));
    top: calc(min(-0.5vw, -18px)); }

a.image-gallery {
  display: inline-block;
  max-width: 32%; }
  @media screen and (max-width: 991px) {
    a.image-gallery {
      max-width: 49%; } }
  @media screen and (max-width: 767px) {
    a.image-gallery {
      max-width: 100%; } }
  a.image-gallery img {
    display: block; }

/* Interactions */
* {
  box-sizing: border-box; }

section {
  padding-bottom: 6rem; }
  @media screen and (max-width: 991px) {
    section {
      padding-bottom: 4rem; } }
  @media screen and (max-width: 767px) {
    section {
      padding-bottom: 2rem; } }
  section.alt {
    /* Make margins collapse */
    display: inline-block;
    width: 100%; }
    section.alt.is-primary {
      background-color: #fa4942;
      background-image: linear-gradient(217deg, rgba(255, 196, 85, 0.57), rgba(255, 0, 0, 0) 71%), linear-gradient(127deg, rgba(252, 29, 154, 0.85), rgba(0, 255, 0, 0) 70%), linear-gradient(336deg, rgba(115, 0, 207, 0.83), rgba(0, 0, 255, 0) 69%);
      background-image: linear-gradient(217deg, rgba(255, 81, 39, 0.57), rgba(255, 0, 0, 0) 71%), linear-gradient(127deg, rgba(252, 29, 54, 0.85), rgba(0, 255, 0, 0) 70%), linear-gradient(336deg, rgba(207, 0, 139, 0.83), rgba(0, 0, 255, 0) 69%);
      background-image: linear-gradient(163deg, rgba(255, 209, 0, 0.15), rgba(255, 0, 0, 0) 71%), linear-gradient(217deg, rgba(255, 84, 39, 0.7), rgba(255, 0, 0, 0) 71%), linear-gradient(127deg, rgba(252, 29, 54, 0.85), rgba(255, 255, 255, 0) 70%), linear-gradient(336deg, rgba(207, 0, 139, 0.83), rgba(0, 0, 255, 0) 69%);
      background-position: top center; }
    section.alt.is-secondary {
      background: #f5f9fc;
      color: #000; }
      section.alt.is-secondary h1, section.alt.is-secondary h2, section.alt.is-secondary h3, section.alt.is-secondary h4, section.alt.is-secondary h5, section.alt.is-secondary h6 {
        color: #000; }
    section.alt.is-tertiary {
      background: #181a1b;
      color: #fff; }
      section.alt.is-tertiary h1, section.alt.is-tertiary h2, section.alt.is-tertiary h3, section.alt.is-tertiary h4, section.alt.is-tertiary h5, section.alt.is-tertiary h6 {
        color: #fff; }
  section.is-stacked:not(:last-child) {
    padding-bottom: 0; }

/* Footer, currently unused */
footer {
  background: #f5f9fc;
  border-top: 1px solid #ebf1f6; }
  footer a {
    color: #8898aa; }
