:root {
  --text-color: #212121;
  --bg-color: #fafafa;
  --link-underline: #ff9900;
  --link-underline-hover: #ff5500;
  --link-underline-height: 2px;
  --link-underline-bg: rgba(127, 127, 127, 0.25);
}
/*:root.dark-mode {*/
:root[data-color-scheme=dark] {
  --text-color: #dedede;
  --bg-color: #212121;
  --link-underline: #a2ed00;
  --link-underline-hover: #89d0ff;
  --link-underline-height: 2px;
  --link-underline-bg: rgba(127, 127, 127, 0.5);
}

html {
  font-size: 100%;
}
body {
  /* -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale; */
  -webkit-text-size-adjust: 100%;
  padding: 0;
  margin: 0;
  background-color: var(--bg-color);
  color: var(--text-color);
  font-family: 'Montserrat', Helvetica, sans-serif;
  font-size: 1rem;
  line-height: 1.5;
  transition: 0.2s all ease-out;
}
section, header, footer {
  padding:0 50px;
}
section { margin-top: clamp(4em, 6vw, 6em); }
/*section:first-of-type { margin-top: 0; }*/
header {
  margin-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}
header h1 {
  position: relative;
  margin: 0 1rem 0 0;
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1;
}
header .logo {
  order: 1;
}
footer {
  margin-top: 120px;
  margin-bottom: 30px;
  font-size: 0.875rem;
}
@media(max-width:520px) {
  body {
    font-size:1.125rem;
  }
  section, header, footer {
    padding-left:30px;
    padding-right:30px;
  }
  footer {
    margin-top: 60px;
  }
}


h1, h2, h3 {
  color: var(--text-color);
  font-weight:500;
  margin-top:30px;
}
p { margin:20px 0; }
p:last-child { margin-bottom:0; }
a, a:hover, a:visited, a:focus {
  color: var(--text-color);
}
.container {
  max-width:800px;
  margin-right: auto;
  margin-left: auto;
}


.logo {
  color: var(--text-color);
  /*width: 178px;
  height: auto;*/
  will-change: width;
  transition: 0.2s width cubic-bezier(0.455, 0.03, 0.515, 0.955);
}
.logo svg {
  display: block;
}
@media(max-width:520px) {
  .logo {
    width: 80px;
    margin-right: 24px;
  }
  .logo svg {
    width: 100%;
    height: auto;
  }
}

[data-animated-mark].draw #path1,
[data-animated-mark].draw #path2 {
  stroke-dashoffset: 0 !important;
  -webkit-transition-property: stroke-dashoffset;
          transition-property: stroke-dashoffset;
  -webkit-transition-timing-function: cubic-bezier(0.47, 0, 0.745, 0.715);
          transition-timing-function: cubic-bezier(0.47, 0, 0.745, 0.715);
}

[data-animated-mark].draw[data-animated-mark*="logo"] #path1,
[data-animated-mark].draw[data-animated-mark*="logo"] #path2 {
  -webkit-transition-timing-function: cubic-bezier(0.455, 0.03, 0.515, 0.955);
          transition-timing-function: cubic-bezier(0.455, 0.03, 0.515, 0.955);
}

.sr-only {
  position: absolute;
  margin: -1px;
  padding: 0;
  height: 1px;
  overflow: hidden;
  width: 1px;
  white-space: nowrap;
  border: 0;
  clip: rect(0 0 0 0);
}

.btn-toggle {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 38px;
  height: 38px;
  padding: 4px;
  margin: 0;
  background: transparent;
  color: var(--text-color);
  /*border: 2px solid var(--bg-color);*/
  border: none;
  border-radius: 50%;
  outline: none;
  cursor: pointer;
  -webkit-appearance: none;
  transition: 0.2s all linear;
}
.btn-toggle svg {
  display: block;
}
@media(max-width:520px) {
  .btn-toggle {
    top: 10px;
    right: 10px;
  }
}
.btn-toggle:hover {
  background: var(--link-underline-bg);
}
.btn-toggle:focus-visible {
  border-color: var(--link-underline-hover);
  background: var(--link-underline-hover);
  color: var(--bg-color);
}
/*#btnIcon {
  max-width: 100%;
  height: auto;
}*/


#intro p span {
  display: inline-block;
  position: relative;
  top: 30px;
}
ul.links,
ul.clients {
  margin-top:clamp(4em, 6vw, 6em);
  padding:0;
}
ul.links li,
ul.clients li {
  position:relative;
  margin:0 0 6px 0;
  padding:0;
  list-style:none;
}
ul.links li.link-padded,
ul.clients li.link-padded {
  margin-top: 2rem;
}
ul.links span {
  font-size: 0.8em;
}
ul.links span:before {
  content: ' // ';
  margin: 0 0.5em 0 0.5em;
}
ul.clients {
  display: flex;
  flex-wrap: wrap;
  column-gap: 1.5em;
}
@media(max-width:520px) {
  ul.links li,
  ul.clients li {
    margin-bottom:9px;
  }
  ul.links span {
    display: none;
  }
  ul.links span:before {
    content: '';
    margin: 0;
  }
}

a {
  display:inline-block;
  vertical-align: bottom;
  margin: 0;
  overflow:hidden;
  text-decoration:none;
  position:relative;
  /* border-bottom: 1px solid #fff; */
}
a:focus {
  outline:none;
}
a:hover,
a:focus {
  text-decoration:none;
}
a:before {
  /*border-bottom: 1px solid #fff;*/
  display: block;
  overflow-x: hidden;
  content: " ";
  /*transform: translateX(-100%);*/
  
  background: var(--link-underline-bg);
  height: var(--link-underline-height);
  
  position: absolute;
  bottom: 0;
  width: 100%;
}
a:after {
  /*border-bottom: 1px solid #fff;*/
  display: block;
  overflow-x: hidden;
  content: " ";
  transform: translateX(-100%);
  
  background: var(--link-underline);
  height: var(--link-underline-height);
  
  position: absolute;
  bottom: 0;
  width: 100%;
  
  -webkit-transition: all .35s;
  -moz-transition: all .35s;
  transition: all .35s;
}
a:hover:after,
a:focus:after {
  /*width:100%;*/
  background: var(--link-underline-hover);
  transform: translateX(0%);
}

abbr,
abbr[title],
acronym,
acronym[title] {
  text-decoration: none;
  border-bottom: 1px dotted var(--link-underline-bg);
}
@media(max-width:520px) {
  abbr,
  abbr[title],
  acronym,
  acronym[title] {
    border-bottom: none;
  }
}
.crumb {
  margin: 1rem 0;
  font-size: 0.75rem;
}
